1 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
4 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
6 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
7 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
8 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
9 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
10 and tst-cet-legacy-mod-6c.
11 (CFLAGS-tst-cet-legacy-5a.c): New.
12 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
13 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
14 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
15 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
16 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
17 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
18 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
19 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
20 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
21 ($(objpfx)tst-cet-legacy-5a): Likewise.
22 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
23 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
24 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
25 ($(objpfx)tst-cet-legacy-5b): Likewise.
26 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
27 (tst-cet-legacy-5b-ENV): Likewise.
28 ($(objpfx)tst-cet-legacy-6a): Likewise.
29 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
30 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
31 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
32 ($(objpfx)tst-cet-legacy-6b): Likewise.
33 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
34 (tst-cet-legacy-6b-ENV): Likewise.
35 * sysdeps/x86/tst-cet-legacy-5.c: New file.
36 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
37 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
38 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
39 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
40 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
41 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
42 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
43 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
44 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
45 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
46 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
47 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
48 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
50 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
52 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
53 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
54 (__fegetround_ISA300) New.
55 (__fegetround_ISA2) New.
56 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
57 (_FPU_MFFS): Move implementation...
59 (_FPU_MFFSL): Move implementation....
60 (_FPU_GET_RC_ISA300): Here. New.
61 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
62 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
63 (fegetenv_status): New.
64 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
65 instead of fegetenv_register().
66 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
68 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
70 * benchtests/bench-math-inlines.c: Increase iterations.
71 * benchtests/bench-memcmp.c: Likewise.
72 * benchtests/bench-rawmemchr.c: Likewise.
73 * benchtests/bench-strcmp.c: Likewise.
74 * benchtests/bench-strcpy_chk.c: Likewise.
75 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
76 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
77 (INNER_LOOP_ITERS_SMALL): Likewise.
78 * benchtests/bench-strncat.c: Increase iterations.
79 * benchtests/bench-strncmp.c: Increase iterations.
80 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
81 * benchtests/bench-strrchr.c: Increase iterations.
82 * benchtests/bench-strstr.c: Keep iterations unchanged.
83 * benchtests/bench-strtod.c: Increase iterations.
85 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
87 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
88 with INNER_LOOP_ITERS_LARGE.
89 * benchtests/bench-memchr.c: Likewise.
90 * benchtests/bench-rawmemchr.c: Likewise.
91 * benchtests/bench-strcat.c: Likewise.
92 * benchtests/bench-strchr.c: Likewise.
93 * benchtests/bench-string.h: Likewise.
94 * benchtests/bench-strlen.c: Likewise.
95 * benchtests/bench-strncpy.c: Likewise.
96 * benchtests/bench-strnlen.c: Likewise.
98 2019-06-28 Florian Weimer <fweimer@redhat.com>
100 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
101 Use mmap instead of malloc. malloc with M_PERTURB writes to the
102 entire allocated memory range.
104 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
106 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
107 (prepare_version_base): New helper inline function.
108 (prepare_version): New macro replacing PREPARE_VERSION.
109 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
111 2019-06-28 Florian Weimer <fweimer@redhat.com>
114 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
115 mismatch in a versioned symbol reference.
116 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
117 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
118 tst-sonamemove-dlopen.
119 (module-names): Add tst-sonamemove-linkmod1,
120 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
121 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
122 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
123 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
124 (tst-sonamemove-runmod1.so): Link against
125 tst-sonamemove-runmod2.so.
126 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
127 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
128 tst-sonamemove-runmod2.so.
129 (tst-sonamemove-dlopen): Link with -ldl.
130 (tst-sonamemove-dlopen.out): Likewise.
131 * elf/tst-sonamemove-link.c: New file.
132 * elf/tst-sonamemove-dlopen.c: Likewise.
133 * elf/tst-sonamemove-linkmod1.c: Likewise.
134 * elf/tst-sonamemove-linkmod1.map: Likewise.
135 * elf/tst-sonamemove-runmod1.c: Likewise.
136 * elf/tst-sonamemove-runmod1.map: Likewise.
137 * elf/tst-sonamemove-runmod2.c: Likewise.
138 * elf/tst-sonamemove-runmod2.map: Likewise.
140 2019-06-28 Florian Weimer <fweimer@redhat.com>
142 * support/xdlfcn.h (xdlvsym): Declare function.
143 * support/xdlfcn.c (xdlvsym): Define funciton.
145 2019-06-28 Florian Weimer <fweimer@redhat.com>
148 io: Remove the copy_file_range emulation.
149 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
150 not define and call copy_file_range_compat.
151 * io/Makefile (tests-static, tests-internal): Do not add
152 tst-copy_file_range-compat.
153 * io/copy_file_range-compat.c: Remove file.
154 * io/copy_file_range.c (copy_file_range): Define as stub.
155 * io/tst-copy_file_range-compat.c: Remove file.
156 * io/tst-copy_file_range.c (xdevfile): Remove variable.
157 (typical_sizes): Update comment. Remove 16K sizes.
158 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
160 (find_maximum_offset, pipe_as_source, pipe_as_destination)
161 (delayed_write_failure_beginning, delayed_write_failure_end)
162 (cross_device_failure, enospc_failure_1, enospc_failure)
163 (oappend_failure): Remove functions.
164 (tests): Adjust test case list.
165 (do_test): Remove file system search code. Check for ENOSYS from
166 copy_file_range. Do not free xdevfile.
167 * manual/llio.texi (Copying File Data): Document ENOSYS error from
168 copy_file_range. Do not document the EXDEV error, which future
169 kernels may not report. Update the wording to reflect that
170 further errors are possible.
171 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
172 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
174 * sysdeps/unix/sysv/linux/arm/kernel-features.h
175 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
177 * sysdeps/unix/sysv/linux/kernel-features.h
178 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
180 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
181 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
183 * sysdeps/unix/sysv/linux/sh/kernel-features.h
184 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
187 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
189 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
190 used as a mask for the mode argument of __vfprintf_internal.
191 * stdio-common/printf-parse.h (printf_arg): New union member:
193 * stdio-common/vfprintf-internal.c
194 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
195 (PARSE_FLOAT_VA_ARG): Likewise.
196 (SETUP_FLOAT128_INFO): Likewise.
197 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
199 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
200 floating-point value to the new union member, pa_float128.
201 (printf_positional): Zero-initialize args_value[cnt] with memset.
203 2019-06-27 Florian Weimer <fweimer@redhat.com>
206 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
207 buffer size if necessary.
208 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
210 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
212 (large_buffer_checks): Likewise.
213 (do_test): Call large_buffer_checks.
215 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
217 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
218 * sysdeps/x86/dl-lookupcfg.h: Here.
219 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
221 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
223 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
224 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
225 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
227 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
228 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
229 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
230 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
231 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
233 * sysdeps/powerpc/powerpc32/fpu/Makefile
234 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
235 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
236 and fctidz optimization.
237 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
238 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
240 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
241 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
242 CFLAGS-s_lround-power5+.c): New rule.
243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
263 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
264 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
265 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
266 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
267 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
268 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
269 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
271 2019-06-26 Vincent Chen <vincentc@andestech.com>
273 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
274 specific system calls, fp_udfiex_crtl and udftrap.
276 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
278 * nptl/tst-eintr1.c (tf1): Add return statement.
279 (do_test): Remove unused th variable.
281 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
283 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
284 Return error if get_character fails.
286 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
288 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
290 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
293 * localedata/locales/szl_PL (day): Use the correct Unicode
294 sequences instead of non-ASCII characters.
296 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
299 * localedata/locales/szl_PL (abday): Spelling corrections.
303 (alt_mon): This, then apply spelling corrections.
304 (mon): New entry, month names in the genitive case.
306 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
309 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
310 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
311 (thousands_sep): Likewise.
312 (grouping): Set to 3;3.
314 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
316 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
317 PREPARE_VERSION_KNOWN.
318 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
319 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
321 (VDSO_HASH_LINUX_2_6_39): Likewise.
322 (VDSO_NAME_LINUX_4_9): Likewise.
323 (VDSO_HASH_LINUX_4_9): Likewise.
324 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
325 * sysdeps/unix/sysv/linux/powerpc/init-first.c
326 (_libc_vdso_platform_setup): Likewise.
327 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
328 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
330 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
333 2019-06-20 Mike Crowe <mac@mcrowe.com>
335 * nptl/eintr.c: Use libsupport.
336 * nptl/tst-eintr1.c: Likewise.
337 * nptl/tst-eintr2.c: Likewise.
338 * nptl/tst-eintr3.c: Likewise.
339 * nptl/tst-eintr4.c: Likewise.
340 * nptl/tst-eintr5.c: Likewise.
341 * nptl/tst-mutex-errorcheck.c: Likewise.
342 * nptl/tst-mutex5.c: Likewise.
344 * support/test-driver.h: Add verbose_printf macro.
346 * support/xtime.h: Add xclock_now() helper function.
348 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
349 Florian Weimer <fweimer@redhat.com>
352 * libio/genops.c (_IO_unbuffer_all)
353 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
354 buffers and access _IO_FILE_complete members of legacy libio streams.
355 * libio/tst-bz24228.c: New file.
356 * libio/tst-bz24228.map: Likewise.
357 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
358 [build-shared] (generated): Add tst-bz24228.mtrace and
360 [run-built-tests && build-shared] (tests-special): Add
361 $(objpfx)tst-bz24228-mem.out.
362 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
363 ($(objpfx)tst-bz24228-mem.out): New rule.
365 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
367 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
368 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
369 (__FPU_MFFSL): Likewise.
370 (_FPU_SETCW): Likewise.
372 2019-06-19 Stan Shebs <stanshebs@google.com>
373 Raoni Fassina Firmino <raoni@linux.ibm.com>
376 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
377 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
378 static-linking version.
379 * sysdeps/unix/sysv/linux/powerpc/Makefile
380 (tests-static): Add test-gettimebasefreq-static.
382 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
385 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
388 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
389 between the currency symbol and the minus sign).
390 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
392 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
395 * string/test-strcasestr.c (check_result): Add NULL check.
396 * nss/tst-field.c (check_rewrite): Likewise.
397 * benchtests/bench-strstr.c (do_one_test): Likewise.
398 * string/test-strstr.c (check_result): Likewise.
399 * argp/argp-test.c (popt): Increase size of buf to 12.
400 * benchtests/bench-malloc-simple.c (bench):
401 Do not initialize tests array out of bounds.
403 2019-06-19 Florian Weimer <fweimer@redhat.com>
406 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
409 2019-06-18 Florian Weimer <fweimer@redhat.com>
412 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
413 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
414 fail when called from dlopen.
415 * elf/Makefile [have-fpie && build-shared] (tests): Add
417 (tst-dlopen-pie): Link with -ldl.
418 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
419 * elf/tst-dlopen-pie.c (do_test): New file.
421 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
424 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
425 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
426 between the currency symbol and the minus sign).
427 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
428 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
430 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
432 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
433 sysdep-rtld-routines): Remove rules.
434 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
435 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
436 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
437 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
438 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
439 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
440 vDSO path for SHARED.
441 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
442 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
443 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
444 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
445 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
446 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
448 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
449 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
450 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
451 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
452 CFLAGS-s_llround-power5+.c): New rule.
453 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
455 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
457 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
459 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
461 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
464 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
466 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
468 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
469 * sysdeps/powerpc/powerpc64/fpu/Makefile
470 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
471 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
472 (libm-sysdep_routines): Remove s_llround-* objects.
473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
483 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
484 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
485 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
486 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
487 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
488 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
489 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
490 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
491 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
492 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
493 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
494 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
495 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
496 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
498 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
499 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
500 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
501 * sysdeps/powerpc/powerpc32/fpu/Makefile
502 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
503 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
505 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
506 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
507 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
509 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
510 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
511 CFLAGS-s_lrint-ppc32.c): New rule.
512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
522 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
523 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
524 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
525 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
537 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
538 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
540 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
541 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
543 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
545 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
548 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
550 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
552 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
553 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
554 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
556 (libm-sysdep_routines): Remove s_llrint-* objects.
557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
562 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
563 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
564 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
565 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
566 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
567 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
568 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
569 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
570 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
572 2019-06-14 Florian Weimer <fweimer@redhat.com>
574 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
575 argument to __glibc_has_include to inhibit macro expansion.
577 2019-06-14 Florian Weimer <fweimer@redhat.com>
579 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
580 function-like macro, so that __has_include can inhibit expansion
583 2019-06-13 Joseph Myers <joseph@codesourcery.com>
585 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
589 Allow memset in libc.so.
591 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
593 * sysdeps/aarch64/dl-dtprocnum.h: New file.
594 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
595 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
596 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
597 symbols at load time.
598 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
600 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
602 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
603 (DT_AARCH64_VARIANT_PCS): Define.
605 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
608 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
618 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
619 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
620 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
621 Remove s_finite* objects.
622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
628 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
629 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
630 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
631 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
633 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
634 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
637 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
647 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
648 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
649 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
650 Remove s_isinf* and s_isinf* objects.
651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
657 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
658 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
659 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
660 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
662 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
663 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
665 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
666 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
667 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
669 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
685 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
686 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
687 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
688 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
689 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
690 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
691 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
692 Remove s_isnan-* and s_isnanf-* objects.
693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
702 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
703 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
704 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
705 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
706 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
707 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
708 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
709 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
711 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
712 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
714 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
715 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
716 CFLAGS-bench-isfinite.c): New rule.
717 * benchtests/isnan-input: New file.
718 * benchtests/isinf-input: New file.
719 * benchtests/isfinite-input: New file.
721 * sysdeps/powerpc/fpu/s_copysign.c: New file.
722 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
723 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
724 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
726 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
736 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
737 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
738 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
739 Remove s_copysign-power6 s_copysign-ppc64.
740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
746 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
747 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
748 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
749 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
751 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
752 round_to_integer_float, round_mode): Add RINT handling.
753 (reset_fenv_mode): New symbol.
754 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
755 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
756 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
757 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
758 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
759 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
761 2019-06-12 Florian Weimer <fweimer@redhat.com>
764 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
765 * libio/freopen.c (freopen): Use it.
767 2019-06-12 Florian Weimer <fweimer@redhat.com>
769 Linux: Deprecate sysctl.
770 * include/sysctl.h (__sysctl): Remove declaration.
771 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
773 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
774 (sysctl): Add deprecation attribute.
775 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
776 directly, to avoid the deprecation warning. Do not include
778 (__sysctl): Remove hidden alias.
780 2019-06-12 Florian Weimer <fweimer@redhat.com>
782 Linux: Use kernel headers for statx definitions if available.
783 * include/bits/statx-generic.h: New file.
784 * include/bits/types/struct_statx.h: Likewise.
785 * include/bits/types/struct_statx_timestamp.h: Likewise.
786 * io/Makefile (headers): Add bits/statx-generic.h.
787 * io/bits/statx-generic.h: New file. Partly copied from
789 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
790 define original_statx.
791 * io/bits/types/struct_statx.h: Likewise.
792 * io/bits/types/struct_statx_timestamp.h: Likewise.
793 (statx_generic): Use original_statx.
794 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
795 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
797 2019-06-12 Florian Weimer <fweimer@redhat.com>
799 * misc/sys/cdefs.h (__glibc_has_include): Define.
801 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
803 * string/memmem.c (__memmem): Rewrite to improve performance.
805 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
807 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
809 (two_way_long_needle): Block inlining.
810 * string/strstr.c (strstr2): Add new function.
812 (STRSTR): Completely rewrite strstr to improve performance.
814 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
816 * benchtests/bench-strstr.c (test_hard_needle): New function.
818 2019-06-10 Joseph Myers <joseph@codesourcery.com>
820 * malloc/tst-calloc.c: Include <libc-diag.h>.
821 (null_test): Ignore -Wunused-result around calls to calloc.
822 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
823 (do_test): Ignore -Wunused-result around call to malloc.
825 2019-06-07 Florian Weimer <fweimer@redhat.com>
827 Linux: Add getdents64 system call.
828 * include/dirnent.h (getdents): Add comment and change buffer
829 argument type to void *.
830 (getdents64): Likewise. Add hidden prototype.
831 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
833 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
835 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
836 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
837 argument type to void *.
838 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
839 Add hidden definition and getdents64 alias.
840 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
842 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
843 * manual/filesys.texi (Accessing Directories): Add Low-level
844 Directory Access node reference.
845 (Opening a Directory): Cross-reference it.
846 (Low-level Directory Access): New node.
847 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
849 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
851 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
852 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
854 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
856 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
858 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
860 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
862 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
864 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
866 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
867 (GLIBC_2.30): Likewise.
868 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
869 (GLIBC_2.30): Likewise.
870 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
871 (GLIBC_2.30): Likewise.
872 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
873 (GLIBC_2.30): Likewise.
874 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
877 (GLIBC_2.30): Likewise.
878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
879 (GLIBC_2.30): Likewise.
880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
881 (GLIBC_2.30): Likewise.
882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
883 (GLIBC_2.30): Likewise.
884 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
886 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
888 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
890 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
891 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
893 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
895 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
897 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
900 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
902 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
906 (_FPU_GETCW): Use __FPU_MFFS().
907 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
909 2019-06-06 Florian Weimer <fweimer@redhat.com>
911 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
912 internal GCC preprocessor identifier __has_include__.
914 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
916 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
917 with call to equivalent function.
919 2019-06-04 Florian Weimer <fweimer@redhat.com>
921 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
922 (do_release_shlib): Adjust for __twalk_r.
923 (__gconv_release_shlib): Call __twalk_r.
925 2019-06-04 Andreas Schwab <schwab@suse.de>
928 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
929 no irreversible characters occurred.
930 * iconv/gconv_simple.c (internal_ucs4_loop)
931 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
932 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
933 (ucs4_internal_loop_single, internal_ucs4le_loop)
934 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
935 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
936 (ucs4le_internal_loop_single): Add const to outend.
937 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
938 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
939 * iconv/Makefile (tests): Add tst-iconv7.
940 * iconv/tst-iconv7.c: New file.
942 2019-06-03 Joseph Myers <joseph@codesourcery.com>
944 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
946 2019-06-01 Florian Weimer <fweimer@redhat.com>
948 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
949 * sysdeps/unix/sysv/linux/arm/Makefile
950 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
951 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
952 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
953 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
954 compatibility symbols.
956 2019-05-31 Florian Weimer <fweimer@redhat.com>
958 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
959 system calls for the arm architecture: breakpoint, get_tls,
960 set_tls, usr26, usr32.
962 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
964 * sysdeps/powerpc/Makefile
965 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
966 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
967 Declare '.machine power7' to get support for ldbrx.
968 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
969 directive based on the directory of the file.
970 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
971 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
972 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
973 '.machine' directive.
974 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
975 (VADDUQM_V7_V8): Remove.
976 (__STRCASECMP): Replace macros with actual instructions.
977 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
978 '.machine' directive.
979 (VCLZD_V8_v7): Remove.
980 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
982 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
984 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
986 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
988 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
990 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
992 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
993 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
994 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
995 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
996 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
997 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
999 2019-05-28 mansayk <6688000@gmail.com>
1002 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
1004 2019-05-28 mansayk <6688000@gmail.com>
1007 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
1008 (abmon): Likewise, but remove the trailing dots.
1010 2019-05-28 Joseph Myers <joseph@codesourcery.com>
1012 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
1014 2019-05-27 Florian Weimer <fweimer@redhat.com>
1016 * nptl/nptl-init.c: Add comment.
1018 2019-05-24 Florian Weimer <fweimer@redhat.com>
1020 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
1021 struct in_addr/struct in6_addr alignment.
1023 2019-05-23 Joseph Myers <joseph@codesourcery.com>
1025 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1026 (F_SEAL_FUTURE_WRITE): New macro.
1028 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
1030 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
1031 * elf/tst-ldconfig-bad-aux-cache.c: New file.
1032 * elf/tst-ldconfig_aux-cache.root: New directory.
1033 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
1034 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
1035 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
1037 2019-05-22 Zack Weinberg <zackw@panix.com>
1039 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
1041 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
1042 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
1044 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
1045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
1049 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
1050 Issue an #error if used with a compiler in SPE-float mode.
1051 * sysdeps/powerpc/powerpc32/__longjmp_common.S
1052 * sysdeps/powerpc/powerpc32/setjmp_common.S
1053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
1055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
1057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1059 Remove code to preserve SPE register state.
1061 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1062 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1063 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
1064 Remove __SPE__ ifndefs.
1066 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
1068 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
1069 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
1070 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
1071 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
1072 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
1073 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
1074 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
1075 (INNER_LOOP_ITERS_MEDIUM): New define.
1076 (INNER_LOOP_ITERS_SMALL): New define.
1077 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
1078 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
1079 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
1080 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
1081 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
1083 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
1085 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
1087 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
1088 (SEMTIMEDOP_IPC_ARGS): Likewise.
1090 2019-05-21 Florian Weimer <fweimer@redhat.com>
1093 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
1094 before updating __counter field and release it afterwards. Add
1096 * iconv/gconv.h (struct __gconv_step): Mention synchronization
1097 requirement for __counter member.
1099 2019-05-21 Florian Weimer <fweimer@redhat.com>
1102 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
1103 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
1104 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
1105 instead of __gconv_release_step.
1106 * libio/Makefile (tests): Add tst-wfile-gconv.
1107 (tests-container): Add tst-wfile-ascii.
1108 (tst-wfile-gconv-ENV): Enable mtrace.
1109 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
1110 (tests-special): Add tst-wfile-gconv-mem.out.
1111 (tst-wfile-gconv.out): Depend on locales.
1112 (tst-wfile-gconv-mem.out): Add mtrace rule.
1113 * libio/tst-wfile-ascii.c: New file.
1114 * libio/tst-wfile-gconv.c: Likewise.
1116 2019-05-20 Florian Weimer <fweimer@redhat.com>
1119 libio: Remove codecvt vtable.
1120 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
1122 * libio/iofgetpos.c (_IO_new_fgetpos): Call
1123 __libio_codecvt_encoding.
1124 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
1125 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1126 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
1127 * libio/iofwide.c (__libio_codecvt): Remove variable.
1128 (_IO_fwide): Do not copy __libio_codecvt.
1129 (__libio_codecvt_out): Rename from do_out and export.
1130 (do_unshift): Remove function.
1131 (__libio_codecvt_in): Rename from do_in and export.
1132 (__libio_codecvt_encoding): Rename from do_encoding and export.
1133 (do_always_noconv): Remove function.
1134 (__libio_codecvt_length): Rename from do_length and export.
1135 (do_max_length): Remove function.
1136 * libio/libio.h (enum __codecvt_result): Remove definition; moved
1138 (struct _IO_codecvt): Remove fields __codecvt_destr,
1139 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
1140 __codecvt_do_encoding, __codecvt_do_always_noconv,
1141 __codecvt_do_length, __codecvt_do_max_length.
1142 * libio/libioP.h (enum __codecvt_result): Define; moved from
1144 (__libio_codecvt_out, __libio_codecvt_in)
1145 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
1147 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
1148 (_IO_wfile_underflow): Call __libio_codecvt_in.
1149 (_IO_wfile_underflow): Likewise.
1150 (_IO_wfile_underflow_mmap): Likewise.
1151 (_IO_wfile_sync): Call __libio_codecvt_encoding,
1152 __libio_codecvt_length.
1153 (adjust_wide_data): Call __libio_codecvt_encoding,
1155 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
1156 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
1157 __libio_codecvt_length.
1159 2019-05-20 Florian Weimer <fweimer@redhat.com>
1161 * support/support.h (support_sbindir_prefix): Declare.
1162 (support_install_rootsbindir): Update comment.
1163 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
1164 * support/support_paths.c (support_sbindir_prefix): Define.
1166 2019-05-20 Mike Crowe <mac@mcrowe.com>
1168 * support/timespec.c: Add backslash to correct newline in failure
1171 * support/timespec.h: Correct confusing comment.
1173 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1175 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
1177 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
1178 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
1179 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
1180 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
1183 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
1186 2019-05-20 Joseph Myers <joseph@codesourcery.com>
1188 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
1189 (NT_ARM_PACG_KEYS): Likewise.
1191 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
1193 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
1194 (tcache_put): Remove redundant assert.
1195 (tcache_get): Remove redundant asserts.
1196 (__libc_malloc): Check tcache count is not zero.
1197 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
1199 2019-05-17 Florian Weimer <fweimer@redhat.com>
1201 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
1203 2019-05-16 Joseph Myers <joseph@codesourcery.com>
1205 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1206 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
1208 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
1210 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1211 (__ASSUME_STATX): Likewise.
1213 2019-05-16 Florian Weimer <fweimer@redhat.com>
1215 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
1217 (LINE_PARSER): Do not map IPv4 addresses.
1218 (internal_nis_gethostent_r): Remove flags argument. Adjust call
1220 (_nss_nis_gethostent_r): Always pass AF_INET to
1221 internal_nis_gethostent_r.
1222 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1224 (_nss_nis_gethostbyname2_r): Adjust call to
1225 internal_nis_gethostent_r.
1226 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
1227 call to internal_nis_gethostent_r.
1228 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
1230 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
1231 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
1232 Remove flags argument. Do not map IPv4 addresses.
1233 (internal_nisplus_gethostent_r): Adjust call to
1234 _nss_nisplus_parse_hostent.
1235 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1236 to _nss_nisplus_parse_hostent.
1237 (_nss_nisplus_gethostbyname2_r): Adjust call to
1238 internal_gethostbyname2_r.
1239 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
1240 Adjust call to internal_gethostbyname2_r.
1241 (_nss_nisplus_gethostbyaddr_r): Adjust call to
1242 _nss_nisplus_parse_hostent.
1243 (_nss_nisplus_gethostbyname4_r): Adjust call to
1244 internal_gethostbyname2_r.
1246 2019-05-16 Florian Weimer <fweimer@redhat.com>
1248 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
1250 (LINE_PARSER): Remove address mapping.
1251 (EXTRA_ARGS_VALUE): Remove flags argument.
1252 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
1253 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
1254 gethostbyname3_multi.
1255 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
1256 _nss_files_gethostbyname3_r.
1257 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
1259 2019-05-16 Florian Weimer <fweimer@redhat.com>
1261 * support/support_test_compare_blob.c (report_blob): Report
1262 incorrect NULL blobs.
1264 2019-05-15 Mark Wielaard <mark@klomp.org>
1267 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
1268 __libc_once_get (once) and static_buf == NULL.
1269 (__dlerror): Check we have a valid key, set result to static_buf
1272 2019-05-15 Andreas Schwab <schwab@suse.de>
1275 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
1276 __codecvt_do_length.
1277 * libio/Makefile (tests): Add tst-wfile-sync.
1278 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
1279 * libio/tst-wfile-sync.c: New file.
1280 * libio/tst-wfile-sync.input: New file.
1282 2019-05-15 Florian Weimer <fweimer@redhat.com>
1284 nss: Turn __nss_database_lookup into a compatibility symbol.
1285 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
1286 __nss_database_lookup.
1287 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
1288 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
1289 __nss_database_lookup.
1290 (__nss_next): Move to …
1291 * nss/compat-lookup.c (nss_next): … here. Change it to fail
1293 (__nss_database_lookup): New function.
1294 * nss/Versions (GLIBC_2.0): Update comment.
1295 (GLIBC_PRIVATE): Export __nss_database_lookup2.
1296 * grp/initgroups.c (internal_getgrouplist): Call
1297 __nss_database_lookup2 instead of __nss_database_lookup.
1298 * nscd/aicache.c (addhstaiX): Likewise.
1299 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1300 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1301 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
1302 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
1303 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
1305 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
1306 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
1307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1309 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
1311 * support/support.h (support_install_rootsbindir): New variable.
1312 * support/support_paths.c: Likewise.
1313 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
1315 2019-05-15 Florian Weimer <fweimer@redhat.com>
1317 * iconv/gconv.h (__gconv_transliterate): Move declaration …
1318 * iconv/gconv_int.h (__gconv_transliterate): … here.
1319 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
1320 * iconv/skeleton.c: Likewise.
1322 2019-05-14 Florian Weimer <fweimer@redhat.com>
1324 Linux: Add the tgkill function.
1325 * bits/signal_ext.h: New file.
1326 * manual/signal.texi (Signaling Another Process): Document tgkill.
1327 * signal/Makefile (headers): Add bits/signal_ext.h.
1328 * signal/signal.h: Include <bits/signal_ext.h>.
1329 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
1330 (tst-tgkill): Link with libpthread.
1331 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
1332 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
1333 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
1334 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1336 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1337 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1338 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1339 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1340 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1341 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1342 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1343 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1344 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1345 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1346 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1348 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1349 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1350 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
1357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
1359 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1360 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1361 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1362 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1363 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1364 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1365 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1366 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1368 2019-05-14 Carlos O'Donell <carlos@redhat.com>
1370 * manual/search.texi (Tree Search Function): Adjust twalk_r
1373 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1376 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
1379 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
1380 * support/support.h (support_bindir_prefix): New variable.
1381 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
1383 * config.make.in (bindir): New variable.
1385 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
1386 (lll_trylock): Call __lll_trylock.
1387 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
1388 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
1389 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1390 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1391 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
1392 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
1393 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1394 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1395 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
1396 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
1397 lowlevellock-futex.h.
1399 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1400 initialization for LLL_LOCK_INITIALIZER different than 0.
1401 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
1402 Assume LLL_LOCK_INITIALIZER being 0.
1403 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
1404 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
1406 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
1407 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
1409 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
1410 Optimize futex call and add systemtap probe.
1412 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
1413 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
1414 __libc_disable_asynccancel, __librt_enable_asynccancel,
1415 __libc_disable_asynccancel, __librt_enable_asynccancel,
1416 __librt_disable_asynccancel): Move to ...
1417 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
1418 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
1419 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
1420 * sysdeps/generic/single-thread.h: New file.
1421 * sysdeps/unix/sysdep.h: Include single-thread.h.
1422 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
1423 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1425 2019-05-08 Mike FABIAN <mfabian@redhat.com>
1428 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
1429 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1431 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1432 * localedata/unicode-gen/PropList.txt: Likewise.
1433 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1434 * localedata/charmaps/UTF-8: Regenerate.
1435 * localedata/locales/i18n_ctype: Likewise.
1436 * localedata/locales/tr_TR: Likewise.
1437 * localedata/locales/translit_circle: Likewise.
1438 * localedata/locales/translit_cjk_compat: Likewise.
1439 * localedata/locales/translit_combining: Likewise.
1440 * localedata/locales/translit_compat: Likewise.
1441 * localedata/locales/translit_font: Likewise.
1442 * localedata/locales/translit_fraction: Likewise.
1444 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
1447 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
1448 (do_set_tcache_count): Only update if count is small enough.
1449 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
1451 2019-05-10 Florian Weimer <fweimer@redhat.com>
1453 * nptl/sem_close.c (struct walk_closure): Define.
1454 (walker): Adjust for __twalk_r.
1455 (sem_close): Call __twalk_r.
1457 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1459 * support/timespec.c (test_timespec_before_impl,
1460 test_timespec_equal_or_after_impl): print timespec member as intmax_t
1463 2019-05-09 Mike Crowe <mac@mcrowe.com>
1465 * nptl/tst-abstime.c: Use libsupport.
1467 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
1468 small bug where only tv.tv_usec was checked which could cause an
1469 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
1472 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
1475 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
1476 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
1478 * nptl/tst-cond11.c: Use libsupport.
1480 * support/timespec.h: New file. Provide timespec helper functions
1481 along with macros in the style of those in check.h.
1482 * support/timespec.c: New file. Implement check functions declared
1483 in support/timespec.h.
1484 * support/timespec-add.c: New file from gnulib containing
1485 timespec_add implementation that handles overflow.
1486 * support/timespec-sub.c: New file from gnulib containing
1487 timespec_sub implementation that handles overflow.
1488 * support/README: Mention timespec.h.
1490 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1493 * nptl/Makefile: Move tst-eintr1 to xtests.
1495 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1497 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
1499 (round_mode): Add definition for TRUNC.
1500 * sysdeps/powerpc/fpu/s_trunc.c: New file.
1501 * sysdeps/powerpc/fpu/s_truncf.c: New file.
1502 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
1503 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1504 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
1506 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
1508 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
1510 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1512 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
1514 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
1516 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
1518 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
1520 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
1521 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
1522 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1523 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
1524 s_truncf-power5+, and s_truncf-ppc64.
1525 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
1526 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
1528 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
1529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
1530 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
1531 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
1533 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
1535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
1536 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
1537 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1538 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
1539 s_truncf-power5+, and s_truncf-ppc64.
1540 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
1542 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1543 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
1545 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1546 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1547 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1548 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1549 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1551 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1553 (round_mode): Add definition for ROUND.
1554 (round_to_integer_float): Likewise.
1555 * sysdeps/powerpc/fpu/s_round.c: New file.
1556 * sysdeps/powerpc/fpu/s_roundf.c: New file.
1557 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
1558 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1559 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
1561 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
1563 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
1565 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1567 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
1569 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
1571 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
1573 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
1575 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
1576 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
1577 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1578 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
1579 s_roundf-power5+, and s_roundf-ppc64.
1580 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
1581 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
1583 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
1584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
1585 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
1586 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
1588 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
1590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
1591 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
1592 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1593 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
1594 s_roundf-power5+, and s_roundf-ppc64.
1595 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
1597 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1598 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
1600 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1601 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1602 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1603 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1604 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1606 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1608 (round_mode): Add definition for FLOOR.
1609 * sysdeps/powerpc/fpu/s_floor.c: New file.
1610 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1611 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1612 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1629 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1630 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1631 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1632 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1633 s_floorf-power5+, and s_floorf-ppc64.
1634 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1635 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1637 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1639 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1640 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1642 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1645 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1646 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1647 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1648 s_floorf-power5+, and s_floorf-ppc64.
1649 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1657 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1658 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1659 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1660 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1662 2019-05-08 Mike Crowe <mac@mcrowe.com>
1664 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1665 clock_gettime wrapper for use in tests that fails the test rather
1666 than returning failure.
1668 * support/xtime.h: New file to declare xclock_gettime.
1670 * support/Makefile: Add xclock_gettime.c.
1672 * support/README: Mention xtime.h.
1674 2019-05-08 Florian Weimer <fweimer@redhat.com>
1676 malloc/tst-mallocfork2: Use process-shared barriers.
1677 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1678 (signal_count, sigusr1_sender_pid): Remove.
1679 (iterations): Define constant.
1680 (shared): New variable.
1681 (sigusr1_received): Update comment.
1682 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1683 (signal_sender): Optional use barriers to avoid sending signals
1684 during irrelevant times.
1685 (do_it): Initialize variable shared. Use xfork for error
1686 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1687 the iteration count, independent of signal delivery. Check for
1688 deadlocks in fork. Introduce barriers for reducing signal
1689 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1690 replaced by the barriers. Count signals during fork/free/malloc
1692 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1694 2019-05-07 Joseph Myers <joseph@codesourcery.com>
1696 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1698 (clock_adjtime64) New syscall.
1699 (clock_getres_time64) Likewise.
1700 (clock_gettime64) Likewise.
1701 (clock_nanosleep_time64) Likewise.
1702 (clock_settime64) Likewise.
1703 (futex_time64) Likewise.
1704 (io_pgetevents_time64) Likewise.
1705 (io_uring_enter) Likewise.
1706 (io_uring_register) Likewise.
1707 (io_uring_setup) Likewise.
1708 (mq_timedreceive_time64) Likewise.
1709 (mq_timedsend_time64) Likewise.
1710 (pidfd_send_signal) Likewise.
1711 (ppoll_time64) Likewise.
1712 (pselect6_time64) Likewise.
1713 (recvmmsg_time64) Likewise.
1714 (rt_sigtimedwait_time64) Likewise.
1715 (sched_rr_get_interval_time64) Likewise.
1716 (semtimedop_time64) Likewise.
1717 (timer_gettime64) Likewise.
1718 (timer_settime64) Likewise.
1719 (timerfd_gettime64) Likewise.
1720 (timerfd_settime64) Likewise.
1721 (utimensat_time64) Likewise.
1723 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1724 version to 9 branch.
1726 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1728 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1729 __memmove_thunderx2 to the list of implementations
1730 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1731 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1732 (__memmove_thunderx2): Rewritten using SIMD ld/st
1733 (__memcpy_thunderx2): Fixed handling overlapping cases.
1734 Used ldp/stp instead of ldr/str if possible. Made loops
1737 2019-05-03 Florian Weimer <fweimer@redhat.com>
1739 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1741 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1744 * elf/tst-pldd.c (in_str_list): New function.
1745 (do_test): Add default names for ld and libc as one option.
1747 2019-05-02 Florian Weimer <fweimer@redhat.com>
1749 misc: Add twalk_r function.
1750 * include/search.h (__twalk_r): Declare.
1751 * manual/examples/twalk.c: New file.
1752 * manual/search.texi (Tree Search Function): Document twalk_r.
1753 * misc/Versions (2.30): Export twalk_r.
1754 (GLIBC_PRIVATE): Export __twalk_r.
1755 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1756 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1757 (twalk_r): Add weak alias.
1758 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1759 (walk_trace): New variable.
1760 (struct twalk_with_twalk_r_closure): Define.
1761 (twalk_with_twalk_r_action): New function.
1762 (twalk_with_twalk_r): Likewise.
1763 (walk_action): Call walk_trace_add.
1764 (walk_tree_with): Rename from walk_tree. Add walk argument.
1765 (walk_tree): New function.
1766 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1767 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1769 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1771 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1772 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1773 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1774 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1775 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1776 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1778 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1780 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1782 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1783 (GLIBC_2.30): Likewise.
1784 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1785 (GLIBC_2.30): Likewise.
1786 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1787 (GLIBC_2.30): Likewise.
1788 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1789 (GLIBC_2.30): Likewise.
1790 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1793 (GLIBC_2.30): Likewise.
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1795 (GLIBC_2.30): Likewise.
1796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1797 (GLIBC_2.30): Likewise.
1798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1799 (GLIBC_2.30): Likewise.
1800 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1802 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1804 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1806 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1807 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1809 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1811 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1813 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1816 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1818 Make mktime etc. compatible with __time64_t
1819 Keep these functions compatible with Gnulib while adding
1820 __time64_t support. The basic idea is to move private API
1821 declarations from include/time.h to time/mktime-internal.h, since
1822 the former file cannot easily be shared with Gnulib whereas the
1824 Also, do some other minor cleanup while in the neighborhood.
1825 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1826 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1827 since Gnulib needs it.
1828 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1829 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1830 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1831 (in_time_t_range): New static function.
1832 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1833 so that glibc users are not tempted to use __time64_t.
1834 * time/mktime-internal.h: Rewrite so that it does both glibc
1835 and Gnulib work. Include time.h if not _LIBC.
1836 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1837 (__time64_t): New type or macro, moved here from
1839 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1840 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1841 from include/time.h.
1842 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1843 New macros, taken from GNulib.
1844 (__mktime_internal): New prototype, moved here from include/time.h.
1845 * time/mktime.c (mktime_min, mktime_max, convert_time)
1846 (ranged_convert, __mktime_internal, __mktime64):
1847 * time/timegm.c (__timegm64):
1848 Use __time64_t, not time_t.
1849 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1850 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1852 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1853 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1854 for libc_hidden_def.
1856 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1858 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1860 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
1863 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1864 from `-Wmaybe-uninitialized'.
1865 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1867 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1869 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1871 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1872 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1873 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1874 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1875 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1877 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1894 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1895 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1896 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1897 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1899 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1902 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1903 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1905 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1908 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1911 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1912 s_ceilf-power5+, and s_ceilf-ppc64.
1913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1918 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1919 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1920 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1921 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1923 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1924 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1925 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1927 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1929 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1930 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1931 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1932 (sem_getvalue): Likewise.
1934 2019-04-26 Florian Weimer <fweimer@redhat.com>
1936 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1937 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1939 2019-04-26 Florian Weimer <fweimer@redhat.com>
1941 Makeconfig: Move -Wl,-rpath-link options before library references.
1942 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1943 (link-libc): Remove $(link-libc-rpath-link).
1945 2019-04-25 Florian Weimer <fweimer@redhat.com>
1947 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1948 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1949 (+link-static-before-libc): Remove $(CC).
1950 (+link-static, +link-static-tests): Add $(CC).
1951 (+link-before-libc): Remove $(CC).
1952 (+link, +link-pie, +link-pie-printers): Add $(CC).
1954 2019-04-26 Florian Weimer <fweimer@redhat.com>
1956 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1957 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1958 (+link-static-before-libc): Remove $(CC).
1959 (+link-static, +link-static-tests): Add $(CC).
1960 (+link-before-libc): Remove $(CC).
1961 (+link, +link-pie, +link-pie-printers): Add $(CC).
1963 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1966 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1968 2019-04-25 Florian Weimer <fweimer@redhat.com>
1970 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1971 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1972 (bench-link-targets): New variable.
1973 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1975 2019-04-25 Florian Weimer <fweimer@redhat.com>
1977 Also enable BIND_NOW for programs if --enable-bind-now.
1978 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1979 (+link-pie): Use $(link-extra-flags).
1980 (+link-static): Likewise.
1981 [! $(build-pie-default)] (+link): Likewise.
1982 * manual/install.texi (Configuring and compiling): Update
1983 --enable-bind-now description.
1984 * INSTALL: Regenerated.
1986 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1988 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1989 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1991 2019-04-24 Mike Frysinger <vapier@gentoo.org>
1994 * malloc/Makefile (others): Add memusagestat.
1995 ($(objpfx)memusagestat): Delete rule.
1996 (LDLIBS-memusagestat): New variable.
1998 2019-04-24 Florian Weimer <fweimer@redhat.com>
2000 * locale/Makefile (tests-special): Guard setting by
2001 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
2002 to run while cross-compiling.
2004 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2007 * elf/Makefile (tests-container): Add tst-pldd.
2008 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
2009 (E(find_maps)): Avoid use alloca, use default read file operations
2010 instead of explicit LFS names, and fix infinite loop.
2011 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
2012 (get_process_info): Use _Static_assert instead of assert, use default
2013 directory operations instead of explicit LFS names, and free some
2015 * elf/tst-pldd.c: New file.
2017 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
2019 * malloc/arena.c (do_set_mallopt_check): Removed.
2021 2019-04-23 Florian Weimer <fweimer@redhat.com>
2023 locale: Add LOCPATH diagnostics to the locale program.
2024 * locale/programs/locale.c (setlocale_failed): New variable.
2025 (try_setlocale): New function.
2026 (quote_string): Likewise.
2027 (setlocale_diagnostics): Likewise.
2028 (main): Call try_setlocale instead of setlocale. Call
2029 setlocale_diagnostics.
2030 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
2031 (tst-locale-locpath.out): New target.
2032 * locale/tst-locale-locpath.sh: New file.
2034 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2036 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
2039 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2042 * malloc/hooks.c (malloc_check, realloc_check): Use
2043 __builtin_add_overflow on overflow check and adapt to
2044 checked_request2size change.
2045 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
2046 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
2047 allocation size to PTRDIFF_MAX.
2048 (REQUEST_OUT_OF_RANGE): Remove macro.
2049 (checked_request2size): Change to inline function and limit maximum
2050 requested size to PTRDIFF_MAX.
2051 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
2052 maximum allocation size to PTRDIFF_MAX.
2053 (_mid_memalign): Use _int_memalign call for overflow check.
2054 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
2055 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
2056 limit maximum requested size to PTRDIFF_MAX.
2057 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
2058 valloc, pvalloc): Add __attribute_alloc_size__.
2059 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
2060 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
2061 larger than PTRDIFF_MAX.
2062 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
2063 around tests of malloc with negative sizes.
2064 * malloc/tst-posix_memalign.c (do_test): Likewise.
2065 * malloc/tst-pvalloc.c (do_test): Likewise.
2066 * malloc/tst-valloc.c (do_test): Likewise.
2067 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
2068 with resulting size allocation larger than PTRDIFF_MAX with
2069 reallocarray_nowarn.
2070 (reallocarray_nowarn): New function.
2071 * NEWS: Mention the malloc function semantic change.
2073 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2075 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
2076 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2078 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
2079 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2080 * sysdeps/powerpc/fpu/s_fma.c: New file.
2081 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2083 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
2084 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
2086 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
2087 the magic flag store.
2088 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2090 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
2092 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
2093 Remove rt_sigreturn call.
2095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2096 Remove rt_sigreturn call.
2097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
2100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2102 * support/Makefile (libsupport-routines): Add support_subprocess,
2103 xposix_spawn, xposix_spawn_file_actions_addclose, and
2104 xposix_spawn_file_actions_adddup2.
2105 (tst-support_capture_subprocess-ARGS): New rule.
2106 * support/capture_subprocess.h (support_capture_subprogram): New
2108 * support/support_capture_subprocess.c (support_capture_subprocess):
2109 Refactor to use support_subprocess and support_capture_poll.
2110 (support_capture_subprogram): New function.
2111 * support/tst-support_capture_subprocess.c (write_mode_to_str,
2112 str_to_write_mode, test_common, parse_int, handle_restart,
2113 do_subprocess, do_subprogram, do_multiple_tests): New functions.
2114 (do_test): Add support_capture_subprogram tests.
2115 * support/subprocess.h: New file.
2116 * support/support_subprocess.c: Likewise.
2117 * support/xposix_spawn.c: Likewise.
2118 * support/xposix_spawn_file_actions_addclose.c: Likewise.
2119 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
2120 * support/xspawn.h: Likewise.
2122 2019-04-17 Mike Gerow <gerow@google.com>
2124 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
2127 2019-04-11 Florian Weimer <fweimer@redhat.com>
2129 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
2130 domain with empty string.
2131 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2133 2019-04-11 Florian Weimer <fweimer@redhat.com>
2135 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
2137 (alloc_buffer_next): Change return type to non-const. Update
2140 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
2142 * manual/time.texi (Formatting Calendar Time): Add missing percent
2143 sign to conversion specifier.
2145 2019-04-09 Carlos O'Donell <carlos@redhat.com>
2146 Kwok Cheung Yeung <kcy@codesourcery.com>
2149 * malloc/mtrace.c: Define prototypes for all hooks.
2150 (set_default_hooks): New function.
2151 (set_trace_hooks): Likewise.
2152 (save_default_hooks): Likewise.
2153 (tr_freehook): Use new s*_hooks functions.
2154 (tr_mallochook): Likewise.
2155 (tr_reallochook): Likewise.
2156 (tr_memalignhook): Likewise.
2158 (muntrace): Likewise.
2160 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2162 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
2163 (generic_stpcpy): New function.
2164 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
2165 (generic_stpncpy): New function.
2166 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
2167 (generic_strcat): New function.
2168 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
2169 (generic_strcpy): New function.
2170 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
2171 (STUPID_STRNCAT): Remove function.
2172 (generic_strncat): New function.
2173 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
2174 (STUPID_STRNCPY): Remove function.
2175 (generic_strncpy): New function.
2176 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
2177 (generic_strnlen): New function.
2178 (memchr_strnlen): New function.
2179 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
2180 (memchr_strlen): Likewise.
2182 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2184 * benchtests/bench-strstr.c (input): Add realistic input text.
2185 (stupid_strstr): Remove function.
2186 (basic_strstr): Add function.
2187 (twoway_strstr): Add function.
2188 (do_one_test): Add result checking.
2189 (do_test): Use new input text. Remove accidental early matches.
2190 (test_main): Improve range of tests, reduce unaligned cases.
2192 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2194 * benchtests/bench-memmem.c (simple_memmem): Remove function.
2195 (basic_memmem): Add function.
2196 (twoway_memmem): Add function.
2198 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2200 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
2201 * benchtests/bench-malloc-thread.c: Likewise.
2202 * benchtests/bench-skeleton.c: Likewise.
2203 * benchtests/bench-strtod.c: Likewise.
2204 * benchtests/bench-timing.h: Likewise.
2206 2019-04-08 Florian Weimer <fweimer@redhat.com>
2208 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
2210 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
2211 RES_INSECURE2 security checks.
2212 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
2213 RES_INSECURE2 handling.
2215 2019-04-08 Florian Weimer <fweimer@redhat.com>
2217 resolv: Remove support for RES_USE_INET6 and the inet6 option.
2218 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
2219 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
2221 * resolv/Makefile (tests): Remove tst-res_use_inet6.
2222 (tests-internal): Update justification for tst-resolv-res_init,
2223 tst-resolv-res_init-thread.
2224 (tst-res_use_inet6): Remove target.
2225 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
2226 * resolv/res_debug.c (p_option): Remove "inet6" support.
2227 * resolv/res_init.c (res_setoptions): Likewise.
2228 * resolv/res_use_inet6.h: Remove file.
2229 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
2231 (res_use_inet6): Always return false.
2232 * resolv/resolv.h (RES_USE_INET6): Remove definition.
2233 * resolv/resolv_context.h: Adjust file comment.
2234 (struct resolv_context): Update comment on __next field.
2235 (__resolv_context_put): Update comment.
2236 * resolv/tst-res_use_inet6.c: Remove file.
2237 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
2239 (test_cases): Adjust test case.
2240 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
2241 (thread_byname2_af_inet6): Use old byname_inet6 code.
2242 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
2243 (gai): Remove do_inet6 argument.
2244 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
2245 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
2246 (thread_gai_unspec_inet6): Remove functions.
2247 (do_test): Adjust thread_funcs.
2248 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
2250 (gaih_inet): Do not disable RES_USE_INET6 flag.
2252 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2254 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
2255 and remove redundant code.
2257 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2259 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
2261 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
2262 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
2264 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
2266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
2268 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2269 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
2270 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
2271 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
2272 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2273 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
2274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2275 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
2277 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
2278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2279 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2280 Remove wcsrchr optimizations.
2281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2283 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
2286 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
2288 * sysdeps/powerpc/power6/wcschr.c: Remove file.
2289 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
2291 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
2293 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
2295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2296 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
2297 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
2298 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
2299 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2300 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
2301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2302 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
2304 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
2305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2307 Remove wcschr optimizations.
2308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2310 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
2313 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
2315 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
2316 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
2318 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
2320 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
2322 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2323 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
2324 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
2325 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
2326 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2327 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
2328 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2329 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
2331 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
2332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2333 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2334 Remove wcscpy optimizations.
2335 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2337 * include/loop_unroll.h: New file.
2338 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
2339 besides generic implementation.
2341 2019-04-03 DJ Delorie <dj@redhat.com>
2343 * time/tst-strftime3.c (tm_to_printed): Disable warning about
2344 snprintf truncating output.
2346 2019-04-02 DJ Delorie <dj@redhat.com>
2348 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
2351 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2354 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
2356 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
2357 (mkreftable): Add rules for the new Japanese era and the new dates.
2359 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2360 Rafal Luzynski <digitalfreak@lingonborough.com>
2362 * time/tst-strftime2.c (date_t): Explicitly define the type.
2363 (dates): Use natural month and year numbers to express a date.
2364 (is_before): New function to compare dates.
2365 (mkreftable): Minor improvements to simplify maintenance.
2366 (do_test): Reflect the changes in dates array.
2369 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
2370 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
2371 * time/tst-strftime2.c (locales): Likewise.
2372 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
2373 2010-04-01, and 2011-04-01.
2374 (mkreftable): Add rules for the new locales and the new dates.
2376 2019-04-01 Carlos O'Donell <carlos@redhat.com>
2378 * localedata/locales/ja_JP: Add comments to era entries.
2380 2019-04-01 DJ Delorie <dj@redhat.com>
2383 * time/strptime_l.c (%Ey): Fix fencepost error.
2384 * time/tst-strftime3.c: New.
2385 * time/Makefile (tests): Add tst-strftime3.
2387 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
2389 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
2390 conditional branch to DIVBYZERO. Fix unwind info.
2391 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
2392 excb after conditional branch to $powerof2. Add missing unop
2393 instructions and .align directives and reorder instructions to
2396 2019-04-01 Richard Henderson <rth@twiddle.net>
2398 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2400 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
2403 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
2405 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
2406 $libc_cv_riscv_float_abi in `test' invocation.
2407 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
2409 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
2411 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
2413 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
2415 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2416 (_GET_SI_FPSCR): Likewise.
2417 (_SET_SI_FPSCR): Likewise.
2419 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2421 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
2423 (signbit): Use builtin for clang 3.3.
2424 (isinf): Use builtin for clang 3.7.
2426 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2428 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
2430 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
2432 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
2435 2019-03-25 Mike Crowe <mac@mcrowe.com>
2437 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
2438 pthread_rwlock_timedrdlock with calls to
2439 pthread_rwlock_timedwrlock to ensure that the latter is tested
2440 too. Use new function name in diagnostic messages too.
2442 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
2443 (do_test) Use libsupport test macros rather than hand-coded
2444 conditionals and error messages. Ensure that sem_init returns zero
2445 rather than not -1. Use <support/test-driver.c> rather than
2448 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
2449 test macros rather than hand-coded conditionals and error messages.
2450 Use <support/test-driver.c> rather than test-skeleton.c.
2452 2019-03-25 Joseph Myers <joseph@codesourcery.com>
2454 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
2456 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
2457 (NT_MIPS_MSA): Likewise.
2459 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2461 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
2462 * benchtests/README: Update description.
2463 * benchtests/bench-timing.h: Default to hp-timing.
2464 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
2465 HP_TIMING_PRINT): Remove.
2466 (HP_TIMING_NOW): Add generic implementation.
2467 (hp_timing_t): Change to uint64_t.
2469 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
2471 * nptl/descr.h: Likewise.
2472 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
2473 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
2474 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
2475 Abstract hp-timing usage with RTLD_* macros.
2476 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
2477 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
2478 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
2479 HP_TIMING_NONAVAIL): Likewise.
2480 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2482 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
2483 HP_SMALL_TIMING_AVAIL): Likewise.
2484 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
2485 HP_SMALL_TIMING_AVAIL): Likewise.
2486 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
2487 HP_SMALL_TIMING_AVAIL): Likewise.
2488 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
2489 HP_SMALL_TIMING_AVAIL): Likewise.
2490 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2492 * sysdeps/generic/hp-timing-common.h: Update comment with
2493 HP_TIMING_AVAIL removal.
2495 * include/random-bits.h: New file.
2496 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
2497 (__res_context_mkquery): Remove usage hp-timing usage and replace with
2499 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
2500 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
2503 * include/libc-internal.h (__get_clockfreq): Remove prototype.
2504 * rt/Makefile (clock-routines): Remove get_clockfreq.
2505 * rt/get_clockfreq.c: Remove file.
2506 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2507 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
2508 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
2509 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
2510 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
2512 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
2513 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
2514 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
2515 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
2516 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
2518 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
2519 pthread_clock_settime.
2520 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
2521 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
2522 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
2523 * elf/rtld.c (_dl_start_final): Likewise.
2524 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
2525 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
2527 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
2528 (_dl_cpuclock_offset): Remove.
2529 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
2530 cpuclock_offset_ununsed.
2531 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2532 cpuclock_offset set.
2533 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2534 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2535 * nptl/pthread_clock_gettime.c: Remove file.
2536 * nptl/pthread_clock_settime.c: Likewise.
2537 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
2538 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
2539 and CLOCK_PROCESS_CPUTIME_ID support.
2540 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
2541 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
2542 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
2543 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
2544 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
2546 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
2548 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2550 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
2551 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
2552 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
2554 * sysdeps/s390/memmem-arch13.S: New file.
2555 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
2556 if it is only used as fallback.
2557 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
2558 * sysdeps/s390/multiarch/ifunc-impl-list.c
2559 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
2561 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2563 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
2564 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
2565 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
2567 * sysdeps/s390/multiarch/ifunc-impl-list.c
2568 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
2569 * sysdeps/s390/strstr-arch13.S: New file.
2570 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
2571 if it is only used as fallback.
2572 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
2574 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2576 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
2577 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
2578 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
2579 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
2581 * sysdeps/s390/multiarch/ifunc-impl-list.c
2582 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
2583 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
2584 S390_IS_ARCH13_MIE3): New defines.
2586 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2588 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
2589 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
2590 * sysdeps/s390/configure.ac: Add checks for arch13 support.
2591 * sysdeps/s390/configure: Regenerated.
2593 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2595 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
2596 Add vxe2, vxp, dflt, sort flags.
2597 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
2598 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
2600 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
2601 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
2602 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
2603 HWCAP_S390_DFLT): Define.
2605 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2608 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2609 of compiler warning.
2610 * locale/programs/ld-collate.c (collate_output): Likewise.
2612 2019-03-21 DJ Delorie <dj@redhat.com>
2615 * iconv/iconvconfig.c (write_output): Replace floating point math
2616 with integer math to avoid imprecise results.
2617 * locale/programs/ld-collate.c (collate_output): Likewise.
2619 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
2621 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2622 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2624 2019-03-20 mansayk <6688000@gmail.com>
2627 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2628 (abday): Likewise, but remove the trailing dots.
2630 2019-03-19 Joseph Myers <joseph@codesourcery.com>
2632 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2634 (HWCAP_PACA): Likewise.
2635 (HWCAP_PACG): Likewise.
2636 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2638 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2640 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2642 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2645 2019-03-15 Joseph Myers <joseph@codesourcery.com>
2647 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2649 (old_getpagesize): New syscall.
2651 2019-03-15 Felix Yan <felixonmars@archlinux.org>
2654 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2655 * localedata/locales/cmn_TW (era): Likewise.
2656 * localedata/locales/hak_TW (era): Likewise.
2657 * localedata/locales/lzh_TW (era): Likewise.
2658 * localedata/locales/nan_TW (era): Likewise.
2660 2019-03-14 Adam Maris <amaris@redhat.com>
2662 * malloc/malloc.c (_int_malloc): Check for large bin list
2663 corruption when inserting unsorted chunk.
2665 2019-03-14 Florian Weimer <fweimer@redhat.com>
2667 Remove obsolete, never-implemented XSI STREAMS declarations.
2668 * manual/terminal.texi (Allocation): Remove portability note and
2670 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2672 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2673 * sysdeps/unix/inet/Subdirs (streams): Remove.
2674 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2675 (conformtest-headers-UNIX98): Likewise.
2676 (conformtest-headers-XOPEN2K): Likewise.
2677 (conformtest-headers-POSIX2008): Likewise.
2678 * posix/compat-streams.c: New file.
2679 * posix/Makefile (routines): Add it.
2680 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2681 getpmsg, isastream, putmsg, putpmsg.
2682 (GLIBC_2.30): New section.
2683 * bits/stropts.h: Remove file.
2684 * bits/xtitypes.h: Likewise.
2685 * conform/data/stropts.h-data: Likewise.
2686 * include/stropts.h: Likewise.
2687 * include/sys/stropts.h: Likewise.
2688 * include/xtitypes.h: Likewise.
2689 * streams/Makefile: Likewise.
2690 * streams/fattach.c: Likewise.
2691 * streams/fdetach.c: Likewise.
2692 * streams/getmsg.c: Likewise.
2693 * streams/getpmsg.c: Likewise.
2694 * streams/isastream.c: Likewise.
2695 * streams/putmsg.c: Likewise.
2696 * streams/putpmsg.c: Likewise.
2697 * streams/stropts.h: Likewise.
2698 * streams/sys/stropts.h: Likewise.
2699 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2700 * sysdeps/s390/bits/xtitypes.h: Likewise.
2701 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2702 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2703 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2704 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2705 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2706 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2707 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2708 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2709 * sysdeps/x86/bits/xtitypes.h: Likewise.
2711 2019-03-14 Florian Weimer <fweimer@redhat.com>
2713 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2715 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2716 but not with libnss_files.
2717 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2719 2019-03-14 Zack Weinberg <zackw@panix.com>
2721 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2722 Specify encoding="utf-8" when opening headers to check.
2724 2019-03-13 Joseph Myers <joseph@codesourcery.com>
2726 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2728 (Context.checkout_tar): Handle variable major version for Linux
2731 2019-03-13 Florian Weimer <fweimer@redhat.com>
2734 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2736 2019-03-13 Zack Weinberg <zackw@panix.com>
2738 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2740 * include/inttypes.h: Adjust to match.
2741 * include/stdint.h: New wrapper.
2743 2019-03-13 Zack Weinberg <zackw@panix.com>
2745 * scripts/check-obsolete-constructs.py: New test script.
2746 * scripts/check-installed-headers.sh: Remove tests for
2747 obsolete typedefs, superseded by check-obsolete-constructs.py.
2748 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2749 as a special test. Update commentary.
2750 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2751 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2753 * posix/sys/types.h (__u_intN_t): Remove.
2754 (u_int8_t): Typedef using __uint8_t.
2755 (u_int16_t): Typedef using __uint16_t.
2756 (u_int32_t): Typedef using __uint32_t.
2757 (u_int64_t): Typedef using __uint64_t.
2759 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
2761 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2763 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2764 Ignore types other than AT_HWCAP.
2765 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2766 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2768 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2769 in the case of falling back to generic output mechanism.
2770 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2773 2019-03-12 Florian Weimer <fweimer@redhat.com>
2775 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2777 2019-03-12 Florian Weimer <fweimer@redhat.com>
2780 resolv: Enable full ICMP errors for UDP DNS sockets
2781 * resolv/res_enable_icmp.c: New file.
2782 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2783 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2784 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2787 2019-03-11 Mao Han <han_mao@c-sky.com>
2789 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2790 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2792 2019-03-11 Mao Han <han_mao@c-sky.com>
2794 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2795 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2796 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2798 2019-03-11 Mao Han <han_mao@c-sky.com>
2800 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2802 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2805 2019-03-11 Mao Han <han_mao@c-sky.com>
2807 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2808 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2811 2019-03-08 Mike FABIAN <mfabian@redhat.com>
2814 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2815 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2817 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2818 * localedata/unicode-gen/PropList.txt: Likewise.
2819 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2820 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2821 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2822 * localedata/charmaps/UTF-8: Regenerate.
2823 * localedata/locales/i18n_ctype: Likewise.
2824 * localedata/locales/tr_TR: Likewise.
2825 * localedata/locales/translit_circle: Likewise.
2826 * localedata/locales/translit_cjk_compat: Likewise.
2827 * localedata/locales/translit_combining: Likewise.
2828 * localedata/locales/translit_compat: Likewise.
2829 * localedata/locales/translit_font: Likewise.
2830 * localedata/locales/translit_fraction: Likewise.
2832 2019-03-07 Joseph Myers <joseph@codesourcery.com>
2834 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2835 than after operators.
2836 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2837 (setitimer_locked): Likewise.
2838 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2839 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2840 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2841 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2842 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2843 (PPC_CPU_SUPPORTED): Likewise.
2844 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2845 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2846 (stat_overflow): Likewise.
2847 (statfs_overflow): Likewise.
2848 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2849 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2850 (eq_ttyname_r): Likewise.
2851 (run_chroot_tests): Likewise.
2853 2019-03-07 Florian Weimer <fweimer@redhat.com>
2855 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2858 2019-03-07 Martin Liska <mliska@suse.cz>
2860 * math/Makefile: Change location where math-vector-fortran.h is
2862 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2863 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2864 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2865 * scripts/check-installed-headers.sh: Skip Fortran header files.
2866 * scripts/check-wrapper-headers.py: Likewise.
2868 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2870 * nptl/nptl-init.c (__have_futex_clock_realtime,
2871 __have_futex_clock_realtime): Remove definition.
2872 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2873 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2874 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2875 __ASSUME_FUTEX_CLOCK_REALTIME support.
2876 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2877 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2878 * sysdeps/unix/sysv/linux/kernel-features.h
2879 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2880 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2883 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2885 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2886 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2887 __GI___wcscpy and wcscpy.
2889 2019-03-04 Florian Weimer <fweimer@redhat.com>
2891 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2893 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2896 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
2898 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2899 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2901 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2904 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2905 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2907 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2909 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2911 (do_test): Likewise.
2912 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2913 (do_test_call_varg): Likewise.
2914 (do_test_call_rarg): Likewise.
2915 * sysdeps/ieee754/ldbl-opt/Makefile
2916 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2918 ($(objpfx)tst-nldbl-warn.c): New rule.
2919 ($(objpfx)tst-nldbl-error.c): Likewise.
2920 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2923 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2926 * include/bits/error-ldbl.h: New file.
2927 * include/error.h: Include stdarg.h. Declare internal functions
2928 __error_internal and __error_at_line_internal.
2929 * misc/Makefile (headers): Add bits/error-ldbl.h.
2930 * misc/bits/error-ldbl.h: New file.
2931 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2932 avoid the inclusion of bits/error.h.
2933 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2934 and __nldbl_error_at_line.
2935 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2936 (__nldbl_error, __ndlbl_error_at_line): New functions.
2937 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2938 Redirect error and error_at_line.
2939 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2948 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2949 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2950 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2952 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2955 * include/bits/err-ldbl.h: New file.
2956 * include/err.h: Add prototypes for the internal functions:
2957 __vwarnx_internal and __vwarn_internal.
2958 * misc/Makefile (headers): Add bits/err-ldbl.h.
2959 * misc/bits/err-ldbl.h: New file.
2960 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2961 defined, i.e.: when -mlong-double-64 is in use.
2962 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2963 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2964 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2965 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2966 (VA_CALL): New macro.
2967 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2968 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2970 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2971 declare prototypes for the new functions.
2972 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2981 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2982 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2983 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2985 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2987 * sysdeps/ieee754/ldbl-opt/Makefile
2988 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2989 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2990 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2992 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2995 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2996 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2997 * argp/bits/argp-ldbl.h: New file.
2998 * include/argp.h: Include stdarg.h. Add prototypes for internal
2999 functions: __argp_error_internal and __argp_failure_internal.
3000 * include/bits/argp-ldbl.h: New file.
3001 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
3002 __nldbl_argp_error and __nldbl_argp_failure.
3003 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
3004 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
3005 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
3006 Redirect argp_error and argp_failure calls.
3007 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3016 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3017 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3018 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3020 2019-03-01 Florian Weimer <fweimer@redhat.com>
3023 * elf/tst-big-note-lib.S: Create a syntactically valid note.
3024 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
3025 code, to avoid creating an ABI tag note.
3026 (modules-names-nobuild): Add tst-big-note-lib.
3028 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
3030 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
3031 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
3033 2019-03-01 Florian Weimer <fweimer@redhat.com>
3036 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3037 (__netlink_assert_response): Add additional missing newlines.
3039 2019-02-28 Joseph Myers <joseph@codesourcery.com>
3041 * sysdeps/powerpc/powerpc32/dl-machine.c
3042 (__elf_machine_fixup_plt): Use space before '('.
3043 (__process_machine_rela): Likewise.
3044 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
3046 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
3048 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
3050 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
3051 (pattern): Likewise.
3053 (check_result): Likewise.
3054 (check_excepts): Likewise.
3055 (check_op): Likewise.
3056 (fail_xr): Likewise.
3057 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
3058 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
3060 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
3063 (__makecontext): Likewise.
3064 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
3067 2019-02-28 Florian Weimer <fweimer@redhat.com>
3070 elf: Add test with a local IFUNC resolver.
3071 * elf/ifuncmain9.c: New file.
3072 * elf/ifuncmain9pic.c: Likewise.
3073 * elf/ifuncmain9picstatic.c: Likewise.
3074 * elf/ifuncmain9pie.c: Likewise.
3075 * elf/ifuncmain9static.c: Likewise.
3076 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
3077 ifuncmain9static, ifuncmain9picstatic.
3078 * elf/Makefile [multi-arch && build-shared] (tests-internal):
3079 Add ifuncmain9, ifuncmain9pic.
3080 * elf/Makefile [multi-arch && build-shared && have-fpie]
3081 (ifunc-pie-tests): Add ifuncmain9pie.
3082 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
3083 (CFLAGS-ifuncmain9picstatic.c): Likewise.
3084 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
3086 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
3088 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
3089 * configure: Regenerated.
3090 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
3092 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3094 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
3095 symbol as __wcspcy instead of wcscpy.
3097 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3099 * include/stdio.h (__renameat2): New hidden prototype.
3100 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
3101 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
3102 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
3103 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
3105 2019-02-27 Joseph Myers <joseph@codesourcery.com>
3107 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
3110 * benchtests/bench-strcpy.c (do_test): Use space before '('.
3111 * benchtests/bench-string.h (cmdline_process_function): Likewise.
3112 * benchtests/bench-strlen.c (do_test): Likewise.
3113 (test_main): Likewise.
3114 * catgets/gencat.c (read_old): Likewise.
3115 * elf/cache.c (load_aux_cache): Likewise.
3116 * iconvdata/bug-iconv8.c (do_test): Likewise.
3117 * math/test-tgmath-ret.c (do_test): Likewise.
3118 * nis/nis_call.c (rec_dirsearch): Likewise.
3119 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3120 * nptl/tst-audit-threads.c (do_test): Likewise.
3121 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
3122 * nss/nss_test1.c (init): Likewise.
3123 * nss/test-netdb.c (test_hosts): Likewise.
3124 * posix/execvpe.c (maybe_script_execute): Likewise.
3125 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
3126 * stdio-common/tst-printf.c (do_test): Likewise.
3127 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
3128 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
3129 * stdlib/qsort.c (STACK_SIZE): Likewise.
3130 * stdlib/test-canon.c (do_test): Likewise.
3131 * stdlib/tst-swapcontext1.c (do_test): Likewise.
3132 * string/memcmp.c (OPSIZ): Likewise.
3133 * string/test-strcpy.c (do_test): Likewise.
3134 (do_random_tests): Likewise.
3135 * string/test-strlen.c (do_test): Likewise.
3136 (test_main): Likewise.
3137 * string/test-strrchr.c (do_test): Likewise.
3138 (do_random_tests): Likewise.
3139 * string/tester.c (test_memrchr): Likewise.
3140 (test_memchr): Likewise.
3141 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
3142 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
3143 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
3144 (read_encoded_value_with_base): Likewise.
3145 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
3146 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
3147 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
3148 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3149 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
3150 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
3152 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
3154 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
3155 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
3156 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
3158 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
3160 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
3162 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3164 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
3165 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3166 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3167 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
3168 * time/test_time.c (main): Likewise.
3170 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3172 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
3174 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
3177 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
3180 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3182 * include/wchar.h (__wcscpy): New prototype.
3183 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
3184 (__wcscpy): Route internal symbol to generic implementation.
3185 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
3186 Add internal __wcscpy alias.
3187 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
3188 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
3189 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
3190 * wcsmbs/wcscpy.c (wcscpy): Add
3191 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
3192 use generic implementation.
3193 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
3195 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
3198 * sysdeps/m68k/wcpcpy.c: Remove file.
3199 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3201 2019-02-26 Joseph Myers <joseph@codesourcery.com>
3203 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
3204 than after operators.
3205 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3206 * sysdeps/mach/hurd/getcwd.c
3207 (__hurd_canonicalize_directory_name_internal): Likewise.
3208 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
3209 (pthread_mutex_consistent): Likewise.
3210 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
3212 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
3213 (__pthread_mutex_transfer_np): Likewise.
3214 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
3215 (__pthread_mutex_unlock): Likewise.
3216 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
3217 (mtx_owned_p): Likewise.
3218 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
3219 (pthread_mutexattr_getrobust): Likewise.
3220 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
3221 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3223 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3224 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
3225 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
3226 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
3227 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3228 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3229 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
3231 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
3233 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
3234 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
3235 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
3236 (____longjmp_chk): Likewise.
3237 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
3239 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3240 (INTERNAL_SYSCALL): Likewise.
3241 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3242 (INTERNAL_SYSCALL): Likewise.
3243 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3244 (__get_clockfreq_via_cpuinfo): Likewise.
3246 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
3248 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
3249 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
3250 (WORD_COPY_BWD): Likewise.
3251 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3252 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3254 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
3255 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
3257 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
3259 2019-02-25 Joseph Myers <joseph@codesourcery.com>
3261 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
3262 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
3263 rather than after operators.
3264 * elf/cache.c (print_cache): Likewise.
3265 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
3266 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
3267 * hurd/hurdinit.c (_hurd_setproc): Likewise.
3268 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
3269 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
3270 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3271 (reauth_proc): Likewise.
3272 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
3273 (__file_name_split_at): Likewise.
3274 (__directory_name_split_at): Likewise.
3275 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3276 * hurd/port2fd.c (_hurd_port2fd): Likewise.
3277 * iconv/gconv_dl.c (do_print): Likewise.
3278 * inet/netinet/in.h (struct sockaddr_in): Likewise.
3279 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
3280 * locale/setlocale.c (new_composite_name): Likewise.
3281 * malloc/memusagestat.c (main): Likewise.
3282 * misc/fstab.c (fstab_convert): Likewise.
3283 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3285 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
3286 (getgrent_next_file): Likewise.
3287 (internal_getgrnam_r): Likewise.
3288 (internal_getgrgid_r): Likewise.
3289 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
3291 (internal_getgrent_r): Likewise.
3292 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
3293 (getpwent_next_nss): Likewise.
3294 (getpwent_next_file): Likewise.
3295 (internal_getpwnam_r): Likewise.
3296 (internal_getpwuid_r): Likewise.
3297 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
3299 (getspent_next_nss): Likewise.
3300 (internal_getspnam_r): Likewise.
3301 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3302 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
3303 * string/strchr.c (STRCHR): Likewise.
3304 * string/strchrnul.c (STRCHRNUL): Likewise.
3305 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
3306 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3307 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
3308 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
3309 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
3311 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
3312 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3313 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3314 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
3315 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
3316 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
3317 (open_file): Likewise.
3318 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
3319 (pthread_mutexattr_setprotocol): Likewise.
3320 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3321 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3322 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3323 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3324 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3326 (elf_machine_rela): Likewise.
3327 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3328 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3329 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
3330 * sysdeps/posix/rename.c (rename): Likewise.
3331 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
3332 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
3333 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
3334 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
3335 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3336 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
3337 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
3339 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
3341 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
3342 * time/tzfile.c (__tzfile_compute): Likewise.
3344 2019-02-22 Joseph Myers <joseph@codesourcery.com>
3346 * benchtests/bench-memmem.c (simple_memmem): Break lines before
3347 rather than after operators.
3348 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
3349 * crypt/md5.c (md5_finish_ctx): Likewise.
3350 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
3351 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
3352 * elf/cache.c (load_aux_cache): Likewise.
3353 * elf/dl-load.c (open_verify): Likewise.
3354 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3355 * elf/readelflib.c (process_elf_file): Likewise.
3356 * elf/rtld.c (dl_main): Likewise.
3357 * elf/sprof.c (generate_call_graph): Likewise.
3358 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
3359 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3360 * hurd/dtable.c (reauth_dtable): Likewise.
3361 * hurd/getdport.c (__getdport): Likewise.
3362 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
3363 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
3364 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
3366 * hurd/hurdioctl.c (fioctl): Likewise.
3367 * hurd/hurdselect.c (_hurd_select): Likewise.
3368 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
3369 (STOPSIGS): Likewise.
3370 * hurd/hurdstartup.c (_hurd_startup): Likewise.
3371 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
3372 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3373 * hurd/msgportdemux.c (msgport_server): Likewise.
3374 * hurd/setauth.c (_hurd_setauth): Likewise.
3375 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
3376 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
3377 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
3378 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
3379 * login/tst-utmp.c (do_check): Likewise.
3380 (simulate_login): Likewise.
3381 * mach/lowlevellock.h (lll_lock): Likewise.
3382 (lll_trylock): Likewise.
3383 * math/test-fenv.c (ALL_EXC): Likewise.
3384 * math/test-fenvinline.c (ALL_EXC): Likewise.
3385 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
3386 * nis/nis_call.c (__do_niscall3): Likewise.
3387 * nis/nis_callback.c (cb_prog_1): Likewise.
3388 * nis/nis_defaults.c (searchaccess): Likewise.
3389 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3390 * nis/nis_ismember.c (internal_ismember): Likewise.
3391 * nis/nis_local_names.c (nis_local_principal): Likewise.
3392 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
3393 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
3395 * nis/ypclnt.c (yp_match): Likewise.
3396 (yp_first): Likewise.
3397 (yp_next): Likewise.
3398 (yp_master): Likewise.
3399 (yp_order): Likewise.
3400 * nscd/hstcache.c (cache_addhst): Likewise.
3401 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3402 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
3403 (internal_getpwuid_r): Likewise.
3404 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
3405 * posix/glob.h (__GLOB_FLAGS): Likewise.
3406 * posix/regcomp.c (peek_token): Likewise.
3407 (peek_token_bracket): Likewise.
3408 (parse_expression): Likewise.
3409 * posix/regexec.c (sift_states_iter_mb): Likewise.
3410 (check_node_accept_bytes): Likewise.
3411 * posix/tst-spawn3.c (do_test): Likewise.
3412 * posix/wordexp-test.c (testit): Likewise.
3413 * posix/wordexp.c (parse_tilde): Likewise.
3414 (exec_comm): Likewise.
3415 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
3416 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
3417 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
3418 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
3419 * stdio-common/tst-fileno.c (do_test): Likewise.
3420 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
3421 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
3422 * stdlib/strtod_l.c (round_and_return): Likewise.
3423 (____STRTOF_INTERNAL): Likewise.
3424 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
3425 * string/strcspn.c (STRCSPN): Likewise.
3426 * string/test-memmem.c (simple_memmem): Likewise.
3427 * termios/tcsetattr.c (tcsetattr): Likewise.
3428 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
3429 * time/asctime.c (asctime_internal): Likewise.
3430 * time/strptime_l.c (__strptime_internal): Likewise.
3431 * time/sys/time.h (timercmp): Likewise.
3432 * time/tzfile.c (__tzfile_compute): Likewise.
3434 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
3437 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
3439 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3441 * argp/argp-help.c (__argp_error_internal): New function,
3442 renamed from __argp_error, but that takes a 'mode_flags'
3443 parameter to control the format of long double parameters.
3444 (__argp_error): Converted into a call __argp_error_internal.
3445 (__argp_failure_internal): New function, renamed from
3446 __argp_failure, but that takes a 'mode_flags' parameter.
3447 (__argp_failure): Converted into a call __argp_failure_internal.
3448 * misc/err.c (__vwarnx_internal): New function, renamed from
3449 vwarnx, but that takes a 'mode_flags' parameter.
3450 (vwarnx): Converted into a call to __vwarnx_internal.
3451 (__vwarn_internal): New function, renamed from vwarn, but that
3452 takes a 'mode_flags' parameter.
3453 (vwarn): Converted into a call to __vwarn_internal.
3454 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
3455 call to __vfxprintf with 'mode_flags'.
3456 (__error_internal): New function, renamed from error, but that
3457 takes a 'mode_flags' parameter.
3458 (error): Converted into a call to __error_internal.
3459 (__error_at_line_internal): New function, renamed from
3460 error_at_line, but that takes a 'mode_flags' parameter.
3461 (error_at_line): Converted into a call to
3462 __error_at_line_internal.
3463 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
3464 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
3467 2019-02-20 Martin Liska <mliska@suse.cz>
3469 * math/Makefile: Install math-vector-fortran.h.
3470 * bits/math-vector-fortran.h: New file.
3471 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
3473 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3475 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
3476 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
3478 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
3480 * nptl/pthread_mutex_trylock.c: Fix comment.
3482 2019-02-19 Carlos O'Donell <carlos@redhat.com>
3484 * nptl/pthread_tryjoin.c: Fix comment.
3486 2019-02-18 Joseph Myers <joseph@codesourcery.com>
3489 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
3490 after R_SPARC_H34 case.
3492 2019-02-18 Florian Weimer <fweimer@redhat.com>
3494 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
3495 (getanswer): Do not call Dprintf.
3496 (res_gethostbyname2_context): Likewise.
3497 (res_gethostbyaddr_context): Likewise.
3499 2019-02-18 Florian Weimer <fweimer@redhat.com>
3501 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
3503 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
3505 * libio/stdfiles.c: Update comment.
3506 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
3507 set _IO_stdin, _IO_stdout, _IO_stderr.
3508 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
3509 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
3511 (_IO_deallocate_file): New inline function.
3512 * libio/iolibio.h (_IO_vprintf): Remove definition.
3513 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
3514 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3515 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
3517 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
3518 __builtin_expect. Use _IO_legacy_file.
3520 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
3522 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
3523 Initialize ctid with a known value and remove update of ctid
3525 (wait_tid): Adjust arguments and call futex_wait with ctid_val
3526 as assumed current value of ctid_ptr.
3528 2019-02-16 Florian Weimer <fweimer@redhat.com>
3530 Check that non-sysdeps headers have wrapper headers.
3531 * scripts/check-wrapper-headers.py: New file.
3532 * Makefile (tests-special): Add check-wrapper-headers.out.
3533 (check-wrapper-headers.out): New target.
3534 * Rules (tests-special): Add check-wrapper-headers.out.
3535 (check-wrapper-headers.out): New target.
3537 2019-02-16 Florian Weimer <fweimer@redhat.com>
3539 Add missing header wrappers under include/.
3540 * include/ar.h: New file.
3541 * include/bits/mqueue2.h: Likewise.
3542 * include/bits/stdio.h: Likewise.
3543 * include/bits/stdio2.h: Likewise.
3544 * include/fstab.h: Likewise.
3545 * include/fts.h: Likewise.
3546 * include/lastlog.h: Likewise.
3547 * include/netinet/icmp6.h: Likewise.
3548 * include/netinet/igmp.h: Likewise.
3549 * include/netinet/ip6.h: Likewise.
3550 * include/re_comp.h: Likewise.
3551 * include/regexp.h: Likewise.
3552 * include/rpcsvc/bootparam.h: Likewise.
3553 * include/rpcsvc/yp_prot.h: Likewise.
3554 * include/sys/random.h: Likewise.
3555 * include/sys/stropts.h: Likewise.
3556 * include/sys/ttychars.h: Likewise.
3557 * include/sys/vfs.h: Likewise.
3558 * include/wait.h: Likewise.
3560 2019-02-16 Florian Weimer <fweimer@redhat.com>
3562 * nptl_db/proc_service.h: Move to ...
3563 * sysdeps/nptl/proc_service.h: ... here.
3564 * nptl_db/thread_db.h: Move to ...
3565 * sysdeps/nptl/thread_db.h: ... here.
3566 * nptl/descr.h: Include <thread_db.h>.
3568 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3570 * io/Makefile (tests): Add tst-lockf.
3571 * io/lockf.c (lockf): Use __fcntl and only define for
3572 !__OFF_T_MATCHES_OFF64_T.
3573 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
3574 __OFF_T_MATCHES_OFF64_T case.
3575 * io/tst-lockf.c: New file.
3576 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
3577 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
3578 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
3579 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
3580 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
3581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
3582 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
3583 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
3584 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
3586 2019-02-15 Florian Weimer <fweimer@redhat.com>
3589 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
3590 pd->result after the thread descriptor has been freed.
3592 2019-02-15 Joseph Myers <joseph@codesourcery.com>
3594 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
3595 from function return type.
3597 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
3599 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3601 * scripts/test_printers_common.py: Set TERM to a known harmless
3604 2019-02-14 Joseph Myers <joseph@codesourcery.com>
3606 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3607 (xdr_u_int): Likewise.
3608 (xdr_enum): Likewise.
3609 (xdr_bytes): Reword fall-through comment.
3610 (xdr_string): Likewise.
3612 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3615 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3616 (tests): Add tst-join8 tst-join9.
3617 * nptl/lll_timedwait_tid.c: Remove file.
3618 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3619 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3620 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3621 * nptl/pthread_join_common.c (timedwait_tid): New function.
3622 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3624 * nptl/tst-join5.c (thread_join): New function.
3625 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3627 * nptl/tst-join8.c: New file.
3628 * nptl/tst-join9.c: Likewise.
3629 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3630 lll_futex_timed_wait_cancel): Add generic macros.
3631 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3633 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3634 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3635 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3636 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3638 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3640 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3641 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3642 (lll_futex_timed_wait_cancel): New macro.
3644 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3646 * benchtests/Makefile: Add malloc-simple benchmark.
3647 * benchtests/bench-malloc-simple.c: New benchmark.
3649 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3651 * benchtests/bench-memmove.c (do_one_test): Remove unused
3654 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3658 2019-01-13 Jim Wilson <jimw@sifive.com>
3661 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3662 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3664 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3666 * nptl/Makefile (tests): Add tst-unwind-thread.
3667 (CFLAGS-tst-unwind-thread.c): Define.
3668 * nptl/tst-unwind-thread.c: New file.
3669 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3672 2019-02-13 Joseph Myers <joseph@codesourcery.com>
3674 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3676 * nis/nis_call.c (__do_niscall3): Likewise.
3678 * catgets/gencat.c (normalize_line): Use braces around empty
3680 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3681 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3682 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3683 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3684 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3685 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3686 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3689 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3692 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3694 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3695 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3696 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3697 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3698 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3699 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3700 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3701 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3702 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3703 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3704 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3705 * benchtests/bench-bcopy.c: Delete file.
3706 * benchtests/bench-bzero.c: Likewise.
3707 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3708 (simple_memccpy): Remove.
3709 (generic_memccpy): Add function.
3710 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3711 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3712 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3713 (generic_mempcpy): Add new function.
3714 * benchtests/bench-memset.c (simple_bzero): Remove.
3715 (builtin_bzero): Remove.
3716 (builtin_memset): Remove.
3717 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3718 (generic_rawmemchr): Add new function.
3720 2019-02-12 Florian Weimer <fweimer@redhat.com>
3722 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3724 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3727 * elf/Makefile (tests): Add tst-audit13.
3728 (modules-names): Add tst-audit13mod1.
3729 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3731 * elf/tst-audit13.c: New file.
3732 * elf/tst-audit13mod1.c: Likewise.
3734 2019-02-12 Florian Weimer <fweimer@redhat.com>
3737 * elf/rtld.c (unload_audit_module): New function.
3738 (report_audit_module_load_error): Likewise.
3739 (load_audit_module): Likewise. Extracted from dl_main. Call
3740 _dl_close if the laversion symbol cannot be found. Use early
3741 returns for error handling. Add malloc error check. Check for a
3742 zero return value from la_version. Remove spurious comment about
3743 static TLS initialization. Remove useless casts.
3744 (notify_audit_modules_of_loaded_object): New function. Extracted
3746 (load_audit_module): Likewise.
3747 (dl_main): Call load_audit_modules.
3749 2019-02-12 Joseph Myers <joseph@codesourcery.com>
3751 * elf/dl-exception.c (_dl_exception_create_format): Add
3752 fall-through comments.
3753 * elf/ldconfig.c (parse_conf_include): Likewise.
3754 * elf/rtld.c (print_statistics): Likewise.
3755 * locale/programs/charmap.c (parse_charmap): Likewise.
3756 * misc/mntent_r.c (__getmntent_r): Likewise.
3757 * posix/wordexp.c (parse_arith): Likewise.
3758 (parse_backtick): Likewise.
3759 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3760 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3761 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3763 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
3765 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3766 Use float instead of double.
3768 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3770 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3772 2019-02-08 Joseph Myers <joseph@codesourcery.com>
3774 * sysdeps/powerpc/bits/mathinline.h: Remove.
3776 2019-02-08 Florian Weimer <fweimer@redhat.com>
3778 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3779 * math/bits/math-finite.h: Move to ...
3780 * bits/math-finite.h: ... here.
3782 2019-02-08 Florian Weimer <fweimer@redhat.com>
3784 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3785 * bits/unistd_ext.h: here.
3787 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3790 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3791 * nss/tst-nss-files-hosts-long.c: New file.
3792 * nss/tst-nss-files-hosts-long.root: New directory.
3793 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3794 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3796 2019-02-08 Florian Weimer <fweimer@redhat.com>
3798 * include/bits/unistd_ext.h: Remove file.
3799 * posix/bits/unistd_ext.h: Move to ...
3800 * sysdeps/generic/bits/unistd_ext.h: ... here.
3802 2019-02-08 Florian Weimer <fweimer@redhat.com>
3804 * include/bits/unistd_ext.h: New file.
3806 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3808 * time/tst-strftime2.c: Use array_length macros instead of magic
3811 2019-02-08 Florian Weimer <fweimer@redhat.com>
3814 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3816 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3817 locking if the new do_locking argument is true.
3818 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3819 __run_fork_handlers.
3821 2019-02-08 Florian Weimer <fweimer@redhat.com>
3824 Linux: Add gettid system call wrapper.
3825 * posix/Makefile (headers): Add bits/unistd_ext.h.
3826 * posix/bits/unistd_ext.h: New file.
3827 * posix/unistd.h: Include it.
3828 * manual/process.texi (Process Identification): Document gettid.
3829 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3830 tst-gettid, tst-gettid-kill.
3831 (tst-gettid): Link with $(shared-thread-library).
3832 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3833 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3834 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3835 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3836 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3837 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3839 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3841 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3842 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3844 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3846 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3848 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3850 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3852 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3854 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3856 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3857 (GLIBC_2.30): Likewise.
3858 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3859 (GLIBC_2.30): Likewise.
3860 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3861 (GLIBC_2.30): Likewise.
3862 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3863 (GLIBC_2.30): Likewise.
3864 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3867 (GLIBC_2.30): Likewise.
3868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3869 (GLIBC_2.30): Likewise.
3870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3871 (GLIBC_2.30): Likewise.
3872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3873 (GLIBC_2.30): Likewise.
3874 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3876 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3878 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3880 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3881 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3883 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3885 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3887 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3889 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3891 2019-02-08 Florian Weimer <fweimer@redhat.com>
3893 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3894 compatibility symbols.
3896 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
3899 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3900 Add compiler barriers and comments.
3902 2019-02-07 Florian Weimer <fweimer@redhat.com>
3904 * include/array_length.h (array_length): Do not use a statement
3905 expression and _Static_assert, so that array_length can be used at
3906 file scope and as a constant expression.
3908 2019-02-07 Florian Weimer <fweimer@redhat.com>
3910 * support/xdlfcn.h (xdlmopen): Declare.
3911 * support/xdlmopen.c: New file.
3912 * support/Makefile (libsupport-routines): Add xdlmopen.
3914 2019-02-06 Joseph Myers <joseph@codesourcery.com>
3916 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3917 before return type, without separate inline.
3918 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3919 * elf/dl-tunables.h (tunable_is_name): Likewise.
3920 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3921 (do_set_top_pad): Likewise.
3922 (do_set_mmap_threshold): Likewise.
3923 (do_set_mmaps_max): Likewise.
3924 (do_set_mallopt_check): Likewise.
3925 (do_set_perturb_byte): Likewise.
3926 (do_set_arena_test): Likewise.
3927 (do_set_arena_max): Likewise.
3928 (do_set_tcache_max): Likewise.
3929 (do_set_tcache_count): Likewise.
3930 (do_set_tcache_unsorted_limit): Likewise.
3931 * nis/nis_subr.c (count_dots): Likewise.
3932 * nptl/allocatestack.c (advise_stack_range): Likewise.
3933 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3935 (reduce_sincos): Likewise.
3936 (do_sincos): Likewise.
3937 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3938 (do_set_elision_enable): Likewise.
3939 (TUNABLE_CALLBACK_FNDECL): Likewise.
3941 2019-02-06 Florian Weimer <fweimer@redhat.com>
3943 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3944 (xdlsym): Use dlerror to detect a NULL symbol.
3946 2019-02-06 Florian Weimer <fweimer@redhat.com>
3948 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3950 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3952 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3954 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3956 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3958 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3959 __wmemcmp and weak alias to wmemcmp.
3961 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3964 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3965 TLS_TCB_AT_TP tls variant.
3966 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3967 Add alignment checks.
3968 * support/Makefile (libsupport-routines): Add xposix_memalign and
3970 * support/support.h: Add xposix_memalign.
3971 * support/xthread.h: Add xpthread_attr_setstack.
3972 * support/xposix_memalign.c: New File.
3973 * support/xpthread_attr_setstack.c: Likewise.
3975 2019-02-05 Florian Weimer <fweimer@redhat.com>
3978 arm: Use "nr" constraint for Systemtap probes, to avoid the
3979 compiler using memory operands for constants, due to the "o"
3980 alternative in the default "nor" constraint.
3981 * include/stap-probe.h [USE_STAP_PROBE]: Include
3982 <stap-probe-machine.h>
3983 * sysdeps/generic/stap-probe-machine.h: New file.
3984 * sysdeps/arm/stap-probe-machine.h: Likewise.
3986 2019-02-04 Joseph Myers <joseph@codesourcery.com>
3988 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3989 with 0, not tcache->entries[tc_idx].
3991 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3994 2019-02-04 Andreas Schwab <schwab@suse.de>
3998 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3999 looking up collating elements match against (wide) character
4000 sequence instead of name. Correct alignment adjustment.
4001 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
4002 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
4003 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
4004 (LOCALES): Add cs_CZ.ISO-8859-2.
4005 * posix/tst-fnmatch4.c: New file.
4006 * posix/tst-fnmatch5.c: New file.
4007 * include/wchar.h (__wmemcmp): Declare.
4008 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
4009 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4010 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
4011 * sysdeps/s390/wmemcmp.c: Likewise.
4013 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
4017 * NEWS: Updated for CVE-2019-7309.
4018 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
4019 upper 32 bits of RDX register for x32. Use unsigned Jcc
4020 instructions, instead of signed.
4021 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
4022 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
4024 2019-02-04 Florian Weimer <fweimer@redhat.com>
4026 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
4027 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
4028 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
4030 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
4031 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
4032 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
4033 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
4035 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
4037 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
4039 (posix_spawn_file_actions_addopen): Likewise.
4040 (posix_spawn_file_actions_addclose): Likewise.
4041 (posix_spawn_file_actions_adddup2): Likewise.
4042 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
4044 (posix_spawn_file_actions_addfchdir_np): Likewise.
4046 2019-02-04 David Newall <glibc@davidnewall.com>
4048 elf: Implement --preload option for the dynamic linker.
4049 * elf/rtld.c (preloadarg): New variable.
4050 (handle_preload_list): Pass through “where” argument to
4052 (dl_main): Handle "--preload" and add second call to
4053 handle_preload_list.
4054 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
4055 (tst-rtld-preload-OBJS): Set variable.
4056 (tst-rtld-preload.out): New target.
4057 * elf/tst-rtld-preload.sh: New file.
4059 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
4061 * Makefile (testrun.sh): Exit in case of incorrect argument.
4063 2019-02-04 Florian Weimer <fweimer@redhat.com>
4065 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
4068 2019-02-03 Florian Weimer <fweimer@redhat.com>
4070 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
4071 implicit overflow checks.
4073 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
4075 * stdlib/isomac.c: Include <unistd.h>.
4077 2019-02-03 Florian Weimer <fweimer@redhat.com>
4079 * include/time.h (__tzfile_default): Use int, not long int, for
4081 * time/tzfile.c (struct ttinfo): Change type of the offset member
4083 (__tzfile_read): Remove useless cast.
4084 (__tzfile_default): Adjust prototype.
4085 * time/tzset.c (tz_rule): Change type of the offset member to int.
4086 (parse_offset): Change the type of the sign variable to int.
4088 2019-02-03 Florian Weimer <fweimer@redhat.com>
4091 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
4092 * libio/getchar.c (getchar): Likewise.
4093 * libio/getchar_u.c (getchar_unlocked): Likewise.
4094 * libio/getwchar.c (getwchar): Likewise.
4095 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4096 * libio/iogets.c (_IO_gets): Likewise.
4097 * libio/vscanf.c (_IO_vscanf): Likewise.
4098 * libio/vwscanf.c (__vwscanf): Likewise.
4099 * libio/tst-bz24153.c: New file.
4100 * libio/Makefile (tests): Add it.
4102 2019-02-02 Florian Weimer <fweimer@redhat.com>
4105 * manual/resource.texi (Basic Scheduling Functions): Add
4106 portability note. Change process to task throughout the section.
4107 Remove incorrect comment about sched_yield as it affects
4108 tasks/threads, not entire processes.
4109 * sysdeps/unix/sysv/linux/bits/posix_opt.h
4110 (_POSIX_PRIORITY_SCHEDULING): Update comment.
4112 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4114 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
4115 * configure: Regenerated.
4116 * manual/install.texi (Tools for Compilation): Update minimum GCC
4118 * INSTALL: Regenerated.
4120 2019-02-01 Florian Weimer <fweimer@redhat.com>
4122 * support/support_test_compare_string.c
4123 (support_test_compare_string): Use "string" in error message.
4124 * support/tst-test_compare_string.c (do_test): Adjust.
4126 2019-02-01 Florian Weimer <fweimer@redhat.com>
4128 * support/support_format_address_family.c
4129 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
4131 2019-02-01 Florian Weimer <fweimer@redhat.com>
4133 * manual/socket.texi (Internet Address Formats): Clarify the byte
4134 order of struct sockaddr_in, struct sockaddr_in6. Document
4135 sin6_flowinfo and sin6_scope_id.
4137 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
4139 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
4140 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
4141 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
4142 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
4143 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
4144 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
4146 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4148 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
4149 [!MEMCHR](MEMCHR): Set to __memchr.
4150 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4151 Add memchr_generic and memchr_nosimd.
4152 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4153 (__libc_ifunc_impl_list): Add memchr ifuncs.
4154 * sysdeps/aarch64/multiarch/memchr.c: New file.
4155 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
4156 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
4158 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4160 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4162 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4163 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
4164 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
4165 Add IS_EMAG check for ifunc dispatch.
4166 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
4167 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
4169 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4171 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
4172 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4174 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
4177 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
4179 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
4181 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
4183 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
4184 syscall-template file.
4186 2019-01-31 Carlos O'Donell <carlos@redhat.com>
4187 Torvald Riegel <triegel@redhat.com>
4188 Rik Prohaska <prohaska7@gmail.com>
4191 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
4192 tst-rwlock-trywrlock-stall.
4193 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4194 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
4195 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
4196 Set __wrphase_fute to 1 only if we started the write phase.
4197 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
4198 * nptl/tst-rwlock-trywrlock-stall.c: New file.
4199 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
4200 * support/xpthread_rwlock_destroy.c: New file.
4201 * support/xthread.h: Declare xpthread_rwlock_destroy.
4203 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4205 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4208 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4211 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
4212 * libio/fileops.c (_IO_new_file_underflow): Likewise
4213 * libio/wfileops.c (_IO_wfile_underflow): Likewise
4214 * libio/putchar.c (putchar): Likewise.
4215 * libio/putchar_u.c (putchar_unlocked): Likewise.
4216 * libio/putwchar.c (putchar): Likewise.
4217 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4218 * libio/tst-bz24051.c: New test.
4219 * libio/Makefile (tests): Add tst-bz24051
4221 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
4224 regex: fix read overrun [BZ #24114]
4225 Problem found by AddressSanitizer, reported by Hongxu Chen in:
4226 https://debbugs.gnu.org/34140
4227 * posix/regexec.c (proceed_next_node):
4228 Do not read past end of input buffer.
4230 2019-01-31 Florian Weimer <fweimer@redhat.com>
4233 * nss/nss_files/files-alias.c (get_next_alias): Handle
4234 continuation line without newline at the end.
4235 * nss/tst-nss-files-alias-truncated.c: New file.
4236 * nss/Makefile [$(build-shared)] (tests): Add
4237 tst-nss-files-alias-truncated.
4238 (tst-nss-files-alias-truncated): Link with libnss_files.so.
4239 * support/namespace.h (struct support_chroot_configuration): Add
4241 (struct support_chroot): Add path_aliases member.
4242 * support/support_chroot.c (support_chroot_create): Handle
4244 (support_chroot_free): Free path_aliases.
4246 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4248 * version.h (RELEASE): Set to "development".
4249 (VERSION): Set to "2.29.9000".
4250 * NEWS: Add section for 2.30.
4252 * version.h (RELEASE): Set to "stable".
4253 (VERSION): Set to "2.29".
4254 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
4256 * NEWS: Add the list of bugs fixed in 2.29.
4257 * manual/contrib.texi: Update contributors list with some more
4259 * manual/install.texi: Update latest versions of packages
4261 * INSTALL: Regenerated.
4263 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4265 * po/be.po: Update translations.
4266 * po/bg.po: Likewise.
4267 * po/ca.po: Likewise.
4268 * po/cs.po: Likewise.
4269 * po/da.po: Likewise.
4270 * po/de.po: Likewise.
4271 * po/el.po: Likewise.
4272 * po/eo.po: Likewise.
4273 * po/es.po: Likewise.
4274 * po/fi.po: Likewise.
4275 * po/fr.po: Likewise.
4276 * po/gl.po: Likewise.
4277 * po/hr.po: Likewise.
4278 * po/hu.po: Likewise.
4279 * po/ia.po: Likewise.
4280 * po/id.po: Likewise.
4281 * po/it.po: Likewise.
4282 * po/ja.po: Likewise.
4283 * po/ko.po: Likewise.
4284 * po/lt.po: Likewise.
4285 * po/nb.po: Likewise.
4286 * po/nl.po: Likewise.
4287 * po/pl.po: Likewise.
4288 * po/pt_BR.po: Likewise.
4289 * po/ru.po: Likewise.
4290 * po/rw.po: Likewise.
4291 * po/sk.po: Likewise.
4292 * po/sl.po: Likewise.
4293 * po/sv.po: Likewise.
4294 * po/tr.po: Likewise.
4295 * po/uk.po: Likewise.
4296 * po/vi.po: Likewise.
4297 * po/zh_CN.po: Likewise.
4298 * po/zh_TW.po: Likewise.
4300 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
4303 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
4304 of $f3 register on $y_is_neg path.
4306 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
4309 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
4310 sigaltstack.ss_flags.
4312 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
4315 * manual/time.texi (strftime): Document "%Ey".
4316 * time/strftime_l.c (__strftime_internal): Set the default width
4317 padding with zero of "%Ey" to 2.
4320 * manual/time.texi (strftime): Document "%EC" and "%EY".
4321 * time/Makefile (tests): Add tst-strftime2.
4322 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
4323 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
4324 override padding for "%Ey".
4325 If an optional flag ('_' or '-') is specified to "%EY", interpret the
4326 "%Ey" in the subformat as if decorated with that flag.
4327 * time/tst-strftime2.c: New file.
4329 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4331 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
4335 * elf/Makefile (tests): Add tst-audit13.
4336 (modules-names): Add tst-audit13mod1.
4337 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4339 * elf/rtld.c (dl_main): Handle invalid audit module version.
4340 * elf/tst-audit13.c: New file.
4341 * elf/tst-audit13mod1.c: Likewise.
4343 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4345 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
4346 returned by __hurd_at_flags.
4347 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
4348 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
4349 directly instead of __hurd_file_name_lookup.
4351 2019-01-21 Joseph Myers <joseph@codesourcery.com>
4353 * scripts/build-many-glibcs.py (Context.checkout): Default
4354 binutils version to 2.32 branch.
4356 2019-01-21 Florian Weimer <fweimer@redhat.com>
4360 resolv: Reject trailing characters in host names
4361 * include/arpa/inet.h (__inet_aton_exact): Declare.
4362 (inet_aton): Remove hidden prototype. No longer used internally.
4363 * nscd/gai.c (__inet_aton): Do not define.
4364 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
4365 * nss/digits_dots.c (__inet_aton): Likewise.
4366 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
4367 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
4368 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
4369 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
4370 (tst-resolv-trailing): Likewise.
4371 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
4373 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
4374 Make static. Add endp parameter.
4375 (__inet_aton_exact): New function.
4376 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
4377 (__inet_addr): Call inet_aton_end.
4378 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
4379 not just IPv6. Call __inet_aton_exact.
4380 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
4381 (tests): Make const. Add additional test cases with trailing
4383 (do_test): Use array_length.
4384 * resolv/tst-inet_aton_exact.c: New file.
4385 * resolv/tst-resolv-trailing.c: Likewise.
4386 * resolv/tst-resolv-nondecimal.c: Likewise.
4387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
4389 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4393 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
4394 Clear the upper 32 bits of RSI register.
4395 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
4396 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
4397 and tst-size_t-wcsnlen.
4398 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
4399 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
4401 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4405 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
4406 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4407 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4408 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
4409 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
4411 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4415 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
4416 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4417 * sysdeps/x86_64/strcmp.S: Likewise.
4418 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
4419 tst-size_t-strncmp and tst-size_t-wcsncmp.
4420 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
4421 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
4422 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
4424 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4428 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
4429 RDX_LP for length. Clear the upper 32 bits of RDX register.
4430 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
4431 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
4432 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
4433 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
4435 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4439 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
4440 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
4441 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
4442 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
4444 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4448 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
4449 length. Clear the upper 32 bits of RDX register.
4450 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4451 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4453 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4455 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
4457 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
4459 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4463 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
4464 length. Clear the upper 32 bits of RDX register.
4465 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4466 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4467 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
4469 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
4470 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
4472 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4476 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
4477 upper 32 bits of RDX register.
4478 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
4479 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
4481 * sysdeps/x86_64/x32/test-size_t.h: New file.
4482 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
4483 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
4485 2019-01-18 Florian Weimer <fweimer@redhat.com>
4488 resolv: Do not send queries for non-host-names in nss_dns.
4489 * resolv/nss_dns/dns-host.c (check_name): New function.
4490 (_nss_dns_gethostbyname2_r): Use it.
4491 (_nss_dns_gethostbyname_r): Likewise.
4492 (_nss_dns_gethostbyname4_r): Likewise.
4494 2019-01-21 Florian Weimer <fweimer@redhat.com>
4496 * resolv/inet_addr.c: Reformat to GNU style.
4497 (__inet_addr, __inet_aton): Update comment.
4499 2019-01-18 Florian Weimer <fweimer@redhat.com>
4501 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
4502 ("malloc: Use current (C11-style) atomics for fastbin access").
4503 This commit introduces a substantial performance regression on
4505 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
4506 (REMOVE_FB): Define.
4507 (_int_malloc): Use it and reindent.
4508 (_int_free): Use CAS loop with
4509 catomic_compare_and_exchange_val_rel.
4510 (malloc_consolidate): Use atomic_exchange_acq.
4513 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
4515 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
4517 (LDFLAGS-tst-minsigstksz-2): Likewise.
4518 (LDFLAGS-tst-minsigstksz-3): Likewise.
4519 (LDFLAGS-tst-minsigstksz-3a): Likewise.
4520 (LDFLAGS-tst-minsigstksz-4): Likewise.
4522 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
4524 * manual/time.texi (strftime): Fix the wording to "alternative" rather
4527 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
4529 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
4531 2019-01-16 Zack Weinberg <zackw@panix.com>
4533 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
4534 (xget_sigstack_location): New test support functions.
4535 * support/xsigstack.c: New file, implementing them.
4536 * support/tst-xsigstack.c: New test for them.
4537 * support/Makefile: Update.
4539 * signal/tst-minsigstksz-1.c
4540 * signal/tst-minsigstksz-2.c
4541 * signal/tst-minsigstksz-3.c
4542 * signal/tst-minsigstksz-3a.c
4543 * signal/tst-minsigstksz-4.c: New tests.
4544 * signal/Makefile: Run them.
4546 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4548 * po/libc.pot: Regenerate.
4550 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4552 * math/libm-test-fma.inc (fma_test_data): Set
4553 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
4555 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4557 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
4558 (do_test): Changed __vector __int128_t to __vector unsigned int.
4560 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4563 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
4564 stpcpy-avx2 and stpncpy-avx2.
4565 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
4566 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
4567 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
4569 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
4570 ifunc-strcpy.h}: rename header for a more generic name.
4571 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
4572 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
4573 AVX unaligned load is fast and vzeroupper is preferred.
4574 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
4575 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
4576 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
4577 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
4578 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
4579 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
4581 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
4583 * argp/argp-help.c: Fix typo in comment.
4584 * misc/sys/cdefs.h: Likewise.
4585 * posix/regexec.c (sift_states_iter_mb): Likewise.
4586 * socket/sockatmark.c: Likewise.
4587 * socket/sys/socket.h: Likewise.
4588 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4589 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4590 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4591 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4592 * sysdeps/unix/sockatmark.c: Likewise.
4593 * time/strptime_l.c: Likewise.
4595 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4597 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
4598 missing space after the cast of "_NL_CURRENT".
4600 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4602 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
4603 ifdef to fix read of VSCR.
4604 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4605 tst-ucontext-ppc64-vscr.c to test list.
4606 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4608 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4610 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4613 2019-01-09 Jim Wilson <jimw@sifive.com>
4615 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4617 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4619 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4620 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4621 __memcpy_falkor for ares.
4622 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4624 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4627 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4630 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4631 4_FP_W_TYPEs are used for IEEE quad precision.
4632 * soft-fp/extendhftf2.c: Likewise.
4633 * soft-fp/extendsftf2.c: Likewise.
4634 * soft-fp/extendxftf2.c: Likewise.
4635 * soft-fp/trunctfdf2.c: Likewise.
4636 * soft-fp/trunctfhf2.c: Likewise.
4637 * soft-fp/trunctfsf2.c: Likewise.
4638 * soft-fp/trunctfxf2.c: Likewise.
4639 * sysdeps/alpha/ots_cvttx.c: Likewise.
4640 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4641 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4642 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4643 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4644 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4645 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4646 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4647 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4648 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4649 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4650 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4651 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4652 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4653 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4654 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4655 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4656 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4658 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4661 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4662 code with -fmath-errno.
4663 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4664 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4665 * string/test-strerror-errno.c: New file.
4667 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4670 * localedata/locales/en_US (date_fmt): Add, set to
4671 "%a %d %b %Y %r %Z".
4673 2019-01-07 Florian Weimer <fweimer@redhat.com>
4676 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4677 instead of @var{errno}.
4678 (Parsing of Integers): Likewise.
4679 (Parsing of Floats): Likewise.
4680 * manual/filesys.texi (Working with Directory Trees): Likewise.
4681 (Temporary Files): Likewise.
4682 * manual/job.texi (Terminal Access Functions): Likewise.
4683 * manual/llio.texi (Synchronizing I/O): Likewise.
4684 * manual/math.texi (SVID Random): Likewise.
4685 * manual/message.texi (The catgets Functions): Likewise.
4686 (Translation with gettext): Likewise.
4687 (Locating gettext catalog): Likewise.
4688 (Charset conversion in gettext): Likewise.
4689 * manual/nss.texi (NSS Module Function Internals): Likewise.
4690 * manual/search.texi (Hash Search Function): Likewise.
4691 * manual/setjmp.texi (System V contexts): Likewise.
4692 * manual/time.texi (Sleeping): Likewise.
4693 * manual/users.texi (Lookup User): Likewise.
4694 (Lookup Group): Likewise.
4696 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4698 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4701 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
4704 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4705 __builtin_unreachable for default case in switch.
4706 (__ieee754_yn): Likewise.
4707 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4708 (__ieee754_ynl): Likewise.
4709 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4710 (__ieee754_ynl): Likewise.
4711 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4712 (__ieee754_ynl): Likewise.
4714 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4716 * manual/maint.texi: Use @{ and @}.
4718 2019-01-04 Florian Weimer <fweimer@redhat.com>
4720 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4722 (do_in_chroot_1): Call it.
4724 Improve error reporting in case it is not possible to create a
4725 collision for the PTY name required by the test.
4727 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4729 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4730 lll_wait_tid with timeout.
4731 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4732 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4733 futex_reltimed_wait_cancelable for cancelabla mode.
4734 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4735 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4737 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4738 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4739 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4740 SYSCALL_CANCEL_NCS): New macro.
4741 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4742 (lll_timedwait_tid): Remove macro.
4743 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4745 (lll_timedwait_tid): Likewise.
4746 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4748 (lll_timedwait_tid): Likewise.
4749 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4751 (lll_timedwait_tid): Likewise.
4752 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4753 Use INTERNAL_SYSCALL_CANCEL.
4754 * sysdeps/unix/sysv/linux/futex-internal.h
4755 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4756 instead of __pthread_{enable,disable}_asynccancel.
4757 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4758 (lll_futex_wait_cancel): New macro.
4760 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4761 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4763 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4764 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4766 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4767 in backtrace analysis.
4768 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4770 (tf_send): Likewise.
4772 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4773 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4774 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4775 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4776 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4777 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4778 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4779 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4780 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4781 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4782 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4783 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4785 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4786 tst-cancel-wrappers.sh.
4787 (generated): Remove tst-cancel-wrappers.out.
4788 (tst-cancel-wrappers.out): Remove rule.
4789 * nptl/tst-cancel-wrappers.sh: Remove file.
4791 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4793 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4794 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4797 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4800 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4801 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4802 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4803 close-on-exec reset for adddup2 file action.
4804 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4806 2019-01-03 Zack Weinberg <zackw@panix.com>
4808 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4809 parameter. Only use deprecated scanf when __USE_GNU is defined
4810 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4811 than 201103L, whichever is relevant for the language being compiled.
4813 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4814 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4815 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4816 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4817 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4821 * libio/iovswscanf.c
4826 * stdio-common/fscanf.c
4827 * stdio-common/scanf.c
4828 * stdio-common/vfscanf.c
4829 * stdio-common/vfwscanf.c
4830 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4831 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4832 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4833 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4834 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4835 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4836 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4837 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4838 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4839 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4840 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4841 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4842 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4843 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4844 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4846 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4847 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4848 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4850 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4851 with a preprocessor macro.
4853 * stdio-common/bug21.c, stdio-common/scanf14.c:
4854 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4855 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4856 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4857 to xscanf, xfscanf, xsscanf.
4859 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4860 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4861 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4862 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4864 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4865 override feature selection macros or provide definitions of u_char etc.
4866 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4867 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4868 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4871 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4874 bits/termios-misc.h.
4875 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4876 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4877 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4878 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4879 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4880 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4882 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4883 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4884 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4885 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4886 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4887 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4889 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4890 (sysdep_headers): Add termios-misc.h.
4892 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4893 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4894 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4898 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4899 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4900 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4901 TCSAFLUSH): Move to termios-tcflow.h.
4902 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4903 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4904 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4905 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4909 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4910 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4911 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4912 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4913 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4914 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4915 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4916 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4918 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4919 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4920 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4921 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4923 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4925 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4926 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4927 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4928 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4929 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4931 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4932 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4933 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4934 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4937 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4939 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4940 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4941 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4942 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4943 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4944 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4945 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4946 __MAX_BAUD): Move to termios-baud.h.
4947 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4948 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4949 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4950 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4951 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4953 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4955 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4956 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4957 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4958 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4959 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4960 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4962 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4963 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4965 [USE_MISC] (XTABS): Likewise.
4966 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4967 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4968 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4969 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4971 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4973 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4974 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4975 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4976 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4977 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4978 IUTF8): Move to termios-c_iflag.h.
4979 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4980 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4981 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4984 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4986 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4987 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4988 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4989 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4990 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4991 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4992 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4993 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4994 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4995 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4996 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4997 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4999 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
5000 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
5001 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
5002 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
5003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5005 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
5007 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
5009 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
5011 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
5013 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
5015 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
5016 _HAVE_C_OSPEED): Define.
5017 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
5018 _HAVE_C_OSPEED): Likewise.
5019 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
5020 _HAVE_C_OSPEED): Likewise.
5021 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
5022 (cfsetospeed): Check for define value instead of existence.
5023 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
5024 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5025 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
5026 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5027 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
5030 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
5032 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5033 (TIOCSER_TEMT): Likewise.
5034 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
5035 (TEOCSER_TEMT): Likewise.
5037 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
5040 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
5042 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5044 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5046 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5048 * sysdeps/htl/pt-barrierattr-setpshared.c
5049 (pthread_barrierattr_setpshared): Add stub warning.
5050 * sysdeps/htl/pt-condattr-setpshared.c
5051 (pthread_condattr_setpshared): Likewise.
5052 * sysdeps/htl/pt-mutexattr-setpshared.c
5053 (pthread_mutexattr_setpshared): Likewise.
5054 * sysdeps/htl/pt-rwlockattr-setpshared.c
5055 (pthread_rwlockattr_setpshared): Likewise.
5056 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
5057 (pthread_mutexattr_setpshared): Likewise.
5059 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5061 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
5062 constants to match with Linux 4.20.
5064 * sysdeps/mips/mips32/libm-test-ulps: Update.
5065 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5067 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
5070 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
5071 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
5072 than __typeof (...) for the a_ptr variable.
5074 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5076 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
5077 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
5078 * libio/Makefile (tests): Add tst-sprintf-ub and
5080 (CFLAGS-tst-sprintf-ub.c): New variable.
5081 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
5082 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
5083 destination buffer and check for overflows in fortified mode.
5084 * libio/libioP.h (PRINTF_CHK): New macro.
5085 * libio/tst-sprintf-chk-ub.c: New file.
5086 * libio/tst-sprintf-ub.c: Likewise.
5088 2019-01-02 Florian Weimer <fweimer@redhat.com>
5091 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
5094 2019-01-02 Florian Weimer <fweimer@redhat.com>
5096 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
5098 2019-01-01 Joseph Myers <joseph@codesourcery.com>
5100 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
5103 * sysdeps/unix/sysv/linux/netpacket/packet.h
5104 (PACKET_IGNORE_OUTGOING): New macro.
5106 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
5109 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5111 (riscv_flush_icache): New syscall.
5113 * manual/texinfo.tex: Update to version 2018-12-28.17 with
5114 trailing whitespace removed.
5115 * scripts/config.guess: Update to version 2019-01-01.
5116 * scripts/config.sub: Update to version 2019-01-01.
5117 * scripts/move-if-change: Update from gnulib.
5119 * NEWS: Update copyright dates.
5120 * catgets/gencat.c (print_version): Likewise.
5121 * csu/version.c (banner): Likewise.
5122 * debug/catchsegv.sh: Likewise.
5123 * debug/pcprofiledump.c (print_version): Likewise.
5124 * debug/xtrace.sh (do_version): Likewise.
5125 * elf/ldconfig.c (print_version): Likewise.
5126 * elf/ldd.bash.in: Likewise.
5127 * elf/pldd.c (print_version): Likewise.
5128 * elf/sotruss.sh: Likewise.
5129 * elf/sprof.c (print_version): Likewise.
5130 * iconv/iconv_prog.c (print_version): Likewise.
5131 * iconv/iconvconfig.c (print_version): Likewise.
5132 * locale/programs/locale.c (print_version): Likewise.
5133 * locale/programs/localedef.c (print_version): Likewise.
5134 * login/programs/pt_chown.c (print_version): Likewise.
5135 * malloc/memusage.sh (do_version): Likewise.
5136 * malloc/memusagestat.c (print_version): Likewise.
5137 * malloc/mtrace.pl: Likewise.
5138 * manual/libc.texinfo: Likewise.
5139 * nptl/version.c (banner): Likewise.
5140 * nscd/nscd.c (print_version): Likewise.
5141 * nss/getent.c (print_version): Likewise.
5142 * nss/makedb.c (print_version): Likewise.
5143 * posix/getconf.c (main): Likewise.
5144 * scripts/test-installation.pl: Likewise.
5145 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5147 * All files with FSF copyright notices: Update copyright dates
5148 using scripts/update-copyrights.
5149 * locale/programs/charmap-kw.h: Regenerated.
5150 * locale/programs/locfile-kw.h: Likewise.
5152 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5154 * timezone/zdump.c: Update from tzcode 2018i.
5155 * timezone/zic.c: Likewise.
5157 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
5159 regex: improve Gnulib port to AIX
5160 From the glibc point of view, this removes duplicate macro
5161 definitions and is obviously safe.
5162 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
5163 * posix/regex_internal.h:
5164 (__attribute__, __attribute_warn_unused_result__):
5165 Remove; already defined elsewhere.
5167 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
5170 * malloc/malloc.c (_int_realloc): Always call memcpy for the
5171 copying operation. (ncopies had the wrong type, resulting in an
5172 integer wraparound and too few elements being copied.)
5174 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
5177 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
5178 <asm/syscalls.h> exists with __has_include__ before including it.
5180 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5182 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5185 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
5187 * hurd/lookup-retry: Include <unistd.h>.
5188 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
5189 Release it on return. Handle "pid" magical lookup retry.
5191 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5194 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
5195 (t_fmt_ampm): Likewise.
5196 * localedata/locales/aa_ER (t_fmt): Likewise.
5197 (t_fmt_ampm): Likewise.
5198 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
5199 (t_fmt_ampm): Likewise.
5200 * localedata/locales/aa_ET (t_fmt): Likewise.
5201 (t_fmt_ampm): Likewise.
5202 * localedata/locales/am_ET (t_fmt): Likewise.
5203 (t_fmt_ampm): Likewise.
5204 * localedata/locales/byn_ER (t_fmt): Likewise.
5205 (t_fmt_ampm): Likewise.
5206 * localedata/locales/om_ET (t_fmt): Likewise.
5207 (t_fmt_ampm): Likewise.
5208 * localedata/locales/sid_ET (t_fmt): Likewise.
5209 (t_fmt_ampm): Likewise.
5210 * localedata/locales/so_DJ (t_fmt): Likewise.
5211 (t_fmt_ampm): Likewise.
5212 * localedata/locales/so_ET (t_fmt): Likewise.
5213 (t_fmt_ampm): Likewise.
5214 * localedata/locales/so_SO (t_fmt): Likewise.
5215 (t_fmt_ampm): Likewise.
5216 * localedata/locales/ti_ER (t_fmt): Likewise.
5217 (t_fmt_ampm): Likewise.
5218 * localedata/locales/ti_ET (t_fmt): Likewise.
5219 (t_fmt_ampm): Likewise.
5220 * localedata/locales/tig_ER (t_fmt): Likewise.
5221 (t_fmt_ampm): Likewise.
5222 * localedata/locales/wal_ET (t_fmt): Likewise.
5223 (t_fmt_ampm): Likewise.
5225 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
5226 * localedata/locales/ar_IN (t_fmt): Likewise.
5227 * localedata/locales/bhb_IN (t_fmt): Likewise.
5228 * localedata/locales/bho_IN (t_fmt): Likewise.
5229 * localedata/locales/bi_VU (t_fmt): Likewise.
5230 * localedata/locales/bn_BD (t_fmt): Likewise.
5231 * localedata/locales/bn_IN (t_fmt): Likewise.
5232 * localedata/locales/brx_IN (t_fmt): Likewise.
5233 * localedata/locales/doi_IN (t_fmt): Likewise.
5234 * localedata/locales/en_HK (t_fmt): Likewise.
5235 (t_fmt_ampm): Likewise.
5236 * localedata/locales/en_IN (t_fmt): Likewise.
5237 * localedata/locales/en_PH (t_fmt): Likewise.
5238 * localedata/locales/gu_IN (t_fmt): Likewise.
5239 * localedata/locales/hi_IN (t_fmt): Likewise.
5240 * localedata/locales/hif_FJ (t_fmt): Likewise.
5241 * localedata/locales/hne_IN (t_fmt): Likewise.
5242 * localedata/locales/kn_IN (t_fmt): Likewise.
5243 * localedata/locales/kok_IN (t_fmt): Likewise.
5244 * localedata/locales/ks_IN (t_fmt): Likewise.
5245 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
5246 * localedata/locales/mag_IN (t_fmt): Likewise.
5247 * localedata/locales/mai_IN (t_fmt): Likewise.
5248 * localedata/locales/mjw_IN (t_fmt): Likewise.
5249 * localedata/locales/ml_IN (t_fmt): Likewise.
5250 * localedata/locales/mni_IN (t_fmt): Likewise.
5251 * localedata/locales/mr_IN (t_fmt): Likewise.
5252 * localedata/locales/ms_MY (t_fmt): Likewise.
5253 * localedata/locales/pa_IN (t_fmt): Likewise.
5254 * localedata/locales/raj_IN (t_fmt): Likewise.
5255 * localedata/locales/sa_IN (t_fmt): Likewise.
5256 * localedata/locales/sat_IN (t_fmt): Likewise.
5257 * localedata/locales/sd_IN (t_fmt): Likewise.
5258 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
5259 * localedata/locales/tcy_IN (t_fmt): Likewise.
5260 * localedata/locales/the_NP (t_fmt): Likewise.
5261 * localedata/locales/to_TO (t_fmt): Likewise.
5262 * localedata/locales/ur_IN (t_fmt): Likewise.
5264 * localedata/locales/hif_FJ (d_t_fmt): Set to
5265 "%A %d %b %Y %I:%M:%S %p".
5266 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
5268 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
5269 * localedata/locales/ar_BH (t_fmt): Likewise.
5270 * localedata/locales/ar_DZ (t_fmt): Likewise.
5271 * localedata/locales/ar_EG (t_fmt): Likewise.
5272 * localedata/locales/ar_IQ (t_fmt): Likewise.
5273 * localedata/locales/ar_JO (t_fmt): Likewise.
5274 * localedata/locales/ar_KW (t_fmt): Likewise.
5275 * localedata/locales/ar_LB (t_fmt): Likewise.
5276 * localedata/locales/ar_LY (t_fmt): Likewise.
5277 * localedata/locales/ar_OM (t_fmt): Likewise.
5278 * localedata/locales/ar_QA (t_fmt): Likewise.
5279 * localedata/locales/ar_SD (t_fmt): Likewise.
5280 * localedata/locales/ar_SS (t_fmt): Likewise.
5281 * localedata/locales/ar_SY (t_fmt): Likewise.
5282 * localedata/locales/ar_TN (t_fmt): Likewise.
5283 * localedata/locales/ar_YE (t_fmt): Likewise.
5285 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
5286 (t_fmt_ampm): Likewise.
5287 * localedata/locales/gez_ET (t_fmt): Likewise.
5288 (t_fmt_ampm): Likewise.
5290 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
5291 (t_fmt_ampm): Likewise.
5292 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
5294 * localedata/locales/zh_HK (t_fmt):
5295 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
5297 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
5298 because this locale does not use the 12-hour clock.
5299 (t_fmt): Set to "%Z %H:%M:%S".
5300 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
5302 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
5303 because this locale does not use the 12-hour clock.
5304 (t_fmt): Set to "%H:%M:%S %Z".
5305 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
5307 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
5308 because this locale does not use the 12-hour clock.
5309 (t_fmt): Set to "%T".
5310 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
5311 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
5313 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
5314 because this locale does not use the 12-hour clock.
5315 (t_fmt): Set to "%H:%M:%S %Z".
5316 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
5318 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
5319 because this locale does not use the 12-hour clock.
5320 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
5321 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
5323 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5327 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
5328 (t_fmt_ampm): Likewise.
5329 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
5330 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
5331 (d_fmt): Set to "%-d.%-m.%y".
5333 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5335 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
5336 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
5337 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
5339 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5340 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
5341 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
5343 * support/blob_repeat.c (check_mul_overflow_size_t,
5344 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
5346 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
5348 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
5350 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
5352 regex: simplify Gnulib port
5353 This simplifies the code, by removing stuff intended for porting
5354 to Gnulib but no longer needed there.
5355 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
5356 uses of libc_hidden_def, weak_alias.
5357 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
5358 _Restrict_ except for public-facing headers.
5359 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
5360 Remove; already defined elsewhere.
5361 * posix/regex.c, posix/regex_internal.h:
5362 Use __GNUC_PREREQ instead of rolling our own.
5363 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
5365 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
5367 * benchtests/bench-strlen.c (generic_strlen): New function.
5368 (memchr_strlen): New function.
5370 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5372 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
5373 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
5374 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
5376 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5378 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5380 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5382 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
5383 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
5384 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
5385 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
5386 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
5387 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
5388 <sysdeps/ieee754/flt-32/s_sincosf.c>.
5390 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5393 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
5394 PLT reference in libc.so.
5395 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
5396 _Q_lltoq and _Q_qtod PLT references in libc.so.
5398 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
5400 * benchtests/bench-memchr.c: Cleanup defines.
5401 * benchtests/bench-memcmp.c: Likewise.
5402 * benchtests/bench-memset.c: Likewise.
5403 * benchtests/bench-memset-large.c: Likewise.
5404 * benchtests/bench-memset-walk.c: Likewise.
5405 * benchtests/bench-stpcpy.c: Likewise.
5406 * benchtests/bench-stpncpy.c: Likewise.
5407 * benchtests/bench-strcat.c: Likewise.
5408 * benchtests/bench-strchr.c: Likewise.
5409 * benchtests/bench-strcmp.c: Likewise.
5410 * benchtests/bench-strcpy.c: Likewise.
5411 * benchtests/bench-strcspn.c: Likewise.
5412 * benchtests/bench-string.h: Likewise.
5413 * benchtests/bench-strlen.c: Likewise.
5414 * benchtests/bench-strncat.c: Likewise.
5415 * benchtests/bench-strncmp.c: Likewise.
5416 * benchtests/bench-strncpy.c: Likewise.
5417 * benchtests/bench-strnlen.c: Likewise.
5418 * benchtests/bench-strpbrk.c: Likewise.
5419 * benchtests/bench-strrchr.c: Likewise.
5420 * benchtests/bench-strspn.c: Likewise.
5422 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5424 * stdlib/longlong.h: Update from GCC.
5427 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
5428 * configure: Regenerated.
5429 * manual/install.texi (Tools for Compilation): Update minimum GCC
5431 * INSTALL: Regenerated.
5433 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
5435 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
5437 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
5439 * malloc/malloc.c (mremap_chunk): Additional checks.
5441 2018-12-21 Mao Han <han_mao@c-sky.com>
5443 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
5444 * scripts/build-many-glibcs.py: Add C-SKY targets.
5445 * sysdeps/csky/Implies: New file.
5446 * sysdeps/csky/Makefile: Likewise.
5447 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
5448 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
5449 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
5450 * sysdeps/csky/abiv2/memcmp.S: Likewise.
5451 * sysdeps/csky/abiv2/memcpy.S: Likewise.
5452 * sysdeps/csky/abiv2/memmove.S: Likewise.
5453 * sysdeps/csky/abiv2/memset.S: Likewise.
5454 * sysdeps/csky/abiv2/setjmp.S: Likewise.
5455 * sysdeps/csky/abiv2/start.S: Likewise.
5456 * sysdeps/csky/abiv2/strcmp.S: Likewise.
5457 * sysdeps/csky/abiv2/strcpy.S: Likewise.
5458 * sysdeps/csky/abiv2/strlen.S: Likewise.
5459 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
5460 * sysdeps/csky/abort-instr.h: Likewise.
5461 * sysdeps/csky/atomic-machine.h: Likewise.
5462 * sysdeps/csky/bits/endian.h: Likewise.
5463 * sysdeps/csky/bits/fenv.h: Likewise.
5464 * sysdeps/csky/bits/link.h: Likewise.
5465 * sysdeps/csky/bits/setjmp.h: Likewise.
5466 * sysdeps/csky/bsd-_setjmp.S: Likewise.
5467 * sysdeps/csky/bsd-setjmp.S: Likewise.
5468 * sysdeps/csky/configure: Likewise.
5469 * sysdeps/csky/configure.ac: Likewise.
5470 * sysdeps/csky/dl-machine.h: Likewise.
5471 * sysdeps/csky/dl-procinfo.c: Likewise.
5472 * sysdeps/csky/dl-procinfo.h: Likewise.
5473 * sysdeps/csky/dl-sysdep.h: Likewise.
5474 * sysdeps/csky/dl-tls.h: Likewise.
5475 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
5476 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
5477 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
5478 * sysdeps/csky/fpu/fegetenv.c: Likewise.
5479 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
5480 * sysdeps/csky/fpu/fegetmode.c: Likewise.
5481 * sysdeps/csky/fpu/fegetround.c: Likewise.
5482 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
5483 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
5484 * sysdeps/csky/fpu/fenv_private.h: Likewise.
5485 * sysdeps/csky/fpu/fesetenv.c: Likewise.
5486 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
5487 * sysdeps/csky/fpu/fesetmode.c: Likewise.
5488 * sysdeps/csky/fpu/fesetround.c: Likewise.
5489 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
5490 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
5491 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
5492 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
5493 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
5494 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
5495 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
5496 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
5497 * sysdeps/csky/fpu_control.h: Likewise.
5498 * sysdeps/csky/gccframe.h: Likewise.
5499 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
5500 * sysdeps/csky/ldsodefs.h: Likewise.
5501 * sysdeps/csky/libc-tls.c: Likewise.
5502 * sysdeps/csky/linkmap.h: Likewise.
5503 * sysdeps/csky/machine-gmon.h: Likewise.
5504 * sysdeps/csky/memusage.h: Likewise.
5505 * sysdeps/csky/nofpu/Implies: Likewise.
5506 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
5507 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
5508 * sysdeps/csky/nptl/Makefile: Likewise.
5509 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
5510 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
5511 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
5512 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
5513 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
5514 * sysdeps/csky/nptl/tls.h: Likewise.
5515 * sysdeps/csky/preconfigure: Likewise.
5516 * sysdeps/csky/sfp-machine.h: Likewise.
5517 * sysdeps/csky/sotruss-lib.c: Likewise.
5518 * sysdeps/csky/stackinfo.h: Likewise.
5519 * sysdeps/csky/sysdep.h: Likewise.
5520 * sysdeps/csky/tininess.h: Likewise.
5521 * sysdeps/csky/tst-audit.h: Likewise.
5522 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
5523 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
5524 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
5525 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
5526 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5527 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
5528 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5529 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
5530 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
5531 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
5532 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
5533 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
5534 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
5535 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
5536 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
5537 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
5538 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
5539 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
5540 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
5541 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
5542 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
5543 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
5544 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
5545 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
5546 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
5547 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
5548 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
5549 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
5550 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
5551 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
5552 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
5553 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
5554 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
5555 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
5556 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
5557 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
5558 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
5559 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
5560 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
5561 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
5562 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
5563 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
5564 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
5565 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
5567 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5569 * include/time.h (__difftime64): Add.
5570 * time/difftime.c (subtract): convert to 64-bit time.
5571 * time/difftime.c (__difftime64): Add.
5572 * time/difftime.c (__difftime): Wrap around __difftime64.
5574 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
5576 * manual/examples/add.c: Remove redundant "if not".
5577 * manual/examples/argp-ex1.c: Likewise.
5578 * manual/examples/argp-ex2.c: Likewise.
5579 * manual/examples/argp-ex3.c: Likewise.
5580 * manual/examples/argp-ex4.c: Likewise.
5581 * manual/examples/atexit.c: Likewise.
5582 * manual/examples/db.c: Likewise.
5583 * manual/examples/dir.c: Likewise.
5584 * manual/examples/dir2.c: Likewise.
5585 * manual/examples/execinfo.c: Likewise.
5586 * manual/examples/filecli.c: Likewise.
5587 * manual/examples/filesrv.c: Likewise.
5588 * manual/examples/fmtmsgexpl.c: Likewise.
5589 * manual/examples/genpass.c: Likewise.
5590 * manual/examples/inetcli.c: Likewise.
5591 * manual/examples/inetsrv.c: Likewise.
5592 * manual/examples/isockad.c: Likewise.
5593 * manual/examples/longopt.c: Likewise.
5594 * manual/examples/memopen.c: Likewise.
5595 * manual/examples/memstrm.c: Likewise.
5596 * manual/examples/mkdirent.c: Likewise.
5597 * manual/examples/mkfsock.c: Likewise.
5598 * manual/examples/mkisock.c: Likewise.
5599 * manual/examples/mygetpass.c: Likewise.
5600 * manual/examples/pipe.c: Likewise.
5601 * manual/examples/popen.c: Likewise.
5602 * manual/examples/rprintf.c: Likewise.
5603 * manual/examples/search.c: Likewise.
5604 * manual/examples/select.c: Likewise.
5605 * manual/examples/setjmp.c: Likewise.
5606 * manual/examples/sigh1.c: Likewise.
5607 * manual/examples/sigusr.c: Likewise.
5608 * manual/examples/stpcpy.c: Likewise.
5609 * manual/examples/strdupa.c: Likewise.
5610 * manual/examples/strftim.c: Likewise.
5611 * manual/examples/subopt.c: Likewise.
5612 * manual/examples/swapcontext.c: Likewise.
5613 * manual/examples/termios.c: Likewise.
5614 * manual/examples/testopt.c: Likewise.
5615 * manual/examples/testpass.c: Likewise.
5616 * manual/examples/timeval_subtract.c: Likewise.
5618 2018-12-19 Joseph Myers <joseph@codesourcery.com>
5620 * sysdeps/x86/fpu/math_private.h: New file.
5621 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5623 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5628 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5630 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5631 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5632 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5633 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5635 (_dl_show_auxv): Give a special treatment to
5636 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5637 and AT_L3_CACHEGEOMETRY.
5638 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5639 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5640 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5641 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5643 2018-12-19 Andreas Schwab <schwab@suse.de>
5645 * nscd/connections.c (check_use): Don't abort on invalid len.
5647 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5649 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5650 values in the 64bit value cases.
5652 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5658 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5664 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5667 (__gmtime64_r): Add.
5669 (__gmtime64_r): Add.
5670 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5676 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5679 (__localtime64_r): Add.
5681 (__localtime64_r): Add.
5682 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5684 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5686 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5687 kernel_sigction definition.
5689 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5691 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5693 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5694 __syscall_rt_sigaction.
5695 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5696 (kernel_sigaction): Use Linux generic defintion.
5698 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5699 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5700 (__syscall_rt_sigaction): Remove implementation.
5701 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5703 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5704 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5705 INTERNAL_SYSCALL): Remove definitions.
5706 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5707 action and signal set size.
5708 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5709 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5711 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5712 James Clarke <jrtc27@jrtc27.com>
5715 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5716 Define if SA_RESTORER is defined.
5717 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5718 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5720 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5721 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5723 (HAS_SA_RESTORER): Define.
5724 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5725 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5726 (HAS_SA_RESTORER): Define.
5727 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5728 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5729 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5730 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5731 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5733 2018-12-18 Joseph Myers <joseph@codesourcery.com>
5735 * sysdeps/unix/sysv/linux/kernel-features.h
5736 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5737 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5738 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5739 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5740 (__ASSUME_ST_INO_64_BIT): Likewise.
5741 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5742 <kernel-features.h>.
5743 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5744 Remove conditional code.
5745 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5746 <kernel-features.h>.
5747 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5748 Remove conditional code.
5749 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5750 <kernel-features.h>.
5751 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5752 Remove conditional code.
5753 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5754 <kernel-features.h>.
5755 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5756 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5758 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5760 * sysdeps/s390/multiarch/ifunc-resolve.h
5761 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5762 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5763 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5764 Delete macro definition.
5765 (s390_libc_ifunc_init): Rename to
5766 s390_libc_ifunc_expr_stfle_init.
5767 * sysdeps/s390/bzero: Use
5768 s390_libc_ifunc_expr_stfle_init instead of
5769 s390_libc_ifunc_init.
5770 * sysdeps/s390/memcmp.c: Likewise.
5771 * sysdeps/s390/memcpy.c: Likewise.
5772 * sysdeps/s390/mempcpy.c: Likewise.
5773 * sysdeps/s390/memset.c: Likewise.
5775 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5777 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5778 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5780 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5782 * sysdeps/s390/multiarch/Makefile
5783 (sysdep_routines): Remove wmemcmp variants.
5784 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5785 * sysdeps/s390/multiarch/ifunc-impl-list.c
5786 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5787 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5788 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5789 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5790 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5791 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5792 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5793 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5795 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5797 * sysdeps/s390/multiarch/Makefile
5798 (sysdep_routines): Remove wmemset variants.
5799 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5800 * sysdeps/s390/multiarch/ifunc-impl-list.c
5801 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5802 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5803 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5804 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5805 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5806 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5807 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5808 * sysdeps/s390/ifunc-wmemset.h: New file.
5810 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5812 * sysdeps/s390/multiarch/Makefile
5813 (sysdep_routines): Remove wmemchr variants.
5814 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5815 * sysdeps/s390/multiarch/ifunc-impl-list.c
5816 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5817 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5818 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5819 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5820 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5821 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5822 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5823 * sysdeps/s390/ifunc-wmemchr.h: New file.
5825 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5827 * sysdeps/s390/multiarch/Makefile
5828 (sysdep_routines): Remove wcscspn variants.
5829 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5830 * sysdeps/s390/multiarch/ifunc-impl-list.c
5831 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5832 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5833 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5834 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5835 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5836 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5837 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5838 * sysdeps/s390/ifunc-wcscspn.h: New file.
5840 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5842 * sysdeps/s390/multiarch/Makefile
5843 (sysdep_routines): Remove wcspbrk variants.
5844 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5845 * sysdeps/s390/multiarch/ifunc-impl-list.c
5846 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5847 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5848 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5849 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5850 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5851 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5852 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5853 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5855 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5857 * sysdeps/s390/multiarch/Makefile
5858 (sysdep_routines): Remove wcsspn variants.
5859 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5860 * sysdeps/s390/multiarch/ifunc-impl-list.c
5861 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5862 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5863 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5864 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5865 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5866 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5867 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5868 * sysdeps/s390/ifunc-wcsspn.h: New file.
5870 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5872 * sysdeps/s390/multiarch/Makefile
5873 (sysdep_routines): Remove wcsrchr variants.
5874 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5875 * sysdeps/s390/multiarch/ifunc-impl-list.c
5876 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5877 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5878 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5879 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5880 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5881 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5882 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5883 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5885 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5887 * sysdeps/s390/multiarch/Makefile
5888 (sysdep_routines): Remove wcschrnul variants.
5889 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5890 * sysdeps/s390/multiarch/ifunc-impl-list.c
5891 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5892 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5893 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5894 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5895 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5896 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5897 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5898 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5900 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5902 * sysdeps/s390/multiarch/Makefile
5903 (sysdep_routines): Remove wcschr variants.
5904 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5905 * sysdeps/s390/multiarch/ifunc-impl-list.c
5906 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5907 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5908 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5909 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5910 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5911 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5912 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5913 * sysdeps/s390/ifunc-wcschr.h: New file.
5915 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5917 * sysdeps/s390/multiarch/Makefile
5918 (sysdep_routines): Remove wcsncmp variants.
5919 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5920 * sysdeps/s390/multiarch/ifunc-impl-list.c
5921 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5922 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5923 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5924 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5925 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5926 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5927 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5928 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5930 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5932 * sysdeps/s390/multiarch/Makefile
5933 (sysdep_routines): Remove wcscmp variants.
5934 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5935 * sysdeps/s390/multiarch/ifunc-impl-list.c
5936 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5937 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5938 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5939 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5940 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5941 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5942 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5943 * sysdeps/s390/ifunc-wcscmp.h: New file.
5945 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5947 * sysdeps/s390/multiarch/Makefile
5948 (sysdep_routines): Remove wcsncat variants.
5949 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5950 * sysdeps/s390/multiarch/ifunc-impl-list.c
5951 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5952 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5953 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5954 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5955 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5956 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5957 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5958 * sysdeps/s390/ifunc-wcsncat.h: New file.
5960 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5962 * sysdeps/s390/multiarch/Makefile
5963 (sysdep_routines): Remove wcscat variants.
5964 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5965 * sysdeps/s390/multiarch/ifunc-impl-list.c
5966 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5967 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5968 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5969 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5970 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5971 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5972 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5973 * sysdeps/s390/ifunc-wcscat.h: New file.
5975 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5977 * sysdeps/s390/multiarch/Makefile
5978 (sysdep_routines): Remove wcpncpy variants.
5979 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5980 * sysdeps/s390/multiarch/ifunc-impl-list.c
5981 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5982 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5983 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5984 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5985 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5986 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5987 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5988 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5990 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5992 * sysdeps/s390/multiarch/Makefile
5993 (sysdep_routines): Remove wcsncpy variants.
5994 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5995 * sysdeps/s390/multiarch/ifunc-impl-list.c
5996 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5997 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5998 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5999 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
6000 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
6001 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
6002 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
6003 * sysdeps/s390/ifunc-wcsncpy.h: New file.
6005 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6007 * sysdeps/s390/multiarch/Makefile
6008 (sysdep_routines): Remove wcpcpy variants.
6009 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
6010 * sysdeps/s390/multiarch/ifunc-impl-list.c
6011 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
6012 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
6013 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
6014 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
6015 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
6016 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
6017 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
6018 * sysdeps/s390/ifunc-wcpcpy.h: New file.
6020 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6022 * sysdeps/s390/multiarch/Makefile
6023 (sysdep_routines): Remove wcscpy variants.
6024 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
6025 * sysdeps/s390/multiarch/ifunc-impl-list.c
6026 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
6027 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
6028 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
6029 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
6030 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
6031 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
6032 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
6033 * sysdeps/s390/ifunc-wcscpy.h: New file.
6035 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6037 * sysdeps/s390/multiarch/Makefile
6038 (sysdep_routines): Remove wcsnlen variants.
6039 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
6040 * sysdeps/s390/multiarch/ifunc-impl-list.c
6041 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
6042 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
6043 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
6044 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
6045 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
6046 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
6047 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
6048 * sysdeps/s390/ifunc-wcsnlen.h: New file.
6050 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6052 * sysdeps/s390/multiarch/Makefile
6053 (sysdep_routines): Remove wcslen variants.
6054 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
6055 * sysdeps/s390/multiarch/ifunc-impl-list.c
6056 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
6057 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
6058 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
6059 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
6060 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
6061 * sysdeps/s390/multiarch/wcslen.c: Move to ...
6062 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
6063 * sysdeps/s390/ifunc-wcslen.h: New file.
6065 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6067 * sysdeps/s390/multiarch/Makefile
6068 (sysdep_routines): Remove memrchr variants.
6069 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
6070 * sysdeps/s390/multiarch/ifunc-impl-list.c
6071 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
6072 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
6073 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
6074 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
6075 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
6076 * sysdeps/s390/multiarch/memrchr.c: Move to ...
6077 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
6078 * sysdeps/s390/ifunc-memrchr.h: New file.
6080 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6082 * sysdeps/s390/multiarch/Makefile
6083 (sysdep_routines): Remove memccpy variants.
6084 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
6085 * sysdeps/s390/multiarch/ifunc-impl-list.c
6086 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
6087 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
6088 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
6089 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
6090 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
6091 * sysdeps/s390/multiarch/memccpy.c: Move to ...
6092 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
6093 * sysdeps/s390/ifunc-memccpy.h: New file.
6095 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6097 * sysdeps/s390/multiarch/Makefile
6098 (sysdep_routines): Remove rawmemchr variants.
6099 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
6100 * sysdeps/s390/multiarch/ifunc-impl-list.c
6101 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
6102 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
6103 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
6104 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
6105 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
6106 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
6107 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
6108 * sysdeps/s390/ifunc-rawmemchr.h: New file.
6110 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6112 * sysdeps/s390/multiarch/Makefile
6113 (sysdep_routines): Remove memchr variants.
6114 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
6115 * sysdeps/s390/multiarch/ifunc-impl-list.c
6116 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
6117 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
6118 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
6119 * sysdeps/s390/multiarch/memchr.c: Move to ...
6120 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
6121 * sysdeps/s390/ifunc-memchr.h: New file.
6122 * sysdeps/s390/s390-64/memchr.S: Move to ...
6123 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
6124 for 31/64bit and ifunc handling.
6125 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
6126 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6127 * sysdeps/s390/s390-32/memchr.S: Likewise.
6129 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6131 * sysdeps/s390/multiarch/Makefile
6132 (sysdep_routines): Remove strcspn variants.
6133 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
6134 * sysdeps/s390/multiarch/ifunc-impl-list.c
6135 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
6136 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
6137 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
6138 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
6139 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
6140 * sysdeps/s390/multiarch/strcspn.c: Move to ...
6141 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
6142 * sysdeps/s390/ifunc-strcspn.h: New file.
6144 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6146 * sysdeps/s390/multiarch/Makefile
6147 (sysdep_routines): Remove strpbrk variants.
6148 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
6149 * sysdeps/s390/multiarch/ifunc-impl-list.c
6150 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
6151 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
6152 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
6153 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
6154 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
6155 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
6156 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
6157 * sysdeps/s390/ifunc-strpbrk.h: New file.
6159 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6161 * sysdeps/s390/multiarch/Makefile
6162 (sysdep_routines): Remove strspn variants.
6163 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
6164 * sysdeps/s390/multiarch/ifunc-impl-list.c
6165 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
6166 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
6167 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
6168 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
6169 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
6170 * sysdeps/s390/multiarch/strspn.c: Move to ...
6171 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
6172 * sysdeps/s390/ifunc-strspn.h: New file.
6174 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6176 * sysdeps/s390/multiarch/Makefile
6177 (sysdep_routines): Remove strrchr variants.
6178 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
6179 * sysdeps/s390/multiarch/ifunc-impl-list.c
6180 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
6181 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
6182 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
6183 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
6184 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
6185 * sysdeps/s390/multiarch/strrchr.c: Move to ...
6186 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
6187 * sysdeps/s390/ifunc-strrchr.h: New file.
6189 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6191 * sysdeps/s390/multiarch/Makefile
6192 (sysdep_routines): Remove strchrnul variants.
6193 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
6194 * sysdeps/s390/multiarch/ifunc-impl-list.c
6195 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
6196 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
6197 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
6198 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
6199 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
6200 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
6201 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
6202 * sysdeps/s390/ifunc-strchrnul.h: New file.
6204 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6206 * sysdeps/s390/multiarch/Makefile
6207 (sysdep_routines): Remove strchr variants.
6208 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
6209 * sysdeps/s390/multiarch/ifunc-impl-list.c
6210 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
6211 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
6212 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
6213 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
6214 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
6215 * sysdeps/s390/multiarch/strchr.c: Move to ...
6216 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
6217 * sysdeps/s390/ifunc-strchr.h: New file.
6219 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6221 * sysdeps/s390/multiarch/Makefile
6222 (sysdep_routines): Remove strncmp variants.
6223 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
6224 * sysdeps/s390/multiarch/ifunc-impl-list.c
6225 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
6226 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
6227 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
6228 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
6229 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
6230 * sysdeps/s390/multiarch/strncmp.c: Move to ...
6231 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
6232 * sysdeps/s390/ifunc-strncmp.h: New file.
6234 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6236 * sysdeps/s390/multiarch/Makefile
6237 (sysdep_routines): Remove strcmp variants.
6238 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
6239 * sysdeps/s390/multiarch/ifunc-impl-list.c
6240 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
6241 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
6242 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
6243 * sysdeps/s390/multiarch/strcmp.c: Move to ...
6244 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
6245 * sysdeps/s390/ifunc-strcmp.h: New file.
6246 * sysdeps/s390/s390-64/strcmp.S: Move to ...
6247 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
6248 for 31/64bit and ifunc handling.
6249 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
6250 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6251 * sysdeps/s390/s390-32/strcmp.S: Likewise.
6253 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6255 * sysdeps/s390/multiarch/Makefile
6256 (sysdep_routines): Remove strncat variants.
6257 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
6258 * sysdeps/s390/multiarch/ifunc-impl-list.c
6259 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
6260 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
6261 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
6262 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
6263 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
6264 * sysdeps/s390/multiarch/strncat.c: Move to ...
6265 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
6266 * sysdeps/s390/ifunc-strncat.h: New file.
6268 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6270 * sysdeps/s390/multiarch/Makefile
6271 (sysdep_routines): Remove strcat variants.
6272 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
6273 * sysdeps/s390/multiarch/ifunc-impl-list.c
6274 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
6275 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
6276 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
6277 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
6278 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
6279 * sysdeps/s390/multiarch/strcat.c: Move to ...
6280 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
6281 * sysdeps/s390/ifunc-strcat.h: New file.
6283 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6285 * sysdeps/s390/multiarch/Makefile
6286 (sysdep_routines): Remove stpncpy variants.
6287 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
6288 * sysdeps/s390/multiarch/ifunc-impl-list.c
6289 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
6290 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
6291 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
6292 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
6293 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
6294 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
6295 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
6296 * sysdeps/s390/ifunc-stpncpy.h: New file.
6298 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6300 * sysdeps/s390/multiarch/Makefile
6301 (sysdep_routines): Remove strncpy variants.
6302 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
6303 * sysdeps/s390/multiarch/ifunc-impl-list.c
6304 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
6305 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
6306 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
6307 * sysdeps/s390/multiarch/strncpy.c: Move to ...
6308 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
6309 * sysdeps/s390/ifunc-strncpy.h: New file.
6310 * sysdeps/s390/s390-64/strncpy.S: Move to ...
6311 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
6312 and adjust ifunc handling.
6313 * sysdeps/s390/s390-32/strncpy.S: Move to ...
6314 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
6315 and adjust ifunc handling.
6316 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
6317 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6319 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6321 * sysdeps/s390/multiarch/Makefile
6322 (sysdep_routines): Remove stpcpy variants.
6323 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
6324 * sysdeps/s390/multiarch/ifunc-impl-list.c
6325 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
6326 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
6327 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
6328 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
6329 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
6330 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
6331 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
6332 * sysdeps/s390/ifunc-stpcpy.h: New file.
6334 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6336 * sysdeps/s390/multiarch/Makefile
6337 (sysdep_routines): Remove strcpy variants.
6338 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
6339 * sysdeps/s390/multiarch/ifunc-impl-list.c
6340 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
6341 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
6342 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
6343 * sysdeps/s390/multiarch/strcpy.c: Move to ...
6344 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
6345 * sysdeps/s390/ifunc-strcpy.h: New file.
6346 * sysdeps/s390/s390-64/strcpy.S: Move to ...
6347 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
6348 for 31/64bit and ifunc handling.
6349 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
6350 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6351 * sysdeps/s390/s390-32/strcpy.S: Likewise.
6353 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6355 * sysdeps/s390/multiarch/Makefile
6356 (sysdep_routines): Remove strnlen variants.
6357 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
6358 * sysdeps/s390/multiarch/ifunc-impl-list.c
6359 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
6360 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
6361 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
6362 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
6363 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
6364 * sysdeps/s390/multiarch/strnlen.c: Move to ...
6365 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
6366 * sysdeps/s390/ifunc-strnlen.h: New file.
6368 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6370 * sysdeps/s390/multiarch/Makefile
6371 (sysdep_routines): Remove strlen variants.
6372 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
6373 * sysdeps/s390/multiarch/ifunc-impl-list.c
6374 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
6375 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
6376 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
6377 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
6378 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
6379 * sysdeps/s390/multiarch/strlen.c: Move to ...
6380 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
6381 * sysdeps/s390/ifunc-strlen.h: New file.
6383 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6385 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
6386 * sysdeps/s390/multiarch/ifunc-impl-list.c
6387 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
6388 * sysdeps/s390/ifunc-memmem.h: New file.
6389 * sysdeps/s390/memmem.c: Likewise.
6390 * sysdeps/s390/memmem-c.c: Likewise.
6391 * sysdeps/s390/memmem-vx.c: Likewise.
6393 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6395 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
6396 * sysdeps/s390/multiarch/ifunc-impl-list.c
6397 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
6398 * sysdeps/s390/ifunc-strstr.h: New file.
6399 * sysdeps/s390/strstr.c: Likewise.
6400 * sysdeps/s390/strstr-c.c: Likewise.
6401 * sysdeps/s390/strstr-vx.c: Likewise.
6403 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6405 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
6406 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
6407 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
6408 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
6410 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
6411 * sysdeps/s390/memmove-c.c: New file.
6412 * sysdeps/s390/memmove.c: Likewise.
6413 * sysdeps/s390/multiarch/ifunc-impl-list.c
6414 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
6416 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6418 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
6419 * sysdeps/s390/configure.ac: Add check for z13 support.
6420 * sysdeps/s390/configure: Regenerated.
6422 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6424 * sysdeps/s390/memcopy.h: New file.
6426 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6428 * sysdeps/s390/s390-32/bcopy.S: Remove.
6429 * sysdeps/s390/s390-64/bcopy.S: Likewise.
6431 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6433 * sysdeps/s390/ifunc-memcpy.h: New File.
6434 * sysdeps/s390/memcpy.S: Move to ...
6435 * sysdeps/s390/memcpy-z900.S ... here.
6436 Move implementations from memcpy-s390x.s to here.
6437 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
6438 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6439 Remove memcpy/mempcpy variants.
6440 * sysdeps/s390/Makefile (sysdep_routines):
6441 Add memcpy/mempcpy variants.
6442 * sysdeps/s390/multiarch/ifunc-impl-list.c
6443 (__libc_ifunc_impl_list): Adjust ifunc variants for
6445 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
6447 * sysdeps/s390/memcpy.c: ... here.
6448 Adjust ifunc variants for memcpy.
6449 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
6450 * sysdeps/s390/mempcpy.c: ... here.
6451 Adjust ifunc variants for mempcpy.
6452 * sysdeps/s390/mempcpy.S: Delete file.
6454 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6456 * sysdeps/s390/s390-64/memcpy.S: Move to ...
6457 * sysdeps/s390/memcpy.S: ... here.
6458 Adjust to be usable for 31/64bit.
6459 * sysdeps/s390/s390-32/memcpy.S: Delete File.
6460 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
6461 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
6462 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6463 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
6464 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
6465 Adjust to be usable for 31/64bit.
6466 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
6467 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
6468 * sysdeps/s390/multiarch/memcpy.c: ... here.
6469 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
6471 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6473 * sysdeps/s390/ifunc-memcmp.h: New File.
6474 * sysdeps/s390/memcmp.S: Move to ...
6475 * sysdeps/s390/memcmp-z900.S ... here.
6476 Move implementations from memcmp-s390x.s to here.
6477 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
6478 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6479 Remove memcmp variants.
6480 * sysdeps/s390/Makefile (sysdep_routines):
6481 Add memcmp variants.
6482 * sysdeps/s390/multiarch/ifunc-impl-list.c
6483 (__libc_ifunc_impl_list): Adjust ifunc variants for
6485 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
6487 * sysdeps/s390/memcmp.c: ... here.
6488 Adjust ifunc variants for memcmp.
6490 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6492 * sysdeps/s390/s390-64/memcmp.S: Move to ...
6493 * sysdeps/s390/memcmp.S: ... here.
6494 Adjust to be usable for 31/64bit.
6495 * sysdeps/s390/s390-32/memcmp.S: Delete File.
6496 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
6497 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6499 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6500 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
6501 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
6502 Adjust to be usable for 31/64bit.
6503 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
6504 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
6505 * sysdeps/s390/multiarch/memcmp.c: ... here.
6506 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
6508 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6510 * sysdeps/s390/s390-32/bzero.S: Delete file.
6511 * sysdeps/s390/s390-64/bzero.S: Likewise.
6512 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
6513 * sysdeps/s390/bzero.c: New file.
6514 * sysdeps/s390/memset-z900.S: Add bzero entry points.
6515 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
6516 * sysdeps/s390/multiarch/ifunc-impl-list.c
6517 (__libc_ifunc_impl_list): Add bzero ifunc variants.
6519 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6521 * sysdeps/s390/ifunc-memset.h: New File.
6522 * sysdeps/s390/memset.S: Move to ...
6523 * sysdeps/s390/memset-z900.S ... here.
6524 Move implementations from memset-s390x.s to here.
6525 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
6526 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6527 Remove memset variants.
6528 * sysdeps/s390/Makefile (sysdep_routines):
6529 Add memset variants.
6530 * sysdeps/s390/multiarch/ifunc-impl-list.c
6531 (__libc_ifunc_impl_list): Adjust ifunc variants for
6533 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
6535 * sysdeps/s390/memset.c: ... here.
6536 Adjust ifunc variants for memset.
6538 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6540 * sysdeps/s390/s390-64/memset.S: Move to ...
6541 * sysdeps/s390/memset.S: ... here.
6542 Adjust to be usable for 31/64bit.
6543 * sysdeps/s390/s390-32/memset.S: Delete File.
6544 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
6545 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6547 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6548 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
6549 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
6550 Adjust to be usable for 31/64bit.
6551 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
6552 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
6553 * sysdeps/s390/multiarch/memset.c: ... here.
6554 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
6556 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6558 * sysdeps/s390/multiarch/ifunc-resolve.h
6559 (s390_libc_ifunc_init, s390_libc_ifunc,
6560 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
6562 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6564 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
6565 * sysdeps/s390/configure.ac: Add check for z10 support.
6566 * sysdeps/s390/configure: Regenerated.
6568 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
6570 * sysdeps/i386/atomic-machine.h: Merged with ...
6571 * sysdeps/x86_64/atomic-machine.h: To ...
6572 * sysdeps/x86/atomic-machine.h: This. New file.
6574 2018-12-18 Florian Weimer <fweimer@redhat.com>
6576 Rewrite locale/gen-translit.pl in Python.
6577 * locale/Makefile (generated): Add C-translit.h.
6578 (before-compile): Add $(objpfx)C-translit.h.
6579 (C-translit.h): Move to $(objpfx). Create target directory.
6580 Build using Python script.
6581 * locale/gen-translit.py: New file.
6582 * locale/gen-translit.pl: Remove file.
6583 * locale/C-translit.h.in: Change comment character to '#' for
6584 easier parsing without a C preprocessor.
6585 * locale/C-translit.h: Remove generated file.
6586 * manual/install.texi (Tools for Compilation): Do not mention
6588 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6589 Remove locale/C-translit.h.
6590 * scripts/update-copyrights: Likewise.
6591 * INSTALL: Regenerate.
6593 2018-12-18 Florian Weimer <fweimer@redhat.com>
6596 * localedata/locales/bi_VU: Remove executable bit from file.
6598 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6601 (__localtime64): Add.
6602 * manual/maint.texi: Document Y2038 symbol handling.
6604 (__localtime64): Add.
6605 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6607 2018-12-17 Joseph Myers <joseph@codesourcery.com>
6609 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6612 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6613 to allow extra macros from first or second sources.
6614 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6615 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6616 (tests-special): Add $(objpfx)tst-mman-consts.out.
6617 ($(objpfx)tst-mman-consts.out): New makefile target.
6619 2018-12-17 Mao Han <han_mao@c-sky.com>
6621 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6622 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6623 without stat64 system call support.
6624 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6625 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6626 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6627 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6628 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6629 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6630 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6631 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6632 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6633 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6634 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6636 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6638 regex: fix storage-exhaustion error
6640 * posix/regexec.c (get_subexp):
6641 Do not continue if storage is exhausted.
6643 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
6645 regex: fix heap-use-after-free error
6647 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6648 https://debbugs.gnu.org/32592
6649 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6650 call extend_buffers which reallocates the re_string_t internal buffer.
6651 Local variable 'buf' was not updated in such case, resulting in
6653 * posix/regexec.c (get_subexp): Update 'buf' after call to
6656 2018-12-15 Florian Weimer <fweimer@redhat.com>
6658 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6659 (minimum_stride_size): Use it.
6660 (support_blob_repeat_allocate): Likewise.
6662 2018-12-14 Joseph Myers <joseph@codesourcery.com>
6664 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6669 2018-12-14 Florian Weimer <fweimer@redhat.com>
6671 * manual/process.texi (Process Creation Concepts): Remove
6672 documentation of process (ID) lifetime. List more process
6673 creation functions. Reference Process Identification section.
6674 (Process Identification): Add information about process ID
6675 lifetime. Describe Linux thread/task IDs.
6676 * manual/signal.texi (Signaling Another Process): Mention that the
6677 signal is always sent to the process.
6679 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6681 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6682 and tst-ldbl-efgcvt.
6683 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6684 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6685 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6686 (fcvt_tests, output_error, output_r_error, do_test): Use the
6687 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6688 select the type of floating-point variables and arguments; to
6689 produce extra tests for double and conversion specifiers for
6690 printf; and to set the names of called functions.
6691 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6692 in tst-efgcvt-template.c.
6693 * misc/tst-ldbl-efgcvt.c: Likewise.
6695 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
6697 * nss/Makefile (tst-nss-test3.out): New rule.
6699 2018-12-13 Joseph Myers <joseph@codesourcery.com>
6701 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6704 2018-12-13 fanjinke <fanjinke@hygon.cn>
6706 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6709 2018-12-13 Andreas Schwab <schwab@suse.de>
6712 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
6713 (__pthread_rwlock_rdlock_full): Update expected value for
6714 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6715 * nptl/tst-rwlock-pwn.c: New file.
6716 * nptl/Makefile (tests): Add tst-rwlock-pwn.
6718 2018-12-12 Joseph Myers <joseph@codesourcery.com>
6720 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6723 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6725 * benchtests/scripts/compare_bench.py (do_compare): write to
6726 stderr in casestat is not present.
6727 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6728 stderr in case timings field is not present. Also string showing
6729 the output filename goes into the stderr.
6731 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6733 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6734 and ZeroDivisorError exceptions.
6735 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6736 argument to loop through user provided statistics.
6737 * benchtests/scripts/compare_bench.py (main): Include the --stats
6740 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6742 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6745 2018-12-12 Florian Weimer <fweimer@redhat.com>
6747 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6748 clause to copyright header.
6750 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6753 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6754 registers saved in the stack frame.
6755 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6756 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6758 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6760 * include/bits/monetary-ldbl.h: New file.
6761 * include/bits/printf-ldbl.h: Likewise.
6762 * include/bits/stdio-ldbl.h: Likewise.
6763 * include/bits/stdlib-ldbl.h: Likewise.
6764 * include/bits/syslog-ldbl.h: Likewise.
6765 * include/bits/wchar-ldbl.h: Likewise.
6767 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6769 * libio/libio.h: Remove redirection for _IO_vfprintf.
6771 2018-12-11 Andreas Schwab <schwab@suse.de>
6773 * Makerules: Remove all references to abilist-pattern.
6774 (update-all-abi): Simplify find expression.
6776 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6779 * math/auto-libm-test-in: Add new test case.
6780 * math/auto-libm-test-out-pow: Regenerated.
6781 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6783 2018-12-10 DJ Delorie <dj@redhat.com>
6786 * support/test-container.c: Move postclean step to before we
6789 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6791 * scripts/gen-as-const.py (main): Handle --python option.
6792 * scripts/gen-py-const.awk: Remove.
6793 * Makerules (py-const-script): Use gen-as-const.py.
6794 ($(py-const)): Likewise.
6795 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6796 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6797 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6798 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6799 ~PTHREAD_MUTEX_NO_ELISION_NP.
6800 * manual/README.pretty-printers: Update reference to
6803 * scripts/glibcextract.py: New file.
6804 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6805 or tempfile. Import glibcexctract.
6806 (compute_c_consts): Remove. Moved to glibcextract.py.
6807 (gen_test): Update reference to compute_c_consts.
6809 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6810 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6811 * sysdeps/unix/sysv/linux/Makefile
6812 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6813 Redirect stderr as well as stdout.
6815 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6818 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
6819 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6820 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
6821 ALWAYS_USE_VSYSCALL.
6822 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
6823 ALWAYS_USE_VSYSCALL.
6824 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6825 ALWAYS_USE_VSYSCALL.
6827 2018-12-10 Florian Weimer <fweimer@redhat.com>
6830 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6831 offset instead of count for clarity. Fix typo in comment.
6832 (__old_getdents64): Keep track of previous offset. Use it to call
6834 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6835 that d_off is never zero.
6837 2018-12-10 Andreas Schwab <schwab@suse.de>
6839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6840 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6842 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6843 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6845 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6847 * timezone/private.h: Update from tzcode 2018g.
6848 * timezone/tzfile.h: Likewise.
6849 * timezone/tzselect.ksh: Likewise.
6850 * timezone/zdump.c: Likewise.
6851 * timezone/zic.c: Likewise.
6853 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6856 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6857 (do_test): Adjust buffer size and fix format.
6859 2018-12-07 DJ Delorie <dj@redhat.com>
6862 * malloc/tst-tcfree3.c: New.
6863 * malloc/Makefile: Add it.
6865 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6867 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6869 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6871 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6872 used as a mask for the mode argument of __vfscanf_internal and
6873 __vfwscanf_internal.
6874 * stdio-common/vfscanf-internal.c
6875 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6876 (__strtof128_internal): Define to __wcstof128_internal.
6877 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6878 __strtof128_internal or __wcstof128_internal when the format of
6879 long double is the same as _Float128.
6881 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6883 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6884 * posix/confstr.c (confstr): Rename to __confstr.
6885 (__confstr): Add hidden def.
6886 (confstr): Add weak alias for __confstr.
6887 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6890 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6892 * NEWS: Mention getcpu.
6893 * include/sched.h (__getcpu): New libc_hidden_proto.
6894 * manual/resource.texi: Document getcpu.
6895 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6896 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6897 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6898 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6899 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6900 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6901 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6902 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6903 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6904 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6905 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6906 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6907 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6909 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6910 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6911 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6920 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6921 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6922 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6923 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6924 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6925 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6926 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6927 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6928 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6929 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6930 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6933 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6935 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6937 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6939 2018-12-07 Florian Weimer <fweimer@redhat.com>
6942 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6943 * posix/Versions (GLIBC_2.29): Export
6944 posix_spawn_file_actions_addfchdir_np.
6945 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6946 * posix/spawn_faction_destroy.c
6947 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6948 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6949 and the field action.fchdir_action.
6950 * posix/tst-spawn-chdir.c (add_chdir): New function.
6951 (do_test): Add do_fchdir loop. Call add_chdir.
6952 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6953 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6954 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6955 posix_spawn_file_actions_addfchdir_np.
6956 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6958 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6960 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6961 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6963 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6965 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6967 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6969 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6971 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6973 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6974 (GLIBC_2.29): Likewise.
6975 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6976 (GLIBC_2.29): Likewise.
6977 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6978 (GLIBC_2.29): Likewise.
6979 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6980 (GLIBC_2.29): Likewise.
6981 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6984 (GLIBC_2.29): Likewise.
6985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6986 (GLIBC_2.29): Likewise.
6987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6988 (GLIBC_2.29): Likewise.
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6990 (GLIBC_2.29): Likewise.
6991 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6993 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6995 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6997 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6998 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7000 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7002 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7004 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7007 2018-12-06 Joseph Myers <joseph@codesourcery.com>
7009 * manual/texinfo.tex: Update to version 2018-09-21.20 with
7010 trailing whitespace removed.
7011 * scripts/config.guess: Update to version 2018-11-28.
7012 * scripts/config.sub: Update to version 2018-11-28.
7013 * scripts/install-sh: Update to version 2018-03-11.20.
7014 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
7015 * scripts/move-if-change: Update to version 2018-03-07 03:47.
7017 2018-12-07 Florian Weimer <fweimer@redhat.com>
7021 * inet/tst-if_index-long.c: New file.
7022 * inet/Makefile (tests): Add tst-if_index-long.
7024 2018-12-07 Florian Weimer <fweimer@redhat.com>
7026 * support/check.h (support_record_failure_is_failed): Declare.
7027 * support/descriptors.h: New file.
7028 * support/support_descriptors.c: Likewise.
7029 * support/tst-support_descriptors.c: Likewise.
7030 * support/support_record_failure.c
7031 (support_record_failure_is_failed): New function.
7032 * support/Makefile (libsupport-routines): Add support_descriptors.
7033 (tests): Add tst-support_descriptors.
7035 2018-12-05 Zack Weinberg <zackw@panix.com>
7036 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7038 * stdio-common/vfprintf-internal.c
7039 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
7040 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
7041 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
7042 and __no_long_double.
7043 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
7044 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
7045 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
7046 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
7047 and __nldbl_*syslog* functions.
7048 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
7049 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
7050 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
7051 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
7052 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
7053 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
7054 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
7055 (__nldbl_vwprintf, __nldbl_wprintf):
7056 Directly call the appropriate __v*printf_internal routine, passing
7057 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
7059 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
7060 (__nldbl___printf_chk, __nldbl___snprintf_chk)
7061 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
7062 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
7063 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
7064 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7065 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
7066 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
7067 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
7068 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
7069 Likewise, and also pass PRINTF_FORTIFY when appropriate.
7070 (__nldbl_syslog, __nldbl_vsyslog):
7071 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
7072 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7074 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7077 2018-12-05 Zack Weinberg <zackw@panix.com>
7078 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7081 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
7082 Moved here from debug/vsprintf_chk.c.
7083 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
7084 and completion logic for the strfile to match exactly what
7085 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
7086 _IO_str_init_static_internal instead of maxlen-1.
7087 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7088 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
7089 __vsprintf_internal.
7091 * debug/vsprintf_chk.c (__vsprintf_chk)
7092 * debug/sprintf_chk.c (__sprintf_chk):
7093 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
7094 'flags' argument is positive, and slen as maxlen. No need to lock
7095 the FILE and/or construct a temporary FILE. Minimize and normalize
7096 header inclusions and variable names. Do not libc_hidden_def anything.
7098 * debug/asprintf_chk.c (__asprintf_chk)
7099 * debug/dprintf_chk.c (__dprintf_chk)
7100 * debug/fprintf_chk.c (__fprintf_chk)
7101 * debug/fwprintf_chk.c (__fwprintf_chk)
7102 * debug/printf_chk.c (__printf_chk)
7103 * debug/snprintf_chk.c (__snprintf_chk)
7104 * debug/swprintf_chk.c (__swprintf_chk)
7105 * debug/vasprintf_chk.c (__vasprintf_chk)
7106 * debug/vdprintf_chk.c (__vdprintf_chk)
7107 * debug/vfprintf_chk.c (__vfprintf_chk)
7108 * debug/vfwprintf_chk.c (__vfwprintf_chk)
7109 * debug/vprintf_chk.c (__vprintf_chk)
7110 * debug/vsnprintf_chk.c (__vsnprintf_chk)
7111 * debug/vswprintf_chk.c (__vswprintf_chk)
7112 * debug/vwprintf_chk.c (__vwprintf_chk)
7113 * debug/wprintf_chk.c (__wprintf_chk):
7114 Directly call the corresponding vxxprintf_internal function, passing
7115 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
7116 the FILE and/or construct a temporary FILE. Minimize and normalize
7117 header inclusions and variable names. Do not libc_hidden_def anything.
7119 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
7120 __obstack_vprintf_internal.
7121 (__obstack_vprintf_chk): Convert into a wrapper that calls
7122 __obstack_vprintf_internal (these two functions already had the
7123 same code) and move to new file...
7124 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
7126 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
7127 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
7128 * debug/Makefile (routines): Add vobprintf_chk.
7130 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7131 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7132 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
7133 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7134 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
7135 (__nldbl___obstack_vfprintf_chk):
7136 Directly call the corresponding vxxprintf_internal function,
7137 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
7138 duplicate comparison of slen with 0 or maxlen from the corresponding
7139 non-__nldbl function.
7141 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
7142 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
7143 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
7144 Remove libc_hidden_proto.
7146 * stdio-common/vfprintf-internal.c
7147 (__vfprintf_internal, __vfwprintf_internal):
7148 Do not check _IO_FLAGS2_FORTIFY.
7149 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
7150 * libio/libioP.h: Update prototype of __vsprintf_internal and add
7151 a comment explaining why it has the maxlen argument.
7152 (_IO_acquire_lock_clear_flags2_fct): Remove.
7153 (_IO_acquire_lock_clear_flags2): Remove.
7154 (_IO_release_lock): Remove conditional statement which will
7156 (_IO_acquire_lock): Remove variable which is now unused.
7157 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7158 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7160 * stdio-common/Makefile (tests): Add tst-bz11319 and
7161 tst-bz11319-fortify2.
7162 (CFLAGS-tst-bz11319-fortify2.c): New macro.
7163 * stdio-common/tst-bz11319-fortify2.c: New file.
7164 * stdio-common/tst-bz11319.c: Likewise.
7166 2018-12-05 Zack Weinberg <zackw@panix.com>
7167 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7169 * misc/syslog.c: Include libioP.h, not iolibio.h.
7170 (__vsyslog_internal): New function with the former body of
7171 __vsyslog_chk; takes mode_flags argument same as
7172 __v*printf_internal. Call __vfprintf_internal directly.
7174 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
7175 Remove libc_hidden_def.
7176 (__syslog, __syslog_chk): Use __vsyslog_internal.
7177 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
7179 * include/sys/syslog.h: Add multiple inclusion guard.
7180 Add prototype for __vsyslog_internal.
7181 Remove declaration and libc_hidden_proto for __vsyslog_chk.
7183 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
7184 Use __vsyslog_internal.
7186 2018-12-05 Zack Weinberg <zackw@panix.com>
7187 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7189 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
7190 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
7191 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
7193 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
7194 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
7196 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
7197 Include wctype.h here if COMPILE_WPRINTF is defined.
7198 Define __vfprintf_internal or __vfwprintf_internal, depending
7200 Temporarily, on entry to this function, update mode_flags
7201 according to the environmental settings corresponding to
7202 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
7203 Throughout, check mode_flags instead of __ldbl_is_dbl and
7204 _IO_FLAGS2_FORTIFY on the destination FILE.
7205 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
7206 Include vfprintf-internal.c. Don't include wctype.h.
7207 * stdio-common/vfprintf.c: New file. Just define __vfprintf
7208 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
7210 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
7211 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
7213 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
7215 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
7216 and add mode_flags argument; use __vfprintf_internal.
7217 (__vdprintf): New function. Alias vdprintf to this.
7218 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
7219 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
7220 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
7221 (__obstack_printf): Use __obstack_printf_internal.
7222 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
7223 public aliases __vsnprintf and vsnprintf.
7224 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
7226 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
7227 public aliases _IO_vsprintf and vsprintf.
7228 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
7229 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
7230 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
7231 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
7232 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
7234 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
7235 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
7236 * stdio-common/fprintf.c, stdio-common/fxprintf.c
7237 * stdio-common/printf.c: Use __vfprintf_internal.
7239 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
7240 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
7241 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
7243 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
7244 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
7245 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
7246 __vfwprintf_internal.
7248 * libio/libio.h: Remove libc_hidden_proto and declaration for
7250 Remove declaration of _IO_vfwprintf.
7251 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
7253 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
7255 * include/stdio.h: Add prototype for __vasprintf.
7256 (__vsnprintf): Remove declaration, because there are no more
7258 * include/wchar.h (__vfwprintf, __vswprintf): Remove
7259 declaration, because there are no more internal calls.
7261 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
7262 __vsnprintf_internal, instead of _IO_vsnprintf.
7263 * argp/argp-help.c (__argp_error, __argp_failure): Use
7264 __vasprintf_internal, instead of _IO_vasprintf.
7265 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
7266 redefine, because there are no more internal calls.
7268 2018-12-05 Zack Weinberg <zackw@panix.com>
7269 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7271 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
7272 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
7273 Include libio/strfile.h instead of libioP.h.
7274 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
7275 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
7276 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
7277 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
7278 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
7279 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
7280 necessary. Do not set __no_long_double. Normalize variable names.
7281 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
7282 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
7283 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
7284 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
7285 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
7286 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
7287 Call __vfscanf_internal / __vfwscanf_internal directly, passing
7288 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
7289 Do not set __no_long_double. Normalize variable names.
7291 2018-12-05 Zack Weinberg <zackw@panix.com>
7292 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7294 * stdio-common/isoc99_scanf.c
7295 * stdio-common/isoc99_fscanf.c
7296 * stdio-common/isoc99_sscanf.c
7297 * stdio-common/isoc99_vscanf.c
7298 * stdio-common/isoc99_vfscanf.c
7299 * stdio-common/isoc99_vsscanf.c
7300 * wcsmbs/isoc99_wscanf.c
7301 * wcsmbs/isoc99_fwscanf.c
7302 * wcsmbs/isoc99_swscanf.c
7303 * wcsmbs/isoc99_vwscanf.c
7304 * wcsmbs/isoc99_vfwscanf.c
7305 * wcsmbs/isoc99_vswscanf.c:
7306 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
7307 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
7308 No need to lock and unlock the FILE passed to that function.
7310 * stdio-common/vfscanf-internal.c
7311 (__vfscanf_internal, __vfwscanf_internal):
7312 Don't look at _IO_FLAGS2_SCANF_STD.
7313 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
7314 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
7315 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
7317 2018-12-05 Zack Weinberg <zackw@panix.com>
7318 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7320 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
7321 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
7322 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
7323 * libio/strfile.h: Add multiple inclusion guard.
7324 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
7326 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
7327 consistency with the other version of this file.
7328 (ldbl_compat_symbol): New macro.
7329 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
7332 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
7333 Define __vfscanf_internal or __vfwscanf_internal, depending on
7334 COMPILE_WSCANF; don't define any other public symbols.
7335 Remove errval and code to set errp.
7336 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
7337 as the mode_flags argument.
7338 (encode_error, conv_error, input_error): Don't set errval.
7339 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
7340 Include vfscanf-internal.c.
7341 * stdio-common/vfscanf.c: New file defining the public entry
7342 point vfscanf, which calls __vfscanf_internal.
7343 * stdio-common/vfwscanf.c: New file defining the public entry
7344 point vfwscanf, which calls __vfwscanf_internal.
7346 * stdio-common/iovfscanf.c: New file.
7347 * stdio-common/iovfwscanf.c: Likewise.
7349 * stdio-common/Makefile (routines): Add vfscanf-internal,
7350 vfwscanf-internal, iovfscanf, iovfwscanf.
7351 * stdio-common/Versions: Mention GLIBC_2.29, so that
7352 it can be used in SHLIB_COMPAT expressions.
7353 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
7354 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
7355 Call __vfscanf_internal, instead of _IO_vfscanf.
7356 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
7358 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
7361 * libio/iovsscanf.c: Clean up includes, when possible. Use
7362 _IO_strfile_read or _IO_strfile_readw, when needed. Call
7363 __vfscanf_internal or __vfwscanf_internal directly.
7364 * libio/iovswscanf.c: Likewise.
7365 * libio/swscanf.c: Likewise.
7366 * libio/vscanf.c: Likewise.
7367 * libio/vwscanf.c: Likewise.
7368 * libio/wscanf.c: Likewise.
7369 * stdio-common/isoc99_fscanf.c: Likewise.
7370 * stdio-common/isoc99_scanf.c: Likewise.
7371 * stdio-common/isoc99_sscanf.c: Likewise.
7372 * stdio-common/isoc99_vfscanf.c: Likewise.
7373 * stdio-common/isoc99_vscanf.c: Likewise.
7374 * stdio-common/isoc99_vsscanf.c: Likewise.
7375 * stdio-common/scanf.c: Likewise.
7376 * stdio-common/sscanf.c: Likewise.
7377 * wcsmbs/isoc99_fwscanf.c: Likewise.
7378 * wcsmbs/isoc99_swscanf.c: Likewise.
7379 * wcsmbs/isoc99_vfwscanf.c: Likewise.
7380 * wcsmbs/isoc99_vswscanf.c: Likewise.
7381 * wcsmbs/isoc99_vwscanf.c: Likewise.
7382 * wcsmbs/isoc99_wscanf.c: Likewise.
7384 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
7387 (__tz_compute): Replace time_t with __time64_t.
7388 (__tz_convert): Replace time_t* with __time64_t.
7389 (__offtime): Replace time_t* with __time64_t.
7391 (__gmtime_r): Adjust call to __tz_convert.
7394 (__localtime_r): Likewise.
7395 (localtime): Likewise.
7396 * time/offtime.c: Replace time_t with __time64_t.
7397 * time/tzset.c: Likewise.
7399 2018-12-04 Joseph Myers <joseph@codesourcery.com>
7401 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
7402 dynamic linker unless [$(run-built-tests) = yes].
7404 2018-12-03 DJ Delorie <dj@delorie.com>
7406 * support/test-container.c (check_for_unshare_hints): New.
7407 (main): Call it if unshare fails. Add support for "su" scriptlet
7410 2018-12-03 Joseph Myers <joseph@codesourcery.com>
7412 * scripts/gen-as-const.py (compute_c_consts): Take an argument
7413 'START' to indicate that start text should be output.
7414 (gen_test): Likewise.
7415 (main): Generate 'START' for first symbol or '--' line, or at end
7416 of input if not previously generated.
7418 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
7421 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
7422 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
7423 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
7424 ALWAYS_USE_VSYSCALL.
7426 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7429 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
7432 2018-12-03 Carlos O'Donell <carlos@redhat.com>
7435 * locale/programs/localedef.c: Declare boolean hard_links default true.
7436 (options): Add --no-hard-links option.
7437 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
7438 * locale/programs/localedef.h: Declare prototype for hard_links.
7439 * locale/programs/locfile.c (write_locale_data): Don't use hard
7440 links if hard_links is false.
7442 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
7444 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
7446 (__cache_sysconf): Likewise.
7447 (init_cacheinfo): Likewise.
7448 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
7449 populate COMMON_CPUID_INDEX_80000007 and
7450 COMMON_CPUID_INDEX_80000008.
7451 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
7452 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
7453 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
7454 (init_cpu_features): Use _Static_assert on
7455 index_arch_Fast_Unaligned_Load.
7456 __get_cpuid_registers and __get_arch_feature. Updated for
7457 cpu_features_basic. Set stepping in cpu_features.
7458 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
7459 (FEATURE_INDEX_2): New.
7460 (FEATURE_INDEX_MAX): Changed to enum.
7461 (COMMON_CPUID_INDEX_D_ECX_1): New.
7462 (COMMON_CPUID_INDEX_80000007): Likewise.
7463 (COMMON_CPUID_INDEX_80000008): Likewise.
7464 (cpuid_registers): Likewise.
7465 (cpu_features_basic): Likewise.
7466 (CPU_FEATURE_USABLE): Likewise.
7467 (bit_arch_XXX_Usable): Likewise.
7468 (cpu_features): Use cpuid_registers and cpu_features_basic.
7469 (bit_arch_XXX): Reweritten.
7470 (bit_cpu_XXX): Likewise.
7471 (index_cpu_XXX): Likewise.
7472 (reg_XXX): Likewise.
7473 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
7475 (CHECK_CPU_FEATURE): New.
7476 (CHECK_CPU_FEATURE_USABLE): Likewise.
7477 (cpu_kinds): Likewise.
7478 (do_test): Print vendor, family, model and stepping. Check
7479 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
7480 (TEST_FUNCTION): Removed.
7481 Include <support/test-driver.c> instead of
7482 "../../test-skeleton.c".
7483 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
7484 Check POPCNT instead of POPCOUNT.
7485 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
7487 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7489 * scripts/gen-as-const.py (main): Avoid emitting empty line when
7490 there is no element in `consts'.
7492 2018-12-01 Florian Weimer <fweimer@redhat.com>
7494 * support/support_capture_subprocess.c
7495 (support_capture_subprocess): Check that pipe descriptors have
7496 expected values. Close original pipe descriptors in subprocess.
7498 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7501 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
7502 attr with __pthread_default_barrierattr.
7503 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
7504 attr with __pthread_default_condattr.
7505 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
7506 attr with __pthread_default_mutexattr.
7507 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
7508 attr with __pthread_default_rwlockattr.
7510 2018-12-01 Kemi Wang <kemi.wang@intel.com>
7512 * manual/tunables.texi (POSIX Thread Tunables): New node.
7513 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
7514 * nptl/nptl-init.c: Include pthread_mutex_conf.h
7515 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
7516 __pthread_tunables_init.
7517 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
7518 (max_adaptive_count): Define.
7519 * nptl/pthread_mutex_conf.c: New file.
7520 * nptl/pthread_mutex_conf.h: New file.
7521 * sysdeps/generic/adaptive_spin_count.h: New file.
7522 * sysdeps/nptl/dl-tunables.list: New file.
7523 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7524 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
7525 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
7528 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7531 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
7532 * stdlib/on_exit.c (__on_exit): Likewise.
7533 * stdlib/Makefile (tests): Add tst-bz20544.
7534 * stdlib/tst-bz20544.c: New test.
7536 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
7539 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
7540 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
7543 2018-11-30 Florian Weimer <fweimer@redhat.com>
7545 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
7546 Extend error logging.
7547 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
7550 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7552 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
7553 __sigismember instead of sigismember.
7554 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
7555 cancel_handler): New definitions.
7556 (do_system): Use posix_spawn instead of fork and execl and remove
7558 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
7559 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
7560 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
7561 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7562 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7563 * sysdeps/unix/sysv/linux/system.c: Likewise.
7567 * NEWS: Add new semantic for atfork with popen and system.
7568 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
7571 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7574 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
7575 modification order when accessing reloc_result->addr.
7576 * include/link.h (reloc_result): Add field init.
7577 * nptl/Makefile (tests): Add tst-audit-threads.
7578 (modules-names): Add tst-audit-threads-mod1 and
7579 tst-audit-threads-mod2.
7580 Add rules to build tst-audit-threads.
7581 * nptl/tst-audit-threads-mod1.c: New file.
7582 * nptl/tst-audit-threads-mod2.c: Likewise.
7583 * nptl/tst-audit-threads.c: Likewise.
7584 * nptl/tst-audit-threads.h: Likewise.
7586 2018-11-30 Joseph Myers <joseph@codesourcery.com>
7588 * scripts/gen-as-const.py: New file.
7589 * scripts/gen-as-const.awk: Remove.
7590 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
7592 ($(objpfx)test-as-const-%.c): Likewise.
7594 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7596 * elf/dl-exception.c: Include <_itoa.h>.
7598 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7600 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
7601 returned by __f_setlk.
7603 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7604 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7606 * elf/Makefile (tests-internal): Add tst-create_format1.
7607 * elf/dl-exception.c (_dl_exception_create_format): Support
7609 * elf/tst-create_format1.c: New file.
7611 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7613 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7614 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7616 * argp/argp-help.c (__argp_failure): Likewise.
7618 2018-11-29 Mao Han <han_mao@c-sky.com>
7620 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7621 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7622 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7623 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7624 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7625 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7626 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7627 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7628 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7629 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7630 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7631 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7632 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7633 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7634 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7635 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7636 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7637 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7638 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7639 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7640 (R_CKCORE_TLS_TPOFF32): New defines.
7642 2018-11-29 Florian Weimer <fweimer@redhat.com>
7644 * posix/Makefile (before-compile): Remove testcases.h and
7646 (generated): Add testcases.h and ptestcases.h.
7647 (testcases.h, ptestcases.h): Move to $(objpfx).
7648 (runtests.o): Add dependency on testcases.h.
7649 (runptests.o): Add dependency on ptestcases.h.
7650 * posix/testcases.h, posix/ptestcases.h: Remove files.
7651 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7652 not touch posix/testcases.h and posix/ptestcases.h.
7654 2018-11-28 Florian Weimer <fweimer@redhat.com>
7656 support: Add signal support to support_capture_subprocess_check.
7657 * support/capture_subprocess.h (support_capture_subprocess_check):
7658 Adjust comment and rename parameter.
7659 * support/support_capture_subprocess_check.c
7660 (print_actual_status): New function.
7661 (support_capture_subprocess_check): Support negative
7662 status_or_signal. Call print_actual_status.
7663 * support/tst-support_capture_subprocess.c (do_test): Call
7664 support_capture_subprocess_check.
7665 * libio/tst-vtables-common.c (termination_status)
7666 (init_termination_status): Remove.
7667 (check_for_termination): Adjust support_capture_subprocess_check
7669 (do_test): Remove call to init_termination_status.
7671 2018-11-28 Joseph Myers <joseph@codesourcery.com>
7673 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7674 source directory instead of a copy.
7675 (CommandList.create_copy_dir): Remove.
7677 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
7679 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7681 2018-11-28 Florian Weimer <fweimer@redhat.com>
7683 * support/support.h (support_quote_string): Do not use str
7686 2018-11-27 Joseph Myers <joseph@codesourcery.com>
7688 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7689 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7691 2018-11-27 Florian Weimer <fweimer@redhat.com>
7693 * support/support.h (support_quote_string): Declare.
7694 * support/support_quote_string.c: New file.
7695 * support/tst-support_quote_string.c: Likewise.
7696 * support/Makefile (libsupport-routines): Add
7697 support_quote_string.
7698 (tests): Add tst-support_quote_string.
7700 2018-11-27 Florian Weimer <fweimer@redhat.com>
7704 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7705 descriptor leak in case of ENODEV error.
7707 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7710 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7711 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7712 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7714 2018-11-26 Carlos O'Donell <carlos@redhat.com>
7716 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7717 Error for unknown lines.
7719 2018-11-26 Joseph Myers <joseph@codesourcery.com>
7721 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7722 Touch additional files.
7724 2018-11-26 Florian Weimer <fweimer@redhat.com>
7727 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7730 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7733 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7734 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7735 SHARED. Include sysdep.h.
7736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7737 ALWAYS_USE_VSYSCALL.
7738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7739 ALWAYS_USE_VSYSCALL.
7741 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7744 * nptl/Makefile (tests-static): Add tst-cond11-static.
7746 * nptl/tst-cond11-static.c: New File.
7747 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7748 tst-affinity-static.
7750 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7752 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7753 (USE_VSYSCALL): Likewise.
7754 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7755 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7757 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7759 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7762 2018-11-23 Joseph Myers <joseph@codesourcery.com>
7765 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7766 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7769 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7771 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7772 (tst-cet-legacy-1a-ARGS): New.
7773 ($(objpfx)tst-cet-legacy-1a): New target.
7774 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7776 2018-11-22 Joseph Myers <joseph@codesourcery.com>
7778 * conform/conformtest.py (CompileSubTest.__init__): Set
7779 self.run_early to False.
7780 (ExecuteSubTest.__init__): Likewise.
7781 (HeaderTests.run): Try running all non-optional, non-XFAILed
7782 compilation tests in a single execution of the compiler.
7784 * conform/conformtest.py (CompileSubTest): New class.
7785 (ExecuteSubTest): Likewise.
7786 (ElementTest.run): Rename to gen_subtests. Append tests to
7787 self.subtests instead of running them.
7788 (ConstantTest.run): Likewise.
7789 (SymbolTest.run): Likewise.
7790 (TypeTest.run): Likewise.
7791 (TagTest.run): Likewise.
7792 (FunctionTest.run): Likewise.
7793 (VariableTest.run): Likewise.
7794 (MacroFunctionTest.run): Likewise.
7795 (MacroStrTest.run): Likewise.
7796 (HeaderTests.handle_test_line): Generate subtests for tests.
7797 (HeaderTests.run): Run subtests for tests.
7799 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7801 * math/Versions (GLIBC_2.29): Add pow.
7802 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7804 * math/w_pow.c: New file.
7805 * sysdeps/i386/fpu/w_pow.c: New file.
7806 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7807 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7808 and add necessary aliases.
7809 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7810 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7811 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7812 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7813 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7814 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7815 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7816 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7817 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7818 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7819 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7820 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7821 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7822 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7823 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7828 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7829 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7830 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7831 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7832 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7833 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7834 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7835 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7837 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7838 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7839 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7841 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7843 * math/Versions (GLIBC_2.29): Add log2.
7844 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7846 * math/w_log2.c: New file.
7847 * sysdeps/i386/fpu/w_log2.c: New file.
7848 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7849 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7850 and add necessary aliases.
7851 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7852 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7853 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7854 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7855 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7856 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7857 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7858 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7859 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7860 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7861 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7862 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7863 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7864 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7865 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7870 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7871 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7872 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7873 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7874 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7875 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7876 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7878 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7880 * math/Versions (GLIBC_2.29): Add log.
7881 * math/w_log_compat.c (__log_compat): Change to versioned compat
7883 * math/w_log.c: New file.
7884 * sysdeps/i386/fpu/w_log.c: New file.
7885 * sysdeps/ia64/fpu/e_log.S: Update.
7886 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7887 and add necessary aliases.
7888 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7889 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7890 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7891 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7892 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7893 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7894 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7895 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7896 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7897 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7898 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7899 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7900 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7901 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7902 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7907 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7908 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7909 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7910 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7911 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7912 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7913 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7914 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7916 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7917 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7918 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7919 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7921 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7923 * math/Versions (GLIBC_2.29): Add exp and exp2.
7924 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7925 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7926 * math/w_exp_compat.c (__exp_compat): Likewise.
7927 * math/w_exp.c: New file.
7928 * math/w_exp2.c: New file.
7929 * sysdeps/i386/fpu/w_exp.c: New file.
7930 * sysdeps/i386/fpu/w_exp2.c: New file.
7931 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7932 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7933 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7934 and add necessary aliases.
7935 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7936 and add necessary aliases.
7937 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7938 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7939 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7940 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7941 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7942 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7943 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7944 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7945 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7946 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7947 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7948 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7949 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7950 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7951 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7952 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7953 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7958 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7959 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7960 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7961 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7962 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7963 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7964 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7965 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7966 (__ieee754_exp): Rename to __exp.
7967 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7968 (__ieee754_exp): Rename to __exp.
7969 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7970 (__ieee754_exp): Rename to __exp.
7971 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7973 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7975 2018-11-20 DJ Delorie <dj@redhat.com>
7977 * malloc/malloc.c (tcache_entry): Add key field.
7978 (tcache_put): Set it.
7979 (tcache_get): Likewise.
7980 (_int_free): Check for double free in tcache.
7981 * malloc/tst-tcfree1.c: New.
7982 * malloc/tst-tcfree2.c: New.
7983 * malloc/Makefile: Run the new tests.
7984 * manual/probes.texi: Document memory_tcache_double_free probe.
7986 * dlfcn/dlerror.c (check_free): Prevent double frees.
7988 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7990 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7992 2018-11-20 Joseph Myers <joseph@codesourcery.com>
7994 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7995 in tests. Use names for format arguments.
7996 (ConstantTest.run): Likewise.
7997 (SymbolTest.run): Likewise.
7998 (TypeTest.run): Likewise.
7999 (TagTest.run): Likewise.
8000 (FunctionTest.run): Likewise.
8001 (VariableTest.run): Likewise.
8002 (MacroFunctionTest.run): Likewise.
8003 (MacroStrTest.run): Likewise.
8004 (HeaderTests.__init__): Set self.num_tests.
8005 (HeaderTests.handle_test_line): Set test.num. Increment
8008 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
8010 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
8011 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
8014 2018-11-19 Mao Han <han_mao@c-sky.com>
8016 * scripts/config.guess: Update to version 2018-08-29.
8017 * scripts/config.sub: Update to version 2018-08-29.
8019 2018-11-19 Florian Weimer <fweimer@redhat.com>
8021 support: Print timestamps in timeout handler.
8022 * support/support_test_main.c (print_timestamp): New function.
8023 (signal_handler): Use it to print the termination time and the
8024 time of the last write to standard output.
8026 2018-11-16 Zack Weinberg <zackw@panix.com>
8027 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8029 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
8030 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
8032 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
8033 and add flags argument. Check flags instead of __ldbl_is_dbl when
8034 deciding whether to set is_long_double.
8035 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
8036 passing zero for flags argument.
8037 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
8039 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8040 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
8041 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
8042 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
8043 variable names. Remove libc_hidden_def/libc_hidden_proto from
8044 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
8045 longer called from within the library.
8046 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
8047 for __nldbl___vstrfmon_l, declare it explicitly.
8049 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
8051 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8053 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
8055 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
8056 F_SETLK64, F_SETLKW64, respectively.
8057 * sysdeps/mach/hurd/f_setlk.c: New file.
8058 * sysdeps/mach/hurd/f_setlk.h: New file.
8059 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
8061 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
8062 (__libc_fcntl): Move non-flock operations to...
8063 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
8064 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
8066 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
8068 mktime: DEBUG_MKTIME cleanup
8069 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
8070 And it’s no longer needed now that glibc and Gnulib both have
8071 their own testing mechanisms for mktime.
8072 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
8074 mktime: fix non-EOVERFLOW errno handling
8076 mktime was not properly reporting failures when the underlying
8077 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
8078 them like EOVERFLOW failures, and set errno to EOVERFLOW.
8079 The problem could happen on non-glibc platforms, with Gnulib.
8080 * time/mktime.c (guess_time_tm): Remove, replacing with ...
8081 (tm_diff): ... this simpler function, which does not change errno.
8082 All callers changed to deal with errno themselves.
8083 (ranged_convert, __mktime_internal): Return failure immediately if
8084 the underlying function reports any failure other than EOVERFLOW.
8085 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
8088 mktime: fix bug with Y2038 DST transition
8090 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
8091 mishandle a DST transition that jumps over the Y2038 boundary.
8092 No such DST transitions are known so this is only a theoretical
8093 bug, but we might as well do things right.
8095 mktime: make more room for overflow
8097 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
8098 This is so that we can add tm_diff results to a previous guess,
8099 which will be useful in a later patch.
8101 mktime: simplify offset guess
8103 * time/mktime.c (__mktime_internal): Omit excess precision.
8105 mktime: new test for mktime failure
8107 Based on a test suggested by Albert Aribaud in:
8108 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
8109 * time/Makefile (tests): Add bug-mktime4.
8110 * time/bug-mktime4.c: New file.
8112 mktime: fix EOVERFLOW bug
8114 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
8115 Include libc-config.h, not config.h, for __set_errno.
8116 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
8118 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8120 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
8121 __attribute_copy__ to copy attributes from name. Drop static qualifier
8122 to avoid warnings about leaf attribute not having effect on static
8125 2018-11-13 Florian Weimer <fweimer@redhat.com>
8127 * malloc/malloc.c (fastbin_push_entry): New function.
8128 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
8129 (REMOVE_FB): Remove macro.
8130 (_int_malloc): Use fastbin_pop_entry and reindent.
8131 (_int_free): Use fastbin_push_entry.
8132 (malloc_consolidate): Use atomic_exchange_acquire.
8134 2018-11-13 Joseph Myers <joseph@codesourcery.com>
8136 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
8137 alias attribute, not with strong_alias.
8139 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
8140 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
8141 with additional parameter thread.
8142 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
8143 in terms of __hidden_ver2.
8144 (hidden_tls_def): New macro.
8145 (libc_hidden_tls_def): Likewise.
8146 (rtld_hidden_tls_def): Likewise.
8147 (libm_hidden_tls_def): Likewise.
8148 (libmvec_hidden_tls_def): Likewise.
8149 (libresolv_hidden_tls_def): Likewise.
8150 (librt_hidden_tls_def): Likewise.
8151 (libdl_hidden_tls_def): Likewise.
8152 (libnss_files_hidden_tls_def): Likewise.
8153 (libnsl_hidden_tls_def): Likewise.
8154 (libnss_nisplus_hidden_tls_def): Likewise.
8155 (libutil_hidden_tls_def): Likewise.
8156 (libutil_hidden_tls_def): Likweise.
8157 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
8158 libc_hidden_tls_def.
8159 (__sim_disabled_exceptions_thread): Likewise.
8160 (__sim_round_mode_thread): Likewise.
8162 * sysdeps/sparc/sparc-ifunc.h [SHARED]
8163 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
8164 copy attributes from name.
8166 2018-11-12 Joseph Myers <joseph@codesourcery.com>
8168 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
8169 Use __attribute_copy__ to copy attributes from name.
8171 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
8172 with __hidden_ver1 call.
8173 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
8174 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
8175 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
8176 (__cosf): Do not declare here.
8177 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
8178 (__sincosf): Do not declare here.
8179 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
8180 (__sinf): Do not declare here.
8182 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
8183 (__BIG_ENDIAN): Likewise.
8184 (__BYTE_ORDER): Likewise.
8185 (strong_alias): Likewise.
8186 (_strong_alias): Likewise.
8188 2018-11-12 Florian Weimer <fweimer@redhat.com>
8190 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
8191 function. Move after the definition of in_smallbin_range. Do not
8192 use __builtin_expect for paths that lead to a noreturn function.
8193 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
8194 because it is unclear whether this is in fact an unlikely
8196 (_int_malloc, _int_free): Adjust.
8197 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
8199 * malloc/arena.c (heap_trim): Likewise.
8201 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8203 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
8204 it, free it if needed.
8205 (reauthenticate): Test and use ccwdir.
8206 (child_init_port): In non-resetids case, test and use ccwdir.
8207 (child_chdir): New nested function to set ccwdir.
8208 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
8209 * hurd/hurd/port.h (_hurd_port_move): New function.
8210 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
8211 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
8212 * hurd/Versions (_hurd_port_move): Export function.
8213 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
8215 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
8216 of dtablesize for allocating dtable_cloexec.
8218 2018-11-09 Martin Sebor <msebor@redhat.com>
8220 * include/libc-symbols.h (__attribute_copy__): Define macro unless
8221 it's already defined.
8222 (_strong_alias): Use __attribute_copy__.
8223 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
8224 * misc/sys/cdefs.h (__attribute_copy__): New macro.
8225 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
8226 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
8227 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
8228 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
8229 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
8230 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
8231 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
8232 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
8233 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
8234 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
8235 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
8236 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
8237 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
8238 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
8239 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
8240 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
8241 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
8243 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8245 * misc/tst-efgcvt.c: Include support/check.h and
8246 support/test-driver.c. Do not include test-skeleton.c.
8247 (error_count): Remove.
8248 (output_error): Replace increments to error_count with calls to
8249 support_record_failure.
8250 (output_r_error): Likewise.
8251 (special): Likewise.
8252 (do_test): Unconditionally return zero.
8253 (TEST_FUNCTION): Remove.
8255 2018-11-09 Joseph Myers <joseph@codesourcery.com>
8257 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
8259 ($(linknamespace-header-tests)): Likewise.
8261 * conform/conformtest.py: New file.
8262 * conform/conformtest.pl: Remove.
8263 * conform/GlibcConform.pm: Likewise.
8264 * conform/glibcconform.py (KEYWORDS_C90): New constant.
8265 (KEYWORDS_C99): Likewise.
8266 (KEYWORDS): Likewise.
8267 * conform/Makefile ($(conformtest-header-tests)): Use
8268 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
8269 option. Use --header instead of --headers.
8270 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
8272 * conform/data/spawn.h-data: Likewise.
8273 * conform/data/fcntl.h-data (openat): Add space after function
8275 * conform/data/wchar.h-data (wcscasecmp): Likewise.
8276 (wcscasecmp_l): Likewise.
8277 * conform/data/termios.h-data (c_cc): Add space after element
8280 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8282 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
8283 instead of manually comparing and reporting mismatching strings.
8284 * misc/tst-ldbl-error.c (do_one_test): Likewise.
8285 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
8287 2018-11-08 Joseph Myers <joseph@codesourcery.com>
8289 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
8290 __ASSUME_SOCKETCALL.
8291 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8292 (__ASSUME_SOCKETCALL): Remove.
8293 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8294 (__ASSUME_SOCKETCALL): Likewise.
8295 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8296 (__ASSUME_SOCKETCALL): Likewise.
8297 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8298 (__ASSUME_SOCKETCALL): Likewise.
8299 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8300 (__ASSUME_SOCKETCALL): Likewise.
8301 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8302 (__ASSUME_SOCKETCALL): Likewise.
8303 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8304 (__ASSUME_SOCKETCALL): Likewise.
8306 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
8309 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
8310 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
8311 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
8312 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
8313 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
8316 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
8319 * resolv/tst-resolv-network.c: Add test for getnetbyname.
8321 2018-11-07 Joseph Myers <joseph@codesourcery.com>
8324 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8325 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8326 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8327 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8329 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8331 * support/support_test_compare_string.c
8332 (support_test_compare_string): Fix printf format.
8334 2018-11-07 Florian Weimer <fweimer@redhat.com>
8336 Implement TEST_COMPARE_STRING.
8337 * support/check.h (TEST_COMPARE_STRING): Define.
8338 (support_test_compare_string): Declare.
8339 * support/Makefile (libsupport-routines): Add
8340 support_test_compare_string.
8341 (tests): Add tst-test_compare_string.
8342 * support/support_test_compare_string.c: New file.
8343 * support/tst-test_compare_string.c: Likewise.
8345 2018-11-07 Andreas Schwab <schwab@suse.de>
8348 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
8349 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
8352 2018-11-06 Joseph Myers <joseph@codesourcery.com>
8355 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8356 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
8357 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
8358 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
8361 2018-11-06 Florian Weimer <fweimer@redhat.com>
8364 * posix/Makefile (routines): Add spawn_faction_addchdir.
8365 (tests): Add tst-spawn-chdir.
8366 * posix/Versions (GLIBC_2.29): Add
8367 posix_spawn_file_actions_addchdir_np.
8368 * posix/spawn_faction_addchdir.c: New file.
8369 * posix/spawn_faction_destroy.c
8370 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
8371 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
8372 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
8374 * posix/tst-spawn-chdir.c: New file.
8375 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
8376 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8377 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8378 posix_spawn_file_actions_addchdir_np.
8379 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8381 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8383 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8384 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8386 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8388 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8390 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8392 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8394 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8396 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8397 (GLIBC_2.29): Likewise.
8398 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8399 (GLIBC_2.29): Likewise.
8400 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8401 (GLIBC_2.29): Likewise.
8402 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8403 (GLIBC_2.29): Likewise.
8404 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8407 (GLIBC_2.29): Likewise.
8408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8409 (GLIBC_2.29): Likewise.
8410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8411 (GLIBC_2.29): Likewise.
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8413 (GLIBC_2.29): Likewise.
8414 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8416 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8418 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8420 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8421 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8423 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8425 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8427 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8430 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8432 * misc/Makefile (tests): Add tst-ldbl-error.
8433 * misc/tst-ldbl-error.c: New file.
8435 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8437 * misc/Makefile (tests): Add tst-ldbl-warn.
8438 * misc/tst-ldbl-warn.c: New file.
8440 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8442 * argp/Makefile (tests): Add tst-ldbl-argp.
8443 * argp/tst-ldbl-argp.c: New file.
8445 2018-11-05 Arjun Shankar <arjun@redhat.com>
8447 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
8448 __gconv_path_elem and call __gconv_get_path unconditionally.
8450 2018-11-05 Andreas Schwab <schwab@suse.de>
8453 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
8454 creating the first helper thread failed.
8456 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8458 * sysdeps/mach/hurd/msync.c: New file.
8460 2018-11-02 Florian Weimer <fweimer@redhat.com>
8462 * support/shell-container.c (copy_func): Call
8463 support_copy_file_range instead of copy_file_range to support
8464 cross-device copies.
8466 2018-11-02 Florian Weimer <fweimer@redhat.com>
8468 * support/test-container.c: Include <libc-pointer-arith.h> for
8471 2018-11-01 Zong Li <zong@andestech.com>
8473 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
8474 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
8475 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
8476 (__FP_FRAC_SET_8): Add implementation for RV32 use.
8478 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
8479 variable to avoid overlap arguments.
8481 2018-11-01 Joseph Myers <joseph@codesourcery.com>
8483 * posix/bug-regex22.c (main): Use puts with distinct error
8484 messages for unexpected success of re_compile_pattern, not printf
8485 with NULL argument to %s.
8487 * stdio-common/bug22.c: Include <libc-diag.h>.
8488 (do_test): Disable -Wformat-overflow= warnings around fprintf
8489 calls outputting more than INT_MAX characters.
8490 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
8491 around printf call with NULL %s argument.
8494 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
8495 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
8497 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8498 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8499 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8500 (__ASSUME_SENDTO_SYSCALL): Likewise.
8501 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8502 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
8504 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8505 (__ASSUME_CONNECT_SYSCALL): Likewise.
8506 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8507 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8508 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
8510 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
8512 [__LINUX_KERNEL_VERSION >= 0x040400]
8513 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8514 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
8517 (setsockopt): Likewise.
8519 2018-11-01 Fredrik Noring <noring@nocrew.org>
8521 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
8522 with the ISA override.
8524 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
8526 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
8529 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8531 * manual/errno.texi (EIEIO): Document how translators should
8532 translate the error message.
8533 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
8534 printing trailing whitespaces refused by git.
8535 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
8536 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8537 * hurd/Makefile (user-interfaces): Add pci.
8539 2018-10-30 Joseph Myers <joseph@codesourcery.com>
8541 * conform/linknamespace.py: New file.
8542 * conform/linknamespace.pl: Remove file.
8543 * conform/Makefile ($(linknamespace-header-tests)): Use
8544 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
8547 2018-10-30 Florian Weimer <fweimer@redhat.com>
8549 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
8552 2018-10-30 Florian Weimer <fweimer@redhat.com>
8554 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
8556 2018-10-30 Florian Weimer <fweimer@redhat.com>
8558 * stdlib/tst-strtod-overflow.c (do_test): Switch to
8559 support_blob_repeat.
8561 2018-10-30 Florian Weimer <fweimer@redhat.com>
8563 Avoid spurious test failures in stdlib/test-bz22786.
8564 * support/Makefile (libsupport-routines): Add blob_repeat.
8565 (tests): Add tst-support_blob_repeat.
8566 * support/blob_repeat.h: New file.
8567 * support/blob_repeat.c: Likewise.
8568 * support/tst-support_blob_repeat.c: Likewise.
8569 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
8570 support_blob_repeat_allocate.
8572 2018-10-30 Andreas Schwab <schwab@suse.de>
8575 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
8576 Don't use tail call.
8577 * elf/tst-unwind-main.c: New file.
8578 * elf/Makefile (tests): Add tst-unwind-main.
8579 (CFLAGS-tst-unwind-main.c): Define.
8581 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
8584 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
8586 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
8588 2018-10-29 Joseph Myers <joseph@codesourcery.com>
8590 * conform/glibcconform.py: Do not import shutil.
8591 (list_exported_functions): Use tempfile.TemporaryDirectory instead
8594 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
8595 critic_missing for versions before 3.4.
8596 * configure: Regenerated.
8597 * manual/install.texi (Tools for Compilation): Document
8598 requirement for Python to build glibc.
8599 * INSTALL: Regenerated.
8600 * Rules [PYTHON]: Make code unconditional.
8601 * benchtests/Makefile [PYTHON]: Likewise.
8602 * conform/Makefile [PYTHON]: Likewise.
8603 * manual/Makefile [PYTHON]: Likewise.
8604 * math/Makefile [PYTHON]: Likewise.
8606 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8608 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
8609 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
8610 answer to interrupt_operation, return EIEIO instead of EINTR.
8611 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8612 _hurd_intr_rpc_msg_about_to global point to start of controlled
8613 assembly snippet. Make it check canceled flag.
8614 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8615 the _hurd_intr_rpc_msg_about_to point.
8616 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8617 issue, remove cancel flag check.
8619 2018-10-26 Joseph Myers <joseph@codesourcery.com>
8621 * scripts/build-many-glibcs.py: Remove compatibility for missing
8622 os.cpu_count and re.fullmatch.
8624 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8627 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8628 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8629 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8631 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8633 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8636 2018-10-25 Florian Weimer <fweimer@redhat.com>
8640 XFAIL siginfo_t si_band conform test on sparc64.
8641 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8642 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8643 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8644 (conformtest-xfail-conds): Add sparc64-linux.
8645 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8647 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8649 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8651 * elf/elf.h (NT_MIPS_DSP): New macro.
8652 (NT_MIPS_FP_MODE): Likewise.
8654 2018-10-25 Zong Li <zong@andestech.com>
8656 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8657 name by adding the file extension (.so).
8659 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8661 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8662 (test-xfail-ISO11/threads.h/linknamespace,
8663 test-xfail-ISO11/threads.h/conform): Add.
8665 2018-10-24 Joseph Myers <joseph@codesourcery.com>
8667 * math/gen-libm-test.py: Import os.
8668 (ALL_FLOATS_MANUAL): New constant.
8669 (ALL_FLOATS_SUFFIX): Likewise.
8670 (Ulps.all_functions): New function.
8671 (real_all_ulps): Likewise.
8672 (generate_err_table_sub): Likewise.
8673 (generate_err_table): Likewise.
8674 (main): Handle -s and -m options.
8675 * manual/libm-err-tab.pl: Remove.
8676 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8677 instead of libm-err-tab.pl.
8678 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8680 * manual/install.texi (Tools for Compilation): Document
8681 requirement for Python to build manual.
8682 * INSTALL: Regenerated.
8684 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8686 * bits/time64.h: New file.
8687 * include/time.h: Replace internal_time_t with __time64_t.
8688 * posix/bits/types (__time64_t): Add.
8689 * stdlib/Makefile: Add bits/time64.h to includes.
8690 * time/tzfile.c: Replace internal_time_t with __time64_t.
8692 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8694 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8695 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8696 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8697 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8698 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8700 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8701 * posix/spawn_faction_addclose.c
8702 (__posix_spawn_file_actions_addclose): Add hidden definition.
8703 * posix/spawn_faction_adddup2.c
8704 (__posix_spawn_file_actions_adddup2): Likewise.
8705 * posix/spawn_faction_destroy.c
8706 (__posix_spawn_file_actions_destroy): Likewise.
8707 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8709 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8710 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8711 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8713 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8714 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8717 2018-10-24 Andreas Schwab <schwab@suse.de>
8720 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8722 * elf/cache.c (print_cache): Likewise.
8724 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8726 * bits/timesize.h: New file.
8727 * stdlib/Makefile (headers): Add bits/timesize.h.
8728 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8729 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8730 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8731 (__SEM_PAD_AFTER_TIME): Likewise.
8732 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8733 (__SHM_PAD_AFTER_TIME): Likewise.
8734 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8735 (__MSQ_PAD_BEFORE_TIME): Likewise.
8736 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8737 (__SEM_PAD_BEFORE_TIME): Likewise.
8738 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8739 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8740 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
8741 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8742 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8743 (__MSQ_PAD_BEFORE_TIME): Likewise.
8744 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8745 (__SEM_PAD_BEFORE_TIME): Likewise.
8746 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8747 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8748 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8749 (__MSQ_PAD_BEFORE_TIME): Likewise.
8750 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8751 (__SEM_PAD_BEFORE_TIME): Likewise.
8752 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8753 (__SHM_PAD_BEFORE_TIME): Likewise.
8754 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8755 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8756 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8758 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8760 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8761 USE_RDTSCP is defined.
8762 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8763 USE_RDTSCP is defined.
8765 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8767 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8771 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8772 independently of other flags.
8774 2018-10-23 Florian Weimer <fweimer@redhat.com>
8776 * time/tst-mktime2.c (N_STRINGS): Remove.
8777 (set_timezone): New function.
8778 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8779 (mktime_test1): Report localtime failure and check errno value.
8781 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8782 (do_test): Remove alarm call. Use set_timezone and array_length.
8784 2018-10-23 Andreas Schwab <schwab@suse.de>
8786 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8787 (__start_context): Use END instead of PSEUDO_END.
8789 2018-10-22 Joseph Myers <joseph@codesourcery.com>
8791 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8794 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8798 * wcsmbs/c32rtomb.c: New file.
8799 * wcsmbs/mbrtoc32.c: Likewise.
8800 * wcsmbs/tst-c32-state.c: Likewise.
8801 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8802 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8803 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8804 (tests): Add tst-c32-state.
8805 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8808 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8810 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8811 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8813 2018-10-19 Joseph Myers <joseph@codesourcery.com>
8816 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8817 pair and return 0 in that case, and use saved character to
8818 interpret following character.
8819 * wcsmbs/tst-c16-surrogate.c: New file.
8820 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8821 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8822 Depend on $(gen-locales)
8824 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8827 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8828 (struct siginfo_t): Use correct type for si_band.
8830 2018-10-19 Florian Weimer <fweimer@redhat.com>
8833 * resource/bits/types/struct_rusage.h (struct rusage): Update
8834 comment on struct. Remove extraneous field comment.
8836 2018-10-18 David S. Miller <davem@davemloft.net>
8838 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8839 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8840 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8841 sysdep_routines in subdir elf.
8842 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8843 version for __vdso_clock_gettime.
8844 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8846 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8847 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8849 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8851 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8853 * sysdeps/i386/init-arch.h: Removed.
8854 * sysdeps/i386/i586/init-arch.h: Likewise.
8855 * sysdeps/i386/i686/init-arch.h: Likewise.
8856 * sysdeps/i386/i686/hp-timing.h: Likewise.
8857 * sysdeps/x86_64/hp-timing.h: Likewise.
8858 * sysdeps/i386/isa.h: New file.
8859 * sysdeps/i386/i586/isa.h: Likewise.
8860 * sysdeps/i386/i686/isa.h: Likewise.
8861 * sysdeps/x86_64/isa.h: Likewise.
8862 * sysdeps/x86/hp-timing.h: New file.
8863 * sysdeps/x86/init-arch.h: Include <isa.h>.
8865 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8867 * math/libm-test-pow.inc (pow_test_data): Do not allow
8868 divide-by-zero exception for pow(+/- 0, -Inf).
8870 2018-10-17 Zack Weinberg <zackw@panix.com>
8872 * manual/job.texi (Job Control is Optional): Remove node, as
8873 job control has not been optional in quite some time.
8874 (Job Control): Mention briefly that systems older than
8875 POSIX.1-2001 might not support job control.
8876 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8877 defined on systems conforming to POSIX.1-2001.
8879 2018-10-17 Arjun Shankar <arjun@redhat.com>
8882 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8884 * (__gconv_read_conf): Mark function static.
8885 * (once): New static variable.
8886 * (__gconv_load_conf): New function.
8887 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8888 * iconv/gconv_db.c (once): Remove static variable.
8889 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8891 * (__gconv_find_transform): Likewise.
8892 * iconv/tst-iconv-mt.c: New test.
8893 * iconv/Makefile: Add tst-iconv_mt.
8895 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8899 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8900 (shmatt_t): Define as __syscall_ulong_t.
8901 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8902 and [__SHM_PAD_AFTER_TIME].
8903 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8904 Define shm_segsz and associated padding based on
8905 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8906 Use __syscall_ulong_t instead of unsigned long int.
8907 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8909 [__USE_MISC] (struct shm_info): Likewise.
8910 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8911 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8912 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8913 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8914 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8915 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8916 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8917 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8918 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8919 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8920 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8924 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8925 (SHMLBA): Remove macro.
8926 (__getpagesize): Remove function declaration.
8927 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8929 (SHMLBA): Remove macro.
8930 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8932 (SHMLBA): Remove macro.
8933 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8935 (SHMLBA): Remove macro.
8936 (__getpagesize): Remove function declaration.
8937 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8939 (SHMLBA): Remove macro.
8940 (__getshmlba): Remove function declaration.
8941 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8942 (SHMLBA): Remove macro.
8943 (__getpagesize): Remove function declaration.
8944 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8945 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8946 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8947 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8948 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8949 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8950 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8951 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8952 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8953 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8955 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
8958 * nptl/tst-mutex10.c: New File.
8959 * nptl/Makefile (tests): Add tst-mutex10.
8960 (tst-mutex10-ENV): New variable.
8961 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8962 Ensure that elision path is used if elision is available.
8963 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8965 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8967 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8968 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8969 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8970 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8972 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8973 (__pthread_mutex_cond_lock_adjust): Likewise.
8974 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8976 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8977 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8978 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8979 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8981 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8982 Use atomic_load_relaxed and atomic_store_relaxed.
8983 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8984 Use atomic_store_relaxed.
8986 2018-10-17 Andreas Schwab <schwab@suse.de>
8988 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8989 * crypt/badsalttest.c (TIMEOUT): Likewise.
8990 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8991 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8992 * io/test-lfs.c (TIMEOUT): Likewise.
8993 * libio/tst-atime.c (TIMEOUT): Likewise.
8994 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8995 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8996 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8997 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8998 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8999 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
9000 * nptl/tst-cond11.c (TIMEOUT): Likewise.
9001 * nptl/tst-cond14.c (TIMEOUT): Likewise.
9002 * nptl/tst-cond15.c (TIMEOUT): Likewise.
9003 * nptl/tst-cond24.c (TIMEOUT): Likewise.
9004 * nptl/tst-cond25.c (TIMEOUT): Likewise.
9005 * nptl/tst-kill2.c (TIMEOUT): Likewise.
9006 * nptl/tst-kill3.c (TIMEOUT): Likewise.
9007 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
9008 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
9009 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
9010 * nptl/tst-once2.c (TIMEOUT): Likewise.
9011 * nptl/tst-once3.c (TIMEOUT): Likewise.
9012 * nptl/tst-once4.c (TIMEOUT): Likewise.
9013 * nptl/tst-robust8.c (TIMEOUT): Likewise.
9014 * nptl/tst-robust9.c (TIMEOUT): Likewise.
9015 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
9016 * nptl/tst-sem14.c (TIMEOUT): Likewise.
9017 * nptl/tst-sem6.c (TIMEOUT): Likewise.
9018 * nptl/tst-signal3.c (TIMEOUT): Likewise.
9019 * nptl/tst-spin4.c (TIMEOUT): Likewise.
9020 * nptl/tst-tls3.c (TIMEOUT): Likewise.
9021 * nptl/tst-tls4.c (TIMEOUT): Likewise.
9022 * posix/tst-chmod.c (TIMEOUT): Likewise.
9023 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
9024 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
9025 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
9026 * posix/tst-regex2.c (TIMEOUT): Likewise.
9027 * posix/tst-waitid.c (TIMEOUT): Likewise.
9028 * rt/tst-aio.c (TIMEOUT): Likewise.
9029 * rt/tst-aio10.c (TIMEOUT): Likewise.
9030 * rt/tst-aio4.c (TIMEOUT): Likewise.
9031 * rt/tst-aio5.c (TIMEOUT): Likewise.
9032 * rt/tst-aio6.c (TIMEOUT): Likewise.
9033 * rt/tst-aio64.c (TIMEOUT): Likewise.
9034 * rt/tst-aio7.c (TIMEOUT): Likewise.
9035 * rt/tst-aio9.c (TIMEOUT): Likewise.
9036 * rt/tst-clock.c (TIMEOUT): Likewise.
9037 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
9038 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
9039 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
9040 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
9041 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
9042 * rt/tst-timer4.c (TIMEOUT): Likewise.
9043 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
9044 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
9045 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
9046 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
9047 * time/tst-ftime.c (TIMEOUT): Likewise.
9048 * timezone/tst-tzset.c (TIMEOUT): Likewise.
9050 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
9052 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
9053 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
9056 2018-10-15 Joseph Myers <joseph@codesourcery.com>
9058 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9060 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
9061 instead of <bits/wordsize.h>.
9062 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
9063 and [__SEM_PAD_AFTER_TIME].
9064 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
9065 __syscall_ulong_t instead of unsigned long int.
9066 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
9067 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
9068 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
9069 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
9070 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
9071 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
9072 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
9073 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
9074 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9075 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9076 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9078 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
9080 regex: simplify by using intprops.h
9082 * posix/regex_internal.h [_LIBC]: Include intprops.h.
9083 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
9084 intprops.h defines them.
9086 regex: __builtin_expect → __glibc_unlikely
9088 This refactoring was prompted by a problem when the regex code is
9089 used as part of Gnulib and when the builder’s compiler does not grok
9090 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
9091 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
9092 Although this refactoring does not fix the problem directly,
9093 we might as well have Gawk use the now-preferred glibc style for when
9094 __builtin_expect is unavailable.
9095 * posix/regex_internal.h (BE): Remove.
9096 All uses replaced by __glibc_unlikely or __glibc_likely.
9098 2018-10-11 Joseph Myers <joseph@codesourcery.com>
9100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9102 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
9103 instead of <bits/wordsize.h>.
9104 (msgqnum_t): Define as __syscall_ulong_t.
9105 (msglen_t): Likewise.
9106 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
9107 and [__MSQ_PAD_AFTER_TIME].
9108 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
9109 __syscall_ulong_t instead of unsigned long int.
9110 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
9111 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
9112 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
9113 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
9114 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
9115 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
9116 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
9117 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
9118 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9119 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9120 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9122 2018-10-10 Joseph Myers <joseph@codesourcery.com>
9124 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
9125 (struct shmid_ds): Condition padding after time fields on
9127 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
9128 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
9129 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9131 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
9132 (struct semid_ds): Condition padding after time fields on
9134 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
9135 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
9136 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
9137 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9139 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
9140 (struct msqid_ds): Condition padding after time fields on
9142 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
9143 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
9144 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
9145 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9147 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9149 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
9151 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9153 * libio/tst-readline.c (TIMEOUT): Define.
9155 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
9157 mktime fix for Gnulib + coreutils
9159 This fix affects only Gnulib. Problem discovered when
9160 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
9162 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
9163 Do not define since it is not used. Defining an unused static
9164 function prompts a warning from GCC when Coreutils is configured
9165 with --enable-gcc-warnings.
9167 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9169 * benchtests/scripts/compare_bench.py (main): set float type on
9172 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
9175 * localedata/locales/kl_GL (mon): Update, the relative case.
9176 (alt_mon): Add, fill with month names in the nominative case.
9177 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
9178 (d_fmt): Set to "%b %d %Y".
9180 2018-10-04 Joseph Myers <joseph@codesourcery.com>
9182 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
9183 <bits/mman-linux.h>.
9184 (PROT_READ): Don't define here.
9185 (PROT_WRITE): Likewise.
9186 (PROT_EXEC): Likewise.
9187 (PROT_NONE): Likewise.
9188 (PROT_GROWSDOWN): Likewise.
9189 (PROT_GROWSUP): Likewise.
9190 (MAP_SHARED): Likewise.
9191 (MAP_PRIVATE): Likewise.
9192 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
9193 [__USE_MISC] (MAP_FILE): Likewise.
9194 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
9195 [__USE_MISC] (MAP_ANON): Likewise.
9196 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
9197 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
9198 (MCL_CURRENT): Likewise.
9199 (MCL_FUTURE): Likewise.
9200 (MCL_ONFAULT): Likewise.
9201 [__USE_MISC] (MADV_NORMAL): Likewise.
9202 [__USE_MISC] (MADV_RANDOM): Likewise.
9203 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
9204 [__USE_MISC] (MADV_WILLNEED): Likewise.
9205 [__USE_MISC] (MADV_DONTNEED): Likewise.
9206 [__USE_MISC] (MADV_FREE): Likewise.
9207 [__USE_MISC] (MADV_REMOVE): Likewise.
9208 [__USE_MISC] (MADV_DONTFORK): Likewise.
9209 [__USE_MISC] (MADV_DOFORK): Likewise.
9210 [__USE_MISC] (MADV_HWPOISON): Likewise.
9211 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
9212 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
9213 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
9214 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
9215 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
9216 (__MAP_ANONYMOUS): New macro.
9217 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
9218 <bits/mman-linux.h> inclusion.
9219 (MAP_FIXED): Likewise.
9220 (MS_SYNC): Likewise.
9221 (MS_ASYNC): Likewise.
9222 (MS_INVALIDATE): Likewise.
9223 [__USE_MISC] (MADV_MERGEABLE): Likewise.
9224 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
9225 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
9226 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
9227 [__USE_MISC] (MADV_DONTDUMP): Likewise.
9228 [__USE_MISC] (MADV_DODUMP): Likewise.
9229 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
9230 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
9233 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
9235 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
9236 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
9237 Add test-nldbl-redirect.
9238 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
9239 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
9240 $(objpfx)libnldbl_nonshared.a.
9242 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
9244 * support/support.h (support_objdir_elf_ldso): New variable.
9245 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
9246 * support/Makefile (CFLAGS-support_paths.c): Add definition
9247 for OBJDIR_ELF_LDSO_PATH.
9248 * support/test-container.c (main): Search for the ld.so
9249 which is also used by the testsuite.
9251 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
9254 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
9255 should be "sap" rather than "sab".
9256 (day): Fix spelling of Sunday, should be "sapaat" rather than
9259 2018-10-02 Joseph Myers <joseph@codesourcery.com>
9261 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9263 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
9266 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
9267 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
9268 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
9270 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9272 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
9274 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
9276 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
9278 (CFLAGS-elision-unlock.c): Likewise.
9279 (CFLAGS-elision-timed.c): Likewise.
9280 (CFLAGS-elision-trylock.c): Likewise.
9281 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
9283 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9286 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
9287 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
9288 new fd_to_filename interface.
9289 * libio/freopen64.c (freopen64): Likewise.
9290 * libio/tst-memstream.h: New file.
9291 * libio/tst-memstream4.c: Likewise.
9292 * libio/tst-wmemstream4.c: Likewise.
9293 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
9294 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
9295 and remove internal dynamic allocation.
9297 2018-10-01 Joseph Myers <joseph@codesourcery.com>
9299 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
9300 (MREMAP_MAYMOVE): Do not define here.
9301 [__USE_GNU] (MREMAP_FIXED): Likewise.
9302 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
9303 (MREMAP_MAYMOVE): Define here instead.
9304 [__USE_GNU] (MREMAP_FIXED): Likewise.
9305 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
9306 (MREMAP_MAYMOVE): Remove.
9307 [__USE_GNU] (MREMAP_FIXED): Likewise.
9309 2018-09-28 Joseph Myers <joseph@codesourcery.com>
9311 * math/fromfp.h: Do not include <math_private.h>.
9312 * math/s_cacosh_template.c: Likewise.
9313 * math/s_casin_template.c: Likewise.
9314 * math/s_casinh_template.c: Likewise.
9315 * math/s_ccos_template.c: Likewise.
9316 * math/s_cproj_template.c: Likewise.
9317 * math/s_fdim_template.c: Likewise.
9318 * math/s_fmaxmag_template.c: Likewise.
9319 * math/s_fminmag_template.c: Likewise.
9320 * math/s_iseqsig_template.c: Likewise.
9321 * math/s_ldexp_template.c: Likewise.
9322 * math/s_nextdown_template.c: Likewise.
9323 * math/w_log1p_template.c: Likewise.
9324 * math/w_scalbln_template.c: Likewise.
9325 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9326 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9327 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9328 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9329 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
9330 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
9331 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
9332 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
9333 * sysdeps/i386/fpu/s_atanl.c: Likewise.
9334 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
9335 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9336 * sysdeps/i386/fpu/s_fdim.c: Likewise.
9337 * sysdeps/i386/fpu/s_logbl.c: Likewise.
9338 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9339 * sysdeps/i386/fpu/s_significandl.c: Likewise.
9340 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
9341 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
9342 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9343 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9344 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9345 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9346 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9347 * sysdeps/ieee754/k_standardf.c: Likewise.
9348 * sysdeps/ieee754/k_standardl.c: Likewise.
9349 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9351 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9353 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9354 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9355 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9356 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9357 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9358 * sysdeps/ieee754/s_signgam.c: Likewise.
9359 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9360 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
9361 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
9362 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9363 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9364 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9365 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9366 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9367 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9368 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9369 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9370 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9371 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9372 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9373 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9374 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9375 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9376 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9377 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9378 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9379 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9380 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9381 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9382 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9383 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9384 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9385 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9386 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9387 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9388 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9389 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9390 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9391 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9392 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9393 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9394 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9395 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
9397 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9399 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
9402 * sysdeps/i386/dl-cet.c: Removed.
9403 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
9405 (_dl_runtime_profile_shstk): Likewise.
9406 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
9407 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
9409 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9412 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
9413 do_test_with_invalid_iov): New tests.
9414 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
9415 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
9416 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
9418 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9419 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9420 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9422 2018-09-27 Joseph Myers <joseph@codesourcery.com>
9424 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9425 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
9426 (MATH_REDIRECT_BINARY_ARGS): New macro.
9427 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9428 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
9429 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
9431 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
9432 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9433 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
9434 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9435 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9436 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9437 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
9442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
9444 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
9445 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
9446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
9448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
9450 * sysdeps/generic/math_private_calls.h
9451 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
9452 Do not declare and define as an inline function.
9453 * math/divtc3.c (__divtc3): Use copysign functions instead of
9454 __copysign variants.
9455 * math/multc3.c (__multc3): Likewise.
9456 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
9457 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
9458 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9459 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9461 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9462 (__ieee754_yn): Likewise.
9463 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9464 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
9465 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9466 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9467 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
9469 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9470 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9472 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9474 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9476 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9477 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9479 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9480 (__ieee754_ynf): Likewise.
9481 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9482 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9483 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9484 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9486 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9487 (__ieee754_ynl): Likewise.
9488 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9489 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9490 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9492 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9493 (__ieee754_ynl): Likewise.
9494 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
9495 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9496 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9497 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9499 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9501 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
9502 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9503 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
9504 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9505 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9507 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9508 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
9509 using MATH_REDIRECT.
9510 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
9512 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
9513 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9514 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9515 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
9516 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9517 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
9520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
9521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
9522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
9523 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9524 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9525 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9526 (round): Redirect to __round.
9527 (__roundl): Call round instead of __round.
9528 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
9530 [_ARCH_PWR5X] (__roundf): Likewise.
9531 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
9532 functions instead of __round variants.
9533 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9534 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9536 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9538 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9540 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
9541 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
9543 (__ieee754_expl): Call roundl instead of __roundl.
9545 2018-09-27 Andreas Schwab <schwab@suse.de>
9548 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
9549 (do_test): Make st1 static.
9551 2018-09-26 Andreas Schwab <schwab@suse.de>
9554 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
9555 * elf/Makefile (tests): Add tst-unwind-ctor.
9556 (modules-names): Add tst-unwind-ctor-lib.
9557 ($(objpfx)tst-unwind-ctor): Depend on
9558 $(objpfx)tst-unwind-ctor-lib.so.
9560 2018-09-26 Joseph Myers <joseph@codesourcery.com>
9562 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
9563 file. Most contents moved from ....
9564 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
9565 and include <bits/mman-map-flags-generic.h>.
9566 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9567 (sysdep_headers): Add bits/mman-map-flags-generic.h.
9568 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
9569 <bits/mman-map-flags-generic.h>.
9570 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
9571 macros defined in <bits/mman-map-flags-generic.h>.
9572 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
9573 <bits/mman-map-flags-generic.h>.
9574 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
9575 defined in <bits/mman-map-flags-generic.h>.
9577 2018-09-26 Andreas Schwab <schwab@suse.de>
9579 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
9582 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
9583 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9584 Fangrui Song <maskray@google.com>
9587 * config.make.in (have-textrel_ifunc): New define.
9588 * configure.ac: Add check if linker supports textrel relocation with
9590 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
9592 (CFLAGS-tst-ifunc-textrel.c): New rule.
9593 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
9594 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
9595 * elf/tst-ifunc-textrel.c: New file.
9597 2018-09-25 Joseph Myers <joseph@codesourcery.com>
9599 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9600 <bits/procfs-prregset.h>.
9601 (prgregset_t): Define using __prgregset_t.
9602 (prfpregset_t): Define using __prfpregset_t.
9603 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9604 (sysdep_headers): Add bits/procfs-prregset.h.
9605 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9606 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9607 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9608 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9610 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9611 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9612 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9614 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9615 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9616 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9617 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9618 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9619 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9620 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9621 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9622 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9623 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9624 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9625 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9626 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9627 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9628 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9629 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9630 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9631 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9632 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9633 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9634 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9635 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9636 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9637 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9639 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9640 AArch64 version. Include <bits/procfs.h>.
9641 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9642 (sysdep_headers): Add bits/procfs.h.
9643 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9644 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9645 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9646 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9647 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9648 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9649 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9650 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9651 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9652 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9653 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9654 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9655 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9656 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9657 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9658 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9659 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9661 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9663 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9666 2018-09-25 Arjun Shankar <arjun@redhat.com>
9668 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9669 (__gconv_max_path_elem_len): Likewise.
9670 (__gconv_nmodules): Likewise.
9671 (__gconv_get_path): Likewise.
9672 (path_elem): Move to ...
9673 * iconv/gconv_conf.c: ... here.
9674 (__gconv_get_path): Mark function static.
9675 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9676 * iconv/gconv_open.c: ... here.
9678 2018-09-24 Andreas Schwab <schwab@suse.de>
9680 * scripts/haveversions.awk: New file.
9681 * Makerules ($(common-objpfx)Versions.def)
9682 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9683 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9685 * Makeconfig ($(common-objpfx)Versions.def)
9686 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9687 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9689 ($(common-objpfx)Versions.mk): New rule. Include it.
9690 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9691 Emit error if build-obsolete-nsl = yes.
9692 * manual/install.texi (Configuring and compiling): Describe
9693 --enable-obsolete-nsl as unavaiable after version 2.28.
9694 * INSTALL: Regenerate.
9696 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9698 * NEWS: Add note about new TLE support on powerpc64le.
9699 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9700 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9702 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9703 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9704 * sysdeps/powerpc/powerpc32/sysdep.h,
9705 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9706 ABORT_TRANSACTION): Remove macros.
9707 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9708 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9709 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9711 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9712 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9714 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9716 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9719 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9720 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9721 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9722 which is the same as in it_IT.
9723 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9724 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9726 2018-09-20 Joseph Myers <joseph@codesourcery.com>
9728 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9729 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9730 using MATH_REDIRECT.
9731 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9733 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9734 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9735 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9736 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9737 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9738 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9743 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9744 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9745 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9746 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9747 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9748 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9749 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9750 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9751 (ceil): Redirect to __ceil.
9752 (floor): Redirect to __floor.
9753 (trunc): Redirect to __trunc.
9754 (__truncl): Call trunc instead of __trunc.
9755 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9757 [_ARCH_PWR5X] (__truncf): Likewise.
9758 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9759 trunc functions instead of __trunc variants.
9760 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9762 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9764 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9766 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9769 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9770 [__i586__ || __pentium__].
9771 [__i486__]: Handle explicitly.
9772 (HAS_CPUID): Define to 1 if above macros are undefined.
9773 (HAS_I586): Likewise.
9774 (HAS_I686): Likewise.
9776 2018-09-20 Florian Weimer <fweimer@redhat.com>
9778 * misc/tst-gethostid.c: New file.
9779 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9780 (tst-gethostid): Link with -ldl.
9782 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9784 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9785 value from gethostbyname_r.
9787 2018-09-19 Carlos O'Donell <carlos@redhat.com>
9789 * stdlib/tst-setcontext9.c (f1): Rename to...
9791 (f1b): New function implementing lower half of f1 in alternate stack.
9793 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9795 Fix mktime localtime offset confusion
9797 * include/time.h (__mktime_internal): The localtime offset is now
9798 of type long int instead of time_t. This is the longstanding type
9799 in glibc, and it is more than enough to represent difference
9800 between localtime and gmtime even if it is 32 bits and time_t is
9801 64. Changing it now will let us avoid an unnecessary change when
9802 time_t is widened to 64 bits on 32-bit platforms.
9803 * time/mktime-internal.h (mktime_offset_t): Now long int.
9805 Merge mktime, timegm from upstream Gnulib
9806 [BZ #23603][BZ #16346]
9807 This fixes some obscure problems with integer overflow.
9808 Although it looks scary, it is almost all a byte-for-byte copy
9809 from Gnulib, and the Gnulib code has been tested reasonably well.
9810 * include/intprops.h: New file, copied from Gnulib.
9811 * include/verify.h, time/mktime-internal.h:
9812 New tiny files, simplified from Gnulib.
9813 * time/mktime.c: Copy from Gnulib. This has the following changes:
9814 Do not include config.h if DEBUG_MKTIME is nonzero.
9815 Include stdbool.h, intprops.h, verify.h.
9816 Include string.h only if needed.
9817 Include stdlib.h on MS-Windows.
9818 Include mktime-internal.h.
9819 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9820 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9821 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9822 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9823 simplify later conditionals; default the others to zero. Use
9824 these conditionals to express only the code needed on the current
9825 platform. In uses of these conditionals, explicitly spell out how
9826 _LIBC affects things, so it’s easier to review from a glibc
9828 (WRAPV): Remove; no longer needed now that we have
9829 systematic overflow checking.
9830 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9831 compartmentalize tzset issues. Move system-dependent tzsettish
9832 code here from mktime.
9833 (verify): Remove; now done by verify.h. All uses changed.
9834 (long_int): Use a more-conservative definition, to avoid
9836 (SHR): Remove, replacing with ...
9837 (shr): New function, which means we needn’t worry about side
9838 effects in args, and conversion analysis is simpler.
9839 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9840 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9841 (time_t_avg, time_t_add_ok): Remove.
9842 (mktime_min, mktime_max): New constants.
9843 (leapyear, isdst_differ): Use bool for booleans.
9844 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9845 Use long_int, not time_t, for mktime differences.
9846 (long_int_avg): New function, replacing time_t_avg.
9847 INT_ADD_WRAPV replaces time_t_add_ok.
9848 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9850 (convert_time): New function.
9851 (ranged_convert): Use it.
9852 (__mktime_internal): Last arg now points to mktime_offset_t, not
9853 time_t. All uses changed. This is a no-op on glibc, where
9854 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9855 offset guess. Directly check for integer overflow instead of
9856 using a heuristic that works only 99.9...% of the time.
9857 Access *OFFSET only once, to avoid an unlikely race if the
9858 compiler delays a load and if this cascades into a signed integer
9860 (mktime): Move tzsettish code to my_tzset, and move
9861 localtime_offset to within mktime so that it doesn’t
9862 need a separate ifdef.
9863 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9864 instead of localtime.
9865 * time/timegm.c: Copy from Gnulib. This has the following changes:
9866 Include mktime-internal.h.
9867 [!_LIBC]: Include config.h and time.h. Do not include
9868 timegm.h or time_r.h. Make __mktime_internal a macro,
9869 and include mktime-internal.h to get its declaration.
9870 (timegm): Temporary is now mktime_offset_t, not time_t.
9871 This affects only Gnulib.
9873 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9876 * string/test-strstr.c (pr23637): New function.
9877 (test_main): Add tests with longer needles.
9878 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9879 * string/strstr.c (AVAILABLE): Likewise.
9881 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9883 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9885 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9887 * NEWS: Mention pow improvements.
9888 * math/Makefile (type-double-routines): Add e_pow_log_data.
9889 * sysdeps/generic/math_private.h (__exp1): Remove.
9890 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9891 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9892 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9894 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9895 (exp_inline): Remove.
9896 (__ieee754_exp): Only single double input is handled.
9897 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9898 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9899 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9900 (__pow_log_data): Define.
9901 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9902 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9903 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9904 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9906 (CFLAGS-e_pow-fma4.c): Likewise.
9908 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9910 Simplify tzfile fstat failure code
9912 * time/tzfile.c (__tzfile_read): Simplify slightly.
9914 Fix tzfile low-memory assertion failure
9916 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9917 when registering time zone abbreviations.
9919 2018-09-18 Joseph Myers <joseph@codesourcery.com>
9921 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9922 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9923 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9924 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9925 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9926 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9927 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9928 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9929 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9931 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9933 (__ceill): Call ceil instead of __ceil.
9934 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9936 (__floorl): Call floor instead of __floor.
9938 2018-09-17 Joseph Myers <joseph@codesourcery.com>
9940 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9941 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9942 using MATH_REDIRECT.
9943 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9945 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9946 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9947 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9948 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9949 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9950 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9951 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9952 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9957 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9958 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9959 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9961 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9962 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9963 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9965 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9966 functions instead of __ceil variants.
9967 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9968 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9970 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9972 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9973 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9975 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9976 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9979 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9981 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9982 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9983 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9984 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9985 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9986 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9987 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9988 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9989 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9990 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9991 (ILL_BADIADDR): Remove constant.
9992 (TRAP_BRANCH): Likewise.
9993 (TRAP_HWBKPT): Likewise.
9995 2018-09-14 Joseph Myers <joseph@codesourcery.com>
9998 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9999 Remove [_MIPS_SIM = _ABIN32] conditional case.
10000 (struct elf_prpsinfo): Likewise.
10003 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
10004 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
10005 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
10007 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
10008 elf_prpsinfo): Likewise.
10009 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
10010 elf_prpsinfo): Likewise.
10011 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
10014 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10015 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
10016 using MATH_REDIRECT.
10017 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
10019 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
10020 * sysdeps/alpha/fpu/s_rint.c: Likewise.
10021 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
10022 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10023 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10024 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10025 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
10026 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10027 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10028 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10029 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
10030 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
10031 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
10032 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
10033 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
10034 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10035 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10036 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
10037 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
10039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
10040 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
10041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
10042 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10043 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10044 * sysdeps/x86_64/fpu/math_private.h: Remove file.
10045 * math/e_scalb.c (invalid_fn): Use rint functions instead of
10047 * math/e_scalbf.c (invalid_fn): Likewise.
10048 * math/e_scalbl.c (invalid_fn): Likewise.
10049 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10051 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10053 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10054 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
10055 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10057 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10059 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10061 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
10062 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
10064 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10065 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
10067 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10068 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
10069 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10070 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
10071 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10072 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
10073 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10074 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
10075 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10076 && !NO_MATH_REDIRECT] (floor): Likewise.
10077 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
10079 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10082 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
10083 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10084 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10085 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10086 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
10087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
10088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
10089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
10090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
10091 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10092 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10093 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10094 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10095 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10096 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10097 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
10099 [_ARCH_PWR5X] (__floorf): Likewise.
10100 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
10102 [__SSE4_1__] (__floorf): Likewise.
10103 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
10104 instead of __floor variants.
10105 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
10106 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
10107 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
10108 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
10109 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
10110 * math/w_tgamma_compat.c (__tgamma): Likewise.
10111 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
10112 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
10113 * math/w_tgammal_compat.c (__tgammal): Likewise.
10114 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
10115 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10117 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10118 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
10119 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10120 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10122 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10123 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
10125 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10126 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
10128 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10129 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
10131 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10132 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10133 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10134 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
10135 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10136 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10138 2018-09-12 Joseph Myers <joseph@codesourcery.com>
10140 * elf/Makefile (modules-names-tests): New variable.
10142 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10144 * NEWS: Mention log2 improvements.
10145 * math/Makefile (type-double-routines): Add e_log2_data.
10146 * sysdeps/i386/fpu/e_log2_data.c: New file.
10147 * sysdeps/ia64/fpu/e_log2_data.c: New file.
10148 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
10149 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
10150 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
10151 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
10152 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
10154 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10156 * NEWS: Mention log improvement.
10157 * math/Makefile (type-double-routines): Add e_log_data.
10158 * sysdeps/i386/fpu/e_log_data.c: New file.
10159 * sysdeps/ia64/fpu/e_log_data.c: New file.
10160 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
10161 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
10162 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
10163 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
10164 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
10165 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
10167 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
10168 Xuepeng Guo <xuepeng.guo@intel.com>
10171 * sysdeps/i386/start.S: Include <sysdep.h>
10172 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
10173 enabled. Add cfi_undefined (eip).
10175 2018-09-11 Joseph Myers <joseph@codesourcery.com>
10177 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
10179 (EXTRACT_WORDS64): Likewise.
10180 (INSERT_WORDS64): Likewise.
10181 (GET_FLOAT_WORD): Likewise.
10182 (SET_FLOAT_WORD): Likewise.
10184 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
10186 (Config.build_gcc): Use --disable-libsanitizer for first GCC
10187 build, but not for second build if --full-gcc. Use
10188 --enable-languages=all for second build if --full-gcc.
10189 (get_parser): Add --full-gcc option.
10190 (main): Update call to Context.
10192 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
10195 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
10196 Single Quotation Mark).
10197 (thousands_sep): Likewise.
10198 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
10199 * localedata/locales/it_IT (thousands_sep): Use ".".
10200 (grouping): Use "3;3".
10202 2018-09-10 Joseph Myers <joseph@codesourcery.com>
10204 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10205 x86_64 and i686 configs using --enable-obsolete-rpc
10206 --enable-obsolete-nsl.
10208 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10210 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10212 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10214 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
10215 Increment size of new_argv by one.
10217 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
10220 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
10221 * localedata/locales/ar_IN (d_fmt): Likewise.
10222 * localedata/locales/bhb_IN (d_fmt): Likewise.
10223 * localedata/locales/bho_IN (d_fmt): Likewise.
10224 * localedata/locales/bn_BD (d_fmt): Likewise.
10225 * localedata/locales/bn_IN (d_fmt): Likewise.
10226 * localedata/locales/doi_IN (d_fmt): Likewise.
10227 * localedata/locales/gu_IN (d_fmt): Likewise.
10228 * localedata/locales/hi_IN (d_fmt): Likewise.
10229 * localedata/locales/hne_IN (d_fmt): Likewise.
10230 * localedata/locales/kn_IN (d_fmt): Likewise.
10231 * localedata/locales/mag_IN (d_fmt): Likewise.
10232 * localedata/locales/mai_IN (d_fmt): Likewise.
10233 * localedata/locales/mjw_IN (d_fmt): Likewise.
10234 * localedata/locales/ml_IN (d_fmt): Likewise.
10235 * localedata/locales/mni_IN (d_fmt): Likewise.
10236 * localedata/locales/mr_IN (d_fmt): Likewise.
10237 * localedata/locales/pa_IN (d_fmt): Likewise.
10238 * localedata/locales/raj_IN (d_fmt): Likewise.
10239 * localedata/locales/sat_IN (d_fmt): Likewise.
10240 * localedata/locales/sd_IN (d_fmt): Likewise.
10241 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
10242 * localedata/locales/ta_IN (d_fmt): Likewise.
10243 * localedata/locales/ta_LK (d_fmt): Likewise.
10244 * localedata/locales/tcy_IN (d_fmt): Likewise.
10245 * localedata/locales/ur_IN (d_fmt): Likewise.
10247 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
10248 * localedata/locales/ks_IN (d_fmt): Likewise.
10249 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
10251 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
10252 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
10253 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
10254 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
10256 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
10258 * NEWS: Mention exp and exp2 improvements.
10259 * math/Makefile (libm-support): Remove t_exp.
10260 (type-double-routines): Add math_err and e_exp_data.
10261 * sysdeps/aarch64/libm-test-ulps: Update.
10262 * sysdeps/arm/libm-test-ulps: Update.
10263 * sysdeps/i386/fpu/e_exp_data.c: New file.
10264 * sysdeps/i386/fpu/math_err.c: New file.
10265 * sysdeps/i386/fpu/t_exp.c: Remove.
10266 * sysdeps/ia64/fpu/e_exp_data.c: New file.
10267 * sysdeps/ia64/fpu/math_err.c: New file.
10268 * sysdeps/ia64/fpu/t_exp.c: Remove.
10269 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
10270 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
10271 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
10272 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
10273 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
10274 * sysdeps/ieee754/dbl-64/math_config.h: New file.
10275 * sysdeps/ieee754/dbl-64/math_err.c: New file.
10276 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
10277 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
10278 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
10279 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
10280 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
10281 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
10282 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
10283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10286 2018-09-05 Joseph Myers <joseph@codesourcery.com>
10288 * sysdeps/alpha/fpu/math_private.h: Remove.
10290 * sysdeps/generic/math_private.h
10291 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
10292 Move this inline function ....
10293 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
10294 * include/math.h [!_ISOMAC]: To here....
10296 2018-09-04 Joseph Myers <joseph@codesourcery.com>
10298 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
10300 [!FE_HAVE_ROUNDING_MODES]: And this code ....
10301 * include/fenv.h [!_ISOMAC]: ... to here.
10302 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
10303 (feraiseexcept): Likewise.
10304 * math/fromfp.h: Do not include <fenv_private.h>.
10305 * math/s_cexp_template.c: Likewise.
10306 * math/s_csin_template.c: Likewise.
10307 * math/s_csinh_template.c: Likewise.
10308 * math/s_ctan_template.c: Likewise.
10309 * math/s_ctanh_template.c: Likewise.
10310 * math/s_iseqsig_template.c: Likewise.
10311 * math/w_acos_compat.c: Likewise.
10312 * math/w_acosf_compat.c: Likewise.
10313 * math/w_acosl_compat.c: Likewise.
10314 * math/w_asin_compat.c: Likewise.
10315 * math/w_asinf_compat.c: Likewise.
10316 * math/w_asinl_compat.c: Likewise.
10317 * math/w_j0_compat.c: Likewise.
10318 * math/w_j0f_compat.c: Likewise.
10319 * math/w_j0l_compat.c: Likewise.
10320 * math/w_j1_compat.c: Likewise.
10321 * math/w_j1f_compat.c: Likewise.
10322 * math/w_j1l_compat.c: Likewise.
10323 * math/w_jn_compat.c: Likewise.
10324 * math/w_jnf_compat.c: Likewise.
10325 * math/w_log10_compat.c: Likewise.
10326 * math/w_log10f_compat.c: Likewise.
10327 * math/w_log10l_compat.c: Likewise.
10328 * math/w_log2_compat.c: Likewise.
10329 * math/w_log2f_compat.c: Likewise.
10330 * math/w_log2l_compat.c: Likewise.
10331 * math/w_log_compat.c: Likewise.
10332 * math/w_logf_compat.c: Likewise.
10333 * math/w_logl_compat.c: Likewise.
10334 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10335 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10336 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10337 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10338 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10339 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10340 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10341 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10342 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10343 * sysdeps/ieee754/k_standardl.c: Likewise.
10344 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10345 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10346 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10347 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10348 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10349 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10350 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10351 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10352 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10353 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10354 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10355 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10356 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10357 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10358 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10359 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10360 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10361 * math/w_ilogb_template.c: Include <fenv.h> instead of
10363 * math/w_llogb_template.c: Likewise.
10364 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10365 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10367 2018-09-03 Joseph Myers <joseph@codesourcery.com>
10369 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
10370 * math/fromfp.h: Include <fenv_private.h>.
10371 * math/math-narrow.h: Likewise.
10372 * math/s_cexp_template.c: Likewise.
10373 * math/s_csin_template.c: Likewise.
10374 * math/s_csinh_template.c: Likewise.
10375 * math/s_ctan_template.c: Likewise.
10376 * math/s_ctanh_template.c: Likewise.
10377 * math/s_iseqsig_template.c: Likewise.
10378 * math/w_acos_compat.c: Likewise.
10379 * math/w_acosf_compat.c: Likewise.
10380 * math/w_acosl_compat.c: Likewise.
10381 * math/w_asin_compat.c: Likewise.
10382 * math/w_asinf_compat.c: Likewise.
10383 * math/w_asinl_compat.c: Likewise.
10384 * math/w_ilogb_template.c: Likewise.
10385 * math/w_j0_compat.c: Likewise.
10386 * math/w_j0f_compat.c: Likewise.
10387 * math/w_j0l_compat.c: Likewise.
10388 * math/w_j1_compat.c: Likewise.
10389 * math/w_j1f_compat.c: Likewise.
10390 * math/w_j1l_compat.c: Likewise.
10391 * math/w_jn_compat.c: Likewise.
10392 * math/w_jnf_compat.c: Likewise.
10393 * math/w_llogb_template.c: Likewise.
10394 * math/w_log10_compat.c: Likewise.
10395 * math/w_log10f_compat.c: Likewise.
10396 * math/w_log10l_compat.c: Likewise.
10397 * math/w_log2_compat.c: Likewise.
10398 * math/w_log2f_compat.c: Likewise.
10399 * math/w_log2l_compat.c: Likewise.
10400 * math/w_log_compat.c: Likewise.
10401 * math/w_logf_compat.c: Likewise.
10402 * math/w_logl_compat.c: Likewise.
10403 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10404 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10405 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10406 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10407 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10408 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10409 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10410 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10411 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10412 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10413 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10414 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10418 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10419 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10420 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10421 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10422 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10423 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10424 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10425 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10426 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10427 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10428 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10429 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10430 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10431 * sysdeps/ieee754/float128/float128_private.h: Likewise.
10432 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10433 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10434 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10435 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10436 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10437 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10438 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10439 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10440 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10441 * sysdeps/ieee754/k_standardl.c: Likewise.
10442 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10443 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10444 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10445 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10446 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10447 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10448 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10449 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10450 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10452 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10453 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10454 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10455 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10456 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10457 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10458 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10459 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10460 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10461 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10462 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10463 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10464 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10465 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10466 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10467 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10468 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10469 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10470 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10471 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10472 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10473 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10474 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10475 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10476 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10477 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10478 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10479 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10480 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10481 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10482 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10483 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10484 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10485 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10486 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10487 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10488 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10489 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10490 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10491 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10492 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10493 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10494 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10495 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10496 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10497 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10498 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10499 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10500 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10501 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10502 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10503 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10504 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10505 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10506 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10507 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10508 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10509 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10510 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10511 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10512 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10514 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10517 * include/stdio.h (__libc_fatal): Mention newline in comment.
10518 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
10519 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
10520 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10521 * nss/nsswitch.c (__nss_next2): Likewise.
10522 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
10523 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
10524 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
10525 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10526 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
10527 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
10528 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
10529 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
10530 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
10531 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
10532 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
10533 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10534 (__netlink_assert_response): Likewise.
10536 2018-08-31 Joseph Myers <joseph@codesourcery.com>
10538 * conform/glibcconform.py: New file.
10539 * conform/list-header-symbols.py: Likewise.
10540 * conform/list-header-symbols.pl: Remove.
10541 * conform/Makefile (tests-special): Only add linknamespace tests
10543 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
10545 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
10548 * support/Makefile (libsupport-routines): Add
10549 support_copy_file_range and xcopy_file_range.
10550 * support/support.h: Include <sys/types.h>.
10551 (support_copy_file_range): New prototype.
10552 * support/support_copy_file_range.c: New file. Copied and
10553 modified from io/copy_file_range-compat.c.
10554 * support/test-container.c (copy_one_file): Call xcopy_file_rang
10555 instead of copy_file_range.
10556 * support/xcopy_file_range.c: New file.
10557 * support/xunistd.h (xcopy_file_range): New prototype.
10559 2018-08-30 Carlos O'Donell <carlos@redhat.com>
10561 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
10562 xpthread_create and xpthread_join.
10564 2018-08-30 Florian Weimer <fweimer@redhat.com>
10566 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
10568 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
10570 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
10573 2018-08-29 Joseph Myers <joseph@codesourcery.com>
10575 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
10576 and minus_oflow as non-finite.
10578 2018-08-28 Joseph Myers <joseph@codesourcery.com>
10580 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
10581 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
10582 moved to fenv_private.h except for ...
10583 (TOINT_INTRINSICS): Kept in math_private.h.
10584 (roundtoint): Likewise.
10585 (converttoint): Likewise.
10586 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
10587 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10588 * sysdeps/arm/math_private.h: Remove.
10589 * sysdeps/generic/fenv_private.h: New file. Contents moved from
10591 * sysdeps/generic/math_private.h: ... this file. Include
10592 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
10593 Include <fenv_private.h>. Remove functions and macros moved to
10595 * sysdeps/i386/fpu/math_private.h: Remove.
10596 * sysdeps/mips/math_private.h: Move to ....
10597 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
10598 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
10599 [__mips_hard_float] conditional. Include next <fenv_private.h>.
10600 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
10601 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10602 * sysdeps/powerpc/fpu/math_private.h: Do not include
10604 * sysdeps/riscv/rvf/math_private.h: Move to ....
10605 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10606 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10608 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10609 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10610 * sysdeps/sparc/fpu/math_private.h: Remove.
10611 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10612 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10613 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10615 * sysdeps/x86_64/fpu/math_private.h: Do not include
10616 <sysdeps/i386/fpu/fenv_private.h>.
10618 2018-08-28 Florian Weimer <fweimer@redhat.com>
10621 * posix/tst-regcomp-truncated.c: New file.
10622 * posix/Makefile (tests): Add it.
10623 (tst-regcomp-truncated.out): Depend on generated locales.
10625 2018-08-28 Florian Weimer <fweimer@redhat.com>
10627 * support/test-container.c (main): Treat unshare failure with
10628 EPERM as an unsupported test.
10630 2018-08-28 Florian Weimer <fweimer@redhat.com>
10633 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10634 * nscd/netgroupcache.c
10635 (addgetnetgrentX): Add tofreep parameter. Do not free
10636 heap-allocated buffer.
10637 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10638 (addgetnetgrentX_ignore): New function.
10639 (addgetnetgrent): Call it.
10640 (readdgetnetgrent): Likewise.
10642 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10644 * string/memmem.c: Use memcmp for first match.
10646 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10649 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10651 2018-08-27 DJ Delorie <dj@redhat.com>
10653 * support/Makefile (others): Don't list programs explicitly as a
10654 dependency of "others".
10656 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10658 * sysdeps/generic/math-tests-trap-force.h: New file.
10659 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10660 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10661 * sysdeps/powerpc/math-tests.h: Remove file.
10662 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10664 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10665 Torvald Riegel <triegel@redhat.com>
10668 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10669 Update r to include the set wake-request flag if waiters are
10670 remaining after spinning.
10672 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10674 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10676 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10679 regex: fix uninitialized memory access
10680 I introduced this bug into gnulib in commit
10681 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10682 eventually it was merged into glibc. The bug was found by
10683 project-repo <bugs@feusi.co> and reported here:
10684 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10685 Diagnosis and draft fix reported by Assaf Gordon here:
10686 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10687 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10688 * posix/regex_internal.c (build_wcs_upper_buffer):
10689 Fix bug when mbrtowc returns 0.
10691 2018-08-24 Carlos O'Donell <carlos@redhat.com>
10693 * po/be.po: Update translation.
10695 2018-08-24 DJ Delorie <dj@delorie.com>
10697 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10700 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10703 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10704 create temporary files in source tree.
10706 2018-08-24 Joseph Myers <joseph@codesourcery.com>
10708 * sysdeps/generic/math-tests-trap.h: New file.
10709 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10710 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10711 * sysdeps/aarch64/math-tests.h: Remove file.
10712 * sysdeps/arm/math-tests.h: Likewise.
10713 * sysdeps/riscv/math-tests.h: Likewise.
10714 * sysdeps/aarch64/math-tests-trap.h: New file.
10715 * sysdeps/arm/math-tests-trap.h: Likewise.
10716 * sysdeps/riscv/math-tests-trap.h: Likewise.
10718 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10720 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10721 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10722 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10723 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10724 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10725 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10726 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10727 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10728 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10729 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10730 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10731 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10732 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10733 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10734 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10735 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10736 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10737 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10739 2018-08-23 Joseph Myers <joseph@codesourcery.com>
10741 * sysdeps/generic/math-tests-exceptions.h: New file.
10742 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10743 (EXCEPTION_TESTS_float): Do not define here.
10744 (EXCEPTION_TESTS_double): Likewise.
10745 (EXCEPTION_TESTS_long_double): Likewise.
10746 (EXCEPTION_TESTS_float128): Likewise.
10747 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10749 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10750 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10751 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10752 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10753 * sysdeps/mips/math-tests.h: Likewise.
10754 * sysdeps/nios2/math-tests.h: Likewise.
10755 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10756 (EXCEPTION_TESTS_float): Do not define here.
10757 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10758 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10759 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10761 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10763 * NEWS: Move optimized sinf entry to 2.29.
10765 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10767 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10769 2018-08-22 DJ Delorie <dj@redhat.com>
10771 * Makefile (testroot.pristine): New rules to initialize the
10772 test-in-container "testroot".
10773 * Makerules (all-testsuite): Add tests-container.
10774 * Rules (tests-expected): Add tests-container.
10775 (binaries-all-tests): Likewise.
10776 (tests-container): New, run these tests in the testroot container.
10777 * support/Makefile (others): Add *-container, support_paths.c,
10778 xmkdirp, and links-dso-program.
10779 * support/links-dso-program-c.c: New.
10780 * support/links-dso-program.cc: New.
10781 * support/test-container.c: New.
10782 * support/shell-container.c: New.
10783 * support/echo-container.c: New.
10784 * support/true-container.c: New.
10785 * support/xmkdirp.c: New.
10786 * support/xsymlink.c: New.
10787 * support/support_paths.c: New.
10788 * support/support.h: Add support paths prototypes.
10789 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10791 * nss/tst-nss-test3.c: Convert to test-in-container.
10792 * nss/tst-nss-test3.root/: New.
10794 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10796 regex: port Gnulib code to z/OS POSIX environment
10797 Problem reported by Arnold Robbins in:
10798 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10799 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10802 2018-08-22 Joseph Myers <joseph@codesourcery.com>
10804 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10805 (ROUNDING_TESTS_double): Remove.
10806 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10807 (ROUNDING_TESTS_double): Remove.
10808 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10809 (ROUNDING_TESTS_double): Remove.
10810 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10811 (ROUNDING_TESTS_float): Remove.
10812 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10813 (ROUNDING_TESTS_float): Remove.
10814 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10815 (ROUNDING_TESTS_float): Remove.
10816 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10817 !TEST_MATHVEC here.
10818 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10819 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10821 * sysdeps/generic/math-tests-rounding.h: New file.
10822 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10823 (ROUNDING_TESTS_float): Do not define here.
10824 (ROUNDING_TESTS_double): Likewise.
10825 (ROUNDING_TESTS_long_double): Likewise.
10826 (ROUNDING_TESTS_float128): Likewise.
10827 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10828 (ROUNDING_TESTS_double): Undefine before defining.
10829 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10830 (ROUNDING_TESTS_double): Undefine before defining.
10831 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10832 (ROUNDING_TESTS_double): Undefine before defining.
10833 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10834 (ROUNDING_TESTS_float): Undefine before defining.
10835 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10836 (ROUNDING_TESTS_float): Undefine before defining.
10837 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10838 (ROUNDING_TESTS_float): Undefine before defining.
10839 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10840 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10842 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10843 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10844 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10845 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10846 (ROUNDING_TESTS_float): Do not define here.
10847 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10848 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10849 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10850 (ROUNDING_TESTS_float): Likewise.
10851 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10852 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10853 * sysdeps/mips/math-tests.h [__mips_soft_float]
10854 (ROUNDING_TESTS_float): Likewise.
10855 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10856 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10857 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10858 (ROUNDING_TESTS_double): Likewise.
10859 (ROUNDING_TESTS_long_double): Likewise.
10861 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
10863 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10864 (PF_XDP): New macro.
10865 (AF_XDP): New macro.
10866 (SOL_XDP): New macro.
10868 2018-08-21 Joseph Myers <joseph@codesourcery.com>
10870 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10871 (TCP_INQ): Likewise.
10872 (TCP_CM_INQ): Likewise.
10873 (TCP_REPAIR_ON): Likewise.
10874 (TCP_REPAIR_OFF): Likewise.
10875 (TCP_REPAIR_OFF_NO_WP): Likewise.
10876 (struct tcp_zerocopy_receive): New type.
10878 2018-08-21 Florian Weimer <fweimer@redhat.com>
10880 * support/support.h (support_descriptor_supports_holes): Declare.
10881 * support/Makefile (libsupport-routines): Add
10882 support_descriptor_supports_holes.
10883 * support/support_descriptor_supports_holes.c: New file.
10884 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10885 and stop testing if holes are not supported.
10886 * io/test-lfs.c (do_prepare): Likewise.
10887 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10889 * timezone/tst-tzset.c (create_tz_file): Likewise.
10890 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10892 (do_prepare): Set it.
10893 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10895 2018-08-21 Florian Weimer <fweimer@redhat.com>
10898 * Makeconfig (+cflags): Do not sort (and deduplicate).
10900 2018-08-21 Florian Weimer <fweimer@redhat.com>
10902 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10903 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10905 2018-08-20 Florian Weimer <fweimer@redhat.com>
10907 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10908 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10910 2018-08-20 Joseph Myers <joseph@codesourcery.com>
10912 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10913 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10914 and ssi_arch members.
10916 * elf/elf.c (NT_VMCOREDD): New macro.
10917 (AT_MINSIGSTKSZ): Likewise.
10919 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10922 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10923 s_cosf-ppc64 and s_cosf-power8.
10924 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10925 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10926 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10927 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10934 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10935 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10937 2018-08-17 Florian Weimer <fweimer@redhat.com>
10939 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10941 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10943 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10945 2018-08-16 Florian Weimer <fweimer@redhat.com>
10947 * configure.ac: Add --with-nonshared-cflags option.
10948 * config.make.in (extra-nonshared-cflags): Set variable.
10949 * Makeconfig (CFLAGS-.oS): Use it.
10950 * manual/install.texi (Configuring and compiling): Document
10951 --with-nonshared-cflags.
10952 * configure: Regenerate.
10953 * INSTALL: Likewise.
10955 2018-08-16 Florian Weimer <fweimer@redhat.com>
10957 * Makeconfig (ASFLAGS): Always append required assembler flags.
10959 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
10961 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10962 (malloc_consolidate): Likewise.
10964 2018-08-16 Pochang Chen <johnchen902@gmail.com>
10966 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10968 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10970 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10973 * benchtests/bench-strlen.c: Print performance numbers in json.
10975 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10977 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10978 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10979 only for little endian.
10980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10981 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10982 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10983 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10984 Add check for little endian.
10985 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10986 (__strcmp_power9): Add check for little endian.
10987 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10988 Add check for little endian.
10989 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10990 (__strncmp_power9): Add check for little endian.
10991 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10992 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10993 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10994 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10995 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10997 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10999 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
11000 [!STRLEN](STRLEN): Set to __strlen.
11001 * sysdeps/aarch64/multiarch/strlen.c: New file.
11002 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
11003 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
11004 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
11005 (__libc_ifunc_impl_list): Add strlen.
11006 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
11007 strlen_generic and strlen_asimd.
11009 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11011 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
11012 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
11013 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11015 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11017 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
11019 2018-08-14 Florian Weimer <fweimer@redhat.com>
11022 * include/stdio.h (__vfxprintf): Declare.
11023 * stdio-common/fxprintf.c (__vfxprintf): New function.
11024 (__fxprintf): Call it.
11025 * misc/err.c (convert_and_print): Remove function.
11026 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
11027 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
11028 * misc/Makefile (tests): Add tst-warn-wide.
11029 * misc/tst-warn-wide.c: New file.
11031 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
11032 Szabolcs Nagy <szabolcs.nagy@arm.com>
11034 * NEWS: Mention sinf, cosf, sincosf.
11035 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
11036 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
11037 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
11038 constants rather than including generic sincosf.h.
11039 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
11040 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
11041 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
11042 (reduced_cos): Remove.
11043 (sinf_poly): New function.
11044 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
11046 2018-08-14 Florian Weimer <fweimer@redhat.com>
11050 * nss/nss_files/files-alias.c (get_next_alias): During :include:
11051 processing, bail out if no room, and close the stream before
11053 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
11054 (tst-nss-files-alias-leak): Link with libdl.
11055 (tst-nss-files-alias-leak.out): Depend on nss_files.
11057 * nss/tst-nss-files-alias-leak.c: New file.
11059 2018-08-14 Florian Weimer <fweimer@redhat.com>
11061 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
11062 server_user, stat_user.
11064 2018-08-13 Joseph Myers <joseph@codesourcery.com>
11066 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11068 (io_pgetevents): New syscall.
11071 * manual/install.texi (Configuring and compiling): Do not list
11072 tools used for testing pretty printers here.
11073 (Tools for Compilation): List Python, PExpect and GDB here.
11074 Update descriptions of uses of Perl and Python.
11075 * INSTALL: Regenerate.
11077 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11080 2018-08-13 Florian Weimer <fweimer@redhat.com>
11082 * misc/error.c (error): Add missing va_end call.
11083 (error_at_line): Likewise.
11085 2018-08-13 Florian Weimer <fweimer@redhat.com>
11087 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
11089 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11091 * benchtests/scripts/benchout.schema.json (properties): Add
11094 * benchtests/bench-skeleton.c (main): Add duration and
11095 iterations attributes.
11097 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
11099 regex: Gnulib unibyte RRI uses bytes not chars
11100 Adjust the non-glibc code to agree with what Gawk needs for
11101 rational range interpretation (RRI) for regular expression ranges.
11102 In unibyte locales, Gawk wants ranges to use the underlying byte
11103 rather than the character code point. This change does not affect
11105 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
11106 In unibyte locales, use the byte value rather than
11107 running it through btowc.
11109 2018-08-10 Joseph Myers <joseph@codesourcery.com>
11111 * sysdeps/generic/math-tests-snan.h: New file.
11112 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
11113 (SNAN_TESTS_float): Do not define here.
11114 (SNAN_TESTS_double): Likewise.
11115 (SNAN_TESTS_long_double): Likewise.
11116 (SNAN_TESTS_float128): Likewise.
11117 * sysdeps/i386/fpu/math-tests-snan.h: New file.
11118 * sysdeps/i386/fpu/math-tests.h: Remove file.
11119 * sysdeps/ia64/math-tests-snan.h: New file.
11120 * sysdeps/ia64/math-tests.h: Remove file.
11121 * sysdeps/x86/math-tests.h: Likewise.
11122 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
11124 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11125 Szabolcs Nagy <szabolcs.nagy@arm.com>
11127 * math/Makefile: Add s_sincosf_data.c.
11128 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
11129 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
11130 (sincosf_poly): Likewise.
11131 (reduce_small): Likewise.
11132 (reduce_large): Likewise.
11133 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
11134 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
11135 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
11136 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
11138 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11139 Szabolcs Nagy <szabolcs.nagy@arm.com>
11141 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
11142 (converttoint): Use lround.
11143 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
11144 document the semantics when TOINT_INTRINSICS is set.
11145 (converttoint): Likewise.
11146 (TOINT_RINT): Remove.
11147 (TOINT_SHIFT): Remove.
11148 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
11151 2018-08-10 Florian Weimer <fweimer@redhat.com>
11154 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
11156 (__old_getdents64): Use getdents64. Convert entries without
11158 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
11159 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
11160 tst-readdir64-compat.
11162 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11164 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
11167 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11169 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
11170 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
11171 code to s390x-mcount.h and #include it.
11172 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
11173 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11176 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11178 * stdlib/Versions: Remove __fentry__.
11179 * sysdeps/i386/Versions: Add __fentry__.
11180 * sysdeps/x86_64/Versions: Add __fentry__.
11182 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11184 * sysdeps/s390/Makefile: Register the new tests.
11185 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
11186 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
11187 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
11188 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
11189 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
11190 * sysdeps/s390/tst-dl-runtime.c: New file.
11192 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11194 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11197 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11199 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11202 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11204 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11207 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11209 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11212 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11214 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11215 Use symbolic offsets for stack variables.
11217 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11219 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11220 Use symbolic offsets for stack variables.
11222 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11224 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11225 Use symbolic offsets for stack variables.
11227 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11229 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11230 Use symbolic offsets for stack variables.
11232 2018-08-09 Joseph Myers <joseph@codesourcery.com>
11234 * math/gen-libm-test.py: New file.
11235 * math/gen-libm-test.pl: Remove.
11236 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
11237 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
11239 ($(libm-test-c-noauto-obj)): Likewise.
11240 ($(libm-test-c-auto-obj)): Likewise.
11241 ($(libm-test-c-narrow-obj)): Likewise.
11242 (regen-ulps): Likewise.
11243 * math/README.libm-test: Update references to gen-libm-test.pl.
11244 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
11245 referencing gen-libm-test.pl.
11246 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
11247 * math/libm-test-support.c: Likewise.
11248 * math/libm-test-support.h: Likewise.
11249 * sysdeps/generic/libm-test-ulps: Likewise.
11251 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
11253 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
11256 2018-08-08 Joseph Myers <joseph@codesourcery.com>
11258 * math/libm-test-nextdown.inc (do_test): Move comment to ....
11259 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
11261 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11263 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
11265 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
11266 __pthread_setspecific): Add hidden proto.
11267 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
11268 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
11270 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11272 * benchtests/bench-string.h (buf1_size, buf2_size): New
11274 (init_sizes): New function.
11275 (test_init): Use it.
11276 (alloc_buf, exit_error): New functions.
11277 (alloc_bufs): Use ALLOC_BUF.
11278 (realloc_bufs): Remove.
11279 * benchtests/bench-memcmp.c (do_test): Adjust.
11280 * benchtests/bench-memset-large.c (do_test): Likewise.
11281 * benchtests/bench-memset-walk.c (do_test): Likewise.
11282 * benchtests/bench-memset.c (do_test): Likewise.
11283 * benchtests/bench-strncmp.c (do_test): Likewise.
11285 2018-08-06 Andreas Schwab <schwab@suse.de>
11287 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
11288 of CONST_THREAD_AREA.
11290 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
11292 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
11293 (STATE_SAVE_MASK): Likewise.
11294 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
11295 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
11296 (STATE_SAVE_MASK): Likewise.
11297 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
11298 instead of <cpu-features.h>.
11300 2018-08-03 DJ Delorie <dj@redhat.com>
11302 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
11303 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
11305 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
11307 2018-08-03 Joseph Myers <joseph@codesourcery.com>
11309 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
11310 after TEST_* calls.
11311 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
11312 * math/libm-test-logb.inc (logb_test_data): Likewise.
11314 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
11316 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
11317 * string/strstr.c (AVAILABLE): Likewise.
11319 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11321 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
11323 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
11324 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
11325 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
11327 2018-08-03 Carlos O'Donell <carlos@redhat.com>
11329 * po/be.po: Update translation.
11331 * po/be.po: Update translation.
11333 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11335 * sysdeps/x86/cpu-features-offsets.sym
11336 (rtld_global_ro_offsetof): Removed.
11337 (CPU_FEATURES_SIZE): Likewise.
11338 (CPUID_OFFSET): Likewise.
11339 (CPUID_SIZE): Likewise.
11340 (CPUID_EAX_OFFSET): Likewise.
11341 (CPUID_EBX_OFFSET): Likewise.
11342 (CPUID_ECX_OFFSET): Likewise.
11343 (CPUID_EDX_OFFSET): Likewise.
11344 (FAMILY_OFFSET): Likewise.
11345 (MODEL_OFFSET): Likewise.
11346 (FEATURE_OFFSET): Likewise.
11347 (FEATURE_SIZ): Likewise.
11348 (COMMON_CPUID_INDEX_1): Likewise.
11349 (COMMON_CPUID_INDEX_7): Likewise.
11350 (FEATURE_INDEX_1): Likewise.
11351 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
11353 2018-08-02 Carlos O'Donell <carlos@redhat.com>
11355 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
11356 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
11357 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
11358 (install-locales): Depend on install-locale-archive.
11359 (install-locale-archive): Define.
11360 (install-locale-files): Define.
11361 (build-one-locale): Define macro.
11362 * manual/install.texi (Running make install): Document.
11363 * manual/INSTALL: Regenerate.
11365 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
11367 * benchtests/scripts/compare_strings.py: Import traceback.
11368 (parse_file): Pretty-print error.
11370 * NEWS: Mention the change.
11371 * elf/dl-tunables.list: Rename tune namespace to cpu.
11372 * sysdeps/powerpc/dl-tunables.list: Likewise.
11373 * sysdeps/x86/dl-tunables.list: Likewise.
11374 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
11376 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
11377 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
11378 * manual/README.tunables: Likewise.
11379 * manual/tunables.texi: Likewise.
11380 * sysdeps/powerpc/cpu-features.c: Likewise.
11381 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
11382 (init_cpu_features): Likewise.
11383 * sysdeps/x86/cpu-features.c: Likewise.
11384 * sysdeps/x86/cpu-features.h: Likewise.
11385 * sysdeps/x86/cpu-tunables.c: Likewise.
11386 * sysdeps/x86_64/Makefile: Likewise.
11387 * sysdeps/x86/dl-cet.c: Likewise.
11389 2018-08-02 Joseph Myers <joseph@codesourcery.com>
11392 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
11393 [__mips_hard_float].
11394 (FE_UNDERFLOW): Likewise.
11395 (FE_OVERFLOW): Likewise.
11396 (FE_DIVBYZERO): Likewise.
11397 (FE_INVALID): Likewise.
11398 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
11399 (FE_TOWARDZERO): Define only if [__mips_hard_float].
11400 (FE_UPWARD): Likewise.
11401 (FE_DOWNWARD): Likewise.
11402 (__FE_UNDEFINED): Define if [!__mips_hard_float]
11403 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
11404 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
11405 [__mips_hard_float].
11406 (FP_ROUNDMODE): Likewise.
11407 (FP_RND_NEAREST): Likewise.
11408 (FP_RND_ZERO): Likewise.
11409 (FP_RND_PINF): Likewise.
11410 (FP_RND_MINF): Likewise.
11411 (FP_EX_INVALID): Likewise.
11412 (FP_EX_OVERFLOW): Likewise.
11413 (FP_EX_UNDERFLOW): Likewise.
11414 (FP_EX_DIVZERO): Likewise.
11415 (FP_EX_INEXACT): Likewise.
11416 (FP_INIT_ROUNDMODE): Likewise.
11417 * sysdeps/mips/nofpu/fesetenv.c: New file.
11418 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
11420 2018-08-01 Joseph Myers <joseph@codesourcery.com>
11422 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
11423 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
11424 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
11425 conditional on [FE_UPWARD].
11427 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
11429 regex: fix memory leak in Gnulib
11430 Problem and fix reported by Assaf Gordon in:
11431 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
11432 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
11433 range_ends members too, as they are defined in 'struct
11434 re_charset_t' even if not _LIBC. This affects only Gnulib.
11436 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
11438 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
11440 (get_common_indices): This.
11441 (init_cpu_features): Updated.
11443 2018-08-01 Joseph Myers <joseph@codesourcery.com>
11445 * sysdeps/generic/math-tests-snan-payload.h: New file.
11446 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
11447 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
11448 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
11449 * sysdeps/generic/math-tests.h: Include
11450 <math-tests-snan-payload.h>.
11451 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11452 * sysdeps/hppa/math-tests.h: Remove file.
11453 * sysdeps/mips/math-tests.h [!__mips_nan2008]
11454 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11455 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
11458 * sysdeps/generic/math-tests-snan-cast.h: New file.
11459 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
11460 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
11461 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
11462 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
11464 2018-08-01 Carlos O'Donel <carlos@redhat.com>
11466 * version.h (RELEASE): Set to "development".
11467 (VERSION): Set to "2.28.9000".
11468 * NEWS (2.29): New section.
11470 * version.h (RELEASE): Set to "stable".
11471 (VERSION): Set to "2.28".
11472 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
11473 * NEWS: Add the list of bugs fixed in 2.28.
11475 * po/ca.po: Update to latest version.
11476 * po/cs.po: Likewise
11477 * po/da.po: Likewise
11478 * po/el.po: Likewise
11479 * po/eo.po: Likewise
11480 * po/es.po: Likewise
11481 * po/fi.po: Likewise
11482 * po/fr.po: Likewise
11483 * po/gl.po: Likewise
11484 * po/hu.po: Likewise
11485 * po/ia.po: Likewise
11486 * po/id.po: Likewise
11487 * po/it.po: Likewise
11488 * po/ja.po: Likewise
11489 * po/ko.po: Likewise
11490 * po/lt.po: Likewise
11491 * po/nb.po: Likewise
11492 * po/nl.po: Likewise
11493 * po/pt_BR.po: Likewise
11494 * po/ru.po: Likewise
11495 * po/rw.po: Likewise
11496 * po/sk.po: Likewise
11497 * po/sl.po: Likewise
11498 * po/tr.po: Likewise
11499 * po/zh_CN.po: Likewise
11500 * po/zh_TW.po: Likewise
11502 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11504 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
11506 (init): ... before initializing libpthread.
11508 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
11509 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
11510 (__mach_setup_tls): ... new function.
11511 (mach_setup_tls): New alias.
11512 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
11513 __mach_setup_thread.
11514 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
11515 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
11516 * mach/Versions [libc] (mach_setup_tls): Add symbol.
11517 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
11519 2018-07-31 Carlos O'Donell <carlos@redhat.com>
11521 * manual/install.texi: Update versions.
11522 * INSTALL: Regenerate.
11524 * manual/contrib.texi (Contributors): Update contributions.
11526 2018-07-31 Carlos O'Donell <carlos@redhat.com>
11528 * po/be.po: Update translations.
11530 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11532 * sysdeps/sh/libm-test-ulps: Update.
11534 2018-07-30 Carlos O'Donell <carlos@redhat.com>
11536 * po/bg.po: Update translations.
11537 * po/de.po: Likewise.
11538 * po/hr.po: Likewise.
11539 * po/pt_BR.po: Likewise.
11540 * po/sv.po: Likewise.
11541 * po/vi.po: Likewise.
11543 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11546 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11547 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
11548 (CFLAGS-tst-cet-property-1.o): New.
11549 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
11550 ($(objpfx)tst-cet-property-2): Likewise.
11551 ($(objpfx)tst-cet-property-2.out): Likewise.
11552 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
11553 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
11554 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
11555 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
11556 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
11558 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11561 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
11563 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11565 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
11566 __sbrk): Do not set attribute_hidden.
11567 * sysdeps/mach/hurd/not-errno.h: New file.
11568 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11569 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
11571 2018-07-27 Carlos O'Donell <carlos@redhat.com>
11573 * po/uk.po: Update translations.
11574 * po/cs.po: Likewise.
11575 * po/pl.po: Likewise.
11577 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
11579 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
11580 parse beyond the note end.
11582 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11584 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
11585 kernel does not support OFD locks.
11586 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
11588 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11590 * sysdeps/mach/hurd/Versions (libc): Make __access and
11591 __access_noerrno external so they can override the ld symbols.
11592 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
11593 __writev, __open64, __access_noerrno extern so they can be overrided.
11594 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
11595 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11597 2018-07-26 Carlos O'Donell <carlos@redhat.com>
11599 * po/libc.pot: Regenerate.
11601 2018-07-26 Joseph Myers <joseph@codesourcery.com>
11603 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11605 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11608 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11610 (init_cpu_features): Call get_extended_indices for both Intel
11612 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11613 Remove "for AMD" comment.
11615 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11618 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11619 COMMON_CPUID_INDEX_80000001.
11621 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
11623 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11624 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11626 2018-07-26 Florian Weimer <fweimer@redhat.com>
11628 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11629 aliases for symbols not in the implementation namespace.
11631 2018-07-25 Carlos O'Donell <carlos@redhat.com>
11634 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11635 lowercase in LATIN script.
11636 * localedata/Makefile (test-input): Add en_US.UTF-8.
11637 * localedata/en_US.UTF-8.in: New file.
11638 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11639 and restore old tests.
11640 * posix/tst-regexloc.c (do_test): Add back range expression test.
11642 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11644 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11646 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11648 * nptl/threads.h: Move to ...
11649 * sysdeps/nptl/threads.h: ... here.
11650 * sysdeps/hurd/stdc-predef.h: New file.
11652 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11654 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11655 tst-cet-setcontext-1 if CET is enabled.
11656 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11657 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11659 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11661 * include/threads.h: Move to ...
11662 * sysdeps/nptl/threads.h: ... here.
11663 * sysdeps/htl/threads.h: New file.
11664 * conform/Makefile (linknamespace-libs-ISO11): Use
11665 static-thread-library instead of linking libpthread.
11666 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11668 2018-07-25 Florian Weimer <fweimer@redhat.com>
11670 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11671 nanoseconds into seconds.
11672 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11673 (do_test): Likewise.
11674 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11675 (do_test): Likewise. Avoid nanosecond overflow and spurious
11676 timeouts due to system load.
11677 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11678 (child_wait): Increment it.
11679 (do_test): Wait as long as necessary until all expected threads
11682 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11683 H.J. Lu <hongjiu.lu@intel.com>
11685 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11687 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11688 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11689 (__push___start_context): New.
11690 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11692 (__getcontext): Record the current shadow stack base. Save the
11693 caller's shadow stack pointer and base.
11694 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11695 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11696 (__push___start_context): New prototype.
11697 (__makecontext): Call __push___start_context to allocate a new
11698 shadow stack, push __start_context onto the new stack as well
11699 as the new shadow stack.
11700 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11702 (__setcontext): Restore the target shadow stack.
11703 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11705 (__swapcontext): Record the current shadow stack base. Save
11706 the caller's shadow stack pointer and base. Restore the target
11708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11709 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11710 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11712 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11714 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11715 tst-setcontext8 and tst-setcontext9.
11716 * stdlib/tst-setcontext6.c: New file.
11717 * stdlib/tst-setcontext7.c: Likewise.
11718 * stdlib/tst-setcontext8.c: Likewise.
11719 * stdlib/tst-setcontext9.c: Likewise.
11721 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11723 * stdlib/Makefile ((tests): Add tst-setcontext5.
11724 * stdlib/tst-setcontext5.c: New file.
11726 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11728 * stdlib/Makefile (tests): Add tst-setcontext4.
11729 * stdlib/tst-setcontext4.c: New file.
11731 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11733 * stdlib/Makefile (tests): Add tst-swapcontext1.
11734 * stdlib/tst-swapcontext1.c: New test.
11736 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11738 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11739 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11740 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11741 and tst-cet-legacy-4c.
11742 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11743 and tst-cet-legacy-mod-4.
11744 (CFLAGS-tst-cet-legacy-2.c): New.
11745 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11746 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11747 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11748 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11749 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11750 ($(objpfx)tst-cet-legacy-1): Likewise.
11751 ($(objpfx)tst-cet-legacy-2): Likewise.
11752 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11753 ($(objpfx)tst-cet-legacy-2a): Likewise.
11754 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11755 ($(objpfx)tst-cet-legacy-4): Likewise.
11756 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11757 ($(objpfx)tst-cet-legacy-4a): Likewise.
11758 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11759 (tst-cet-legacy-4a-ENV): Likewise.
11760 ($(objpfx)tst-cet-legacy-4b): Likewise.
11761 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11762 (tst-cet-legacy-4b-ENV): Likewise.
11763 ($(objpfx)tst-cet-legacy-4c): Likewise.
11764 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11765 (tst-cet-legacy-4c-ENV): Likewise.
11766 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11767 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11768 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11769 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11770 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11771 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11772 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11773 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11774 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11775 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11776 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11778 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11780 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11781 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11783 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11784 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11787 2018-07-25 Andreas Schwab <schwab@suse.de>
11790 * locale/weightwc.h (findidx): Handle the case where usrc is a
11791 prefix of cp but one character too short.
11793 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11795 * NEWS: Add ISO C threads addition.
11797 2018-07-24 Florian Weimer <fweimer@redhat.com>
11799 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11800 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11801 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11804 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11806 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11807 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11808 <sys/prctl.h> and <asm/prctl.h>.
11809 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11810 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11812 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11813 ARCH_CET_LEGACY_BITMAP.
11814 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11815 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11816 * sysdeps/x86/libc-start.c: Include <startup.h>.
11818 2018-07-24 Florian Weimer <fweimer@redhat.com>
11820 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11821 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11823 2018-07-24 Rical Jasan <rj@2c3t.io>
11824 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11825 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11828 * manual/debug.texi: Update adjacent chapter name.
11829 * manual/probes.texi: Likewise.
11830 * manual/threads.texi (ISO C Threads): New section.
11831 (POSIX Threads): Convert to a section.
11833 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11834 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11837 * nptl/Makefile (tests): Add new test files.
11838 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11839 * nptl/tst-cnd-basic.c: Likewise.
11840 * nptl/tst-cnd-broadcast.c: Likewise.
11841 * nptl/tst-cnd-timedwait.c: Likewise.
11842 * nptl/tst-mtx-basic.c: Likewise.
11843 * nptl/tst-mtx-recursive.c: Likewise.
11844 * nptl/tst-mtx-timedlock.c: Likewise.
11845 * nptl/tst-mtx-trylock.c: Likewise.
11846 * nptl/tst-thrd-basic.c: Likewise.
11847 * nptl/tst-thrd-detach.c: Likewise.
11848 * nptl/tst-thrd-sleep.c: Likewise.
11849 * nptl/tst-tss-basic.c: Likewise.
11851 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11854 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11855 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11857 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11858 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11859 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11860 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11861 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11862 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11863 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11864 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11865 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11866 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11867 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11868 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11876 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11877 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11878 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11879 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11880 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11881 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11882 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11883 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11884 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11885 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11886 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11887 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11888 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11890 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11891 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11892 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11893 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11894 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11895 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11896 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11897 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11898 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11899 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11900 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11901 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11908 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11909 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11910 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11911 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11912 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11913 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11914 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11915 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11918 * conform/data/threads.h-data (thread_local): New macro.
11919 (TSS_DTOR_ITERATIONS): Likewise.
11921 (tss_dtor_t): Likewise.
11922 (tss_create): New function.
11923 (tss_get): Likewise.
11924 (tss_set): Likewise.
11925 (tss_delete): Likewise.
11926 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11927 tss_get, and tss_set objects.
11928 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11929 * nptl/tss_create.c: New file.
11930 * nptl/tss_delete.c: Likewise.
11931 * nptl/tss_get.c: Likewise.
11932 * nptl/tss_set.c: Likewise.
11933 * sysdeps/nptl/threads.h (thread_local): New define.
11934 (TSS_DTOR_ITERATIONS): Likewise.
11935 (tss_t): New typedef.
11936 (tss_dtor_t): Likewise.
11937 (tss_create): New prototype.
11938 (tss_get): Likewise.
11939 (tss_set): Likewise.
11940 (tss_delete): Likewise.
11943 * conform/data/threads.h-data (cnd_t): New type.
11944 (cnd_init): New function.
11945 (cnd_signal): Likewise.
11946 (cnd_broadcast): Likewise.
11947 (cnd_wait): Likewise.
11948 (cnd_timedwait): Likewise.
11949 (cnd_destroy): Likewise.
11950 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11951 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11953 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11954 * nptl/cnd_broadcast.c: New file.
11955 * nptl/cnd_destroy.c: Likewise.
11956 * nptl/cnd_init.c: Likewise.
11957 * nptl/cnd_signal.c: Likewise.
11958 * nptl/cnd_timedwait.c: Likewise.
11959 * nptl/cnd_wait.c: Likewise.
11960 * sysdeps/nptl/threads.h (cnd_t): New type.
11961 (cnd_init): New prototype.
11962 (cnd_signa): Likewise.
11963 (cnd_broadcast): Likewise.
11964 (cnd_wait): Likewise.
11965 (cnd_timedwait): Likewise.
11966 (cnd_destroy): Likewise.
11969 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11970 (once_flag): New type.
11971 (call_once): New function.
11972 * nptl/Makefile (libpthread-routines): Add call_once object.
11973 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11974 * nptl/call_once.c: New file.
11975 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11976 (once_flag): New type.
11977 (call_once): New prototype.
11980 * conform/data/threads.h-data (mtx_plain): New constant.
11981 (mtx_recursive): Likewise.
11982 (mtx_timed): Likewise.
11984 (mtx_init): New function.
11985 (mtx_lock): Likewise.
11986 (mtx_timedlock): Likewise.
11987 (mtx_trylock): Likewise.
11988 (mtx_unlock): Likewise.
11989 (mtx_destroy): Likewise.
11990 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11991 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11992 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11993 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11994 * nptl/mtx_destroy.c: New file.
11995 * nptl/mtx_init.c: Likewise.
11996 * nptl/mtx_lock.c: Likewise.
11997 * nptl/mtx_timedlock.c: Likewise.
11998 * nptl/mtx_trylock.c: Likewise.
11999 * nptl/mtx_unlock.c: Likewise.
12000 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
12001 (mtx_recursive): Likewise.
12002 (mtx_timed): Likewise.
12004 (mtx_init): New prototype.
12005 (mtx_lock): Likewise.
12006 (mtx_timedlock): Likewise.
12007 (mtx_trylock): Likewise.
12008 (mtx_unlock): Likewise.
12009 (mtx_destroy): Likewise.
12012 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
12013 (linknamespace-libs-ISO11): Add libpthread.a.
12014 * conform/data/threads.h-data: New file: add C11 thrd_* types and
12016 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
12017 * nptl/Makefile (headers): Add threads.h.
12018 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
12019 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
12021 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
12022 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
12023 thrd_join, thrd_sleep, and thrd_yield symbols.
12024 * nptl/descr.h (struct pthread): Add c11 field.
12025 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
12026 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
12027 routine with expected function prototype.
12028 (__pthread_create_2_1): Add C11 threads check based on attribute
12030 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
12031 * nptl/thrd_create.c: New file.
12032 * nptl/thrd_current.c: Likewise.
12033 * nptl/thrd_detach.c: Likewise.
12034 * nptl/thrd_equal.c: Likewise.
12035 * nptl/thrd_exit.c: Likewise.
12036 * nptl/thrd_join.c: Likewise.
12037 * nptl/thrd_priv.h: Likewise.
12038 * nptl/thrd_sleep.c: Likewise.
12039 * nptl/thrd_yield.c: Likewise.
12040 * include/threads.h: Likewise.
12042 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12044 * bits/indirect-return.h: New file.
12045 * misc/sys/cdefs.h (__glibc_has_attribute): New.
12046 * sysdeps/x86/bits/indirect-return.h: Likewise.
12047 * stdlib/Makefile (headers): Add bits/indirect-return.h.
12048 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
12049 (swapcontext): Add __INDIRECT_RETURN.
12050 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
12051 (prepare_test_buffer): Use it.
12053 2018-07-24 Andreas Schwab <schwab@suse.de>
12056 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
12057 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
12059 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12061 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
12062 Redefine if shadow stack is enabled.
12063 (SYSCALL_ERROR_LABEL): Likewise.
12064 (__vfork): Pop shadow stack and jump back to to caller directly
12065 when shadow stack is in use.
12066 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
12067 Redefine if shadow stack is enabled.
12068 (SYSCALL_ERROR_LABEL): Likewise.
12069 (__vfork): Pop shadow stack and jump back to to caller directly
12070 when shadow stack is in use.
12072 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12074 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
12077 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
12080 2018-07-20 Joseph Myers <joseph@codesourcery.com>
12082 * scripts/build-many-glibcs.py (Context.checkout): Default
12083 binutils version to 2.31 branch.
12085 2018-07-20 Zong Li <zong@andestech.com>
12087 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
12088 URL of gcc's tarball.
12090 2018-07-20 Florian Weimer <fweimer@redhat.com>
12093 * posix/regcomp.c (build_equiv_class): When comparing weights, do
12094 not compare an extra byte after the end of the weights.
12096 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12098 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
12100 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
12102 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
12103 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
12104 * scripts/check-execstack.awk: Consider `xfail' variable containing a
12105 list of libraries whose stack executability is expected.
12106 * elf/Makefile ($(objpfx)check-execstack.out): Pass
12107 $(check-execstack-xfail) to check-execstack.awk through `xfail'
12109 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
12110 libc.so libpthread.so.
12112 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
12114 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
12116 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
12118 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
12120 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
12122 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12124 * benchtests/scripts/compare_bench.py (__main__): use the argparse
12125 library to improve command line parsing.
12126 (__main__): make schema file as optional parameter (--schema),
12127 defaulting to benchtests/scripts/benchout.schema.json.
12128 (main): move out of the parsing stuff to __main_ and leave it
12129 only as caller of main comparison functions.
12131 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
12133 * NEWS: Add a note for Intel CET status.
12134 * manual/install.texi: Likewise.
12135 * INSTALL: Regenerated.
12137 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
12140 * localedata/locales/oc_FR (mon): Rename to...
12141 (alt_mon): This, then update October (typo fix).
12142 (mon): New content (genitive case, month names preceded by
12146 * localedata/locales/oc_FR (abday): Update all items.
12147 (day): Update Wednesday and Saturday (typo fixes).
12148 (abmon): Update all items, except May.
12149 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
12150 (LC_IDENTIFICATION): Bump the revision number and date.
12151 Keep the "category" entries in alphabetic order.
12152 (LC_ADDRESS): Remove no longer needed comment.
12153 (LC_COLLATE): Use “copy "ca_ES"”.
12154 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
12157 2018-07-18 Joseph Myers <joseph@codesourcery.com>
12159 * grp/tst_fgetgrent.c: Include <unistd.h>.
12160 (main): Use mkstemp instead of tmpnam.
12161 * io/test-utime.c (main): Likewise.
12162 * posix/annexc.c (macrofile): Change to modifiable array.
12163 (main): Remove macrofile here.
12164 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12166 (check_header): Do not remove macrofile here.
12167 * posix/bug-getopt1.c: Include <stdlib.h>.
12168 (do_test): Use mkstemp instead of tmpnam.
12169 * posix/bug-getopt2.c: Include <stdlib.h>.
12170 (do_test): Use mkstemp instead of tmpnam.
12171 * posix/bug-getopt3.c: Include <stdlib.h>.
12172 (do_test): Use mkstemp instead of tmpnam.
12173 * posix/bug-getopt4.c: Include <stdlib.h>.
12174 (do_test): Use mkstemp instead of tmpnam.
12175 * posix/bug-getopt5.c: Include <stdlib.h>.
12176 (do_test): Use mkstemp instead of tmpnam.
12177 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
12178 (main): Use mkstemp instead of tmpnam.
12179 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
12180 (main): Use mkstemp instead of tmpnam.
12181 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
12182 (main): use mkstemp instead of tmpnam.
12183 * stdlib/isomac.c (macrofile): Change to modifiable array.
12184 (main): Remove macrofile here.
12185 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12187 (check_header): Do not remove macrofile here.
12189 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12191 * manual/tunables.texi: Document glibc.tune.x86_ibt and
12192 glibc.tune.x86_shstk.
12194 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12196 * NEWS: Mention --enable-cet.
12197 * manual/install.texi: Document --enable-cet.
12198 * INSTALL: Regenerated.
12200 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12202 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
12203 Add _CET_NOTRACK before indirect jump to jump table.
12205 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12207 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
12208 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12211 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12213 * sysdeps/i386/i686/multiarch/strcat-sse2.S
12214 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12217 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12219 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
12220 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12223 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12225 * sysdeps/i386/i686/multiarch/memcpy-ssse3.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/i386/i686/multiarch/memcpy-ssse3-rep.S
12232 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12234 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
12236 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12238 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
12239 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12242 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12244 * sysdeps/i386/i686/multiarch/memset-sse2.S
12245 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12248 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12250 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
12251 indirect jump to jump table.
12253 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12255 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
12256 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12258 (MEMCPY): Likewise.
12260 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12262 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
12263 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12265 (MEMCPY): Likewise.
12267 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12269 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12270 _CET_NOTRACK before indirect jump to jump table.
12272 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12274 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
12275 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12278 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12280 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
12281 indirect jump to jump table.
12283 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
12286 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
12287 (LOCALES): Likewise.
12288 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
12289 * localedata/locales/sah_RU: New file.
12290 * localedata/sah_RU.UTF-8.in: New file.
12292 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12294 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
12296 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12297 _CET_ENDBR to indirect jump targets and adjust jump destination
12299 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
12301 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12302 _CET_ENDBR to indirect jump targets and adjust jump destination
12304 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
12306 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
12307 _CET_ENDBR to indirect jump targets and adjust jump destination
12310 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12312 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12315 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12317 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
12319 (_dl_tlsdesc_undefweak): Likewise.
12320 (_dl_tlsdesc_dynamic): Likewise.
12321 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
12322 (_dl_tlsdesc_resolve_rel): Likewise.
12323 (_dl_tlsdesc_resolve_rela): Likewise.
12324 (_dl_tlsdesc_resolve_hold): Likewise.
12325 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
12326 (_dl_tlsdesc_undefweak): Likewise.
12327 (_dl_tlsdesc_dynamic): Likewise.
12328 (_dl_tlsdesc_resolve_rela): Likewise.
12329 (_dl_tlsdesc_resolve_hold): Likewise.
12331 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12333 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
12335 * sysdeps/x86_64/crti.S (_init): Likewise.
12338 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
12341 * localedata/locales/os_RU (mon): Rename to...
12343 (mon): Import from CLDR (genitive case).
12345 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12347 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
12348 cet-tunables.h> when CET is enabled.
12350 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
12353 * configure.ac: Add --enable-cet.
12354 * configure: Regenerated.
12355 * elf/Makefille (all-built-dso): Add a comment.
12356 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
12357 Include <dl-prop.h>.
12358 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
12360 * elf/dl-open.c: Include <dl-prop.h>.
12361 (dl_open_worker): Call _dl_open_check.
12362 * elf/rtld.c: Include <dl-prop.h>.
12363 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
12365 * sysdeps/generic/dl-prop.h: New file.
12366 * sysdeps/i386/dl-cet.c: Likewise.
12367 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
12368 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
12369 * sysdeps/x86/cet-tunables.h: Likewise.
12370 * sysdeps/x86/check-cet.awk: Likewise.
12371 * sysdeps/x86/configure: Likewise.
12372 * sysdeps/x86/configure.ac: Likewise.
12373 * sysdeps/x86/dl-cet.c: Likewise.
12374 * sysdeps/x86/dl-procruntime.c: Likewise.
12375 * sysdeps/x86/dl-prop.h: Likewise.
12376 * sysdeps/x86/libc-start.h: Likewise.
12377 * sysdeps/x86/link_map.h: Likewise.
12378 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
12380 (_dl_runtime_profile): Likewise.
12381 (_dl_runtime_resolve_shstk): New.
12382 (_dl_runtime_profile_shstk): Likewise.
12383 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
12385 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
12386 (CFLAGS-.os): Likewise.
12387 (CFLAGS-.op): Likewise.
12388 (CFLAGS-.oS): Likewise.
12389 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
12391 (tests-special): Add $(objpfx)check-cet.out.
12392 (cet-built-dso): New.
12393 (+$(cet-built-dso:=.note)): Likewise.
12394 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
12395 ($(objpfx)check-cet.out): New.
12396 (generated): Add check-cet.out.
12397 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
12399 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
12400 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12401 (init_cpu_features): Call get_cet_status to check CET status
12402 and update dl_x86_feature_1 with CET status. Call
12403 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
12404 (set_x86_shstk). Disable and lock CET in libc.a.
12405 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
12406 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
12407 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12408 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
12409 (_CET_ENDBR): Define if not defined.
12410 (ENTRY): Add _CET_ENDBR.
12411 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
12413 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
12415 (_dl_runtime_profile): Likewise.
12417 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
12420 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
12421 restore r2 on longjmp.
12422 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
12424 Added rules to build test tst-setjmp-bug21895-static.
12425 Added module setjmp-bug21895 and rules to build a shared object from it.
12426 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
12427 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
12429 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
12431 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
12432 * benchtests/bench-strstr.c: Likewise.
12433 * string/memmem.c (FASTSEARCH): Define.
12434 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
12435 Add support for FASTSEARCH.
12436 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
12437 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
12438 (FASTSEARCH): Define.
12439 * string/test-strcasestr.c: Rename __strnlen to strnlen.
12440 * string/test-strstr.c: Likewise.
12442 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
12444 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
12445 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
12447 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12448 H.J. Lu <hongjiu.lu@intel.com>
12450 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
12451 (__longjmp): Restore shadow stack pointer if shadow stack is
12452 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12453 isn't defined for __longjmp_cancel.
12454 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
12455 (_setjmp): Save shadow stack pointer if shadow stack is enabled
12456 and SHADOW_STACK_POINTER_OFFSET is defined.
12457 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
12458 (setjmp): Save shadow stack pointer if shadow stack is enabled
12459 and SHADOW_STACK_POINTER_OFFSET is defined.
12460 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
12461 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12462 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12463 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
12465 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12466 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12467 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
12468 Remove jmp_buf-ssp.sym.
12469 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12471 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12472 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12473 * sysdeps/x86/Makefile (gen-as-const-headers): Add
12475 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
12476 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
12477 (__longjmp): Restore shadow stack pointer if shadow stack is
12478 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12479 isn't defined for __longjmp_cancel.
12480 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
12481 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12482 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12484 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
12487 * nptl/pthread_create.c: Include <tls-setup.h>.
12488 (__pthread_create_2_1): Call tls_setup_tcbhead.
12489 * sysdeps/generic/tls-setup.h: New file.
12490 * sysdeps/x86/nptl/tls-setup.h: Likewise.
12491 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
12492 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
12494 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
12496 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12497 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
12498 (X86_FEATURE_1_SHSTK): Likewise.
12499 (CET_ENABLED): Likewise.
12500 (IBT_ENABLED): Likewise.
12501 (SHSTK_ENABLED): Likewise.
12503 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
12506 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
12507 (LOCALES): Likewise.
12508 * localedata/dsb_DE.UTF-8.in: New file.
12509 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
12511 2018-07-12 Florian Weimer <fweimer@redhat.com>
12513 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
12514 __mprotect, not mprotect.
12516 2018-07-11 Florian Weimer <fweimer@redhat.com>
12518 * io/Makefile (headers): Add bits/statx.h.
12520 2018-07-10 Mike FABIAN <mfabian@redhat.com>
12522 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
12523 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
12525 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
12526 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
12529 2018-07-10 Florian Weimer <fweimer@redhat.com>
12531 * io/Makefile (routines): Add statx.
12532 (tests-internal): Add tst-statx.
12533 * io/Versions (GLIBC_2.28): Export statx.
12534 * io/bits/statx.h: New file.
12535 * io/sys/stat.h [__USE_GNU]: Include it.
12536 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
12537 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
12539 * io/statx.c: New file.
12540 * io/statx_generic.: Likewise.
12541 * io/tst-statx.: Likewise.
12542 * include/bits/statx.h: Likewise.
12543 * sysdeps/unix/sysv/linux/kernel-features.h
12544 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
12545 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12546 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
12547 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
12549 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12550 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
12551 * sysdeps/unix/sysv/linux/statx.c: New file.
12552 * manual/filesys.texi: Note that statx is undocumented.
12553 * sysdeps/**/libc*.abilist: Update.
12555 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12557 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
12558 a kernel issue which lead to test failure in some cases.
12560 2018-07-10 Florian Weimer <fweimer@redhat.com>
12563 * posix/regexec.c (check_node_accept_bytes): When comparing
12564 weights, do not compare an extra byte after the end of the
12567 2018-07-10 Florian Weimer <fweimer@redhat.com>
12569 * libio/readline.c: Fix copyright year.
12570 * libio/tst-readline.c Likewise.
12571 * nss/tst-nss-files-hosts-getent.c: Likewise.
12573 2018-07-06 Florian Weimer <fweimer@redhat.com>
12576 * nss/nss_files/files-XXX.c (internal_getent): Use
12577 __libc_readline_unlocked. Seek back to the start of the line if
12578 parsing failes with ERANGE.
12579 (get_contents_ret, get_contents): Remove.
12580 * nss/tst-nss-files-hosts-getent.c: New file.
12581 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
12582 (tst-nss-files-hosts-getent): Link with -ldl.
12584 2018-07-06 Florian Weimer <fweimer@redhat.com>
12586 * include/stdio.h (__libc_readline_unlocked): Declare.
12587 (__ftello64, __fseeko64): Declare aliases.
12588 * libio/readline.c: New file.
12589 * libio/tst-readline.c: Likewise.
12590 (routines): Add readline.
12591 (tests-internal): Add tst-readlime.
12592 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
12593 __libc_readline_unlocked.
12594 * libio/fseeko.c (__fseeko): Rename from fseeko.
12595 (fseeko): Add alias.
12596 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
12597 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
12598 (fseeko64): Add alias.
12599 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
12600 * libio/ftello64.c (__ftello64): Rename from ftello64.
12601 (ftello64): Add alias.
12603 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12605 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12608 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12610 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12611 Use dl_hwcap without masking.
12612 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12613 Remove HWCAP_CPUID.
12615 2018-07-06 Florian Weimer <fweimer@redhat.com>
12617 * conform/conformtest.pl (checknamespace): Escape literal braces
12618 in regular expressions.
12620 2018-07-06 Amit Pawar <amit.pawar@amd.com>
12622 * sysdeps/x86/cpu-features.c (get_common_indeces):
12623 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12624 * sysdeps/x86/cpu-features.c (init_cpu_features):
12625 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12627 2018-07-05 Florian Weimer <fweimer@redhat.com>
12629 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12631 (CFLAGS-elf-init.oS): Likewise.
12633 2018-07-05 Florian Weimer <fweimer@redhat.com>
12634 Carlos O'Donell <carlos@redhat.com>
12636 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12637 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12638 with stack protector enabled because there is no risk of infinite
12641 2018-07-05 Maciej W. Rozycki <macro@mips.com>
12645 * libc-abis (ABSOLUTE): New ABI.
12646 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12647 * NEWS: Mention the new ABI.
12649 2018-07-05 Florian Weimer <fweimer@redhat.com>
12652 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12653 (RENAME_WHITEOUT): Define.
12654 [__USE_GNU] (renameat2): Declare.
12655 * stdio-common/Makefile (routines): Add renameat2.
12656 (tests): Add tst-renameat2.
12657 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12658 * stdio-common/renameat2.c: New file.
12659 * stdio-common/tst-renameat2.c: Likewise.
12660 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12661 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12663 * sysdeps/unix/sysv/linux/kernel-features.h
12664 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12665 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12666 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12667 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12668 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12669 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12670 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12671 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12672 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12673 * include/stdio.h (__renameat): Add alias for renameat.
12674 * stdio-common/renameat.c (__renameat): Rename from renameat.
12675 Add hidden definition and alias.
12676 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12677 * sysdeps/mach/hurd/renameat.c: Likewise.
12678 * sysdeps/**/libc*.abilist: Add renameat2.
12680 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12682 * posix/bug-regex33.c: Fix build after regex sync.
12684 2018-07-04 Carlos O'Donell <carlos@redhat.com>
12687 * localedata/tst-langinfo-setlocale.c: New file.
12688 * localedata/tst-langinfo-setlocale-static.c: New file.
12689 * localedata/tst-langinfo-newlocale.c: New file.
12690 * localedata/tst-langinfo-newlocale-static.c: New file.
12691 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12692 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12693 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12694 (tests-static): Remove tst-langinfo-static. Add
12695 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12696 (tests-special): Remove $(objpfx)tst-langinfo.out,
12697 $(objpfx)tst-langinfo-static.out. Add
12698 $(objpfx)tst-langinfo-setlocale.out,
12699 $(objpfx)tst-langinfo-newlocale.out,
12700 $(objpfx)tst-langinfo-setlocale-static.out,
12701 $(objpfx)tst-langinfo-newlocale-static.out.
12702 ($(objpfx)tst-langinfo.out): Remove.
12703 ($(objpfx)tst-langinfo-static.out): Remove.
12704 ($(objpfx)tst-langinfo-newlocale.out): New target.
12705 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12706 (test-xfail-tst-langinfo-newlocale-static): Add.
12707 ($(objpfx)tst-langinfo-setlocale.out): New target.
12708 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12709 * localedata/tst-langinfo.c: Call test_locale.
12710 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12713 2018-07-04 Florian Weimer <fweimer@redhat.com>
12715 testrun.sh: Implement --tool=strace, --tool=valgrind
12716 * Makefile (testrun-script): Define variable.
12717 (testrun.sh): Use variable.
12718 * manual/install.texi (Tools for Compilation): make 4.0 or later
12720 * configure.ac: Check for make 4.0 or later.
12721 * INSTALL: Regenerate.
12722 * configure: Likewise.
12724 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12730 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12731 * posix/PCRE.tests: Remove invalid test.
12732 * posix/bug-regex28.c: Fix expected values for used syntax.
12733 * posix/bug-regex37.c: New file.
12734 * posix/bug-regex38.c: Likewise.
12735 * posix/regcomp.c: Sync with gnulib.
12736 * posix/regex.c: Likewise.
12737 * posix/regex.h: Likewise.
12738 * posix/regex_internal.c: Likewise.
12739 * posix/regex_internal.h: Likewise.
12740 * posix/regexec.c: Likewise.
12742 2018-06-26 Mike FABIAN <mfabian@redhat.com>
12745 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12746 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12747 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12748 * localedata/unicode-gen/PropList.txt: likewise.
12749 * localedata/unicode-gen/UnicodeData.txt: likewise.
12750 * localedata/charmaps/UTF-8: Regenerate.
12751 * localedata/locales/i18n_ctype: likewise.
12752 * localedata/locales/tr_TR: likewise.
12753 * localedata/locales/translit_circle: likewise.
12754 * localedata/locales/translit_cjk_compat: likewise.
12755 * localedata/locales/translit_combining: likewise.
12756 * localedata/locales/translit_compat: likewise.
12757 * localedata/locales/translit_font: likewise.
12758 * localedata/locales/translit_fraction: likewise.
12760 2018-07-03 Florian Weimer <fweimer@redhat.com>
12763 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12764 * stdio-common/tst-printf.sh: Adjust expected output.
12765 * LICENSES: Update.
12767 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12769 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12772 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12774 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12775 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12776 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12777 * stdio-common/tst-printfsz-islongdouble.c: New file.
12778 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12779 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12780 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12781 [subdir == stdio-common] (tests-internal): Add
12782 test-printf-size-ieee128, and test-printf-size-ibm128.
12783 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12784 (CFLAGS-test-printf-size-ibm128.c): New variables.
12785 [subdir == stdio-common] (tests-special): Add
12786 $(objpfx)test-printf-size-ieee128.out and
12787 $(objpfx)test-printf-size-ibm128.out.
12788 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12789 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12790 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12791 __printf_sizeieee128.
12792 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12794 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12796 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12799 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12801 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12802 (exp2f_inline): Likewise.
12803 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12804 (__math_uflowf): Likewise.
12805 (__math_may_uflowf): Likewise.
12806 (__math_divzerof): Likewise.
12807 (__math_invalidf): Likewise.
12808 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12809 (__math_oflowf): Likewise.
12810 (__math_uflowf): Likewise.
12811 (__math_may_uflowf): Likewise.
12812 (__math_divzerof): Likewise.
12813 (__math_invalidf): Likewise.
12815 2018-06-29 DJ Delorie <dj@redhat.com>
12816 Carlos O'Donell <carlos@redhat.com>
12819 * include/libc-symbols.h: Comment the freeres framework.
12820 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12821 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12822 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12823 * dlfcn/dlerror.c: Include libc-symbols.h
12824 (__dlerror_main_freeres): New function.
12825 * dlfcn/dlfreeres.c: New file.
12826 * dlfcn/sdlfreeres.c: New file.
12827 * include/dlfcn.h: Declare __dlerror_main_freeres.
12828 * malloc/set-freeres.c: Declare __libdl_freeres, and
12829 __libpthread_freeres.
12830 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12831 the releavant libraries are loaded.
12832 * malloc/thread-freeres.c: Add comments.
12833 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12834 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12835 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12836 (__free_stacks): Rename to...
12837 (free_stacks): ...this. Mark static.
12838 (queue_stack): Call free_stacks.
12839 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12840 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12841 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12842 ptr_freeres element from struct.
12843 (pthread_functions): Remove .ptr_freeres from struct initializer.
12844 [SHARED] (nptl_freeres): Remove.
12845 * nptl/nptlfreeres.c: New file.
12847 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12848 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12850 (__free_stacks): Rename to...
12851 (__nptl_stacks_freeres): ...this.
12852 (__shm_directory_freeres): Declare.
12853 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12854 (__nptl_unwind_freeres): ...this.
12855 * resolv/res-close.c: Add comment.
12856 * resolv/resolv_conf.c: Include libc-symbols.h.
12857 * string/strerror_l.c: Include libc-symbols.h.
12858 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12859 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12860 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12861 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12863 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12865 * stdlib/tst-strfmon_l.c: Add tests for long double.
12867 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
12870 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12871 * localedata/locales/dsb_DE: New file.
12873 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12876 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12878 (alt_mon): New entry, import from CLDR (nominative case).
12880 2018-06-29 Sylvain Lesage <severo@rednegra.net>
12883 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12885 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12887 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12888 Use vector registers.
12890 * sysdeps/aarch64/multiarch/memmove_falkor.S
12891 (__memcpy_falkor): Use vector registers.
12893 2018-06-29 Martin Sebor <msebor@redhat.com>
12895 * manual/stdio.texi (Customizing Printf): Mention interaction
12896 with GCC built-ins.
12898 2018-06-29 Maciej W. Rozycki <macro@mips.com>
12901 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12902 `st_value' is 0 if `st_shndx' is SHN_ABS.
12903 * elf/tst-absolute-zero.c: New file.
12904 * elf/tst-absolute-zero-lib.c: New file.
12905 * elf/tst-absolute-zero-lib.lds: New file.
12906 * elf/Makefile (tests): Add `tst-absolute-zero'.
12907 (modules-names): Add `tst-absolute-zero-lib'.
12908 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12909 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12910 ($(objpfx)tst-absolute-zero: New dependency.
12912 2018-06-29 Zack Weinberg <zackw@panix.com>
12914 * configure.ac: New command-line option --disable-crypt.
12915 Force --disable-nss-crypt when --disable-crypt is given, with a
12916 warning if it was explicitly enabled.
12917 * configure: Regenerate.
12918 * config.make.in: New boolean substitution variable $(build-crypt).
12919 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12920 when $(build-crypt).
12921 * manual/install.texi: Document --disable-crypt.
12922 * INSTALL: Regenerate.
12924 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12925 which is never set.
12926 * conform/Makefile: Only include libcrypt.a in
12927 linknamespace-libs-xsi and linknamespace-libs-XPG4
12928 when $(build-crypt).
12929 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12930 USE_CRYPT to 1 when $(build-crypt).
12931 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12932 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12933 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12935 2018-06-29 Zack Weinberg <zackw@panix.com>
12937 * crypt/crypt.h, posix/unistd.h: Update comments and
12938 prototypes for crypt and crypt_r.
12940 * manual/crypt.texi (Cryptographic Functions): New initial
12942 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12943 (Unpredictable Bytes): Improve initial exposition. Clarify error
12944 behavior of getentropy and getrandom.
12945 * manual/examples/genpass.c: Generate a salt using getentropy
12946 instead of the current time. Use hash $5$ (SHA-2-256).
12947 * manual/examples/testpass.c: Demonstrate validation against
12948 hashes generated with three different one-way functions.
12950 * manual/intro.texi: crypt.texi does not need an overview
12953 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12954 * manual/terminal.texi: Consistently refer to "passphrases"
12955 * instead of "passwords", and to the "user database" instead
12956 * of the "password database".
12957 * manual/users.texi: Similarly. Add notes about how actual
12958 passphrase hashes are now stored in the shadow database.
12959 Remove 20-year-old junk todo note.
12961 2018-06-29 Zack Weinberg <zackw@panix.com>
12963 * manual/crypt.texi: Use a normal top-level @node declaration.
12964 Move most of the introductory text to the 'crypt' section.
12965 Move the example programs below the @deftypefun for 'crypt_r'.
12966 Move the 'getpass' section...
12967 * manual/terminal.texi: ...here.
12969 2018-06-29 Zack Weinberg <zackw@panix.com>
12970 Florian Weimer <fweimer@redhat.com>
12972 * posix/unistd.h: Do not declare encrypt.
12973 (_XOPEN_CRYPT): Remove macro definition.
12974 (crypt): Declare only for _USE_MISC.
12975 * stdlib/stdlib.h: Do not declare setkey.
12976 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12977 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12979 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12980 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12981 into compat symbols. Don't define initial_perm if it's not
12983 * crypt/cert.c: Link explicitly with the expected versions for
12984 setkey and encrypt. If they are not available at all, mark
12985 the test as unsupported.
12987 * sunrpc/des_crypt.c: Unconditionally block linkage with
12988 cbc_crypt and ecb_crypt for new binaries.
12989 * sunrpc/des_soft.c: Unconditionally block linkage with
12990 des_setparity for new binaries.
12992 * manual/crypt.texi: Remove the entire "DES Encryption"
12993 section. Also remove the paragraph talking about FIPS 140-2
12994 from the introduction.
12995 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12996 of libgcrypt for "real" encryption, not DES.
12997 * manual/conf.texi (Constants for Sysconf): Mention that
12998 _XOPEN_CRYPT is no longer impelemented.
13000 * conform/data/unistd.h-data: Remove crypt function declaration.
13002 2018-06-29 Florian Weimer <fweimer@redhat.com>
13005 * malloc/hooks.c: Update comments on restoring of dumped heaps.
13006 (disallow_malloc_check): Remove variable.
13007 (__malloc_check_init): Adjust.
13008 (malloc_set_state): Update comment.
13009 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
13012 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13015 * localedata/locales/ast_ES (mon): Rename to...
13017 (mon): Import from CLDR (genitive case).
13019 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
13020 Jakub Sitnicki <jkbs@redhat.com>
13023 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
13024 on NLM_F_DUMP_INTR.
13026 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
13028 * manual/llio.texi: Remove spurious space.
13030 2018-06-28 Florian Weimer <fweimer@redhat.com>
13033 * time/bits/types/struct_timespec.h: Change header inclusion guard to
13036 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13038 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
13039 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
13040 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
13041 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
13042 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
13043 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
13044 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
13046 2018-06-27 Maciej W. Rozycki <macro@mips.com>
13049 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
13050 Copy and null-terminate entries that are not terminated, in
13051 addition to empty ones.
13053 2018-06-27 Florian Weimer <fweimer@redhat.com>
13056 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
13057 (extend_alloca_account): Remove.
13058 * manual/stdio.texi (Variable Arguments Output): Update comment.
13060 2018-06-27 Joseph Myers <joseph@codesourcery.com>
13062 * nptl/sockperf.c: Remove file.
13064 2018-06-27 Florian Weimer <fweimer@redhat.com>
13067 * elf/dl-deps.c (_dl_map_object_deps): Use struct
13068 scratch_buffer instead of extend_alloca.
13070 2018-06-27 Florian Weimer <fweimer@redhat.com>
13073 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
13074 scratch_buffer instead of extend_alloca. Update comments.
13076 2018-06-27 Florian Weimer <fweimer@redhat.com>
13079 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
13080 instead of extend_alloca.
13082 2018-06-26 Joseph Myers <joseph@codesourcery.com>
13085 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
13086 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
13088 * scripts/test-installation.pl: Put temporary files in build
13089 directory, not /tmp.
13090 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
13091 (CFLAGS-bug4.c): Likewise.
13092 (CFLAGS-bug5.c): Likewise.
13093 (CFLAGS-test-fseek.c): Likewise.
13094 (CFLAGS-test-popen.c): Likewise.
13095 (CFLAGS-test_rdwr.c): Likewise.
13096 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
13098 * stdio-common/bug4.c (main): Likewise.
13099 * stdio-common/bug5.c (main): Likewise.
13100 * stdio-common/test-fseek.c (TESTFILE): Likewise.
13101 * stdio-common/test-popen.c (do_test): Likewise.
13102 * stdio-common/test_rdwr.c (main): Likewise.
13104 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
13106 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
13107 (sem_open): Set sem.newsem.pad to zero for valgrind.
13109 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13112 * NEWS: Mention fcntl64 addition.
13113 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
13114 * login/utmp_file.c: Likewise.
13115 * sysdeps/posix/fdopendir.c: Likewise.
13116 * sysdeps/posix/opendir.c: Likewise.
13117 * sysdeps/unix/pt-fcntl.c: Likewise.
13118 * include/fcntl.h (__libc_fcntl64, __fcntl64,
13119 __fcntl64_nocancel_adjusted): New prototype.
13120 (__fcntl_nocancel_adjusted): Remove prototype.
13121 * io/Makefile (routines): Add fcntl64.
13122 (CFLAGS-fcntl64.c): New rule.
13123 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
13124 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
13125 * io/fcntl.h (fcntl64): Add prototype and redirect if
13126 __USE_FILE_OFFSET64 is defined.
13127 * io/fcntl64.c: New file.
13128 * manual/llio.text: Add a note for which commands fcntl acts a
13129 cancellation point.
13130 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
13131 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
13132 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
13134 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
13135 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
13137 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
13138 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
13139 to __fcntl64_nocancel.
13140 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
13141 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
13142 to __fcntl64_nocancel.
13143 * sysdeps/generic/not-cancel.h: Likewise.
13144 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
13145 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
13146 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13147 (fcntl64): New symbol.
13148 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13149 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13150 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13153 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13154 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13155 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13156 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13157 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13158 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
13159 fcntl64): Likewise.
13160 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13161 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
13162 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13163 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13164 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13165 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13166 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13167 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13168 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13173 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13174 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13175 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13177 2018-06-26 Florian Weimer <fweimer@redhat.com>
13179 Run thread shutdown functions in an explicit order.
13180 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
13182 (__libc_thread_freeres): Call thread shutdown functions
13184 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
13185 * include/string.h (__strerror_thread_freeres): Declare.
13186 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
13187 arena_thread_freeres. No longer static. Remove thread shutdown
13189 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
13191 * resolv/res-close.c (__res_thread_freeres): Renamed from
13192 res_thread_freeres. No longer static. Remove thread shutdown
13194 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
13195 * resolv/resolv_conf.c (freeres): Remove incorrect section
13196 attribute and use libc_freeres_fn.
13197 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
13198 strerror_thread_freeres. No longer static. Remove thread
13199 shutdown hook registration.
13200 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
13201 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
13202 shutdown hook registration.
13203 * Makerules (shlib.lds): Do not provide section boundary symbols
13204 for __libc_thread_subfreeres.
13205 * manual/memory.texi (Basic Allocation): Update comment.
13207 2018-06-26 Florian Weimer <fweimer@redhat.com>
13209 Remove always-defined _RPC_THREAD_SAFE_ macro.
13210 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
13211 Do not define _RPC_THREAD_SAFE_.
13212 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
13214 * sunrpc/clnt_perr.c: Likewise.
13215 * sunrpc/clnt_raw.c: Likewise.
13216 * sunrpc/clnt_simp.c: Likewise.
13217 * sunrpc/key_call.c: Likewise.
13218 * sunrpc/rpc_common.c: Likewise.
13219 * sunrpc/rpc_main.c: Likewise.
13220 * sunrpc/rpc_thread.c: Likewise.
13221 * sunrpc/svc.c: Likewise.
13222 * sunrpc/svc_raw.c: Likewise.
13223 * sunrpc/svc_simple.c: Likewise.
13224 * sumrpc/svcauth_des.c: Likewise.
13226 2018-06-26 Florian Weimer <fweimer@redhat.com>
13228 * libio/Makefile (tests-internal): Add tst-vtables,
13229 tst-vtables-interposed.
13230 * libio/tst-vtables.c: New file.
13231 * libio/tst-vtables-common.c: Likewise.
13232 * libio/tst-vtables-interposed.c: Likewise.
13234 2018-06-26 Florian Weimer <fweimer@redhat.com>
13236 * support/support_test_main.c (support_test_main): Only call
13237 setvbuf if not disables.
13238 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
13239 * support/test-driver.h (struct test_config): Add no_setvbuf member.
13241 2018-06-26 Florian Weimer <fweimer@redhat.com>
13244 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
13246 2018-06-25 Florian Weimer <fweimer@redhat.com>
13249 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13250 Use struct scratch_buffer instead of extend_alloca.
13252 2018-06-25 Florian Weimer <fweimer@redhat.com>
13255 * nss/getent.c (initgroups_keys): Use dynarray instead of
13258 2018-06-25 Florian Weimer <fweimer@redhat.com>
13261 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
13262 Use struct scratch_buffer instead of extend_alloca.
13264 2018-06-25 Florian Weimer <fweimer@redhat.com>
13267 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
13268 back to malloc directly, without stack allocations.
13270 2018-06-25 Florian Weimer <fweimer@redhat.com>
13273 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
13276 2018-06-25 Florian Weimer <fweimer@redhat.com>
13279 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
13281 * nscd/hstcache.c (addhstbyX): Likewise.
13282 * nscd/pwdcache.c (addpwbyX): Likewise.
13283 * nscd/servicescache.c (addservbyX): Likewise.
13285 2018-06-25 Florian Weimer <fweimer@redhat.com>
13288 * nscd/connections.c (read_cmdline): New function.
13289 (restart): Use it. Update comment.
13291 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13294 * localedata/locales/csb_PL (mon): Rename to...
13296 (abmon): Rename to...
13297 (ab_alt_mon): This.
13298 (mon): Add with proper genitive forms, copy from Wikipedia.
13301 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13304 * localedata/locales/csb_PL (mon): Fix typos:
13305 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
13306 (yesstr): Add, value is "jo".
13307 (nostr): Add, value is "nié".
13309 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13311 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
13312 all log1p and significand functions on m680x0.
13313 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
13314 of s_significand.c..
13315 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13316 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
13317 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
13318 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
13319 s_log1p.c and include it..
13321 2018-06-21 Vincent Chen <vincentc@andestech.com>
13323 * elf/elf.h (R_NDS32_NONE): New define.
13324 (R_NDS32_32_RELA): Likewise.
13325 (R_NDS32_COPY): Likewise.
13326 (R_NDS32_GLOB_DAT): Likewise.
13327 (R_NDS32_JUMP_SLOT): Likewise.
13328 (R_NDS32_RELATIVE): Likewise.
13329 (R_NDS32_TLS_TPOFF): Likewise.
13330 (R_NDS32_TLS_DESC): Likewise.
13332 2018-06-21 Mark Wielaard <mark@klomp.org>
13334 * elf/elf.h (R_BPF_MAP_FD): Removed.
13335 (R_BPF_64_64, R_BPF_64_32): New.
13337 2018-06-21 Florian Weimer <fweimer@redhat.com>
13340 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
13341 Renamed from libc_feholdsetround_ctx.
13342 (default_libc_feresetround_ctx): Renamed from
13343 libc_feresetround_ctx.
13344 (default_libc_feholdsetround_noex_ctx): Renamed from
13345 libc_feholdsetround_noex_ctx.
13346 (default_libc_feresetround_noex_ctx): Renamed from
13347 libc_feresetround_noex_ctx.
13348 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
13349 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
13350 forwardning to the old implementations under the new names.
13351 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
13352 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
13353 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
13354 (libc_feresetround_ctx): Forward to default implements for i386
13355 and MATH_SET_BOTH_ROUNDING_MODES.
13356 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
13357 Add -DMATH_SET_BOTH_ROUNDING_MODES.
13359 2018-06-20 Joseph Myers <joseph@codesourcery.com>
13361 * string/tst-cmp.c: Include <libc-diag.h>.
13362 (strncmp_max): Disable -Wstringop-overflow= around call to
13364 (strncasecmp_max): Disable -Wstringop-overflow= around call to
13367 * string/bug-strpbrk1.c: Include <libc-diag.h>.
13368 (main): Disable -Wunused-value around call to strpbrk.
13369 * string/bug-strspn1.c: Include <libc-diag.h>.
13370 (main): Disable -Wunused-value around call to strspn.
13372 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13373 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13375 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
13376 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
13378 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13380 * math/Makefile (libm-calls): Move s_significandF to...
13381 (gen-libm-calls): ... here.
13382 * math/s_significand_template.c: New file.
13383 * math/s_significand.c: Removed.
13384 * math/s_significandf.c: Removed.
13385 * math/s_significandl.c: Removed.
13386 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
13387 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
13389 * math/e_exp2_template.c (declare_mgen_finite_alias,
13390 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
13391 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
13392 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
13394 2018-06-20 Florian Weimer <fweimer@redhat.com>
13396 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
13398 2018-06-19 Joseph Myers <joseph@codesourcery.com>
13401 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
13402 floating-point number to strtod functions rather than possibly
13403 negating result of those functions.
13404 * stdio-common/tst-scanf-round.c: New file.
13405 * stdio-common/Makefile (tests): Add tst-scanf-round.
13406 ($(objpfx)tst-scanf-round): Depend on $(libm).
13408 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13410 * sysdeps/mach/hurd/localplt.data: Move to...
13411 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
13412 R_386_GLOB_DAT like on Linux i386.
13414 2018-06-18 Joseph Myers <joseph@codesourcery.com>
13416 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
13417 (SHM_STAT_ANY): New macro.
13418 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
13419 (SHM_STAT_ANY): Likewise.
13420 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
13421 (SHM_STAT_ANY): Likewise.
13422 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
13423 (SHM_STAT_ANY): Likewise.
13424 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
13425 (SHM_STAT_ANY): Likewise.
13426 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
13427 (SHM_STAT_ANY): Likewise.
13428 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
13429 (SHM_STAT_ANY): Likewise.
13430 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
13431 (SHM_STAT_ANY): Likewise.
13432 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
13433 (SHM_STAT_ANY): Likewise.
13434 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
13435 (SHM_STAT_ANY): Likewise.
13436 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
13437 (SHM_STAT_ANY): Likewise.
13438 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
13439 (SHM_STAT_ANY): Likewise.
13441 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
13442 (SEM_STAT_ANY): New macro.
13443 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
13444 (SEM_STAT_ANY): Likewise.
13445 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
13446 (SEM_STAT_ANY): Likewise.
13447 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
13448 (SEM_STAT_ANY): Likewise.
13449 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
13450 (SEM_STAT_ANY): Likewise.
13451 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
13452 (SEM_STAT_ANY): Likewise.
13453 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
13454 (SEM_STAT_ANY): Likewise.
13455 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
13456 (SEM_STAT_ANY): Likewise.
13457 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
13458 (SEM_STAT_ANY): Likewise.
13459 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
13460 (SEM_STAT_ANY): Likewise.
13462 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
13463 (MSG_STAT_ANY): New macro.
13464 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
13465 (MSG_STAT_ANY): Likewise.
13466 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
13467 (MSG_STAT_ANY): Likewise.
13468 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
13469 (MSG_STAT_ANY): Likewise.
13470 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
13471 (MSG_STAT_ANY): Likewise.
13472 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
13473 (MSG_STAT_ANY): Likewise.
13474 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
13475 (MSG_STAT_ANY): Likewise.
13476 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
13477 (MSG_STAT_ANY): Likewise.
13478 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
13479 (MSG_STAT_ANY): Likewise.
13480 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
13481 (MSG_STAT_ANY): Likewise.
13483 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13484 (MAP_TYPE): Change value to 0x2b.
13486 2018-06-18 Florian Weimer <fweimer@redhat.com>
13489 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
13490 socket with SOCK_CLOEXEC.
13492 2018-06-18 Joseph Myers <joseph@codesourcery.com>
13495 * sysdeps/powerpc/powerpc64/le/Makefile
13496 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
13497 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
13498 (gnulib-tests): Also add $(f128-loader-link) for
13499 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
13501 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
13503 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
13504 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
13506 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
13507 (sendfile64): New strong alias.
13508 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
13509 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
13510 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
13511 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
13513 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
13514 ___pthread_get_cleanup_stack.
13515 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
13516 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
13517 * mach/shortcut.awk: Make syscall stubs include
13518 <mach-shortcuts-hidden.h> and add hidden definition.
13519 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
13520 (__mach_msg): Add hidden prototype.
13521 * mach/msg.c: Include <mach.h>.
13522 (__mach_msg): Add hidden definition.
13523 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
13524 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
13525 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
13526 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
13527 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
13528 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
13529 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
13530 prototype and definition.
13531 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
13532 hidden target for _hurd_self_sigstate.
13534 2018-06-15 Joseph Myers <joseph@codesourcery.com>
13537 * stdlib/tst-strtod-nan-sign-main.c: New file.
13538 * stdlib/tst-strtod-nan-sign.c: Likewise.
13539 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
13540 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
13541 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
13542 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
13543 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
13545 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
13548 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
13551 2018-06-14 Florian Weimer <fweimer@redhat.com>
13554 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
13555 that the result stays within the ISO-8859-1 range.
13556 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
13557 characters are defined in IBM273.
13559 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
13561 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
13562 __mach_task_self): Remove attribute_hidden.
13564 2018-06-14 Joseph Myers <joseph@codesourcery.com>
13566 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
13567 ignore -Wrestrict for one test.
13569 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
13570 Szabolcs Nagy <szabolcs.nagy@arm.com>
13572 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
13574 2018-06-14 Florian Weimer <fweimer@redhat.com>
13576 * scripts/update-abilist.sh: Accept empty list of files to patch.
13578 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13580 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
13581 test-xfail-check-abi-libmachuser): Add.
13582 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
13583 __libc_read and __libc_write to __read and __write.
13584 * sysdeps/hurd/include/hurd/port.h: New file.
13585 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
13586 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
13587 __thread_switch, __evc_wait): Move declarations to...
13588 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
13590 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
13591 use PLT to call _hurd_self_sigstate.
13593 2018-06-13 Joseph Myers <joseph@codesourcery.com>
13596 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
13597 MAX_EXP as overflowing.
13598 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
13600 (round_str): Output also whether result overflows in each rounding
13602 * stdlib/tst-strtod-round-data: Add more tests.
13603 * stdlib/tst-strtod-round-data.h: Regenerated.
13604 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13605 (TEST): Handle extra arguments for overflow flags.
13606 (struct test_overflow): New type.
13607 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13608 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13609 (test_in_one_mode): Take argument with overflow information.
13610 (do_test): Update calls to test_in_one_mode.
13612 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13614 * elf/dl-load (_dl_dst_substitute): Correct comment.
13615 (_dl_dst_count): Likewise.
13617 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13618 lll_futex_timed_wait.
13620 2018-06-12 Joseph Myers <joseph@codesourcery.com>
13623 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13625 * math/test-nan-const.c: New file.
13626 * math/Makefile (tests): Add test-nan-const.
13627 (CFLAGS-test-nan-const.c): New variable.
13629 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13631 * benchtests/scripts/compare_strings.py (process_results): Add
13632 funcs argument. Compare only functions which are selected.
13633 (main): Check if base function is among selected functions.
13634 Pass selected functions to process_results.
13635 (__main__): Add -f/--functions argument.
13637 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13638 Hongbo Zhang <hongbo.zhang@linaro.org>
13640 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13641 __memcpy_falkor for phecda core.
13642 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13643 __memmove_falkor for phecda core.
13644 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13645 __memset_falkor for phecda core.
13646 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13648 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13649 macro to identify phecda core.
13651 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13652 Andreas Schwab <schwab@suse.de>
13653 Dmitry V. Levin <ldv@altlinux.org>
13654 Florian Weimer <fweimer@redhat.com>
13661 * elf/dl-dst.h: Remove DL_DST_COUNT.
13662 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13663 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13664 (is_dst): Comment. Support ELF gABI.
13665 (_dl_dst_count): Comment. Simplify and count DSTs.
13666 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13667 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13670 2018-06-12 Zack Weinberg <zackw@panix.com>
13672 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13673 * sysdeps/unix/sysv/linux/dl-sysdep.c
13674 Include not-cancel.h. Use __close_nocancel instead of __close,
13675 __open64_nocancel instead of __open, __read_nocancel instead of
13676 __libc_read, and __write_nocancel instead of __libc_write.
13678 * csu/check_fds.c (check_one_fd)
13679 * sysdeps/posix/fdopendir.c (__fdopendir)
13680 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
13681 instead of __fcntl and/or __libc_fcntl.
13683 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13684 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
13685 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
13686 Use __open64_nocancel instead of __open_nocancel.
13688 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13689 hidden_proto declarations to the end and issue them if either
13690 IS_IN(libc) or IS_IN(rtld).
13691 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13692 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13693 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13694 read_nocancel, waitpid_nocancel, write_nocancel.
13696 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13697 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13698 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
13700 * nptl/pt-fcntl.c: New file.
13701 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13702 (libpthread-routines): Add pt-fcntl.
13703 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13704 (__libc_fcntl): Remove attribute_hidden.
13705 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13706 __fcntl_nocancel_adjusted, not fcntl_common.
13707 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
13708 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13709 to fcntl_nocancel.c.
13710 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13713 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13715 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13716 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13717 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13718 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13719 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13720 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13721 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13722 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13723 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13724 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13725 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13726 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13727 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13728 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13729 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13730 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13731 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13732 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13733 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13734 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13736 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13737 libpthread-routines.
13738 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13741 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13742 __libc_read, and __write instead of __libc_write. Define
13743 __open64 in addition to __open.
13745 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13749 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13750 to _private_tm[3] and add __glibc_reserved2.
13751 Add _Static_assert of offset of __private_ss == 0x30.
13752 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13753 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13755 2018-06-12 Florian Weimer <fweimer@redhat.com>
13757 x86: Make strncmp usable from rtld.
13758 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13759 __strncmp_ia32 if in libc (and not in rtld).
13760 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13761 strncmp if not in libc (and not to __strncmp_sse2).
13763 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13766 * localedata/locales/gd_GB (mon): Rename to...
13768 (mon): Import from CLDR (genitive case).
13769 * localedata/locales/hsb_DE (mon): Rename to...
13771 (mon): Import from CLDR (genitive case).
13772 * localedata/locales/wa_BE (mon): Rename to...
13774 (mon): Add, fill with the proper genitive forms, but CLDR data
13775 is incomplete; completed according to the comments in this file.
13776 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13778 * localedata/locales/wa_BE (country_name): Reword
13779 "Beljike" -> "Beldjike".
13781 2018-06-11 Joseph Myers <joseph@codesourcery.com>
13784 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13785 cases of non-finite arguments.
13786 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13788 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
13791 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13793 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13796 * include/unistd.h (__execvpex): New prototype.
13797 * posix/Makefile (tests): Add tst-spawn4.
13798 (tests-internal): Add tst-spawn4-compat.
13799 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13800 * posix/tst-spawn4-compat.c: New file.
13801 * posix/tst-spawn4.c: Likewise.
13802 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13803 binaries as shell scripts.
13804 * sysdeps/posix/spawni.c (__spawni): Likewise.
13806 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13809 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13810 ($(all-built-dso:=.dynsym): New target.
13811 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13812 ($(objpfx)check-initfini.out): New target.
13813 (generated): Add check-initfini.out.
13814 * scripts/check-initfini.awk: New file.
13815 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13817 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13819 * sysdeps/arm/crti.S (_init): Mark as hidden.
13821 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13823 * sysdeps/i386/crti.S (_init): Mark as hidden.
13825 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13827 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13829 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13831 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13833 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13835 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13837 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13839 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13841 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13843 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13845 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13847 * sysdeps/sh/crti.S (_init): Mark as hidden.
13849 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13851 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13854 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13856 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13857 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13858 and TF redirection to KFtype and KF only when the default
13859 long double type is not the IEEE 128-bit floating point type.
13861 2018-06-05 Joseph Myers <joseph@codesourcery.com>
13863 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13865 (HWCAP_USCAT): Likewise.
13866 (HWCAP_ILRCPC): Likewise.
13867 (HWCAP_FLAGM): Likewise.
13868 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13870 (_dl_aarch64_cap_flags): Add new flag names.
13872 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13873 (MAP_FIXED_NOREPLACE): New macro.
13874 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13875 (MAP_FIXED_NOREPLACE): Likewise.
13876 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13877 (MAP_FIXED_NOREPLACE): Likewise.
13878 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13879 (MAP_FIXED_NOREPLACE): Likewise.
13880 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13881 (MAP_FIXED_NOREPLACE): Likewise.
13882 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13883 (MAP_FIXED_NOREPLACE): Likewise.
13884 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13885 (MAP_FIXED_NOREPLACE): Likewise.
13886 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13887 (MAP_FIXED_NOREPLACE): Likewise.
13888 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13889 (MAP_FIXED_NOREPLACE): Likewise.
13890 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13891 (MAP_FIXED_NOREPLACE): Likewise.
13892 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13893 (MAP_FIXED_NOREPLACE): Likewise.
13894 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13895 (MAP_FIXED_NOREPLACE): Likewise.
13896 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13897 (MAP_FIXED_NOREPLACE): Likewise.
13898 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13899 (MAP_FIXED_NOREPLACE): Likewise.
13900 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13901 (MAP_FIXED_NOREPLACE): Likewise.
13903 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13906 2018-06-04 Joseph Myers <joseph@codesourcery.com>
13908 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13911 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13913 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13915 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13917 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13919 * benchtests/scripts/compare_string.py: (process_results) Catch
13920 exception in non-existent base_func and catch exception in
13921 non-existent attribute.
13922 (parse_file) Catch exception if input file does not exist.
13924 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13926 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13927 options to avoid diff calculation and omit header, respectively.
13928 (main): process --no-diff and --no-header
13930 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13931 H.J. Lu <hongjiu.lu@intel.com>
13933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13934 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13936 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13937 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13938 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13939 and __wcsncmp_sse2.
13940 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13941 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13942 AVX unaligned load is fast and vzeroupper is preferred.
13943 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13944 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13945 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13946 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13947 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13948 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13949 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13950 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13951 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13952 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13955 2018-06-01 Florian Weimer <fweimer@redhat.com>
13957 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13958 configuring with --disable-multi-arch, building with
13959 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13962 2018-06-01 Florian Weimer <fweimer@redhat.com>
13964 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13965 results from building with “-march=x86-64 -mtune=generic
13966 -mfpmath=sse” and running on a Haswell-era CPU.
13968 2018-06-01 Joseph Myers <joseph@codesourcery.com>
13971 * soft-fp/sqrttf2.c: Remove file.
13972 * soft-fp/sqrtdf2.c: Move to ....
13973 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13975 (__sqrtdf2): Make conditional on
13976 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13978 * soft-fp/sqrtsf2.c: Move to ....
13979 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13981 (__sqrtsf2): Make conditional on
13982 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13984 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13985 (gcc-double-routines): Remove sqrtdf2.
13986 (gcc-quad-routines): Remove sqrttf2.
13987 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13988 Do not filter out sqrtsf2 and sqrtdf2.
13989 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13990 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13992 2018-06-01 Florian Weimer <fweimer@redhat.com>
13994 * sysdeps/generic/libcidn.abilist: Remove file.
13996 2018-06-01 Florian Weimer <fweimer@redhat.com>
13999 * libio/strfile.h (struct _IO_str_fields): Rename members to
14000 discourage their use and add comment.
14001 (_IO_STR_DYNAMIC): Remove unused macro.
14002 * libio/strops.c (_IO_str_init_static_internal): Do not use
14003 callback pointers. Call malloc and free.
14004 (_IO_str_overflow): Do not use callback pointers. Call malloc
14006 (enlarge_userbuf): Likewise.
14007 (_IO_str_finish): Call free.
14008 * libio/wstrops.c (_IO_wstr_init_static): Initialize
14009 _allocate_buffer_unused.
14010 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
14012 (enlarge_userbuf): Likewise.
14013 (_IO_wstr_finish): Call free.
14014 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
14015 _allocate_buffer_unused, _free_buffer_unused.
14016 * libio/memstream.c (__open_memstream): Likewise.
14017 * libio/vasprintf.c (_IO_vasprintf): Likewise.
14018 * libio/wmemstream.c (open_wmemstream): Likewise.
14020 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14022 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
14025 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14027 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
14028 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
14029 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
14031 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
14033 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
14035 2018-05-29 Florian Weimer <fweimer@redhat.com>
14037 * support/Makefile (libsupport-routines): Add
14038 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
14039 xpthread_barrierattr_setpshared.
14040 * support/xpthread_barrierattr_destroy.c: New file.
14041 * support/xpthread_barrierattr_init.c: Likewise.
14042 * support/xpthread_barrierattr_setpshared.c: Likewise.
14044 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
14047 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
14048 _r_debug and update DT_DEBUG for debugger.
14050 2018-05-29 Florian Weimer <fweimer@redhat.com>
14052 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
14053 (tst-strtod5i.out): Likewise.
14055 2018-05-25 Joseph Myers <joseph@codesourcery.com>
14057 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
14058 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
14059 (sparc64-quad-routines): New variable. Moved from ....
14060 [$(subdir) = soft-fp] (sysdep_routines): Add
14061 $(sparc64-quad-routines). Moved from ....
14062 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
14063 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
14064 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
14066 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
14067 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
14068 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
14069 * sysdeps/sparc/sparc64/qp_add.c: ... here.
14070 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
14071 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
14072 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
14073 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
14074 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
14075 * sysdeps/sparc/sparc64/qp_div.c: ... here.
14076 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
14077 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
14078 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
14079 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
14080 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
14081 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
14082 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
14083 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
14084 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
14085 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
14086 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
14087 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
14088 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
14089 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
14090 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
14091 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
14092 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
14093 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
14094 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
14095 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
14096 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
14097 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
14098 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
14099 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
14100 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
14101 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
14102 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
14103 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
14104 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
14105 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
14106 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
14107 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
14108 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
14109 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
14110 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
14111 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
14112 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
14113 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
14114 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
14115 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
14116 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
14117 * sysdeps/sparc/sparc64/qp_util.c: ... here.
14118 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
14119 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
14120 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
14121 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
14122 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
14123 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
14125 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
14126 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
14127 (sparc32-quad-routines): New variable. Moved from ....
14128 [$(subdir) = soft-fp] (sysdep_routines): Add
14129 $(sparc32-quad-routines). Moved from ....
14130 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
14131 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
14133 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
14134 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
14135 * sysdeps/sparc/sparc32/q_add.c: ... here.
14136 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
14137 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
14138 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
14139 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
14140 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
14141 * sysdeps/sparc/sparc32/q_div.c: ... here.
14142 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
14143 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
14144 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
14145 * sysdeps/sparc/sparc32/q_feq.c: ... here.
14146 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
14147 * sysdeps/sparc/sparc32/q_fge.c: ... here.
14148 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
14149 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
14150 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
14151 * sysdeps/sparc/sparc32/q_fle.c: ... here.
14152 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
14153 * sysdeps/sparc/sparc32/q_flt.c: ... here.
14154 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
14155 * sysdeps/sparc/sparc32/q_fne.c: ... here.
14156 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
14157 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
14158 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
14159 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
14160 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
14161 * sysdeps/sparc/sparc32/q_mul.c: ... here.
14162 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
14163 * sysdeps/sparc/sparc32/q_neg.c: ... here.
14164 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
14165 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
14166 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
14167 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
14168 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
14169 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
14170 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
14171 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
14172 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
14173 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
14174 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
14175 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
14176 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
14177 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
14178 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
14179 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
14180 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
14181 * sysdeps/sparc/sparc32/q_sub.c: ... here.
14182 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
14183 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
14184 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
14185 * sysdeps/sparc/sparc32/q_util.c: ... here.
14186 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
14187 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
14188 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
14189 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
14191 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14192 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14194 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
14195 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
14196 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
14197 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
14199 2018-05-24 Joseph Myers <joseph@codesourcery.com>
14201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
14203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14205 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
14206 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
14208 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14211 * math/math.h [C++] (iseqsig): Fix parameter type for the long
14214 2018-05-23 Joseph Myers <joseph@codesourcery.com>
14216 * sysdeps/sh/Implies: Remove sh/soft-fp.
14217 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
14218 * sysdeps/sh/sfp-machine.h: ... here.
14220 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14222 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14223 (__mempcpy_erms): Skip zero length.
14224 (__memmove_erms): Likewise.
14225 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14226 (__memset_erms): Likewise.
14228 2018-05-23 Joseph Myers <joseph@codesourcery.com>
14230 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
14231 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14232 Add functions moved from ....
14233 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
14234 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
14235 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
14237 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
14238 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
14239 * sysdeps/alpha/e_sqrtl.c: ... here.
14240 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
14241 * sysdeps/alpha/local-soft-fp.h: ... here.
14242 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
14243 * sysdeps/alpha/ots_add.c: ... here.
14244 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
14245 * sysdeps/alpha/ots_cmp.c: ... here.
14246 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
14247 * sysdeps/alpha/ots_cmpe.c: ... here.
14248 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
14249 * sysdeps/alpha/ots_cvtqux.c: ... here.
14250 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
14251 * sysdeps/alpha/ots_cvtqx.c: ... here.
14252 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
14253 * sysdeps/alpha/ots_cvttx.c: ... here.
14254 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
14255 * sysdeps/alpha/ots_cvtxq.c: ... here.
14256 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
14257 * sysdeps/alpha/ots_cvtxt.c: ... here.
14258 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
14259 * sysdeps/alpha/ots_div.c: ... here.
14260 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
14261 * sysdeps/alpha/ots_mul.c: ... here.
14262 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
14263 * sysdeps/alpha/ots_nintxq.c: ... here.
14264 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
14265 * sysdeps/alpha/ots_sub.c: ... here.
14266 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
14267 * sysdeps/alpha/sfp-machine.h: ... here.
14269 2018-05-23 Florian Weimer <fweimer@redhat.com>
14277 Switch to extern IDNA implementation (libidn2).
14278 * libidn: Remove subdirectory.
14279 * LICENSES: Do not mention licensing conditions for the removed
14281 * config.h.in (HAVE_LIBIDN): Remove.
14282 * include/dlfcn.h (__libc_dlopen): Update comment.
14283 * include/idna.h: Remove file.
14284 * inet/Makefile (routines): Add idna.
14285 (tests-static, tests-internal): Add tst-idna_name_classify.
14286 (LOCALES): Generate locales for tests.
14287 (tst-idna_name_classify.out): Depend on generated locales.
14288 * inet/idna_name_classify.c: New file.
14289 * inet/tst-idna_name_classify.c: Likewise.
14290 * inet/net-internal.h (__idna_to_dns_encoding)
14291 (__idna_from_dns_encoding): Declare.
14292 * inet/net-internal.h (enum idna_name_classification): Define.
14293 (__idna_name_classify): Declare.
14294 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
14295 __idna_from_dns_encoding.
14296 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
14297 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
14298 name as a fallback in case of encoding errors.
14299 (getnameinfo): Use DEPRECATED_NI_IDN.
14300 * inet/idna.c: New file.
14301 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
14302 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
14303 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
14304 (modules-names): Add tst-no-libidn2.
14305 (extra-test-objs): Add tst-no-libidn2.os.
14306 (LDFLAGS-tst-no-libidn2.so): Set soname.
14307 (LOCALES): Set, and generate locales.
14308 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
14309 (tst-resolv-ai_idn-latin1): Likewise.
14310 (tst-resolv-ai_idn-nolibidn2): Likewise.
14311 (tst-resolv-ai_idn.out): Depend on locales.
14312 (tst-resolv-ai_idn-latin1.out): Depend on locales.
14313 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
14315 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
14316 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
14317 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
14318 * resolv/tst-resolv-ai_idn.c: New file.
14319 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
14320 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
14321 * resolv/tst-no-libidn2.c: Likewise.
14322 * support/support_format_addrinfo.c (format_ai_flags): Do not
14323 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
14324 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
14325 (gaih_inet): Call __idna_to_dns_encoding and
14326 __idna_from_dns_encoding, and use the original (punycode) name if
14327 __idna_from_dns_encoding fails due to an encoding error.
14328 (getaddrinfo): Use DEPRECATED_AI_IDN.
14329 * sysdeps/unix/inet/Subdirs (libidn): Remove.
14330 * sysdeps/unix/inet/configure: Remove file.
14331 * sysdeps/unix/inet/configure.ac: Likewise.
14333 2018-05-23 Florian Weimer <fweimer@redhat.com>
14335 Implement allocate_once.
14336 * include/allocate_once.h: New file.
14337 * misc/allocate_once.c: Likewise.
14338 * misc/tst-allocate_once.c: Likewise.
14339 * misc/Makefile (routines): Add allocate_once.
14340 (tests-internal): Add tst-allocate_once.
14341 (generated): Add tst-allocate_once.mtrace,
14342 tst-allocate_once-mem.out.
14343 (tests-special): Add tst-allocate_once-mem.out.
14344 (tst-allocate_once-ENV): Set MALLOC_TRACE.
14345 (tst-allocate_once-mem.out): Call mtrace.
14346 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
14348 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14351 * string/test-memcpy.c (do_test1): New function.
14352 (test_main): Call it.
14354 2018-05-23 Andreas Schwab <schwab@suse.de>
14358 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
14359 (L(preloop_large)): Save initial destination pointer in %r11 and
14360 use it instead of %rax after the loop.
14361 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
14363 2018-05-22 Joseph Myers <joseph@codesourcery.com>
14365 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
14366 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
14367 -I../soft-fp. Moved from ....
14368 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
14369 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
14370 * sysdeps/aarch64/e_sqrtl.c: ... here.
14371 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
14372 * sysdeps/aarch64/sfp-machine.h: ... here.
14374 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
14375 -Wmaybe-uninitialized around access to fq[0].
14376 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14380 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
14381 aliases for non-libc case of versioned symbols.
14382 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
14383 (llseek): Define as compat symbol if
14384 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
14386 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
14387 Make into a compat symbol, disabled for minimum symbol version
14388 GLIBC_2.28 and later.
14389 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
14391 2018-05-22 Florian Weimer <fweimer@redhat.com>
14393 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
14394 not add -mpreferred-stack-boundary=4.
14395 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
14396 (stack-align-test-flags): Likewise.
14397 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
14399 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
14400 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
14401 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
14402 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
14403 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
14404 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
14405 (CFLAGS-tst-align2.c): Likewise.
14407 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14409 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
14410 (index_arch_Prefer_FSRM): Likewise.
14411 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14412 Also check Prefer_FSRM.
14413 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
14414 Also return OPTIMIZE (erms) for Prefer_FSRM.
14416 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14418 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
14419 (index_cpu_FSRM): Likewise.
14420 (reg_FSRM): Likewise.
14422 2018-05-18 Joseph Myers <joseph@codesourcery.com>
14424 * math/gen-tgmath-tests.py: Import sys.
14425 (Tests.__init__): Initialize macros_seen.
14426 (Tests.add_tests): Add macro to macros_seen. Only generate tests
14427 if requested to do so for this macro.
14428 (Tests.add_all_tests): Take argument for macro for which to
14430 (Tests.check_macro_list): New function.
14431 (main): Handle check-list argument and argument specifying macro
14432 for which to generate tests.
14433 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
14434 [PYTHON] (tgmath3-macro-tests): Likewise.
14435 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
14436 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
14437 not test-tgmath3.c.
14438 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
14439 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
14441 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
14442 [PYTHON] ($(foreach
14443 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
14445 [PYTHON] (tests-special): Add
14446 $(objpfx)test-tgmath3-macro-list.out.
14447 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
14449 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
14450 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
14454 * time/tzset.c (SECSPERDAY): Cast to time_t.
14455 * time/tst-y2039.c: New file.
14456 * time/Makefile (tests): Add tst-y2039.
14458 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14460 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14461 (PREFETCH_ONE_SET): Remove duplicate line.
14463 2018-05-17 Florian Weimer <fweimer@redhat.com>
14465 * sysdeps/generic/math-type-macros-double.h: Include
14466 <math-nan-payload-double.h> after <libm-alias-double.h>.
14467 * sysdeps/generic/math-type-macros-float.h: Include
14468 <math-nan-payload-float.h> after <libm-alias-float.h>.
14469 * sysdeps/generic/math-type-macros-float128.h: Include
14470 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
14471 * sysdeps/generic/math-type-macros-ldouble.h: Include
14472 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
14474 2018-05-17 Andreas Schwab <schwab@suse.de>
14476 * resolv/res_send.c (__res_context_send): Don't set errno when
14477 returing error after malloc failure.
14479 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
14481 * nptl/allocatestack.c (allocate_stack): Remove the
14482 !__ASSUME_PRIVATE_FUTEX paths.
14483 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
14484 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14486 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
14487 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14488 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14489 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14490 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
14491 !__ASSUME_PRIVATE_FUTEX path.
14492 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
14493 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
14494 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14495 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
14496 !__ASSUME_PRIVATE_FUTEX macros.
14497 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14498 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14499 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14500 * sysdeps/unix/sysv/linux/kernel-features.h
14501 (__ASSUME_PRIVATE_FUTEX): Removed.
14503 2018-05-17 Joseph Myers <joseph@codesourcery.com>
14505 * math/Makefile (libm-narrow-fns): Add div.
14506 (libm-test-funcs-narrow): Likewise.
14507 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
14508 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
14509 * math/gen-auto-libm-tests.c (test_functions): Add div.
14510 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
14511 (NARROW_DIV_ROUND_TO_ODD): Likewise.
14512 (NARROW_DIV_TRIVIAL): Likewise.
14513 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
14515 (__ddivl): Likewise.
14516 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
14518 (CFLAGS-nldbl-ddiv.c): New variable.
14519 (CFLAGS-nldbl-fdiv.c): Likewise.
14520 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14522 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
14524 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
14525 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
14526 * math/auto-libm-test-in: Add tests of div.
14527 * math/auto-libm-test-out-narrow-div: New generated file.
14528 * math/libm-test-narrow-div.inc: New file.
14529 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
14530 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
14531 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
14532 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
14533 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
14534 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
14535 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
14536 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
14537 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
14538 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
14539 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
14540 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
14541 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
14542 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
14543 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
14544 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
14545 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
14546 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
14547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14548 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14549 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14550 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14551 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14552 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14553 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14554 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14555 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14557 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14558 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14559 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14560 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14565 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14566 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14567 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14568 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14569 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14570 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14571 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14572 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14574 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14577 * nscd/nscd-client.h (sendfileall): Remove prototype.
14578 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
14579 (handle_request): Use writeall instead of sendfileall.
14580 * nscd/aicache.c (addhstaiX): Likewise.
14581 * nscd/grpcache.c (cache_addgr): Likewise.
14582 * nscd/hstcache.c (cache_addhst): Likewise.
14583 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14584 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
14585 * nscd/pwdcache.c (cache_addpw): Likewise.
14586 * nscd/servicescache.c (cache_addserv): Likewise.
14587 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
14588 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
14589 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
14592 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
14594 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
14595 Include <string/strncat.c>.
14596 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
14598 (__GI___strncat): New hidden alias.
14600 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14602 * sysdeps/mips/mips32/libm-test-ulps: Update.
14603 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14605 2018-05-16 Florian Weimer <fweimer@redhat.com>
14607 * support/Makefile (libsupport-routines): Add support_quote_blob,
14608 support_test_compare_blob.
14609 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14610 * support/check.h (TEST_COMPARE_BLOB): Define.
14611 (support_test_compare_blob): Declare.
14612 * support/support.h (support_quote_blob): Declare.
14613 * support/support_quote_blob.c: New file.
14614 * support/support_test_compare_blob.c: Likewise.
14615 * support/tst-support_quote_blob.c: Likewise.
14616 * support/tst-test_compare_blob.c: Likewise.
14618 2018-05-16 Florian Weimer <fweimer@redhat.com>
14620 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14621 of <strtod_nan_double.h>.
14622 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14623 instead of SET_MANTISSA.
14624 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14625 of include <strtod_nan_float.h>.
14626 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14627 instead of <strtod_nan_ldouble.h>.
14628 * stdlib/strtod_nan_double.h: Move to ...
14629 * sysdeps/generic/math-nan-payload-double.h: ... here.
14630 (FLOAT): Remove definition.
14631 (SET_MANTISSA): Rename to ...
14632 (SET_NAN_PAYLOAD): ... this.
14633 * stdlib/strtod_nan_float.h: Move to ...
14634 * sysdeps/generic/math-nan-payload-float.h: ... here.
14635 (FLOAT): Remove definition.
14636 (SET_MANTISSA): Rename to ...
14637 (SET_NAN_PAYLOAD): ... this.
14638 * sysdeps/generic/math-type-macros-double.h: Include
14639 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14640 instead of <math-svid-compat.h>.
14641 * sysdeps/generic/math-type-macros-float.h: Include
14642 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14643 instead of <math-svid-compat.h>.
14644 * sysdeps/generic/math-type-macros-float128.h: Include
14645 <math-nan-payload-float128.h>.
14646 * sysdeps/generic/math-type-macros-ldouble.h: Include
14647 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14648 instead of <math-svid-compat.h>.
14649 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14650 check for definition.
14651 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14652 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14653 Include <ieee754_float128.h>.
14654 (FLOAT): Remove definition.
14655 (SET_MANTISSA): Rename to ...
14656 (SET_NAN_PAYLOAD): ... this.
14657 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14658 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14659 Do not include <float128_private.h>.
14660 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14661 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14662 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14663 (FLOAT): Remove definition.
14664 (SET_MANTISSA): Rename to ...
14665 (SET_NAN_PAYLOAD): ... this.
14666 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14667 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14668 (FLOAT): Remove definition.
14669 (SET_MANTISSA): Rename to ...
14670 (SET_NAN_PAYLOAD): ... this.
14671 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14672 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14673 (FLOAT): Remove definition.
14674 (SET_MANTISSA): Rename to ...
14675 (SET_NAN_PAYLOAD): ... this.
14676 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14677 of "../stdlib/strtod_nan_double.h".
14678 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14679 of "../stdlib/strtod_nan_float.h".
14680 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14681 instead of "../stdlib/strtod_nan_ldouble.h".
14682 * manual/arith.texi (Parsing of Floats): Adjust comment.
14684 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14686 * math/Makefile (libm-narrow-fns): Add mul.
14687 (libm-test-funcs-narrow): Likewise.
14688 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14689 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14690 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14691 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14692 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14693 (NARROW_MUL_TRIVIAL): Likewise.
14694 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14695 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14697 (__dmull): Likewise.
14698 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14700 (CFLAGS-nldbl-dmul.c): New variable.
14701 (CFLAGS-nldbl-fmul.c): Likewise.
14702 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14704 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14706 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14707 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14708 * math/auto-libm-test-in: Add tests of mul.
14709 * math/auto-libm-test-out-narrow-mul: New generated file.
14710 * math/libm-test-narrow-mul.inc: New file.
14711 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14712 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14713 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14714 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14715 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14716 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14717 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14718 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14719 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14720 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14721 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14722 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14723 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14724 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14725 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14726 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14727 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14728 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14730 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14731 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14732 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14733 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14734 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14735 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14736 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14737 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14738 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14739 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14740 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14741 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14742 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14747 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14748 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14749 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14750 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14751 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14752 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14753 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14754 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14756 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14758 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14759 with *%eax in call.
14761 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14763 * sysdeps/i386/ldsodefs.h: Removed.
14764 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14765 * sysdeps/x86/ldsodefs.h: This.
14766 (La_i86_regs): New.
14767 (La_i86_retval): Likewise.
14768 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14769 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14771 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14773 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14776 2018-05-13 Alan Modra <amodra@gmail.com>
14778 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14779 R_PARISC_TLS_DTPOFF32 reloc addend.
14781 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14783 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14784 * math/math.h: Restrict the prototype definition for the functions
14785 issignaling(_Float128) and iszero(_Float128); and template
14786 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14787 __HAVE_FLOAT128_UNLIKE_LDBL.
14788 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14789 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14790 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14791 __f128() constants; define the type _Float128 as long double;
14792 and reuse long double in __CFLOAT128.
14794 2018-05-11 Joseph Myers <joseph@codesourcery.com>
14796 * sysdeps/generic/math_private.h: Do not include
14798 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14800 * math/fromfp.h: Include <math-barriers.h>.
14801 * math/math-narrow.h: Likewise.
14802 * math/s_nextafter.c: Likewise.
14803 * math/s_nexttowardf.c: Likewise.
14804 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14805 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14806 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14807 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14808 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14809 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14810 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14811 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14812 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14813 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14814 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14815 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14816 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14817 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14818 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14819 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14820 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14821 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14822 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14823 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14824 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14825 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14826 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14827 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14828 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14829 * sysdeps/ieee754/k_standardl.c: Likewise.
14830 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14831 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14832 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14833 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14834 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14835 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14836 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14837 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14838 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14839 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14840 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14841 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14842 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14843 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14844 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14845 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14846 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14847 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14848 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14849 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14850 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14851 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14853 2018-05-11 Florian Weimer <fweimer@redhat.com>
14855 Use 64-bit epoch values in the time zone file parser.
14856 * include/time.h (internal_time_t): Define.
14857 (__tzfile_compute): Use it.
14858 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14860 (transitions): Switch to internal_time_t.
14861 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14863 (__tzfile_compute): Use internal_time_t for timer argument. Check
14864 for truncation before calling __offtime.
14866 2018-05-11 Florian Weimer <fweimer@redhat.com>
14869 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14870 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14872 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14873 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14874 export without --enable-obsolete-rpc.
14875 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14876 symbol. This should not have been exported, ever.
14878 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14881 * localedata/locales/gd_GB (abmon): Fix typo in May:
14882 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14884 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14886 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14887 Use multiple registers to copy data in loop tail.
14889 * sysdeps/aarch64/multiarch/memmove_falkor.S
14890 (__memmove_falkor): Use multiple registers to move data in
14893 2018-05-10 Joseph Myers <joseph@codesourcery.com>
14895 * math/math-underflow.h: New file.
14896 * sysdeps/generic/math_private.h: Do not include <float.h>.
14897 (fabs_tg): Remove macro. Moved to math-underflow.h.
14898 (min_of_type_f): Likewise.
14899 (min_of_type_): Likewise.
14900 (min_of_type_l): Likewise.
14901 (min_of_type_f128): Likewise.
14902 (min_of_type): Likewise.
14903 (math_check_force_underflow): Likewise.
14904 (math_check_force_underflow_nonneg): Likewise.
14905 (math_check_force_underflow_complex): Likewise.
14906 * math/e_exp2_template.c: Include <math-underflow.h>.
14907 * math/k_casinh_template.c: Likewise.
14908 * math/s_catan_template.c: Likewise.
14909 * math/s_catanh_template.c: Likewise.
14910 * math/s_ccosh_template.c: Likewise.
14911 * math/s_cexp_template.c: Likewise.
14912 * math/s_clog10_template.c: Likewise.
14913 * math/s_clog_template.c: Likewise.
14914 * math/s_csin_template.c: Likewise.
14915 * math/s_csinh_template.c: Likewise.
14916 * math/s_csqrt_template.c: Likewise.
14917 * math/s_ctan_template.c: Likewise.
14918 * math/s_ctanh_template.c: Likewise.
14919 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14920 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14921 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14922 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14923 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14924 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14925 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14927 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14928 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14929 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14930 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14931 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14932 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14933 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14934 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14935 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14936 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14937 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14938 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14939 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14940 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14941 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14942 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14943 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14944 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14945 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14946 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14947 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14948 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14949 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14950 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14951 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14952 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14953 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14954 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14955 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14956 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14957 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14958 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14959 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14960 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14961 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14962 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14963 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14964 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14965 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14966 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14967 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14968 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14969 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14970 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14971 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14972 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14973 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14974 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14975 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14976 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14977 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14978 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14979 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14980 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14981 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14982 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14983 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14984 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14985 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14986 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14987 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14988 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14989 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14990 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14991 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14992 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14993 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14994 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14995 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14996 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14997 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14998 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14999 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
15000 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15001 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15002 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15004 2018-05-09 Joseph Myers <joseph@codesourcery.com>
15006 * sysdeps/generic/math-barriers.h: New file.
15007 * sysdeps/generic/math_private.h [!math_opt_barrier]
15008 (math_opt_barrier): Move to math-barriers.h.
15009 [!math_opt_barrier] (math_force_eval): Likewise.
15010 * sysdeps/aarch64/fpu/math-barriers.h: New file.
15011 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
15013 (math_force_eval): Likewise.
15014 * sysdeps/alpha/fpu/math-barriers.h: New file.
15015 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
15017 (math_force_eval): Likewise.
15018 * sysdeps/x86/fpu/math-barriers.h: New file.
15019 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
15021 (math_force_eval): Likewise.
15022 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
15023 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
15024 multiple-include guard for rename.
15025 * sysdeps/powerpc/fpu/math-barriers.h: New file.
15026 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
15028 (math_force_eval): Likewise.
15030 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15034 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
15036 * stdlib/Makefile (test-bz22786): New test.
15037 * stdlib/test-bz22786.c: New test.
15039 2018-05-09 Joseph Myers <joseph@codesourcery.com>
15041 * include/math-narrow-eval.h: New file. Contents moved from ....
15042 * sysdeps/generic/math_private.h: ... here.
15043 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
15044 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15045 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
15046 * stdlib/strtod_l.c: Likewise.
15047 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15048 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15049 * sysdeps/i386/fpu/s_fdim.c: Likewise.
15050 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15051 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15052 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15053 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15054 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15055 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15056 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15057 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15058 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
15059 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15060 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15061 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15062 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15063 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15064 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15065 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15066 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15067 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15068 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15069 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15070 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15071 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15072 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15073 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15074 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15075 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15077 2018-05-08 Andreas Schwab <schwab@suse.de>
15079 * sysdeps/nptl/internaltypes.h: Fix comment.
15081 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
15083 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15084 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
15087 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15089 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
15090 of I into loop header.
15091 * benchtests/bench-memmove-walk.c
15092 (test_main): Likewise.
15094 2018-05-07 Alexandre Oliva <oliva@gnu.org>
15097 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15098 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15100 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15103 * elf/dl-load.c (open_verify): Fix stack overflow.
15104 * elf/Makefile (tst-big-note): New test.
15105 * elf/tst-big-note-lib.S: New.
15106 * elf/tst-big-note.c: New.
15108 2018-05-04 Joseph Myers <joseph@codesourcery.com>
15110 * scripts/abilist.awk: Ignore absolute symbols.
15111 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
15112 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
15113 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
15114 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
15115 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
15116 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
15117 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15118 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
15119 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
15120 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
15121 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
15122 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
15123 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
15124 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
15125 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
15126 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15127 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
15128 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
15129 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15130 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
15131 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15132 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
15133 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
15134 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
15135 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
15136 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
15137 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
15138 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
15139 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15140 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
15141 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
15142 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15143 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
15144 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15145 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
15146 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
15147 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
15148 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
15149 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
15150 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
15151 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
15152 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15153 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
15154 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
15155 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15156 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
15157 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15158 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
15159 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
15160 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
15161 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
15162 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
15163 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
15164 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
15165 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15166 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
15167 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
15168 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15169 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
15170 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15171 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
15172 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
15173 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
15174 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
15175 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
15176 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
15177 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
15178 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15179 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
15180 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
15181 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15182 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
15183 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15184 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
15185 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
15186 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
15187 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
15188 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
15189 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
15190 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
15191 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15192 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
15193 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
15194 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15195 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
15196 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15197 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
15198 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
15199 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
15200 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
15201 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
15202 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15204 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
15205 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15206 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
15207 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
15208 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15209 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
15210 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15211 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
15212 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
15213 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
15214 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
15215 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
15216 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15218 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
15219 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15220 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
15221 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
15222 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15223 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
15224 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
15225 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
15226 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
15227 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
15228 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
15229 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
15230 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
15231 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
15232 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15233 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
15234 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
15235 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15236 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
15237 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15238 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
15239 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
15240 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
15241 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
15242 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15243 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
15244 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15246 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
15247 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
15248 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
15249 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
15250 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15251 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
15252 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
15253 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
15254 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
15255 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
15256 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
15257 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
15258 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
15259 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
15260 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
15261 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
15262 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
15263 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
15264 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15265 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15267 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
15268 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
15269 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
15270 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15271 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
15272 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
15273 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
15274 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
15275 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
15276 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
15277 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15278 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
15279 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
15280 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15281 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
15282 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
15283 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
15284 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
15285 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15286 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
15287 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
15288 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15289 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
15290 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
15291 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
15292 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
15293 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
15294 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
15295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
15298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
15301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
15302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
15303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
15304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
15306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
15308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
15309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
15312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
15324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
15325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
15330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
15331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
15332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
15336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
15337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
15345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
15346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
15347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
15354 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15355 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
15357 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15358 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15359 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
15360 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15361 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15362 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15363 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
15364 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
15365 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15366 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
15367 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15368 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
15369 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
15370 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15372 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15373 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
15374 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
15375 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15376 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
15377 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15378 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
15379 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
15380 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
15381 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
15382 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
15383 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15385 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15386 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
15387 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
15388 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15389 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
15390 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15391 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
15392 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
15393 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
15394 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
15395 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
15396 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
15397 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
15398 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15399 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
15400 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
15401 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15402 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
15403 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15404 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
15405 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
15406 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
15407 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
15408 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
15409 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15411 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
15412 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15413 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
15414 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
15415 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15416 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
15417 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15418 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
15419 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
15420 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
15421 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
15422 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
15423 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15425 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
15426 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15427 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
15428 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
15429 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15430 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
15431 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15432 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
15433 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
15434 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
15435 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
15436 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
15437 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
15438 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
15439 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15440 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
15441 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
15442 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15443 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
15444 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15445 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
15446 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
15447 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
15448 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
15449 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15450 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
15451 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
15452 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
15453 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15454 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
15455 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
15456 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15457 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
15458 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15459 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
15460 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
15461 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
15462 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
15464 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15467 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
15468 Use atomic_load_acquire to load __tid.
15470 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15472 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
15473 Restore the pointer into %rdx, after syscall and use %rdx,
15474 instead of %rsi, to restore context.
15476 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15478 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
15479 Pop the pointer into %rdx after syscall and use %rdx, instead
15480 of %rsi, to restore context.
15482 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15484 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
15485 handlers after setjmp.
15486 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
15488 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
15489 <libc-pointer-arith.h>.
15490 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
15491 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
15492 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
15493 _JUMP_BUF_SIGSET_BITS_PER_WORD.
15494 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
15495 * sysdeps/x86/__longjmp_cancel.S: New file.
15496 * sysdeps/x86/longjmp.c: Likewise.
15497 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
15499 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15501 * NEWS: Add ustat.h deprecation entry.
15502 * bits/ustat.h: Remove file.
15503 * misc/sys/ustat.h: Likewise.
15504 * misc/ustat.h: Likewise.
15505 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
15506 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
15507 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
15508 compatibility mode.
15509 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
15510 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
15511 generic Linux implementation.
15513 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15515 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
15516 * math/w_expl_compat.c: Likewise.
15517 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
15519 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15521 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15523 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15525 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
15526 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
15527 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
15529 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
15530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15531 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15532 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
15533 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
15536 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15538 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
15540 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
15541 * math/w_asin_template.c: Likewise.
15542 * math/w_atanh_template.c: Likewise.
15544 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15546 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
15547 to powerpc/powerpc64/be for big-endian.
15548 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
15551 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
15552 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
15553 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
15554 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
15555 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15556 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
15557 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
15558 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
15559 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
15560 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15561 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
15562 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
15563 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
15564 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
15565 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
15566 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
15567 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
15568 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
15569 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
15570 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
15571 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
15572 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15573 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
15574 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
15575 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
15576 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15577 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
15578 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
15579 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
15580 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15581 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15582 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15584 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
15585 adjusted to imply powerpc64 and older processors on powerpc64/be.
15586 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
15587 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
15588 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
15589 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
15590 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
15591 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
15592 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
15593 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
15594 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
15595 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
15596 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
15597 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
15598 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
15599 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
15600 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
15601 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
15602 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
15603 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15604 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15605 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15606 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15607 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15608 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15609 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15610 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15611 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15612 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15613 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15614 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15615 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15616 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15618 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15619 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15620 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15621 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15623 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15624 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15625 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15626 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15628 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15629 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15630 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15631 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15632 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15633 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15634 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15635 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15636 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15637 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15638 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15640 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15641 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15642 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15643 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15644 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15645 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15646 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15647 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15648 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15649 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15650 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15652 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15653 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15654 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15655 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15656 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15657 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15658 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15659 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15660 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15661 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15662 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15663 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15665 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15666 and adjusted to imply olders processors.
15667 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15668 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15669 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15670 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15671 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15672 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15673 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15674 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15675 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15676 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15677 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15679 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15681 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15682 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15696 powerpc64 and adjusted.
15697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15702 2018-04-27 Joseph Myers <joseph@codesourcery.com>
15704 * sysdeps/tile: Remove.
15705 * sysdeps/unix/sysv/linux/tile: Likewise.
15706 * README (tilegx-*-linux-gnu): Remove from list of supported
15708 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15709 contribution of support for generic Linux kernel syscall
15711 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15712 tilegx configurations.
15713 (Config.install_linux_headers): Do not handle tile.
15714 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15716 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15717 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15718 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15719 conditional undefine and redefine.
15720 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15722 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15723 conditional undefine and redefine.
15725 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15727 * signal/tst-sigaction.c: New file to test BZ #23069.
15728 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15730 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15733 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15734 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15735 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15736 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15738 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15740 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15741 _DIRENT_MATCHES_DIRENT64 is not defined.
15742 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15743 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15745 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15746 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15748 2018-04-25 Joseph Myers <joseph@codesourcery.com>
15750 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15751 version to GCC 8 branch.
15753 2018-04-24 Joseph Myers <joseph@codesourcery.com>
15755 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15756 (check_no_hidden): Use type of original function when declaring
15759 * sysdeps/unix/sysv/linux/sys/ptrace.h
15760 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15761 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15762 (struct __ptrace_seccomp_metadata): New type.
15763 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15764 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15765 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15766 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15767 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15768 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15769 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15770 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15771 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15772 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15773 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15774 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15775 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15776 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15777 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15778 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15780 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15782 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15784 * dirent/versionsort.c (versionsort): Likewise.
15785 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15786 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15787 * dirent/versionsort64.c (versionsort64): Likewise.
15788 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15789 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15790 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15791 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15792 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15793 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15794 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15795 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15796 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15797 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15800 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15801 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15803 2018-04-23 Joseph Myers <joseph@codesourcery.com>
15805 * elf/elf.h (NT_PPC_PKEY): New macro.
15807 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
15810 * localedata/locales/hr_HR: fix thousands_sep and
15813 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15815 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15816 (XTABS): Define to TAB3.
15818 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15820 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15822 * dirent/scandir-tail-common.c: New file.
15823 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15824 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15825 * dirent/scandir.c: Use scandir-tail-common.c.
15826 * dirent/scandirat.c: Likewise.
15827 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15828 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15829 if _DIRENT_MATCHES_DIRENT64 is defined.
15830 * dirent/scandirat64.c (scandirat64): Likewise.
15831 * include/dirent.h (__scandir_tail): Only define iff
15832 _DIRENT_MATCHES_DIRENT64 is not defined.
15833 (__scandir64_tail): Define regardless.
15834 (__scandirat, scandirat64): Remove libc_hidden_proto.
15835 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15836 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15838 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15839 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15840 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15841 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15843 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15845 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15847 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15849 (_dl_aarch64_cap_flags): Add asimdfhm.
15851 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15853 * sysdeps/nios2/libm-test-ulps: Update.
15855 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15857 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15858 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15860 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15862 (_DIRENT_MATCHES_DIRENT64): Undef
15863 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15864 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15865 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15866 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15867 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15868 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15869 use getdents64 syscalls as base.
15870 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15871 symbol if required.
15872 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15873 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15874 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15875 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15876 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15877 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15878 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15879 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15880 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15881 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15882 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15884 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15886 * scripts/test_printers_common.py (init_test): Disable lock elision.
15888 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15890 * math/test-tgmath.c (count_double, count_float,
15891 count_ldouble, count_cdouble, count_cfloat,
15892 count_cldouble): Use volatile int.
15894 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15896 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15897 (conformtest-xfail-conds): Add i386-gnu.
15898 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
15900 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15901 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15902 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15903 msqid_ds.msg_lrpid): Likewise.
15904 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15906 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15907 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
15908 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15909 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15911 (struct statvfs64): Likewise.
15912 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15914 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15915 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15916 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15917 instead of wait_queue.
15918 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15919 instead of vm_area_struct.
15920 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15921 struct sched_param definition to it.
15922 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15923 * bits/types/struct_sched_param.h: New file.
15924 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15925 <bits/types/struct_sched_param.h> instead of <sched.h>.
15926 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
15927 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15928 generic version but include <bits/pthreadtypes.h> to make struct
15929 sigevent's sigev_notify_attributes field a pthread_attr_t*.
15930 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15932 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15933 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15934 [__USE_XOPEN] (OFDEL): New macro.
15935 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
15936 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
15937 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15939 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15940 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
15941 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15943 * sysdeps/i386/sys/ucontext.h: Likewise.
15944 * sysdeps/m68k/sys/ucontext.h: Likewise.
15945 * sysdeps/mips/sys/ucontext.h: Likewise.
15946 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
15947 * sysdeps/mach/hurd/i386/Makefile
15948 (test-xfail-POSIX/fcntl.h/conform): Add.
15949 (test-xfail-POSIX/signal.h/conform): Add.
15950 (test-xfail-POSIX/semaphore.h/conform): Add.
15951 (test-xfail-POSIX/regex.h/conform): Add.
15952 (test-xfail-POSIX/aio.h/conform): Add.
15953 (test-xfail-POSIX/mqueue.h/conform): Add.
15954 (test-xfail-POSIX/sys/types.h/conform): Add.
15955 (test-xfail-UNIX98/fcntl.h/conform): Add.
15956 (test-xfail-UNIX98/netdb.h/conform): Add.
15957 (test-xfail-UNIX98/signal.h/conform): Add.
15958 (test-xfail-UNIX98/semaphore.h/conform): Add.
15959 (test-xfail-UNIX98/regex.h/conform): Add.
15960 (test-xfail-UNIX98/aio.h/conform): Add.
15961 (test-xfail-UNIX98/ftw.h/conform): Add.
15962 (test-xfail-UNIX98/mqueue.h/conform): Add.
15963 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15964 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15965 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15966 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15967 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15968 (test-xfail-UNIX98/sys/types.h/conform): Add.
15969 (test-xfail-UNIX98/stdlib.h/conform): Add.
15970 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15971 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15972 (test-xfail-POSIX2008/netdb.h/conform): Add.
15973 (test-xfail-POSIX2008/signal.h/conform): Add.
15974 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15975 (test-xfail-POSIX2008/regex.h/conform): Add.
15976 (test-xfail-POSIX2008/aio.h/conform): Add.
15977 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15978 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15979 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15980 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15981 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15982 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15983 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15984 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15985 (test-xfail-XOPEN2K/signal.h/conform): Add.
15986 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15987 (test-xfail-XOPEN2K/regex.h/conform): Add.
15988 (test-xfail-XOPEN2K/aio.h/conform): Add.
15989 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15990 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15991 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15992 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15993 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15994 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15995 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15996 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15997 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15998 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15999 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
16000 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
16001 (test-xfail-XOPEN2K8/signal.h/conform): Add.
16002 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
16003 (test-xfail-XOPEN2K8/regex.h/conform): Add.
16004 (test-xfail-XOPEN2K8/aio.h/conform): Add.
16005 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
16006 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
16007 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
16008 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
16009 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
16010 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
16011 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
16012 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
16013 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
16014 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
16015 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
16017 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
16018 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
16020 2018-04-18 Joseph Myers <joseph@codesourcery.com>
16022 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16023 --enable-obsolete for powerpc-linux-gnuspe.
16025 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16027 * conform/data/sys/un.h-data: Allow sun_ prefix.
16028 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
16030 * sysdeps/mach/include/mach.h: Likewise.
16031 * sysdeps/mach/include/mach/mig_support.h: Likewise.
16032 * sysdeps/mach/include/mach_error.h: Likewise.
16034 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16036 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
16037 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
16038 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
16039 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
16041 2018-04-16 Andreas Schwab <schwab@suse.de>
16044 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
16046 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16048 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
16049 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
16051 2018-04-12 DJ Delorie <dj@redhat.com>
16053 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16056 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16058 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
16059 (struct kernel_sigaction): Use the same definition on 31bit as is used
16062 2018-04-09 Florian Weimer <fweimer@redhat.com>
16065 * resolv/res_send.c (send_dg): Use designated initializers instead
16066 of assignment to zero-initialize other fields of struct mmsghdr.
16068 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16070 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
16071 __READDIR_ALIAS): Undefine after usage.
16072 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
16073 __READDIR_R_ALIAS): Likewise.
16074 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
16075 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
16076 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
16077 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
16078 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
16079 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
16080 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16081 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16082 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
16083 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
16084 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
16085 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
16086 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16087 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
16088 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
16089 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
16090 * sysdeps/unix/sysv/linux/readdir.c: New file.
16091 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
16092 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
16093 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
16095 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16097 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
16099 * manual/charset.texi (Converting a Character): Fix typo.
16101 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16105 * sysdeps/arm/libm-test-ulps: Update.
16107 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
16108 as base implementation.
16109 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16110 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16111 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16112 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16113 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16114 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
16115 remove unrequired definitions and update comments.
16116 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
16117 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
16118 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
16119 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
16120 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
16121 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
16122 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
16123 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
16124 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
16125 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
16126 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
16127 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16128 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16129 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
16130 and RESET_SA_RESTORER hooks.
16132 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
16134 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16136 2018-04-05 Florian Weimer <fweimer@redhat.com>
16138 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
16139 integer overflow, memory leak on error, and indeterminate errno
16140 value. Add a null wide character to terminate the result string.
16141 * manual/charset.texi (Converting a Character): Mention embedded
16142 null bytes in the mbrtowc input string. Explain what happens in
16143 the -2 result case. Do not claim that mbrtowc is simple or
16144 obvious to use. Adjust the description of the code example. Use
16145 @code, not @var, for concrete variables.
16147 2018-04-05 Florian Weimer <fweimer@redhat.com>
16149 * manual/examples/mbstouwcs.c: New file.
16150 * manual/charset.texi (Converting a Character): Include it.
16152 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16154 * include/dirent.h (dirfd): Add hidden proto.
16155 * dirent/dirfd.c (dirfd): Add hidden def.
16156 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
16157 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
16159 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16161 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
16162 sin, cos and sincos to 1 ULP.
16164 2018-04-04 Maciej W. Rozycki <macro@mips.com>
16167 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
16169 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
16170 * elf/tst-absolute-sym.c: New file.
16171 * elf/tst-absolute-sym-lib.c: New file.
16172 * elf/tst-absolute-sym-lib.lds: New file.
16173 * elf/Makefile (tests): Add `tst-absolute-sym'.
16174 (modules-names): Add `tst-absolute-sym-lib'.
16175 (LDLIBS-tst-absolute-sym-lib.so): New variable.
16176 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
16177 ($(objpfx)tst-absolute-sym): New dependency.
16180 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
16182 (SYMBOL_ADDRESS): New macro.
16183 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
16184 SYMBOL_ADDRESS for symbol address calculation.
16185 * elf/dl-runtime.c (_dl_fixup): Likewise.
16186 (_dl_profile_fixup): Likewise.
16187 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
16188 * elf/rtld.c (dl_main): Likewise.
16189 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
16190 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
16191 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
16192 (elf_machine_rela): Likewise.
16193 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
16194 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
16195 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16196 (elf_machine_rela): Likewise.
16197 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16198 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
16199 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
16200 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16202 (elf_machine_reloc): Likewise.
16203 (elf_machine_got_rel): Likewise.
16204 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
16205 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
16206 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16208 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16210 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
16211 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16213 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16215 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16216 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16218 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16220 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
16221 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16223 2018-04-04 Zack Weinberg <zackw@panix.com>
16225 * sysdeps/generic/internal-signals.h: Include signal.h,
16226 sigsetops.h, and stdbool.h.
16227 (__libc_signal_block_all): Actually block all signals.
16228 (__libc_signal_block_app): Likewise.
16229 (__libc_signal_restore_set): Actually restore the signal mask.
16231 2018-04-04 Florian Weimer <fweimer@redhat.com>
16233 inet: Actually build and run tst-deadline.
16234 * inet/Makefile (tests-internal): Add tst-deadline and do not
16235 overwrite the variable.
16236 (tests-static-internal): Remove variable.
16238 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
16241 * bits/uio-ext.h (RWF_APPEND): New.
16242 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
16243 * manual/llio.texi: Document RWF_APPEND.
16244 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
16245 (RWF_SUPPORTED): Add RWF_APPEND.
16247 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16250 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
16251 check for internal nptl signals.
16252 * nptl/sigaction.c (__sigaction): Likewise.
16253 * signal/sigaddset.c (sigaddset): Likewise.
16254 * signal/sigdelset.c (sigdelset): Likewise.
16255 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16256 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
16258 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
16259 to filter out internal nptl signals.
16260 * signal/tst-sigset.c (do_test): Check ech signal indidually and
16261 also check realtime signals using standard macros.
16262 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
16263 __is_internal_signal, __libc_signal_block_all,
16264 __libc_signal_block_app, __libc_signal_restore_set): New functions.
16265 * sysdeps/nptl/sigfillset.c: Remove file.
16266 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
16267 Change return to bool.
16268 (__clear_internal_signals): Remove SIGTIMER clean since it is
16269 equal to SIGCANEL on Linux.
16270 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
16271 signal set was constructed using standard functions.
16273 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16275 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
16276 ifname is too long.
16277 * hurd/hurdsig.c (interrupted_reply_port_location): Use
16278 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
16279 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
16281 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
16282 * signal/sigaddset.c: Include <sigsetopts.h>.
16283 * signal/sigdelset.c: Likewise.
16285 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16287 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
16289 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
16290 logic as sin and cos.
16292 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16294 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
16295 inputs. Return correct sign.
16296 (do_sincos): Remove small input check before do_sin, let do_sin set
16301 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16303 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
16304 (do_cos_slow): Likewise.
16305 (do_sin_slow): Likewise.
16306 (reduce_and_compute): Likewise.
16311 (sloww1): Likewise.
16312 (sloww2): Likewise.
16314 (bslow1): Likewise.
16315 (bslow2): Likewise.
16316 (cslow2): Likewise.
16318 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16320 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
16321 (do_cos): Remove corp parameter and calculations.
16322 (do_sin): Likewise.
16323 (do_sincos): Remove cor variable.
16324 (__sin): Use do_sincos for huge inputs.
16326 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16327 (reduce_and_compute_sincos): Remove unused function.
16329 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16331 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
16332 reduce_sincos, improve accuracy to 136 bits.
16333 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
16334 (__sin): Use improved reduction and simplified do_sincos calculation.
16336 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16338 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16340 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
16341 (do_sincos_2): Likewise.
16342 (__sin): Remove middle range reduction case.
16344 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
16347 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16349 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
16350 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
16353 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
16355 2018-04-03 Joseph Myers <joseph@codesourcery.com>
16357 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16360 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16362 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
16363 Remove definitions.
16364 (opendir_oflags): Use O_DIRECTORY regardless.
16365 (__opendir, __opendirat): Remove need_isdir_precheck usage.
16366 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
16368 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16370 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
16371 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
16373 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
16374 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
16375 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
16376 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
16377 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
16378 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
16380 * htl/Makefile: Bump licence to LGPL 2.1+.
16381 * htl/alloca_cutoff.c: Likewise.
16382 * htl/cthreads-compat.c: Likewise.
16383 * htl/lockfile.c: Likewise.
16384 * htl/pt-alloc.c: Likewise.
16385 * htl/pt-cancel.c: Likewise.
16386 * htl/pt-cleanup.c: Likewise.
16387 * htl/pt-create.c: Likewise.
16388 * htl/pt-dealloc.c: Likewise.
16389 * htl/pt-detach.c: Likewise.
16390 * htl/pt-exit.c: Likewise.
16391 * htl/pt-getattr.c: Likewise.
16392 * htl/pt-initialize.c: Likewise.
16393 * htl/pt-internal.h: Likewise.
16394 * htl/pt-join.c: Likewise.
16395 * htl/pt-self.c: Likewise.
16396 * htl/pt-setcancelstate.c: Likewise.
16397 * htl/pt-setcanceltype.c: Likewise.
16398 * htl/pt-sigmask.c: Likewise.
16399 * htl/pt-spin-inlines.c: Likewise.
16400 * htl/pt-testcancel.c: Likewise.
16401 * htl/pt-yield.c: Likewise.
16402 * htl/tests/test-1.c: Likewise.
16403 * htl/tests/test-10.c: Likewise.
16404 * htl/tests/test-11.c: Likewise.
16405 * htl/tests/test-12.c: Likewise.
16406 * htl/tests/test-13.c: Likewise.
16407 * htl/tests/test-14.c: Likewise.
16408 * htl/tests/test-15.c: Likewise.
16409 * htl/tests/test-16.c: Likewise.
16410 * htl/tests/test-17.c: Likewise.
16411 * htl/tests/test-2.c: Likewise.
16412 * htl/tests/test-3.c: Likewise.
16413 * htl/tests/test-4.c: Likewise.
16414 * htl/tests/test-5.c: Likewise.
16415 * htl/tests/test-6.c: Likewise.
16416 * htl/tests/test-7.c: Likewise.
16417 * htl/tests/test-8.c: Likewise.
16418 * htl/tests/test-9.c: Likewise.
16419 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
16420 * sysdeps/htl/bits/cancelation.h: Likewise.
16421 * sysdeps/htl/bits/pthread-np.h: Likewise.
16422 * sysdeps/htl/bits/pthread.h: Likewise.
16423 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
16424 * sysdeps/htl/bits/semaphore.h: Likewise.
16425 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
16426 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
16427 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
16428 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
16429 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
16430 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
16431 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
16432 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
16433 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
16434 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
16435 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
16436 * sysdeps/htl/old_pt-atfork.c: Likewise.
16437 * sysdeps/htl/pt-atfork.c: Likewise.
16438 * sysdeps/htl/pt-attr-destroy.c: Likewise.
16439 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
16440 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
16441 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
16442 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
16443 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
16444 * sysdeps/htl/pt-attr-getscope.c: Likewise.
16445 * sysdeps/htl/pt-attr-getstack.c: Likewise.
16446 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
16447 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
16448 * sysdeps/htl/pt-attr-init.c: Likewise.
16449 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
16450 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
16451 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
16452 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
16453 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
16454 * sysdeps/htl/pt-attr-setscope.c: Likewise.
16455 * sysdeps/htl/pt-attr-setstack.c: Likewise.
16456 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
16457 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
16458 * sysdeps/htl/pt-attr.c: Likewise.
16459 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
16460 * sysdeps/htl/pt-barrier-init.c: Likewise.
16461 * sysdeps/htl/pt-barrier-wait.c: Likewise.
16462 * sysdeps/htl/pt-barrier.c: Likewise.
16463 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
16464 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
16465 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
16466 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
16467 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
16468 * sysdeps/htl/pt-cond-destroy.c: Likewise.
16469 * sysdeps/htl/pt-cond-init.c: Likewise.
16470 * sysdeps/htl/pt-cond-signal.c: Likewise.
16471 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
16472 * sysdeps/htl/pt-cond-wait.c: Likewise.
16473 * sysdeps/htl/pt-cond.c: Likewise.
16474 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
16475 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
16476 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
16477 * sysdeps/htl/pt-condattr-init.c: Likewise.
16478 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
16479 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
16480 * sysdeps/htl/pt-destroy-specific.c: Likewise.
16481 * sysdeps/htl/pt-equal.c: Likewise.
16482 * sysdeps/htl/pt-getconcurrency.c: Likewise.
16483 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
16484 * sysdeps/htl/pt-getschedparam.c: Likewise.
16485 * sysdeps/htl/pt-getspecific.c: Likewise.
16486 * sysdeps/htl/pt-init-specific.c: Likewise.
16487 * sysdeps/htl/pt-key-create.c: Likewise.
16488 * sysdeps/htl/pt-key-delete.c: Likewise.
16489 * sysdeps/htl/pt-key.h: Likewise.
16490 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
16491 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
16492 * sysdeps/htl/pt-mutex-init.c: Likewise.
16493 * sysdeps/htl/pt-mutex-lock.c: Likewise.
16494 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
16495 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
16496 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
16497 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
16498 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
16499 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
16500 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
16501 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
16502 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
16503 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
16504 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
16505 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
16506 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
16507 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
16508 * sysdeps/htl/pt-mutexattr.c: Likewise.
16509 * sysdeps/htl/pt-once.c: Likewise.
16510 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
16511 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
16512 * sysdeps/htl/pt-rwlock-init.c: Likewise.
16513 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
16514 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
16515 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
16516 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
16517 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
16518 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
16519 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
16520 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
16521 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
16522 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
16523 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
16524 * sysdeps/htl/pt-setconcurrency.c: Likewise.
16525 * sysdeps/htl/pt-setschedparam.c: Likewise.
16526 * sysdeps/htl/pt-setschedprio.c: Likewise.
16527 * sysdeps/htl/pt-setspecific.c: Likewise.
16528 * sysdeps/htl/pt-spin.c: Likewise.
16529 * sysdeps/htl/pt-startup.c: Likewise.
16530 * sysdeps/htl/pthread.h: Likewise.
16531 * sysdeps/htl/sem-close.c: Likewise.
16532 * sysdeps/htl/sem-destroy.c: Likewise.
16533 * sysdeps/htl/sem-getvalue.c: Likewise.
16534 * sysdeps/htl/sem-init.c: Likewise.
16535 * sysdeps/htl/sem-open.c: Likewise.
16536 * sysdeps/htl/sem-post.c: Likewise.
16537 * sysdeps/htl/sem-timedwait.c: Likewise.
16538 * sysdeps/htl/sem-trywait.c: Likewise.
16539 * sysdeps/htl/sem-unlink.c: Likewise.
16540 * sysdeps/htl/sem-wait.c: Likewise.
16541 * sysdeps/hurd/htl/pt-kill.c: Likewise.
16542 * sysdeps/i386/htl/pt-machdep.h: Likewise.
16543 * sysdeps/mach/htl/pt-block.c: Likewise.
16544 * sysdeps/mach/htl/pt-spin.c: Likewise.
16545 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
16546 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
16547 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
16548 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
16549 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
16550 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
16551 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
16552 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
16553 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
16554 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
16555 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
16556 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
16557 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
16558 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
16559 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
16560 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
16561 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
16562 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
16563 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
16564 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
16565 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
16566 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
16567 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
16568 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
16569 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
16570 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
16571 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
16572 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
16573 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
16574 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
16575 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
16576 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
16577 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
16578 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
16579 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
16580 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
16581 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
16582 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
16583 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
16584 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
16585 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
16586 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
16587 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
16589 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
16590 * README: Remove the mention of out-of-tree patches needed for
16593 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
16594 (UTIME_NOW, UTIME_OMIT): Define macros.
16596 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
16597 instead of pthread_detach.
16598 (__cthread_fork): Call __pthread_create instead of pthread_create.
16599 (__cthread_keycreate): Call __pthread_key_create instead of
16600 pthread_key_create.
16601 (__cthread_getspecific): Call __pthread_getspecific instead of
16602 pthread_getspecific.
16603 (__cthread_setspecific): Call __pthread_setspecific instead of
16604 pthread_setspecific.
16605 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16606 __pthread_mutex_unlock instead of pthread_mutex_lock and
16607 pthread_mutex_unlock.
16608 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16609 ___pthread_get_cleanup_stack.
16610 (__pthread_get_cleanup_stack): New strong alias.
16611 * htl/pt-create.c: Include <pthreadP.h>.
16612 (entry_point): Call __pthread_exit instead of pthread_exit.
16613 (pthread_create): Rename to __pthread_create.
16614 (pthread_create): New strong alias.
16615 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16616 (pthread_detach): New strong alias.
16617 (__pthread_detach): Call __pthread_cond_broadcast instead of
16618 pthread_cond_broadcast.
16619 * htl/pt-exit.c: Include <pthreadP.h>.
16620 (__pthread_exit): Call __pthread_setcancelstate and
16621 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16622 __pthread_get_cleanup_stack.
16623 * htl/pt-testcancel.c: Include <pthreadP.h>.
16624 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16625 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16626 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16627 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16628 pthread_attr_getstacksize.
16629 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16630 Rename to __pthread_attr_getstackaddr.
16631 (pthread_attr_getstackaddr): New strong alias.
16632 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16633 Rename to __pthread_attr_getstacksize.
16634 (pthread_attr_getstacksize): New strong alias.
16635 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16636 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16637 (pthread_attr_setstack): New strong alias.
16638 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16639 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16640 pthread_attr_getstacksize, pthread_attr_setstacksize and
16641 pthread_attr_setstackaddr.
16642 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16643 Rename to __pthread_attr_setstackaddr.
16644 (pthread_attr_setstackaddr): New strong alias.
16645 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16646 Rename to __pthread_attr_setstacksize.
16647 (pthread_attr_setstacksize): New strong alias.
16648 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16649 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16651 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16652 (__pthread_key_create): New hidden def.
16653 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16654 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16655 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16656 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16657 __pthread_setspecific, __pthread_setcancelstate,
16658 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16659 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16660 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16662 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16663 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16664 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16665 (pthread_attr_setstackaddr): New strong alias.
16666 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16667 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16668 (pthread_attr_setstacksize): New strong alias.
16669 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16670 (call_exit): Call __pthread_exit instead of pthread_exit.
16671 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16672 (_pthread_mutex_init): New hidden definition.
16673 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16674 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16675 instead of pthread_attr_init and pthread_attr_setstack.
16677 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16678 __vm_deallocate instead of vm_allocate and vm_deallocate.
16679 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16681 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16683 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16685 * hurd/siginfo.c: Include <libioP.h>.
16686 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16687 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16689 * mach/devstream.c: Include <libioP.h>.
16690 (dealloc_ref): Call __mach_port_deallocate instead of
16691 mach_port_deallocate.
16692 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16693 Call __mach_port_deallocate instead of mach_port_deallocate.
16694 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16696 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16698 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16699 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16700 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16702 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16704 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16705 instead of sysconf.
16706 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16707 __clock_gettime instead of clock_gettime.
16708 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16709 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16710 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16711 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16712 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16714 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16715 __clock_gettime and __nanosleep instead of clock_gettime and
16717 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16718 __hurd_catch_signal.
16719 (hurd_catch_signal): New strong alias.
16720 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16721 __hurd_catch_signal instead of hurd_catch_signal.
16722 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16723 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16724 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16725 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16726 (_hurd_thread_sigstate): Add hidden def.
16727 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16729 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16730 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16731 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16732 __hurd_file_name_path_lookup.
16733 (hurd_file_name_path_lookup): New strong alias.
16734 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16735 hurd_file_name_path_lookup.
16736 * mach/errstring.c (mach_error_type): Add hidden def.
16737 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16738 * mach/mutex-init.c (__mutex_init): Add hidden def.
16739 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16740 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16741 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16742 * sysdeps/mach/hurd/getcwd.c
16743 (_hurd_canonicalize_directory_name_internal): Rename to
16744 __hurd_canonicalize_directory_name_internal.
16745 (_hurd_canonicalize_directory_name_internal): New strong alias.
16746 (__canonicalize_directory_name_internal, __getcwd): Call
16747 __hurd_canonicalize_directory_name_internal instead of
16748 _hurd_canonicalize_directory_name_internal.
16749 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16750 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16752 * sysdeps/hurd/include/hurd.h: New file.
16753 * sysdeps/hurd/include/hurd/fd.h: New file.
16754 * sysdeps/hurd/include/hurd/signal.h: New file.
16755 * sysdeps/mach/include/lock-intern.h: New file.
16756 * sysdeps/mach/include/mach.h: New file.
16757 * sysdeps/mach/include/mach/mig_support.h: New file.
16758 * sysdeps/mach/include/mach_error.h: New file.
16759 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16761 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16762 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16763 _HEADER_H_HIDDEN_DEF macro.
16764 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16765 _hurd_fd_error_signal): Add hidden prototype.
16766 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16768 * libio/iolibio.h (_IO_puts): New hidden prototype.
16769 * libio/ioputs.c (_IO_puts): New hidden def.
16770 * sysdeps/mach/hurd/localplt.data: New file.
16772 2018-04-02 Agustina Arzille <avarzille@riseup.net>
16773 Amos Jeffries <squid3@treenet.co.nz>
16774 David Michael <fedora.dm0@gmail.com>
16775 Marco Gerards <marco@gnu.org>
16776 Marcus Brinkmann <marcus@gnu.org>
16777 Neal H. Walfield <neal@gnu.org>
16778 Pino Toscano <toscano.pino@tiscali.it>
16779 Richard Braun <rbraun@sceen.net>
16780 Roland McGrath <roland@gnu.org>
16781 Samuel Thibault <samuel.thibault@ens-lyon.org>
16782 Thomas DiModica <ricinwich@yahoo.com>
16783 Thomas Schwinge <tschwinge@gnu.org>
16785 * htl: New directory.
16786 * sysdeps/htl: New directory.
16787 * sysdeps/hurd/htl: New directory.
16788 * sysdeps/i386/htl: New directory.
16789 * sysdeps/mach/htl: New directory.
16790 * sysdeps/mach/hurd/htl: New directory.
16791 * sysdeps/mach/hurd/i386/htl: New directory.
16792 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16793 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16794 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16796 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16798 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16799 signals in thread created for runing timers.
16801 2018-04-01 Florian Weimer <fweimer@redhat.com>
16803 * support/support_format_addrinfo.c (support_format_addrinfo):
16804 Include unknown error number in formatted result.
16806 2018-03-29 Florian Weimer <fweimer@redhat.com>
16808 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16811 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16813 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16814 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16815 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16816 (__ASSUME_CLONE_BACKWARDS): Define.
16818 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16821 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16822 early when linux sentinel value is set.
16824 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16826 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16828 2018-03-27 Andreas Schwab <schwab@suse.de>
16831 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16832 allocation of private copy of nsaddr_list fails.
16834 2018-03-26 Joseph Myers <joseph@codesourcery.com>
16837 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16838 * sysdeps/unix/sysv/linux/umount.c: ... here.
16839 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16840 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16841 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16842 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16844 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16845 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16847 2018-03-26 Andreas Schwab <schwab@suse.de>
16849 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16850 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16851 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16852 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16853 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16854 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16855 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16856 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16857 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16858 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16859 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16860 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16861 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16862 (R_RISCV_NUM): Define.
16864 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16866 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16867 TLS declaration of errno.
16868 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16870 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16871 (ARCH_SETUP_TLS): Likewise.
16872 * sysdeps/mach/hurd/libc-start.h: New file copied from
16873 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
16874 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16875 instead of __libc_setup_tls.
16876 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
16877 __libc_setup_tls before initializing libpthread and running _hurd_init
16878 which starts the signal thread.
16879 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16881 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16883 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16886 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16887 after it is defined.
16889 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16890 Max Horn <max@quendi.de>
16894 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16896 * string/test-memmove.c (do_test2): New testcase.
16898 2018-03-22 Joseph Myers <joseph@codesourcery.com>
16900 * sysdeps/generic/frame.h: Remove file.
16901 * sysdeps/arm/frame.h: Likewise.
16902 * sysdeps/hppa/frame.h: Likewise.
16903 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16905 (GET_FRAME): Likewise.
16906 (GET_STACK): Likewise.
16907 (CALL_SIGHANDLER): Likewise.
16908 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16910 (GET_FRAME): Likewise.
16911 (GET_STACK): Likewise.
16912 (CALL_SIGHANDLER): Likewise.
16913 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16914 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16915 (GET_FRAME): Likewise.
16916 (GET_STACK): Likewise.
16917 (CALL_SIGHANDLER): Likewise.
16918 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16919 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16920 (GET_FRAME): Likewise.
16921 (GET_STACK): Likewise.
16922 (ADVANCE_STACK_FRAME): Likewise.
16923 (CALL_SIGHANDLER): Likewise.
16924 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16925 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16926 (GET_FRAME): Likewise.
16927 (GET_STACK): Likewise.
16928 (CALL_SIGHANDLER): Likewise.
16929 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16930 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16931 (GET_FRAME): Likewise.
16932 (GET_STACK): Likewise.
16933 (CALL_SIGHANDLER): Likewise.
16934 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16935 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16936 (GET_FRAME): Likewise.
16937 (GET_STACK): Likewise.
16938 (CALL_SIGHANDLER): Likewise.
16939 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16940 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16941 (GET_FRAME): Likewise.
16942 (GET_STACK): Likewise.
16943 (CALL_SIGHANDLER): Likewise.
16944 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16945 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16946 (GET_FRAME): Likewise.
16947 (GET_STACK): Likewise.
16948 (CALL_SIGHANDLER): Likewise.
16949 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16950 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16951 (GET_FRAME): Likewise.
16952 (GET_STACK): Likewise.
16953 (CALL_SIGHANDLER): Likewise.
16954 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16955 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16956 (GET_FRAME): Likewise.
16957 (GET_STACK): Likewise.
16958 (CALL_SIGHANDLER): Likewise.
16959 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16960 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16961 (GET_FRAME): Likewise.
16962 (GET_STACK): Likewise.
16963 (CALL_SIGHANDLER): Likewise.
16964 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16965 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16966 (GET_FRAME): Likewise.
16967 (GET_STACK): Likewise.
16968 (CALL_SIGHANDLER): Likewise.
16969 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16970 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16971 (FIRST_FRAME_POINTER): Likewise.
16972 (ADVANCE_STACK_FRAME): Likewise.
16973 (GET_STACK): Likewise.
16974 (GET_FRAME): Likewise.
16975 (CALL_SIGHANDLER): Likewise.
16976 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16977 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16978 (ADVANCE_STACK_FRAME): Likewise.
16979 (GET_STACK): Likewise.
16980 (GET_FRAME): Likewise.
16981 (CALL_SIGHANDLER): Likewise.
16982 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16983 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16984 (GET_FRAME): Likewise.
16985 (GET_STACK): Likewise.
16986 (CALL_SIGHANDLER): Likewise.
16987 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16988 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16989 (GET_FRAME): Likewise.
16990 (GET_STACK): Likewise.
16991 (CALL_SIGHANDLER): Likewise.
16993 2018-03-21 Joseph Myers <joseph@codesourcery.com>
16995 * sysdeps/x86_64/backtrace.c: Move to ....
16996 * debug/backtrace.c: ... here.
16997 * sysdeps/aarch64/backtrace.c: Remove file.
16998 * sysdeps/alpha/backtrace.c: Likewise.
16999 * sysdeps/hppa/backtrace.c: Likewise.
17000 * sysdeps/ia64/backtrace.c: Likewise.
17001 * sysdeps/mips/backtrace.c: Likewise.
17002 * sysdeps/nios2/backtrace.c: Likewise.
17003 * sysdeps/riscv/backtrace.c: Likewise.
17004 * sysdeps/sh/backtrace.c: Likewise.
17005 * sysdeps/tile/backtrace.c: Likewise.
17007 2018-03-20 Joseph Myers <joseph@codesourcery.com>
17010 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
17013 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
17016 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
17017 possibly overflowing computations.
17019 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
17021 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
17022 values from Linux-specific section now that it is in the GNU section.
17023 * sysdeps/gnu/errlist.c: Regenerate.
17025 2018-03-20 Joseph Myers <joseph@codesourcery.com>
17027 * math/Makefile (libm-narrow-fns): Add sub.
17028 (libm-test-funcs-narrow): Likewise.
17029 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
17030 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
17031 * math/gen-auto-libm-tests.c (test_functions): Add sub.
17032 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
17033 (NARROW_SUB_ROUND_TO_ODD): Likewise.
17034 (NARROW_SUB_TRIVIAL): Likewise.
17035 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
17037 (__dsubl): Likewise.
17038 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
17040 (CFLAGS-nldbl-dsub.c): New variable.
17041 (CFLAGS-nldbl-fsub.c): Likewise.
17042 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17044 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
17046 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
17047 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
17048 * math/auto-libm-test-in: Add tests of sub.
17049 * math/auto-libm-test-out-narrow-sub: New generated file.
17050 * math/libm-test-narrow-sub.inc: New file.
17051 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17052 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
17053 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
17054 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
17055 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
17056 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
17057 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
17058 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
17059 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
17060 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
17061 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
17062 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
17063 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
17064 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
17065 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
17066 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
17067 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
17068 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
17069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17070 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17071 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17072 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17073 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17074 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17075 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17076 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17077 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17078 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17079 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17080 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17081 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17082 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17087 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17088 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17089 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17090 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17091 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17092 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17093 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17094 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17095 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17096 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17098 2018-03-19 Joseph Myers <joseph@codesourcery.com>
17101 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
17103 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
17105 * benchtests/bench-timing.h (attribute_hidden): Undefine.
17107 2018-03-18 Richard Braun <rbraun@sceen.net>
17109 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
17112 2018-03-18 Agustina Arzille <avarzille@riseup.net>
17114 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
17115 (__libc_cleanup_fct): Define function.
17116 (__libc_cleanup_region_start, __libc_cleanup_region_end,
17117 __libc_cleanup_end): Rewrite implementation using
17118 __attribute__ ((__cleanup__)).
17119 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
17120 * hurd/Makefile (routines): Add hurdlock.
17121 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
17123 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
17124 * hurd/hurdpid.c: Include <lowlevellock.h>
17125 (_S_msg_proc_newids): Use lll_wait to synchronize.
17126 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
17127 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
17128 * mach/Makefile (lock-headers): Remove machine-lock.h.
17129 * mach/lock-intern.h: Include <lowlevellock.h> instead of
17131 (__spin_lock_t): New type.
17132 (__SPIN_LOCK_INITIALIZER): New macro.
17133 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
17134 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
17135 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
17136 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
17137 (__mutex_init): Initialize with lll.
17138 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
17139 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
17141 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17142 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
17143 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
17144 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
17145 (__setpgid): Use lll for synchronization.
17146 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
17147 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
17148 instead of <cthreads.h>.
17149 (_IO_lock_inexpensive): New macro
17150 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
17151 (__libc_lock_self0): New declaration.
17152 (__libc_lock_owner_self): New macro.
17153 (__libc_key_t): Remove type.
17154 (_LIBC_LOCK_INITIALIZER): New macro.
17155 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
17156 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
17157 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
17158 __libc_lock_define_initialized_recursive,
17159 __rtld_lock_define_initialized_recursive,
17160 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
17161 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
17162 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
17163 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
17164 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
17165 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
17166 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
17168 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
17169 * hurd/hurdlock.c: New file.
17170 * hurd/hurdlock.h: New file.
17171 * mach/lowlevellock.h: New file
17173 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17175 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
17176 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
17177 when opening a symlink with O_NOFOLLOW.
17178 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
17179 path when flags contains O_NOFOLLOW.
17180 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
17181 if flags contains O_DIRECTORY and the result is a directory.
17182 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
17183 oneself when the pointer given in D is nul (as set by ext2fs).
17184 * sysdeps/mach/hurd/mlockall.c: New file.
17185 * sysdeps/mach/hurd/munlockall.c: New file.
17187 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17189 * hurd/hurdsig.c: Include <pthread.h>.
17190 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
17191 get the signal thread stack layout.
17192 * hurd/Makefile (headers): Remove threadvar.h.
17193 (inline-headers): Remove threadvar.h.
17194 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
17195 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
17196 __hurd_threadvar_max, __hurd_errno_location.
17197 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
17198 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
17199 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
17200 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
17201 unless TLS is not initialized yet, in which case we do not need a
17202 critical section yet anyway.
17203 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
17205 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
17207 (__hurd_threadvar_index): Remove enum.
17208 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
17209 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
17211 (__hurd_reply_port0): New variable declaration.
17212 (__hurd_local_reply_port): New macro.
17213 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
17214 (interrupted_reply_port_location): Add thread_t parameter. Use it
17215 with THREAD_TCB to access thread-local variables.
17216 (_hurdsig_abort_rpcs): Pass ss->thread to
17217 interrupted_reply_port_location.
17218 (_hurd_internal_post_signal): Likewise.
17219 (_hurdsig_init): Use presence of cthread_fork instead of
17220 __hurd_threadvar_stack_mask to start signal thread by hand.
17221 Remove signal thread threadvar initialization.
17222 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
17223 * hurd/sigunwind.c: Include <hurd/threadvar.h>
17224 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
17226 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
17228 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
17229 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
17230 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
17231 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
17232 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
17233 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
17234 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
17236 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
17237 <hurd/threadvar.h>.
17238 [IS_IN(rtld)] (rtld_errno): New variable.
17239 [IS_IN(rtld)] (__errno_location): New weak function.
17240 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
17241 * sysdeps/mach/hurd/errno.c: Remove file.
17242 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
17243 (__fork): Remove THREADVAR_SPACE macro and its use.
17244 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
17246 (init): Do not initialize threadvar.
17247 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
17249 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
17250 __hurd_local_reply_port instead of threadvar.
17251 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
17252 _hurd_sigstate fields.
17253 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
17254 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
17255 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
17256 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
17257 instead of threadvar.
17258 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
17259 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
17260 (use_threadvar, global_reply_port): Remove variables.
17261 (__hurd_reply_port0): New variable.
17262 (__mig_get_reply_port): Use __hurd_local_reply_port and
17263 __hurd_reply_port0 instead of threadvar.
17264 (__mig_dealloc_reply_port): Likewise.
17265 (__mig_init): Do not initialize threadvar.
17266 * sysdeps/mach/hurd/profil.c: Fix comment.
17267 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
17268 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
17269 cthread_keycreate, cthread_getspecific, cthread_setspecific to
17270 __cthread_fork, __cthread_detach, __pthread_getattr_np,
17271 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
17272 __cthread_setspecific.
17273 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
17274 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
17275 __cthread_t instead of cthread_fork, cthread_detach,
17276 pthread_getattr_np, pthread_attr_getstack.
17277 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
17278 __cthread_keycreate.
17279 (cthread_getspecific): Rename to __cthread_getspecific.
17280 (cthread_setspecific): Rename to __cthread_setspecific.
17281 (__libc_getspecific): Use __cthread_getspecific instead of
17282 cthread_getspecific.
17283 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
17284 __cthread_keycreate instead of cthread_keycreate.
17285 (__libc_setspecific): Use __cthread_setspecific instead of
17286 cthread_setspecific.
17287 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
17289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
17290 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
17291 testing whether it is defined.
17293 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17295 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
17297 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
17298 * sysdeps/mach/i386/thread_state.h
17299 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
17301 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
17303 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
17305 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
17306 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
17308 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
17310 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
17311 descriptor instead of creating a new one.
17312 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
17314 * mach/setup-thread.c: Include <ldsodefs.h>.
17315 (__mach_setup_thread): Call _dl_allocate_tls, pass
17316 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
17317 MACHINE_THREAD_STATE_FLAVOR, before getting
17318 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
17319 MACHINE_THREAD_STATE_FLAVOR with the result.
17320 * hurd/hurdfault.c (_hurdsig_fault_init): Call
17321 MACHINE_THREAD_STATE_FIX_NEW.
17322 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
17323 too. Add original thread parameter.
17325 2018-03-16 Joseph Myers <joseph@codesourcery.com>
17327 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
17328 Remove inline function.
17330 * sysdeps/i386/fpu/libm-test-ulps: Update.
17331 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17333 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
17335 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
17338 2018-03-15 Joseph Myers <joseph@codesourcery.com>
17340 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
17341 (__sincos_code): Remove define and undefine.
17342 [__FAST_MATH__] (__sincos): Remove inline function.
17343 [__FAST_MATH__] (__sincosf): Remove inline function.
17344 [__FAST_MATH__] (__sincosl): Remove inline function.
17345 (__atan2l): Remove inline functions.
17346 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
17347 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
17349 (floor): Remove inline function.
17351 [__FAST_MATH__] (__ldexp_code): Remove macro.
17352 [__FAST_MATH__] (ldexp): Remove inline function.
17353 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
17354 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
17355 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
17356 [__USE_ISOC99] (__lrint_code): Remove macro.
17357 [__USE_ISOC99] (__llrint_code): Likewise.
17358 [__USE_ISOC99] (lrintf): Remove inline function.
17359 [__USE_ISOC99] (lrint): Likewise.
17360 [__USE_ISOC99] (lrintl): Likewise.
17361 [__USE_ISOC99] (llrint): Likewise.
17362 [__USE_ISOC99] (llrintf): Likewise.
17363 [__USE_ISOC99] (llrintl): Likewise.
17365 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17367 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
17368 (__ieee754_sqrtf): Remove.
17369 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
17370 (__ieee754_sqrtf): Remove.
17371 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
17372 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17373 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
17374 (__ieee754_sqrtf): Remove.
17375 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
17376 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
17379 (__ieee754_sqrt): Remove.
17380 (__ieee754_sqrtf): Remove.
17381 (__ieee754_sqrtl): Remove.
17382 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17383 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
17384 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
17385 (__ieee754_sqrtf): Remove.
17386 (__ieee754_sqrtl): Remove.
17388 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17390 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
17391 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17392 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17393 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
17394 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
17395 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17396 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17397 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17399 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
17400 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
17401 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17402 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17403 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
17404 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
17405 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17406 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17407 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17408 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17409 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
17410 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17411 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
17412 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
17413 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
17414 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17415 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17416 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17417 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
17418 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
17419 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17420 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17421 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
17422 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
17423 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
17424 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
17425 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17426 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17427 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
17428 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17429 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17430 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
17431 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17432 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
17433 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17434 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17435 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
17436 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
17437 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17438 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
17440 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17442 * include/math.h (sqrt): Declare with asm redirect.
17445 (sqrtf128): Likewise.
17446 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
17447 nonlib and libnldbl with -fmath-errno.
17448 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
17449 * math/w_sqrt_template.c: Likewise.
17450 * math/w_sqrtf_compat.c: Likewise.
17451 * math/w_sqrtl_compat.c: Likewise.
17452 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
17453 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
17454 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
17457 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17459 * benchtests/Makefile: Define _ISOMAC.
17460 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
17461 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
17462 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
17463 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
17464 * benchtests/bench-timing.h: Define attribute_hidden.
17466 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
17468 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
17471 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17474 * localedata/locales/cs_CZ (mon): Rename to...
17476 (mon): Import from CLDR (genitive case).
17478 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17481 * localedata/locales/el_CY (abmon): Rename to...
17482 (ab_alt_mon): This.
17483 (abmon): Import from CLDR (abbreviated genitive case).
17484 * localedata/locales/el_GR (abmon): Rename to...
17485 (ab_alt_mon): This.
17486 (abmon): Import from CLDR (abbreviated genitive case).
17488 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17491 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
17493 2018-03-15 Robert Buj <robert.buj@gmail.com>
17496 * localedata/locales/ca_ES (abmon): Rename to...
17497 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17498 (mon): Rename to...
17500 (abmon): Import from CLDR (genitive case, month names preceded by
17503 (abday): Synchronize with CLDR.
17504 (d_t_fmt): Likewise.
17508 (LC_TIME): Improve indentation.
17509 (LC_TELEPHONE): Likewise.
17510 (LC_NAME): Likewise.
17511 (LC_ADDRESS): Likewise.
17513 2018-03-14 Joseph Myers <joseph@codesourcery.com>
17515 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
17516 (lrintf): Remove definitions used only with old GCC.
17517 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
17518 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
17519 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
17520 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
17521 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
17522 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
17523 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
17524 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
17525 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
17526 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
17527 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
17528 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
17529 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
17530 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
17531 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
17532 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
17533 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
17534 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
17535 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
17536 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
17537 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
17538 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
17539 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
17540 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
17541 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
17542 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
17543 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
17544 [__FAST_MATH__] (__M_SQRT2): Remove macro.
17546 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17548 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
17549 instruction to unbreak builds with binutils 2.26 and older.
17551 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17553 * sysdeps/aarch64/strncmp.S (count): New macro.
17554 (strncmp): Store misaligned length in SRC1 in COUNT.
17555 (mutual_align): Adjust.
17556 (misaligned8): Load dword at a time when it is safe.
17558 2018-03-12 Zack Weinberg <zackw@panix.com>
17562 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
17563 if the _IO_EOF_SEEN bit is already set; update commentary.
17564 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
17565 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17567 * support/support_openpty.c, support/tty.h: New files.
17568 * support/Makefile (libsupport-routines): Add support_openpty.
17570 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
17572 * libio/Makefile (tests): Add tst-fgetc-after-eof.
17573 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
17575 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
17577 * po/pt_BR.po: Update translations.
17579 2018-03-12 David Michael <fedora.dm0@gmail.com>
17581 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
17582 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
17583 get a port to the startup server.
17585 2018-03-11 Zack Weinberg <zackw@panix.com>
17587 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
17588 before nldbl-compat.h.
17590 2018-03-10 Zack Weinberg <zackw@panix.com>
17592 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
17593 math.h or math_private.h.
17595 * sysdeps/alpha/fpu/s_isnan.c
17596 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
17597 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
17598 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
17599 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
17600 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
17601 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
17602 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
17603 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17604 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17607 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17608 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17609 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17610 Include math_private.h.
17612 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17613 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17614 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17615 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17616 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17617 * sysdeps/powerpc/power7/fpu/s_logb.c:
17618 Include math.h and math_private.h.
17620 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17621 uses of $at in .set noat / .set at.
17623 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17625 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17626 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17627 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17628 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17631 2018-03-09 Florian Weimer <fweimer@redhat.com>
17633 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17636 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17639 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17640 Add nop before __startcontext, add explaining comments.
17642 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17645 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17647 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17648 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17649 Do not build hardware transactional code for __SPE__.
17650 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17651 (__lll_trylock_elision): Likewise.
17652 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17653 (__lll_unlock_elision): Likewise.
17655 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
17656 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17657 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17658 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17659 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17660 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17661 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17662 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17663 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17664 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17665 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17666 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17667 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17668 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17669 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17670 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17671 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17672 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17673 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17674 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17675 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17676 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17677 (__ASSUME_CLONE_BACKWARDS): Define.
17678 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17679 __clone2 if __NR_clone2 is defined.
17680 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17681 (__ASSUME_CLONE_BACKWARDS): Likewise.
17682 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17683 (__ASSUME_CLONE_BACKWARDS): Likewise.
17684 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17685 (__ASSUME_CLONE2): Likewise.
17686 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17687 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17688 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17689 variants and the define architecture can use.
17690 (__ASSUME_CLONE_DEFAULT): Define as default.
17691 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17692 (__ASSUME_CLONE_BACKWARDS): Likewise.
17693 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17694 (__ASSUME_CLONE_BACKWARDS): Likewise.
17695 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17696 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17698 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17700 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17702 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17705 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17706 (do_test_limit): Likewise.
17708 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17709 for every implementation.
17710 (do_test): Likewise.
17712 * benchtests/bench-strncmp.c: Convert output to json.
17714 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17716 * io/futimens.c: Add missing start-of-file descriptive comment.
17717 * io/utime.c: Likewise.
17718 * misc/futimesat.c: Likewise.
17719 * misc/utimes.c: Likewise.
17720 * sysdeps/mach/hurd/futimesat.c: Likewise.
17721 * sysdeps/mach/hurd/utimes.c: Likewise.
17722 * sysdeps/posix/utime.c: Likewise.
17723 * sysdeps/posix/utimes.c: Likewise.
17724 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17725 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17726 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17727 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17729 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17731 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17733 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17734 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17735 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17736 (__futimens): Move implementation to...
17737 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17738 utime_tvalue_from_tspec): ... new helper functions.
17739 (hurd_futimens): New function.
17740 * sysdeps/mach/hurd/futimesat.c: New file.
17741 * sysdeps/mach/hurd/utimensat.c: New file.
17743 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17745 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17746 UTIME_OMIT): New macros.
17747 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17748 before reverting to converting time spec to time value and calling
17750 * sysdeps/mach/hurd/utime-helper.c: New file.
17751 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17752 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17753 reverting to utime_tvalue_from_tval and __file_utimes.
17754 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17755 (__lutimes): Just call hurd_futimens after lookup.
17756 * sysdeps/mach/hurd/utimes.c: Likewise.
17758 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17760 * bits/sigaction.h: Add include guard.
17761 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17762 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17763 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17764 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17765 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17766 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17767 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17768 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17769 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17771 2018-03-05 Joseph Myers <joseph@codesourcery.com>
17773 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17774 -Wmaybe-uninitialized for -Os.
17775 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17778 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17780 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17781 __INO_T_MATCHES_INO64_T is defined.
17782 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17783 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17785 * dirent/alphasort64.c: Likewise.
17786 * dirent/scandir.c: Likewise.
17787 * dirent/scandir64-tail.c: Likewise.
17788 * dirent/scandir64.c: Likewise.
17789 * dirent/scandirat.c: Likewise.
17790 * dirent/scandirat64.c: Likewise.
17791 * dirent/versionsort.c: Likewise.
17792 * dirent/versionsort64.c: Likewise.
17793 * include/dirent.h: Likewise.
17795 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17796 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17797 for socketpair endpoint.
17798 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17799 WRITE_BUFFER_SIZE as buffer size for sending socket.
17800 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17801 issue on system where send is implemented with sendto syscall.
17802 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17803 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17804 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17805 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17808 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17809 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17810 sa_restorer for vDSO case.
17811 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17813 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17815 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
17816 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17817 * hurd/hurd/ioctl.h: Include <mach/port.h>
17818 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
17819 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17820 <mach/mach_types.h> and <mach/message.h>.
17821 (headers): Move mach/param.h to bits/mach/param.h.
17822 * sysdeps/mach/i386/mach/param.h: Move file to ...
17823 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17824 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17826 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17827 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17828 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
17829 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17830 trivial, for C++ conformity.
17831 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
17832 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17833 Process mig output through $(migheadersed).
17834 * hurd/Makefile (migheadersed): Define variable.
17835 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17836 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17838 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17839 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17840 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17841 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17842 <bits/types/sigset_t.h>.
17843 [!defined __USE_GNU]: Do not #error out.
17844 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17845 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17846 Include <stddef.h> and <bits/types/sigset_t.h>
17847 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17848 instead of sighandler_t.
17849 * stdlib/errno.h (error_t): Move definition to...
17850 * bits/types/error_t.h: ... new header.
17851 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17852 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17853 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17854 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17855 * hurd/hurd.h: Include <bits/types/error_t.h>
17856 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17857 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17858 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17859 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17860 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17861 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
17862 * sysdeps/mach/hurd/futimens.c: New file.
17864 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17867 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17868 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17869 * nscd/gai.c (__nss_hosts_database): Readd definition.
17870 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17871 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17872 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17874 2018-03-02 Joseph Myers <joseph@codesourcery.com>
17876 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17877 (ifunc_one): Likewise.
17879 2018-03-01 DJ Delorie <dj@delorie.com>
17882 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17885 2018-03-01 Maciej W. Rozycki <macro@mips.com>
17887 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17888 `match_pid' parameter.
17889 (td_ta_thr_iter): Update accordingly.
17891 2018-03-01 Florian Weimer <fweimer@redhat.com>
17893 * nptl/Makefile (install-lib-ldscripts): Remove.
17894 (install): Remove rule.
17895 ($(inst_libdir)/libpthread.so): Likewise.
17897 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17900 * localedata/locales/an_ES: update month and day names,
17901 improve d_fmt, improve postal_fmt, add country_post,
17904 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17906 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17907 Ukrainian instead of Bulgarian.
17909 2018-03-01 Florian Weimer <fweimer@redhat.com>
17911 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17914 2018-03-01 Florian Weimer <fweimer@redhat.com>
17916 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17917 * nptl/Makefile (routines): Add pthread_atfork.
17918 (static-only-routines): Set to pthread_atfork.
17919 (libpthread-routines): Remove pthread_atfork.
17920 (libpthread-static-only-routines): Remove.
17921 (install): Update comment.
17922 (libpthread.so): Do not install libpthread_nonshared.a.
17923 (tests): Do not link with libpthread_nonshared.a.
17924 (generated): Remove libpthread_nonshared.a.
17925 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17926 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17927 with libpthread_nonshared.a.
17929 2018-02-28 Joseph Myers <joseph@codesourcery.com>
17932 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17933 (libc_feholdexcept_setroundf128): New macro.
17934 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17937 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17939 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17940 * include/inttypes.h: New file.
17942 2018-02-27 Joseph Myers <joseph@codesourcery.com>
17944 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17945 -Os in two more places.
17947 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17949 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17950 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17951 be sorted correctly at the moment because of a bug.
17953 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17955 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17956 treat ñ as a primary different character, sync the collation
17957 for Spanish with CLDR.
17958 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17959 * localedata/Makefile: Add new test files.
17960 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17961 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17963 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17964 * localedata/am_ET.UTF-8.in: New test file.
17965 * localedata/az_AZ.UTF-8.in: Likewise.
17966 * localedata/be_BY.UTF-8.in: Likewise.
17967 * localedata/ber_DZ.UTF-8.in: Likewise.
17968 * localedata/ber_MA.UTF-8.in: Likewise.
17969 * localedata/bg_BG.UTF-8.in: Likewise.
17970 * localedata/br_FR.UTF-8.in: Likewise.
17971 * localedata/cmn_TW.UTF-8.in: Likewise.
17972 * localedata/crh_UA.UTF-8.in: Likewise.
17973 * localedata/csb_PL.UTF-8.in: Likewise.
17974 * localedata/cv_RU.UTF-8.in: Likewise.
17975 * localedata/cy_GB.UTF-8.in: Likewise.
17976 * localedata/dz_BT.UTF-8.in: Likewise.
17977 * localedata/eo.UTF-8.in: Likewise.
17978 * localedata/es_ES.UTF-8.in: Likewise.
17979 * localedata/fa_IR.UTF-8.in: Likewise.
17980 * localedata/fi_FI.UTF-8.in: Likewise.
17981 * localedata/fil_PH.UTF-8.in: Likewise.
17982 * localedata/fur_IT.UTF-8.in: Likewise.
17983 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17984 * localedata/ha_NG.UTF-8.in: Likewise.
17985 * localedata/ig_NG.UTF-8.in: Likewise.
17986 * localedata/ik_CA.UTF-8.in: Likewise.
17987 * localedata/kk_KZ.UTF-8.in: Likewise.
17988 * localedata/ku_TR.UTF-8.in: Likewise.
17989 * localedata/ky_KG.UTF-8.in: Likewise.
17990 * localedata/ln_CD.UTF-8.in: Likewise.
17991 * localedata/mi_NZ.UTF-8.in: Likewise.
17992 * localedata/ml_IN.UTF-8.in: Likewise.
17993 * localedata/mn_MN.UTF-8.in: Likewise.
17994 * localedata/mr_IN.UTF-8.in: Likewise.
17995 * localedata/mt_MT.UTF-8.in: Likewise.
17996 * localedata/nb_NO.UTF-8.in: Likewise.
17997 * localedata/om_KE.UTF-8.in: Likewise.
17998 * localedata/os_RU.UTF-8.in: Likewise.
17999 * localedata/ps_AF.UTF-8.in: Likewise.
18000 * localedata/ro_RO.UTF-8.in: Likewise.
18001 * localedata/ru_RU.UTF-8.in: Likewise.
18002 * localedata/sc_IT.UTF-8.in: Likewise.
18003 * localedata/se_NO.UTF-8.in: Likewise.
18004 * localedata/sq_AL.UTF-8.in: Likewise.
18005 * localedata/sv_SE.UTF-8.in: Likewise.
18006 * localedata/szl_PL.UTF-8.in: Likewise.
18007 * localedata/tg_TJ.UTF-8.in: Likewise.
18008 * localedata/tk_TM.UTF-8.in: Likewise.
18009 * localedata/tt_RU.UTF-8.in: Likewise.
18010 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
18011 * localedata/ug_CN.UTF-8.in: Likewise.
18012 * localedata/uz_UZ.UTF-8.in: Likewise.
18013 * localedata/vi_VN.UTF-8.in: Likewise.
18014 * localedata/yi_US.UTF-8.in: Likewise.
18015 * localedata/yo_NG.UTF-8.in: Likewise.
18016 * localedata/zh_CN.UTF-8.in: Likewise.
18017 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
18018 file and fix bugs in the collation.
18019 * localedata/locales/az_AZ: Likewise.
18020 * localedata/locales/be_BY: Likewise.
18021 * localedata/locales/ber_DZ: Likewise.
18022 * localedata/locales/ber_MA: Likewise.
18023 * localedata/locales/bg_BG: Likewise.
18024 * localedata/locales/br_FR: Likewise.
18025 * localedata/locales/br_FR@euro: Likewise.
18026 * localedata/locales/ca_ES: Likewise.
18027 * localedata/locales/cns11643_stroke: Likewise.
18028 * localedata/locales/crh_UA: Likewise.
18029 * localedata/locales/cs_CZ: Likewise.
18030 * localedata/locales/csb_PL: Likewise.
18031 * localedata/locales/cv_RU: Likewise.
18032 * localedata/locales/cy_GB: Likewise.
18033 * localedata/locales/da_DK: Likewise.
18034 * localedata/locales/dz_BT: Likewise.
18035 * localedata/locales/en_CA: Likewise.
18036 * localedata/locales/eo: Likewise.
18037 * localedata/locales/es_CU: Likewise.
18038 * localedata/locales/es_EC: Likewise.
18039 * localedata/locales/es_ES: Likewise.
18040 * localedata/locales/es_US: Likewise.
18041 * localedata/locales/et_EE: Likewise.
18042 * localedata/locales/fa_IR: Likewise.
18043 * localedata/locales/fi_FI: Likewise.
18044 * localedata/locales/fil_PH: Likewise.
18045 * localedata/locales/fur_IT: Likewise.
18046 * localedata/locales/gez_ER@abegede: Likewise.
18047 * localedata/locales/ha_NG: Likewise.
18048 * localedata/locales/hr_HR: Likewise.
18049 * localedata/locales/hsb_DE: Likewise.
18050 * localedata/locales/hu_HU: Likewise.
18051 * localedata/locales/ig_NG: Likewise.
18052 * localedata/locales/ik_CA: Likewise.
18053 * localedata/locales/is_IS: Likewise.
18054 * localedata/locales/iso14651_t1_pinyin: Likewise.
18055 * localedata/locales/kk_KZ: Likewise.
18056 * localedata/locales/ku_TR: Likewise.
18057 * localedata/locales/ky_KG: Likewise.
18058 * localedata/locales/ln_CD: Likewise.
18059 * localedata/locales/lt_LT: Likewise.
18060 * localedata/locales/lv_LV: Likewise.
18061 * localedata/locales/mi_NZ: Likewise.
18062 * localedata/locales/ml_IN: Likewise.
18063 * localedata/locales/mn_MN: Likewise.
18064 * localedata/locales/mr_IN: Likewise.
18065 * localedata/locales/mt_MT: Likewise.
18066 * localedata/locales/nb_NO: Likewise.
18067 * localedata/locales/om_KE: Likewise.
18068 * localedata/locales/os_RU: Likewise.
18069 * localedata/locales/pl_PL: Likewise.
18070 * localedata/locales/ps_AF: Likewise.
18071 * localedata/locales/ro_RO: Likewise.
18072 * localedata/locales/ru_RU: Likewise.
18073 * localedata/locales/ru_UA: Likewise.
18074 * localedata/locales/sc_IT: Likewise.
18075 * localedata/locales/se_NO: Likewise.
18076 * localedata/locales/si_LK: Likewise.
18077 * localedata/locales/sq_AL: Likewise.
18078 * localedata/locales/sv_FI: Likewise.
18079 * localedata/locales/sv_FI@euro: Likewise.
18080 * localedata/locales/sv_SE: Likewise.
18081 * localedata/locales/szl_PL: Likewise.
18082 * localedata/locales/tg_TJ: Likewise.
18083 * localedata/locales/ti_ER: Likewise.
18084 * localedata/locales/tk_TM: Likewise.
18085 * localedata/locales/tl_PH: Likewise.
18086 * localedata/locales/tr_TR: Likewise.
18087 * localedata/locales/tt_RU: Likewise.
18088 * localedata/locales/tt_RU@iqtelif: Likewise.
18089 * localedata/locales/ug_CN: Likewise.
18090 * localedata/locales/uk_UA: Likewise.
18091 * localedata/locales/uz_UZ: Likewise.
18092 * localedata/locales/uz_UZ@cyrillic: Likewise.
18093 * localedata/locales/vi_VN: Likewise.
18094 * localedata/locales/yi_US: Likewise.
18095 * localedata/locales/yo_NG: Likewise.
18097 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18099 * gen-locales.mk: Make test files which contain @ modifiers in their
18101 * localedata/gen-locale.sh: Likewise.
18103 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18105 * posix/tst-fnmatch.input: Fix results for range expressions
18107 * posix/tst-regexloc.c: Do not use a range expression for
18108 de_DE.ISO-8859-1 locale.
18110 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18112 * posix/bug-regex5.c: Fix test case because with the new
18113 iso14651_t1_common file, the da_DK locale now has 6 collating elements
18114 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
18117 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18119 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
18120 downloaded from ISO, the collation order of @-. and space has changed.
18121 Therefore, this test file needed to be adapted.
18122 * localedata/fr_CA.UTF-8.in: Likewise.
18123 * localedata/fr_FR.UTF-8.in: Likewise.
18124 * localedata/uk_UA.UTF-8.in: Likewise.
18126 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18128 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
18129 order of ȥ in the new iso14651_t1_common file.
18130 * localedata/pl_PL.UTF-8.in: Likewise.
18132 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18134 * localedata/locales/iso14651_t1_common: Add sections for various
18135 scripts to the iso14651_t1_common file.
18137 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18139 * localedata/locales/iso14651_t1_common: Use the code point of a
18140 character in the fourth collation level instead of IGNORE for all
18141 entries which have IGNORE on all 4 levels.
18143 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18145 * localedata/locales/iso14651_t1_common: Add some convenient collation
18146 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
18147 rules similar to those in CLDR.
18149 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18151 * localedata/locales/iso14651_t1_common: The new version of this
18152 file downloaded from ISO contained several syntax errors which
18153 are fixed by this patch.
18155 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18157 * localedata/locales/iso14651_t1_common: replace all <U.....>
18158 with <U000.....> because glibc understands only 4 digit or 8 digit
18160 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18162 * localedata/locales/iso14651_t1_common: Necessary changes
18163 to make the file downloaded from ISO usable by glibc.
18165 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18168 * localedata/locales/iso14651_t1_common: Update file to
18169 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
18171 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18173 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
18174 of <nptl/pthreadP.h>
18175 (thread_attr_compare): Move function to...
18176 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
18177 * sysdeps/nptl/timer_routines.h: ... new header.
18178 * sysdeps/mach/hurd/gai_misc.h: New file.
18180 2018-02-26 Joseph Myers <joseph@codesourcery.com>
18182 * string/strcoll_l.c: Include <libc-diag.h>.
18183 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
18184 declarations of seq1 and seq2.
18187 * stdlib/atoi.c (atoi): Use libc_hidden_def.
18188 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
18190 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
18194 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
18195 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
18196 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
18197 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
18198 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
18199 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
18201 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18203 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
18204 macros used in __ptrace_request.
18206 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
18209 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
18211 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
18212 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
18213 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
18216 2018-02-23 Joseph Myers <joseph@codesourcery.com>
18219 * ctype/ctype.c (tolower): Use libc_hidden_def.
18220 (toupper): Likewise.
18221 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
18222 [!_ISOMAC] (toupper): Likewise.
18224 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18226 * localedata/Makefile: Remove --quiet argument when
18229 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18232 * localedata/locales/pt_BR (LC_TIME): use / instead of -
18234 * localedata/locales/pt_PT (LC_TIME): likewise
18236 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18239 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
18240 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
18241 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
18243 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18247 * nptl/Makefile (routines): Remove unregister-atfork.
18248 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
18249 (fork_handler_alloc): Remove function.
18250 (fork_handlers, fork_handler_init): New variables.
18251 (__fork_lock): Rename to atfork_lock.
18252 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
18253 to use a dynamic array to add/remove atfork handlers.
18254 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18255 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
18256 Remove declaration.
18257 (fork_handler): Remove next, refcntr, and need_signal member.
18258 (__run_fork_handler_type): New enum.
18259 (__run_fork_handlers): New prototype.
18260 * nptl/register-atfork.c: Remove file.
18261 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
18263 * sysdeps/nptl/nptl-signals.h: Move to ...
18264 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
18266 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
18267 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
18268 unnecessary check for SIGTIMER.
18269 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
18270 remove unnecessary removal of SIGTIMER.
18271 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
18272 include-signals.h rename.
18273 * nptl/pthreadP.h: Likewise.
18274 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
18275 __is_internal_signal instead of __nptl_is_internal_signal.
18277 2018-02-22 Andrew Waterman <andrew@sifive.com>
18280 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
18281 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
18282 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
18283 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
18285 2018-02-22 DJ Delorie <dj@delorie.com>
18287 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
18289 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
18291 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
18292 do_misaligned, not misaligned8.
18294 2018-02-22 Steve Ellcey <sellcey@cavium.com>
18296 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
18297 Add memcpy_thunderx2.
18298 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
18300 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
18301 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
18302 and IS_THUNDERX2PA checks.
18303 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
18304 Use macro to set name appropriately.
18305 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
18306 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
18307 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
18309 (IS_THUNDERX2): New macro.
18311 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
18313 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18315 2018-02-21 Zack Weinberg <zackw@panix.com>
18317 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
18318 Define here, unconditionally.
18319 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
18320 * libio/libioP.h: Remove #if 0 blocks.
18321 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
18322 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
18323 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
18325 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
18326 Assume weak_alias is always defined.
18328 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
18329 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
18330 Remove #if 0 and #ifdef TODO blocks.
18331 Assume text_set_element is always defined.
18333 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
18334 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
18335 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
18337 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
18338 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
18339 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
18340 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
18341 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
18342 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
18343 Reformat bit flags for _flags field to make occupancy clearer.
18345 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
18346 Keep definitions consistent with those in libio/libio.h.
18348 * libio/libio.h (_IO_file_flags): Remove macro.
18349 All uses changed to _flags.
18351 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
18352 (__HAVE_COLUMN, _IO_BE): Don't define.
18353 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
18354 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
18355 * libio/libioP.h (EOF): Don't define.
18356 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
18357 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
18358 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
18359 testing _IO_UNIFIED_JUMPTABLES.
18361 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
18362 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
18363 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
18364 (_IO_size_t): Delete; all uses changed to size_t.
18365 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
18366 (_IO_off_t): Delete; all uses changed to off_t.
18367 (_IO_off64_t): Delete; all uses changed to off64_t.
18368 (_IO_pid_t): Delete; all uses changed to pid_t.
18369 (_IO_uid_t): Delete; all uses changed to uid_t.
18370 (_IO_wint_t): Delete; all uses changed to wint_t.
18371 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
18372 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
18373 (_IO_cookie_io_functions_t): Delete; all uses changed to
18374 cookie_io_functions_t.
18375 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
18376 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
18377 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
18378 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
18380 * libio/iofopncook.c: Remove unnecessary forward declarations.
18381 * libio/iolibio.h: Correct outdated commentary.
18382 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
18383 * stdio-common/fxprintf.c (__fxprintf_nocancel):
18384 Remove unnecessary casts.
18385 * stdio-common/getline.c: Use _IO_getdelim directly.
18386 Don't redefine ssize_t.
18387 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
18388 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
18389 Remove outdated comments.
18390 * stdio-common/vfscanf.c: Don't redefine va_list.
18392 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
18393 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
18394 Remove preprocessor conditionals on _LIBC and __USE_GNU,
18395 which are always true, and __cplusplus, which is always false.
18397 2018-02-21 Joseph Myers <joseph@codesourcery.com>
18401 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
18402 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
18403 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
18404 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
18406 [!_ISOMAC] (putc_unlocked): Likewise.
18407 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
18408 define inline if [__USE_EXTERN_INLINES].
18409 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
18414 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
18415 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
18416 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
18417 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
18418 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
18420 * time/tzfile.c (__tzfile_read): Likewise.
18422 2018-02-21 Mike FABIAN <mfabian@redhat.com>
18425 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
18427 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
18429 * io/fcntl.h: Fix a typo in a comment.
18431 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
18434 * include/features.h: Add _ISOC11_SOURCE to test for whether to
18435 define _DEFAULT_SOURCE.
18436 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
18438 2018-02-21 Florian Weimer <fweimer@redhat.com>
18441 * elf/cache.c (save_cache): Call fsync on temporary file before
18443 (save_aux_cache): Call fdatasync on temporary file before renaming
18446 2018-02-21 Florian Weimer <fweimer@redhat.com>
18449 * include/caller.h: Remove file.
18450 * elf/dl-caller.c: Likewise.
18451 * elf/Makefile (dl-routines): Remove dl-caller.
18452 (shared-only-routines): Do not add dl-caller.
18453 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
18455 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
18457 (dl_open_worker): Do not call __check_caller.
18458 (_dl_open): Do not set caller_dl_open member.
18459 * elf/rtld.c (_rtld_global_ro): Do not initialize
18460 _dl_check_caller member.
18461 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
18462 _dl_check_caller member.
18463 (_dl_check_caller): Remove declaration.
18464 * sysdeps/unix/sysv/linux/dl-execstack.c
18465 (_dl_make_stack_executable): Do not call __check_caller.
18467 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18469 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
18470 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
18472 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
18474 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
18477 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
18480 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
18481 of 199606L, 200112L, and 200809L.
18482 (_XOPEN_SOURCE): Document special values of 600 and 700.
18483 (_ISOC11_SOURCE): Document macro.
18484 (_ATFILE_SOURCE): Likewise.
18485 (_FORTIFY_SOURCE): Likewise.
18487 2018-02-19 Joseph Myers <joseph@codesourcery.com>
18491 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
18492 and define as weak alias of __ferror_unlocked. Use
18494 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
18496 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
18497 function if [__USE_EXTERN_INLINES].
18498 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
18501 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
18504 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
18506 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18509 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
18510 the GLIBC_2.1 version.
18512 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18515 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
18516 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
18517 intl/tst-gettext-de.po from po/de.po by removing the
18518 POT-Creation-Date line.
18519 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
18521 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
18524 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18526 * mach/Makefile (headers): Add mach/param.h.
18527 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
18528 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
18529 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
18530 (__ptsname_r): Move implementation to...
18531 (__ptsname_internal): ... new function. Add filling the STP
18534 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
18536 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
18539 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
18541 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
18544 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18546 * nptl/Makefile (tst-mutex8-ENV): Delete.
18547 * nptl/tst-mutex8.c (check_type):
18548 Add runtime check if mutex will be elided.
18550 2018-02-15 Joseph Myers <joseph@codesourcery.com>
18554 * manual/install.texi (Configuring and compiling): Describe
18555 passing CC and CFLAGS on configure command line, not as
18556 environment variables. Use @code markup on those variables.
18557 Specify what options go in CC and what go in CFLAGS. Note the
18558 requirement to compile with optimization.
18559 * INSTALL: Regenerated.
18562 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
18563 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
18564 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
18565 __sigprocmask instead of sigprocmask.
18566 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
18568 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
18569 __sigsetjmp and sigprocmask.
18572 * include/argz.h (argz_next): Use libc_hidden_proto.
18573 (__argz_next): Likewise.
18574 * string-argz-next.c (__argz_next): Use libc_hidden_def.
18575 (argz_next): Use libc_hidden_weak.
18578 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
18580 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
18584 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
18586 * libio/iofputs.c (fputs): Use libc_hidden_weak.
18590 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
18591 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
18592 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
18593 (__feof_unlocked): New declaration, and inline function if
18594 [__USE_EXTERN_INLINES].
18595 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
18596 instead of feof_unlocked.
18597 * intl/localealias.c [_LIBC] (FEOF): Likewise.
18598 * nss/nsswitch.c (nss_parse_file): Likewise.
18599 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
18601 * time/getdate.c (__getdate_r): Likewise.
18602 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
18603 Define as macro to call __feof_unlocked.
18605 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18607 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18609 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18611 * math/Makefile: Remove mpexp.c and mplog.c
18612 * sysdeps/i386/fpu/mpexp.c: Delete file.
18613 * sysdeps/i386/fpu/mplog.c: Likewise.
18614 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18615 * sysdeps/ia64/fpu/mplog.c: Likewise.
18616 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18617 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18618 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18619 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18620 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18621 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18622 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18623 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18624 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18625 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18626 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18627 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18628 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18629 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18630 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18631 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18633 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18635 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18637 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18639 * sysdeps/sh/libm-test-ulps: Update.
18641 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18643 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18646 2018-02-12 Zack Weinberg <zackw@panix.com>
18649 * posix/sys/types.h: Don't include sys/sysmacros.h.
18650 * misc/sys/sysmacros.h: Remove the conditional deprecation
18651 warnings for the macros defined by this header.
18653 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18655 * manual/probes.texi: Remove slowexp probes.
18656 * math/Makefile: Remove slowexp.
18657 * sysdeps/generic/math_private.h (__slowexp): Remove.
18658 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18659 document error bounds.
18660 * sysdeps/i386/fpu/slowexp.c: Remove.
18661 * sysdeps/ia64/fpu/slowexp.c: Remove.
18662 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18663 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18664 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18665 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18666 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18667 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18668 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18669 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18670 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18671 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18672 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18674 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18677 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18678 * benchtests/pow-inputs: Update comment for slow path cases.
18679 * manual/probes.texi (slowpow_p10): Delete removed probe.
18680 (slowpow_p10): Likewise.
18681 * math/Makefile: Remove halfulp.c and slowpow.c.
18682 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18683 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18684 (__halfulp): Remove.
18685 (__slowpow): Remove.
18686 * sysdeps/i386/fpu/halfulp.c: Delete file.
18687 * sysdeps/i386/fpu/slowpow.c: Likewise.
18688 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18689 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18690 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18691 improve comments and add error analysis.
18692 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18693 (power1): Remove function:
18694 (log1): Remove error argument, add error analysis.
18695 (my_log2): Remove function.
18696 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18697 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18698 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18699 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18700 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18701 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18702 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18703 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18704 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18705 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18706 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18707 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18708 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18709 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18711 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18713 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18714 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18716 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18719 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18720 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18721 and PTRACE_SETHBPREGS.
18723 2018-02-10 Zack Weinberg <zackw@panix.com>
18726 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18728 * malloc/tst-malloc-stats-cancellation.c: New test case.
18729 * malloc/Makefile: Add new test case.
18731 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18733 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18735 2018-02-10 Joseph Myers <joseph@codesourcery.com>
18737 * math/Makefile (libm-narrow-fns): Add add.
18738 (libm-test-funcs-narrow): Likewise.
18739 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18740 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18741 * math/gen-auto-libm-tests.c (test_functions): Add add.
18742 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18743 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18744 (NARROW_ADD_TRIVIAL): Likewise.
18745 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18747 (__daddl): Likewise.
18748 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18750 (CFLAGS-nldbl-dadd.c): New variable.
18751 (CFLAGS-nldbl-fadd.c): Likewise.
18752 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18754 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18756 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18757 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18758 * math/auto-libm-test-in: Add tests of add.
18759 * math/auto-libm-test-out-narrow-add: New generated file.
18760 * math/libm-test-narrow-add.inc: New file.
18761 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18762 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18763 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18764 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18765 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18766 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18767 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18768 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18769 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18770 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18772 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18774 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18775 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18776 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18777 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18778 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18780 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18781 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18782 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18783 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18784 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18785 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18786 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18787 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18788 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18789 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18790 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18791 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18792 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18797 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18798 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18799 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18800 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18801 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18802 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18803 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18804 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18805 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18806 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18808 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18809 (f128-pairs): New variable.
18810 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18811 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18813 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18814 Also make tests add $(f128-loader-link) to gnulib-tests.
18816 2018-02-09 DJ Delorie <dj@redhat.com>
18819 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18820 64-bit ELF type for 64-bit ELF objects.
18822 2018-02-09 Joseph Myers <joseph@codesourcery.com>
18824 * math/libm-test-driver.c (snan_tests_arg): New variable.
18825 * math/libm-test-support.h (snan_tests_arg): New declaration.
18826 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18828 * math/Makefile (test-type-pairs): New variable.
18829 (test-type-pairs-f64xf128-yes): Likewise.
18830 (tests): Add test-narrow-macros.
18831 (libm-test-funcs-narrow): New variable.
18832 (libm-test-c-narrow): Likewise.
18833 (generated): Add $(libm-test-c-narrow).
18834 (libm-tests-base-narrow): New variable.
18835 (libm-tests-narrow): Likewise.
18836 (libm-tests): Add $(libm-tests-narrow).
18837 (libm-tests-for-type): Handle $(libm-tests-narrow).
18838 (libm-test-c-narrow-obj): New variable.
18839 ($(libm-test-c-narrow-obj)): New rule.
18840 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18841 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18842 $(o-iterator) to set dependencies and CFLAGS.
18843 * math/gen-auto-libm-tests.c: Document use for narrowing
18845 (output_for_one_input_case): Take argument NARROW.
18846 (generate_output): Likewise. Update call to
18847 output_for_one_input_case.
18848 (main): Take --narrow option. Update call to generate_output.
18849 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18850 (apply_lit): Update call to _apply_lit.
18851 (apply_arglit): New function.
18852 (parse_args): Handle "a" arguments.
18853 (parse_auto_input): Handle format names using ":".
18854 * math/README.libm-test: Document "a" parameter type.
18855 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18856 (ARG_TYPE_TRUE_MIN): Likewise.
18857 (ARG_TYPE_MAX): Likwise.
18858 (ARG_MIN_EXP): Likewise.
18859 (ARG_MAX_EXP): Likewise.
18860 (ARG_MANT_DIG): Likewise.
18861 (TEST_COND_arg_ibm128): Likewise.
18862 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18863 (TEST_COND_arg_fmt): New macro.
18864 (init_max_error): Update prototype.
18865 * math/libm-test-support.c (test_ibm128): New variable.
18866 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18867 instead of using [TEST_COND_ibm128] conditional.
18868 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18869 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18870 [TEST_NARROW] (TEST_MSG): New definition.
18871 (arg_plus_zero): New macro.
18872 (arg_minus_zero): Likewise.
18873 (arg_plus_infty): Likewise.
18874 (arg_minus_infty): Likewise.
18875 (arg_qnan_value_pl): Likewise.
18876 (arg_qnan_value): Likewise.
18877 (arg_snan_value_pl): Likewise.
18878 (arg_snan_value): Likewise.
18879 (arg_max_value): Likewise.
18880 (arg_min_value): Likewise.
18881 (arg_min_subnorm_value): Likewise.
18882 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18883 (RUN_TEST_LOOP_aa_f): New macro.
18884 (TEST_SUFF): New macro.
18885 (TEST_SUFF_STR): Likewise.
18886 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18887 (TEST_COND_any_ibm128): New macro.
18888 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18889 this_func. Update call to init_max_error.
18890 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18891 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18892 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18893 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18894 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18895 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18896 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18897 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18898 * math/test-math-vector.h (TEST_NARROW): Likewise.
18899 * math/test-arg-double.h: New file.
18900 * math/test-arg-float128.h: Likewise.
18901 * math/test-arg-float32x.h: Likewise.
18902 * math/test-arg-float64.h: Likewise.
18903 * math/test-arg-float64x.h: Likewise.
18904 * math/test-arg-ldouble.h: Likewise.
18905 * math/test-math-narrow.h: Likewise.
18906 * math/test-narrow-macros.c: Likewise.
18907 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18908 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18909 test-narrow-macros-ldbl-64.
18910 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18912 * math/bits/mathcalls-narrow.h: New file.
18913 * include/bits/mathcalls-narrow.h: Likewise.
18914 * math/math-narrow.h: Likewise.
18915 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18916 (__MATHCALL_NARROW_ARGS_2): Likewise.
18917 (__MATHCALL_NARROW_ARGS_3): Likewise.
18918 (__MATHCALL_NARROW_NORMAL): Likewise.
18919 (__MATHCALL_NARROW_REDIR): Likewise.
18920 (__MATHCALL_NARROW): Likewise.
18921 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18922 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18924 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18925 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18926 (libm-narrow-fns): New variable.
18927 (libm-narrow-types-basic): Likewise.
18928 (libm-narrow-types-ldouble-yes): Likewise.
18929 (libm-narrow-types-float128-yes): Likewise.
18930 (libm-narrow-types-float128-alias-yes): Likewise.
18931 (libm-narrow-types): Likewise.
18932 (libm-routines): Add narrowing functions.
18933 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18934 (libc_feholdexcept_setroundf128): New macro.
18935 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18936 * sysdeps/ieee754/float128/float128_private.h: Include
18937 <math/math-narrow.h>.
18938 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18939 Undefine and redefine.
18940 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18941 (libm_alias_float_ldouble): Undefine and redefine.
18942 (libm_alias_double_ldouble): Likewise.
18944 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18946 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18948 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18951 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
18953 * manual/creature.texi: Convert references to gcc.info to gcc.
18954 * manual/stdio.texi: Likewise.
18955 * manual/string.texi: Likewise.
18957 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18960 * posix/bits/types.h (__int_least8_t): New typedef.
18961 (__uint_least8_t): Likewise.
18962 (__int_least16_t): Likewise.
18963 (__uint_least16_t): Likewise.
18964 (__int_least32_t): Likewise.
18965 (__uint_least32_t): Likewise.
18966 (__int_least64_t): Likewise.
18967 (__uint_least64_t): Likewise.
18968 * sysdeps/generic/stdint.h (int_least8_t): Define using
18970 (int_least16_t): Define using __int_least16_t.
18971 (int_least32_t): Define using __int_least32_t.
18972 (int_least64_t): Define using __int_least64_t.
18973 (uint_least8_t): Define using __uint_least8_t.
18974 (uint_least16_t): Define using __uint_least16_t.
18975 (uint_least32_t): Define using __uint_least32_t.
18976 (uint_least64_t): Define using __uint_least64_t.
18977 * wcsmbs/uchar.h: Include <bits/types.h>.
18978 (char16_t): Define using __uint_least16_t conditional only on
18980 (char32_t): Define using __uint_least32_t conditional only on
18982 * wcsmbs/test-char-types.c: New file.
18983 * wcsmbs/Makefile (tests): Add test-char-types.
18985 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18988 2018-02-07 Zack Weinberg <zackw@panix.com>
18990 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18991 Delete all contents except for definitions of _G_HAVE_MMAP and
18992 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18993 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18994 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18997 * libio/libio.h: Don't include bits/_G_config.h here.
18998 Include stddef.h with __need_wchar_t defined. Include
18999 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
19000 Define _IO_iconv_t here, directly.
19001 Don't define _IO_HAVE_ST_BLKSIZE.
19002 * libio/libioP.h: Include _G_config.h here. Move include of
19003 shlib-compat.h up with rest of includes. Simplify conditionals
19004 controlling definition of _IO_JUMPS_OFFSET.
19006 * csu/init.c: Remove always-true #if around entire file.
19007 Don't include stdio.h. Set _IO_stdin_used to hardwired
19008 constant 0x20001, and update commentary.
19009 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
19010 Replace all uses of _G_va_list with __gnuc_va_list.
19011 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
19012 instead of #if _IO_HAVE_ST_BLKSIZE.
19013 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
19014 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
19017 * libio/bits/libio.h: Move back to libio/libio.h and adjust
19018 multiple-include guard to match.
19019 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
19021 Remove preprocessor conditionals that are always true and/or
19022 redundant to other preprocessor conditionals in the same nest.
19023 Include shlib-compat.h unconditionally.
19024 Error out if _LIBC is not defined, or if _ISOMAC is defined,
19025 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
19026 defined after including stdio.h.
19027 Use __BEGIN_DECLS/__END_DECLS.
19029 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
19030 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
19031 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
19033 2018-02-07 Zack Weinberg <zackw@panix.com>
19035 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
19036 New single-type headers split from _G_config.h.
19037 * libio/bits/types/cookie_io_functions_t.h
19038 * libio/bits/types/struct_FILE.h
19039 New single-type headers split from libio.h.
19041 * libio/Makefile: Install the above new headers. Don't install
19042 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
19044 * libio/_G_config.h, libio/libio.h: Delete file.
19046 * libio/bits/libio.h: Remove improper-inclusion guard.
19047 Include stdio.h and don't repeat anything that it does.
19048 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
19049 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
19050 __io_read_fn as cookie_read_function_t,
19051 __io_write_fn as cookie_write_function_t,
19052 __io_seek_fn as cookie_seek_function_t,
19053 __io_close_fn as cookie_close_function_t,
19054 and _IO_cookie_io_functions_t as cookie_io_functions_t.
19055 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
19056 here, in the "compatibility defines" section. Remove an #if 0
19057 block. Use the "body" macros from bits/types/struct_FILE.h to
19058 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
19059 and _IO_ferror_unlocked.
19060 Move prototypes of __uflow and __overflow...
19062 * libio/stdio.h: ...here. Don't include bits/libio.h.
19063 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
19064 directly from stdarg.h. Include bits/types/__fpos_t.h,
19065 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
19066 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
19067 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
19068 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
19069 cookie_io_functions_t, not _IO_cookie_io_functions_t;
19070 __ssize_t, not _IO_ssize_t. Unconditionally define
19071 BUFSIZ as 8192 and EOF as (-1).
19073 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
19074 macros from bits/types/struct_FILE.h instead of _IO_* macros
19075 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
19076 instead of _IO_ssize_t.
19077 * libio/bits/stdio2.h: Similarly.
19079 * libio/iolibio.h: Add multiple-include guard.
19080 Include bits/libio.h after stdio.h.
19081 * libio/libioP.h: Add multiple-include guard.
19082 Include stdio.h and bits/libio.h before iolibio.h.
19084 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
19085 * include/bits/types/cookie_io_functions_t.h
19086 * include/bits/types/struct_FILE.h: New wrappers.
19088 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
19089 Get definitions of _G_fpos_t and _G_fpos64_t from
19090 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
19091 respectively. Remove improper-inclusion guards.
19093 * conform/data/stdio.h-data: Update expectations of va_list.
19094 * scripts/check-installed-headers.sh: Remove special case for
19095 libio.h and _G_config.h.
19097 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19101 * include/sys/sysmacros.h [!_ISOMAC]
19102 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
19103 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
19104 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
19105 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
19107 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
19108 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
19110 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
19111 Undefine and redefine to add use __gnu_dev_ prefix.
19112 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
19114 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
19115 and define as hidden inline function.
19116 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
19118 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
19120 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
19121 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
19122 (gnu_dev_minor): Likewise.
19123 (gnu_dev_makedev): Likewise.
19124 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
19126 * posix/wordexp.c (exec_comm_child): Likewise.
19127 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
19128 instead of minor and __gnu_dev_major instead of major.
19129 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
19130 __gnu_dev_major instead of major.
19131 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
19132 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
19133 instead of gnu_dev_minor.
19134 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
19135 (SLAVE_P): Likewise.
19136 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
19137 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
19141 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
19143 * locale/weightwc.h (findidx): Likewise.
19145 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
19147 * manual/probes.texi (slowlog): Delete documentation of removed probe.
19148 (slowlog_inexact): Likewise
19149 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
19150 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
19152 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
19155 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
19156 missing second underscore to parameter name.
19158 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19164 * bits/byteswap.h: Update file comment. Do not include
19165 <bits/byteswap-16.h>.
19166 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
19168 (__bswap_16): Define as inline function.
19169 (__bswap_constant_32): Reformat definition.
19170 (__bswap_32): Always define as inline function, not macro, using
19171 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
19172 otherwise __bswap_constant_32.
19173 (__bswap_constant_64): Reformat definition. Do not use
19174 __extension__ here.
19175 (__bswap_64): Always define as inline function, not macro. Use
19176 __extension__ on function definition. Use __builtin_bswap64 if
19177 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
19178 * string/test-endian-file-scope.c: New file.
19179 * string/test-endian-sign-conversion.c: Likewise.
19180 * string/Makefile (headers): Remove bits/byteswap-16.h.
19181 (tests): Add test-endian-file-scope and
19182 test-endian-sign-conversion.
19183 (CFLAGS-test-endian-sign-conversion.c): New variable.
19184 * bits/byteswap-16.h: Remove file.
19185 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
19186 * sysdeps/ia64/bits/byteswap.h: Likewise.
19187 * sysdeps/m68k/bits/byteswap.h: Likewise.
19188 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19189 * sysdeps/s390/bits/byteswap.h: Likewise.
19190 * sysdeps/tile/bits/byteswap.h: Likewise.
19191 * sysdeps/x86/bits/byteswap-16.h: Likewise.
19192 * sysdeps/x86/bits/byteswap.h: Likewise.
19195 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
19196 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
19197 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
19198 199901L] (__restrict): Define to restrict.
19201 * string/testcopy.c: Include <support/support.h>. Do not include
19202 <malloc.h>. Use <support/test-driver.c>.
19203 (main): Rename to do_test. Make static. Use xmalloc instead of
19207 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
19208 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
19209 (SSIZE_MAX): Define to INT_MAX.
19210 * posix/test-ssize-max.c: New file.
19211 * posix/Makefile (tests): Add test-ssize-max.
19214 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
19215 <support/support.h>. Do not include <malloc.h>.
19216 (query_auxv): Use xmalloc instead of malloc.
19219 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
19220 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
19223 2018-02-06 Florian Weimer <fweimer@redhat.com>
19226 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19227 Use scratch_buffer instead of extend_alloca.
19229 2018-02-06 Zack Weinberg <zackw@panix.com>
19231 * libio/stdio.h: Don't define getc or putc as macros.
19232 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
19233 not _IO_getc and _IO_putc.
19235 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
19236 * stdio-common/tstgetln.c: Don't redefine ssize_t.
19238 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19240 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
19241 (TCP_FASTOPEN_NO_COOKIE): Likewise.
19243 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
19246 * elf/elf.h (NT_PRFPREG): New macro.
19247 (NT_S390_VXRS_LOW): Likewise.
19248 (NT_S390_VXRS_HIGH): Likewise.
19249 (NT_S390_GS_CB): Likewise.
19250 (NT_S390_GS_BC): Likewise.
19251 (NT_S390_RI_CB): Likewise.
19253 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
19254 (MAP_SYNC): New macro.
19255 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
19257 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
19258 (MAP_SYNC): Likewise.
19259 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
19260 (MAP_SYNC): Likewise.
19261 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
19262 (MAP_SYNC): Likewise.
19263 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
19264 (MAP_SYNC): Likewise.
19265 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
19266 (MAP_SYNC): Likewise.
19267 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
19268 (MAP_SYNC): Likewise.
19269 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
19271 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
19274 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
19275 (MAP_SHARED_VALIDATE): New macro.
19276 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19277 (MAP_SHARED_VALIDATE): Likewise.
19279 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19281 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
19282 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
19283 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19285 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19287 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
19288 (DT_NUM): Updated to 35.
19290 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19292 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
19293 __builtin_expect with __glibc_likely and __glibc_unlikely.
19294 (elf_machine_rela): Likewise.
19295 (elf_machine_lazy_rel): Likewise.
19297 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19299 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
19300 __builtin_expect with __glibc_likely and __glibc_unlikely.
19301 (elf_machine_lazy_rel): Likewise.
19303 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19306 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
19308 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
19310 2018-02-05 Andreas Schwab <schwab@suse.de>
19313 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
19316 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19318 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
19319 not check against PTHREAD_STACK_MIN.
19321 2018-02-02 Sean McKean <smckean83@gmail.com>
19324 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
19326 2018-02-02 Florian Weimer <fweimer@redhat.com>
19329 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
19330 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
19331 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
19332 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
19333 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
19334 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
19335 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
19336 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
19337 * manual/llio.texi (Scatter-Gather): Mention offset -1.
19338 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
19339 * misc/tst-preadvwritev2.c (do_test): Call it.
19340 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
19342 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
19344 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
19346 * benchtests/bench-memcmp.c: Print json instead of plain text.
19348 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
19351 2018-02-01 Joseph Myers <joseph@codesourcery.com>
19353 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19355 (s390_sthyi): New syscall.
19357 * sysdeps/generic/ldbl-classify-compat.h: New file.
19358 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
19359 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
19360 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
19361 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
19362 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
19363 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
19364 * sysdeps/ieee754/dbl-64/s_finite.c: Include
19365 <ldbl-classify-compat.h>.
19366 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19367 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
19368 <ldbl-classify-compat.h>.
19369 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19370 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
19371 <ldbl-classify-compat.h>.
19372 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19373 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
19374 <ldbl-classify-compat.h>.
19375 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19376 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
19377 <ldbl-classify-compat.h>.
19378 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19379 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
19380 <ldbl-classify-compat.h>.
19381 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19382 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
19383 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19384 * sysdeps/m68k/coldfire/math_private.h: Remove file.
19385 * sysdeps/microblaze/math_private.h: Likewise.
19386 * sysdeps/nios2/math_private.h: Likewise.
19387 * sysdeps/sh/math_private.h: Likewise.
19389 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
19390 * sysdeps/m68k/coldfire/math_private.h: ... here.
19391 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
19392 * sysdeps/tile/math_private.h: Likewise.
19393 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
19395 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
19398 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
19400 (libc_fetestexcept): Likewise.
19401 (libc_feupdateenv_test): Likewise.
19402 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
19403 (libc_fetestexcept): Likewise.
19404 (libc_feupdateenv_test): Likewise.
19405 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
19406 (libc_fetestexcept): Likewise.
19407 (libc_feupdateenv_test): Likewise.
19408 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
19409 (libc_fetestexcept): Likewise.
19410 (libc_feupdateenv_test): Likewise.
19412 * sysdeps/generic/math_private.h
19413 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
19414 New inline function.
19415 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
19418 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
19419 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
19420 * sysdeps/generic/math_private.h
19421 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
19423 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
19425 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
19427 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
19429 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
19431 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
19433 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
19434 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
19435 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
19436 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
19437 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
19438 (__fegetenv): Likewise.
19439 (fesetenv): Likewise.
19440 (__fesetenv): Likewise.
19441 (feupdateenv): Likewise.
19442 (__feupdateenv): Likewise.
19443 (fegetround): Likewise.
19444 (__fegetround): Likewise.
19445 (fesetround): Likewise.
19446 (__fesetround): Likewise.
19448 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
19449 (feraiseexcept): New macro.
19450 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
19451 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
19453 (__feraiseexcept): Likewise.
19454 (feclearexcept): Likewise.
19455 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
19456 (__feraiseexcept): Likewise.
19457 (feclearexcept): Likewise.
19458 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
19459 (__feraiseexcept): Likewise.
19460 (feclearexcept): Likewise.
19461 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
19462 (__feraiseexcept): Likewise.
19463 (feclearexcept): Likewise.
19464 (fetestexcept): Likewise.
19466 * sysdeps/m68k/coldfire/math-tests.h: New file.
19468 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
19469 * sysdeps/m68k/bits/fenv.h: ... here.
19470 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
19472 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
19474 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
19476 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
19478 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
19480 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
19482 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
19483 (__FE_UNDEFINED): New enum constant.
19484 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
19486 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
19488 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
19490 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
19491 to match generic bits/fenv.h.
19492 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
19495 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
19497 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
19498 * soft-fp/half.h (union _FP_UNION_H): Likewise.
19499 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
19500 * soft-fp/single.h (union _FP_UNION_S): Likewise.
19502 2018-02-01 Carlos O'Donell <carlos@redhat.com>
19503 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
19504 Joseph Myers <joseph@codesourcery.com>
19507 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
19508 (__log1p): Disable -Wmaybe-uninitialized for -Os around
19509 computation using c.
19510 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
19511 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
19512 computation using c.
19514 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19516 * version.h (RELEASE): Set to "development".
19517 (VERSION): Set to "2.27.9000".
19518 * NEWS (2.28): New section.
19520 * version.h (RELEASE): Set to "stable".
19521 (VERSION): Set to "2.27".
19522 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
19524 * NEWS: Add the list of bugs fixed in 2.27.
19526 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19528 * stdlib/test-atexit-race-common.c (do_test): Check stack size
19529 against PTHREAD_STACK_MIN.
19531 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19533 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
19535 (Rafal Luzynski, Andreas Schwab): Update.
19537 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
19540 * NEWS: List the languages which actually use the alternative
19541 months feature in this release. Also explain that "alt_mon" and
19542 "ab_alt_mon" are optional.
19544 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
19547 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
19549 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
19551 * manual/install.texi (Tools for Compilation): Update the newest
19552 versions of gcc, binutils, texinfo, gawk, bison, and sed.
19553 * INSTALL: Regenerated.
19555 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19557 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
19558 instead of __builtin_expect.
19560 2018-01-30 Florian Weimer <fweimer@redhat.com>
19562 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
19564 * nss/tst-nss-getpwent.c (do_test): Likewise.
19566 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
19569 * localedata/locales/hr_HR (mon): Rename to...
19571 (mon): Import from CLDR (genitive case).
19572 (d_t_fmt): Update the comment.
19574 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
19576 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
19577 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
19578 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
19580 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19582 * mach/Versions: Fix version when __mach_host_self_ was added.
19583 * hurd/Versions: Fix version when _hurd_exec_paths was added.
19584 * sysdeps/mach/hurd/i386/ld.abilist: New file.
19585 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
19586 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
19587 * sysdeps/mach/hurd/i386/libc.abilist: New file.
19588 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
19589 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
19590 * sysdeps/mach/hurd/i386/libm.abilist: New file.
19591 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
19592 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
19593 * sysdeps/mach/hurd/i386/librt.abilist: New file.
19594 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
19595 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
19596 || to respect codestyle.
19597 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
19598 (do_test_bz20181): Rename accordingly.
19599 * malloc/malloc.c: Include <assert.h>.
19600 (assert): Do not define.
19601 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
19602 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
19603 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
19604 * sysdeps/mach/hurd/hp-timing.h: New file.
19605 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
19607 2018-01-29 Darius Rad <darius@bluespec.com>
19609 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19611 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
19613 * sysdeps/init_array/crti.S (.section .init_array): Add
19614 PREINIT_FUNCTION when defined.
19615 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
19616 * config.h.in: Regenerate.
19617 * manual/platform.texi: Add RISC-V documenation for
19618 __riscv_flush_icache.
19619 * sysdeps/riscv/__longjmp.S: New file.
19620 * sysdeps/riscv/backtrace.c: Likewise.
19621 * sysdeps/riscv/bits/endian.h: Likewise.
19622 * sysdeps/riscv/bits/setjmp.h: Likewise.
19623 * sysdeps/riscv/bits/wordsize.h: Likewise.
19624 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19625 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19626 * sysdeps/riscv/dl-trampoline.S: Likewise.
19627 * sysdeps/riscv/gccframe.h: Likewise.
19628 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19629 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19630 * sysdeps/riscv/machine-gmon.h: Likewise.
19631 * sysdeps/riscv/memusage.h: Likewise.
19632 * sysdeps/riscv/setjmp.S: Likewise.
19633 * sysdeps/riscv/sys/asm.h: Likewise.
19634 * sysdeps/riscv/tls-macros.h: Likewise.
19635 * sysdeps/riscv/dl-tls.h: New file.
19636 * sysdeps/riscv/libc-tls.c: Likewise.
19637 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19638 * sysdeps/riscv/nptl/tls.h: Likewise.
19639 * sysdeps/riscv/stackinfo.h: Likewise.
19640 * sysdeps/riscv/bits/fenv.h: New file.
19641 * sysdeps/riscv/e_sqrtl.c: Likewise.
19642 * sysdeps/riscv/fpu_control.h: Likewise.
19643 * sysdeps/riscv/math-tests.h: Likewise.
19644 * sysdeps/riscv/nofpu/Implies: Likewise.
19645 * sysdeps/riscv/sfp-machine.h: Likewise.
19646 * sysdeps/riscv/tininess.h: Likewise.
19647 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19648 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19649 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19650 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19651 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19652 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19653 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19654 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19655 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19656 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19657 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19658 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19659 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19660 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19661 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19662 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19663 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19664 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19665 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19666 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19667 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19668 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19669 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19670 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19671 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19672 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19673 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19674 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19675 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19676 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19677 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19678 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19679 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19680 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19681 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19682 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19683 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19684 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19685 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19686 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19687 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19688 * sysdeps/riscv/rvf/math_private.h: Likewise.
19689 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19690 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19691 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19692 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19693 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19694 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19695 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19696 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19697 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19698 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19699 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19700 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19701 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19702 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19703 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19704 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
19705 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19706 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19707 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19708 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
19709 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19710 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19711 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19712 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19713 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19714 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19715 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19716 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19717 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
19718 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19719 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19720 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19721 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19722 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19723 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19724 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19725 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19726 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19727 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19728 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19729 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19730 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19731 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19732 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19733 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19734 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19735 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19736 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19737 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19738 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19739 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
19740 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19741 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19742 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
19743 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19744 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19745 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19746 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19747 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19748 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19749 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19750 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19751 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19752 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19753 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19754 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19755 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19756 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
19757 * sysdeps/riscv/Implies: New file.
19758 * sysdeps/riscv/Makefile: Likewise.
19759 * sysdeps/riscv/configure: Likewise.
19760 * sysdeps/riscv/configure.ac: Likewise.
19761 * sysdeps/riscv/nptl/Makefile: Likewise.
19762 * sysdeps/riscv/preconfigure: Likewise.
19763 * sysdeps/riscv/rv64/Implies-after: Likewise.
19764 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19765 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19766 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19767 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19768 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19769 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19770 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19771 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19772 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19773 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19774 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
19775 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19776 (Config): Likewise.
19778 2018-01-29 Florian Weimer <fweimer@redhat.com>
19781 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19782 libnsl_hidden_proto.
19783 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19784 libnsl_hidden_proto.
19785 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19786 * nis/Makefile (libnsl-routines): Add nss-default only for
19787 build-obsolete-nsl.
19788 * nis/nis_defaults.c (__nis_default_ttl): Add
19789 libnsl_hidden_nolink_def.
19790 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19792 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19793 * nis/ypclnt.c (yp_maplist): Likewise.
19795 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19797 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19798 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19800 2018-01-29 Joseph Myers <joseph@codesourcery.com>
19802 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19803 clean -dxfq for git updates when replacing sources.
19805 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19806 --disable-libcilkrts unconditionally, not just for the final GCC
19809 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19812 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19815 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19818 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19821 * localedata/locales/be_BY (mon): Rename to...
19822 (alt_mon): This, then synchronize with CLDR (nominative case).
19823 (abmon): Rename to...
19824 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19825 (mon): Import from CLDR (genitive case).
19827 * localedata/locales/be_BY@latin (mon): Rename to...
19829 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19831 * localedata/locales/be_BY@latin (lang_name): Reworded to
19832 "biełaruskaja mova".
19834 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19837 * localedata/locales/el_CY (mon): Renamed to...
19839 (mon): Import from CLDR (genitive case).
19840 * localedata/locales/el_GR: Likewise.
19842 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19845 * localedata/locales/ru_RU (mon): Rename to...
19847 (abmon): Rename to...
19848 (ab_alt_mon): This.
19849 (mon): Import from CLDR (genitive case).
19850 (abmon): Copy from the old content except the 5th month which is
19851 now in the genitive case, even when abbreviated.
19852 * localedata/locales/ru_UA: Likewise.
19853 * time/tst-strptime.c (day_tests): Add an actual example of
19854 a difference between %b and %Ob in Russian.
19856 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19858 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
19859 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19861 * resolv/res-close.c: Include <stdlib.h>.
19862 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19863 <sys/wait.h>, <time.h>, <sys/uio.h>.
19864 (NOT_CANCEL_H): Add inclusion guard.
19865 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
19866 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19867 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19869 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19870 vm_address_t * to ElfW(Addr) * for dl_main parameter.
19871 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19873 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19874 timer_ptr2id to cast struct timer_node * to void *.
19875 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19876 --disable-libcilkrts to gcc configure.
19877 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19878 and make them the default for now.
19879 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19880 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
19881 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19882 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19883 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19885 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19886 __task_terminate would ever return successfully.
19887 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19889 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19890 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
19891 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19892 critical section to make code simpler and avoid warning.
19893 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19894 critical section to make code simpler and avoid warning.
19895 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19896 const char * instead of char *.
19897 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19898 __hurd_file_name_split, hurd_file_name_split,
19899 __hurd_directory_name_split, hurd_directory_name_split,
19900 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19901 hurd_file_name_path_lookup): Make lookup function parameter take a
19902 const char *name instead of char *name.
19903 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19904 __hurd_directory_name_split): Likewise.
19905 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19906 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
19907 * sysdeps/mach/hurd/check_native.c: New file.
19908 * sysdeps/mach/hurd/check_pf.c: New file.
19909 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19910 (__freeifaddrs): Define macro to freeifaddrs.
19911 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19912 * sysdeps/mach/libmachuser.abilist: New file.
19913 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19914 (do_test_bz20181): Rename accordingly.
19915 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
19916 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19918 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19919 version only if __USE_EXTERN_INLINES is defined.
19920 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19921 __hurd_sockfail): Likewise.
19922 (_hurd_fd_get): Always declare functions, and provide inline versions
19923 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19924 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19925 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19926 _hurd_port_set): Always declare functions, and provide inline versions
19927 only if __USE_EXTERN_INLINES and _LIBC are defined and
19929 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19930 _hurd_critical_section_unlock): Likewise.
19931 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19932 * __hurd_threadvar_location): Likewise.
19933 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19934 _hurd_userlink_clear): Likewise.
19935 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19936 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19937 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19938 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19939 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19940 __spin_lock_locked): Likewise.
19941 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19942 __spin_lock_locked): Likewise.
19943 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19944 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19945 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19946 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19947 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
19948 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19949 _POSIX_NO_TRUNC): Define to 0.
19950 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19951 check size against PTHREAD_STACK_MIN.
19952 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19953 IS_IN(libpthread)]: Include <sigsetops.h>.
19954 * mach/Makefile (user-interfaces): Add mach/gnumach.
19955 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19956 * sysdeps/mach/configure (mach_interface_list): Regenerate.
19957 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19958 instead of invalid -1.
19959 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19960 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19961 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19964 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
19966 * hurd/fcntl-internal.h: New file.
19968 2018-01-27 James Clarke <jrtc27@jrtc27.com>
19970 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19972 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19974 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19977 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19978 Build only shared objects.
19980 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19982 * README: Update for hppa.
19984 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19986 * sysdeps/sparc/fpu/libm-test-ulps: Update
19987 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
19989 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19993 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19996 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19997 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19998 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19999 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20002 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20005 * bits/types/__cancel_jmp_buf_tag.h: New file.
20006 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20007 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20008 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20009 * nptl/Makefile (headers): Add
20010 bits/types/__cancel_jmp_buf_tag.h.
20011 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20012 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20013 * sysdeps/nptl/pthread.h: Include
20014 <bits/types/__cancel_jmp_buf_tag.h>.
20015 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20017 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20019 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
20022 * localedata/locales/uk_UA (mon): Renamed to...
20024 (alt_digits): "0" removed and then renamed to...
20026 (date_fmt): Definition changed not to use the alternative
20029 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
20031 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
20032 FLAG_RISCV_FLOAT_ABI_DOUBLE.
20033 * elf/elf.h (EF_RISCV_RVC): New define.
20034 (EF_RISCV_FLOAT_ABI): Likewise.
20035 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
20036 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
20037 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20038 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
20039 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
20041 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20043 2018-01-25 Andreas Schwab <schwab@suse.de>
20045 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
20047 * sysdeps/gnu/configure: Regenerate.
20048 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20049 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20051 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20052 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20053 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
20054 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20055 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20057 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20059 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
20060 URL, and run autoconf, make it the default for now.
20062 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20064 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20065 soft-float ColdFire configuration.
20067 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
20068 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
20069 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
20071 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
20074 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
20076 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
20078 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
20081 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
20082 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
20083 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
20086 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20089 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
20090 Rename to __reserved and add comment.
20091 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
20092 Rename to __reserved.
20094 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20096 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20097 i686-gnu configurations.
20098 (Context.run_builds): Include mig, gnumach and hurd in components
20100 (Context.checkout): Add mig, gnumach and hurd to components.
20101 (Context.checkout_tar): Add URL mappings for mig, gnumach and
20103 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
20104 (Config.build): Install gnumach headers, build mig and install
20105 hurd headers for 'gnu' OS.
20106 (Config.install_gnumach_headers): New function.
20107 (Config.install_hurd_headers): Likewise.
20108 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
20109 when building for 'gnu' OS.
20111 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
20113 * manual/tunables.texi (Hardware Capability Tunables): Fix
20116 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
20118 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
20119 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
20120 (ALTMON_11, ALTMON_12): Improve documentation.
20121 * manual/time.texi (strftime): Likewise.
20123 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20126 * localedata/locales/pl_PL: Alternative month names added,
20127 primary month names are genitive now.
20128 * time/tst-strptime.c (day_tests): Actually use a genitive case
20129 of a month name in Polish language.
20131 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20134 * manual/locale.texi: Document ALTMON_1..12 constants for
20135 nl_langinfo. Specify when to use ALTMON instead of MON.
20136 * manual/time.texi (strftime, strptime): Document GNU extension
20137 permitting O modifier with %B and %b. Specify when to use
20140 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20143 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
20144 names, define them as the same as abbreviated month names explicitly.
20145 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
20146 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
20147 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
20148 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
20149 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
20150 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
20151 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
20152 _NL_WABALTMON_12): New enum constants.
20153 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
20154 wab_alt_mon, and ab_alt_mon_defined members.
20155 (time_output): Output ab_alt_mon and wab_alt_mon members.
20156 (time_read): Read them, initialize them as copies of abmon and wabmon
20157 respectively if they are missing, initialize ab_alt_mon_defined.
20158 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
20159 * locale/programs/locfile-kw.h: Regenerate.
20160 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
20161 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
20163 * time/strftime_l.c (a_altmonth, aam_len): New macros.
20164 [!COMPILE_WIDE] (ABALTMON_1): New macro.
20165 (__strftime_internal): Handle %Ob and %Oh formats.
20166 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
20167 (__strptime_internal): Handle %Ob and %Oh formats.
20168 * time/tst-strptime.c (day_tests): Add more tests to parse different
20169 forms of month names including the new %Ob format specifier.
20171 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20174 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
20175 define them as the same as primary full month names explicitly.
20176 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
20177 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
20178 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
20179 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
20180 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
20181 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
20182 _NL_WALTMON_12): New enum constants.
20183 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
20184 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
20186 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
20187 walt_mon, and alt_mon_defined members.
20188 (time_output): Output alt_mon and walt_mon members.
20189 (time_read): Read them, initialize them as copies of mon and wmon
20190 respectively if they are missing, initialize alt_mon_defined.
20191 * locale/programs/locfile-kw.gperf (alt_mon): Define.
20192 * locale/programs/locfile-kw.h: Regenerate.
20193 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
20194 * localedata/tst-langinfo.c (map): Add tests for the new constants
20195 ALTMON_1 .. ALTMON_12.
20196 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
20198 * time/strftime_l.c (f_altmonth): New macro.
20199 (__strftime_internal): Handle %OB format.
20200 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
20201 (__strptime_internal): Handle %OB format.
20202 * time/tst-strptime.c (day_tests): Add tests to parse different forms
20203 of month names including the new %OB format specifier.
20205 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20208 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
20209 from ABORT_TRANSACTION.
20210 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
20211 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
20212 ABORT_TRANSACTION_IMPL): Likewise.
20213 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
20214 Linux code, but remove the code that aborts transactions.
20216 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20218 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
20220 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
20222 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
20223 in date: "2004-14-09" should be "2004-09-14".
20224 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
20225 "2003-15-09" should be "2003-09-15".
20227 2018-01-18 Arjun Shankar <arjun@redhat.com>
20233 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
20235 (_int_memalign): check for integer overflow before calling
20237 * malloc/tst-malloc-too-large.c: New test.
20238 * malloc/Makefile: Add tst-malloc-too-large.
20240 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
20242 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
20243 in date: "2017-24-07" should be "2017-07-24".
20244 * localedata/locales/mai_IN: Likewise.
20245 * localedata/locales/mai_NP: Likewise.
20247 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
20249 * po/ru.po: Update translations.
20251 2018-01-17 Joseph Myers <joseph@codesourcery.com>
20254 * sysdeps/hppa/backtrace.c: New file.
20256 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
20259 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
20260 align La_x86_64_retval to VEC_SIZE.
20262 2018-01-16 Joseph Myers <joseph@codesourcery.com>
20264 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
20265 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
20267 2018-01-16 Florian Weimer <fweimer@redhat.com>
20269 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
20270 Move tst-thread-exit-clobber ...
20271 [$(CXX)] (tests-unsupported): ... to here.
20273 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20275 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
20276 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
20277 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20278 (_dl_aarch64_cap_flags): Update.
20279 (_DL_HWCAP_COUNT): Update.
20281 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20283 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
20284 (_DL_HWCAP_LAST): Remove.
20285 (_DL_HWCAP_COUNT): Move to ...
20286 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20287 (_DL_HWCAP_COUNT): ... here.
20289 2018-01-16 Florian Weimer <fweimer@redhat.com>
20291 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
20292 mode with GNU extensions.
20294 2018-01-15 Alan Hayward <alan.hayward@arm.com>
20296 * elf/elf.h (NT_ARM_SVE): Define.
20298 2018-01-15 Florian Weimer <fweimer@redhat.com>
20301 * nptl/tst-minstack-throw.cc: New file.
20302 * nptl/Makefile (tests): Add tst-minstack-throw.
20303 (LDLIBS-tst-minstack-throw): Link with libstdc++.
20304 [!CXX] (tests-unsupported): Add tst-minstack-throw.
20306 2018-01-15 Joseph Myers <joseph@codesourcery.com>
20308 * scripts/build-many-glibcs.py (Context.checkout): Default
20309 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
20312 2018-01-13 Carlos O'Donell <carlos@redhat.com>
20315 * elf/elf.h (DF_1_STUB): Define.
20316 (DF_1_PIE): Define.
20318 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20321 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
20322 Do not add 0.5 to integer or out-of-range arguments.
20324 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20326 * po/bg.po: Update translations.
20327 * po/cs.po: Likewise.
20328 * po/de.po: Likewise.
20329 * po/ko.po: Likewise.
20330 * po/pl.po: Likewise.
20331 * po/sv.po: Likewise.
20332 * po/uk.po: Likewise.
20333 * po/vi.po: Likewise.
20335 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20337 * aarch64/start.S (_start): Use __wrap_main.
20338 (__wrap_main): New local symbol.
20340 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20344 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
20345 generic_getcwd if the path returned by getcwd syscall is not absolute.
20346 * io/tst-getcwd-abspath.c: New test.
20347 * io/Makefile (tests): Add tst-getcwd-abspath.
20349 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
20351 * malloc/malloc.c (malloc_consolidate): Add size check.
20353 2018-01-12 Florian Weimer <fweimer@redhat.com>
20355 * support/write_message.c (write_message): Preserve errno.
20356 * support/check.c (print_failure): Likewise.
20357 * support/support_test_verify_impl.c (support_test_verify_impl):
20359 * support/support_test_compare_failure.c
20360 (support_test_compare_failure): Likewise.
20362 2018-01-12 Florian Weimer <fweimer@redhat.com>
20365 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
20366 Prevent installation of libnsl.so.
20367 (libnsl-inhibit-o): Do not build (or install) static libraries.
20369 2018-01-12 Egmont Koblinger <egmont@gmail.com>
20372 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
20373 before the day number which may produce a double space.
20374 (date_fmt): Likewise.
20376 2018-01-12 Joseph Myers <joseph@codesourcery.com>
20378 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
20379 instead of fegetenv.
20381 2018-01-11 Joseph Myers <joseph@codesourcery.com>
20384 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
20385 comment to say exceptions are discarded.
20386 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
20388 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
20391 2018-01-11 Florian Weimer <fweimer@redhat.com>
20393 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
20396 2018-01-11 Florian Weimer <fweimer@redhat.com>
20399 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
20400 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
20402 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20405 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
20406 negative arguments in test for NaN or infinity argument.
20408 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
20410 * po/libc.pot: Regenerate.
20412 2018-01-10 Florian Weimer <fweimer@redhat.com>
20415 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
20416 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
20418 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20420 * hurd/hurd/fd.h: Include <fcntl.h>
20421 (__hurd_at_flags): New function.
20422 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
20423 with call to __hurd_at_flags.
20424 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
20425 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
20427 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
20428 (__access_noerrno): Use __faccessat_common instead of access_common.
20429 (__access): Likewise.
20430 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
20431 with a call to __faccessat.
20432 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
20433 (__faccessat_common): ... this. Move implementation of __access into it when
20434 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
20435 reauthenticate_cwdir_at helper to implement AT mechanism.
20436 (__faccessat_noerrno): New function, just calls __faccessat_common.
20437 (__faccessat): New function, just calls __faccessat_common.
20438 (faccessat): Define weak alias.
20440 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20443 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20444 (CFLAGS-s_fmaxmagl.c): New variable.
20445 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
20448 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
20449 long int for arguments of possibly overflowing addition or
20451 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20453 2018-01-09 Joseph Myers <joseph@codesourcery.com>
20456 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20457 (CFLAGS-e_remainderl.c): New variable.
20460 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
20462 (CFLAGS-s_cacoshl.c): Likewise.
20463 (CFLAGS-s_casinhl.c): Likewise.
20464 (CFLAGS-s_catanl.c): Likewise.
20465 (CFLAGS-s_catanhl.c): Likewise.
20466 (CFLAGS-s_cexpl.c): Likewise.
20467 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
20468 (CFLAGS-s_csinhl.c): Likewise.
20469 (CFLAGS-s_clogl.c): Likewise.
20470 (CFLAGS-s_clog10l.c): Likewise.
20471 (CFLAGS-s_csinl.c): Likewise.
20472 (CFLAGS-s_csqrtl.c): Likewise.
20474 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
20475 2017-01-09 Svante Signell <svante.signell@gmail.com>
20477 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
20478 (_hurd_exec_paths): New function.
20479 * hurd/hurd.h (_hurd_exec): Deprecate function.
20480 (_hurd_exec_paths): Declare function.
20481 * hurd/Versions: Export _hurd_exec_paths.
20482 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
20483 (__execve): Use __getcwd to build absolute path, and use
20484 _hurd_exec_paths instead of _hurd_exec.
20485 * sysdeps/mach/hurd/spawni.c: Likewise.
20486 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
20489 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
20491 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
20492 test instead of failing in case of ENOENT returned by posix_openpt.
20494 2018-01-08 Florian Weimer <fweimer@redhat.com>
20496 resolv: Support binary labels in test framework.
20497 * support/resolv_test.c (struct to_be_freed): Remove.
20498 (struct compressed_name): New.
20499 (allocate_compressed_name, ascii_tolower)
20500 (compare_compressed_name): New functions.
20501 (struct resolv_response_builder): Update type of
20502 compression_offsets for use with tsearch. Rempve to_be_freed.
20503 (response_push_pointer_to_free): Remove function.
20504 (resolv_response_add_name): Rewrite using struct compressed_name
20505 and tsearch instead of hsearch_r.
20506 (response_builder_allocate): Remove initialization of
20507 compression_offsets.
20508 (response_builder_free): Update for removal of to_be_freed. Use
20509 tdestroy instead of hdestroy_r.
20510 * resolv/Makefile (tests): Add tst-resolv-binary.
20511 (tst-resolv-binary): Link with -lresolv -lpthread.
20513 2018-01-08 Florian Weimer <fweimer@redhat.com>
20515 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
20516 time. Pass positive flag instead of negative flag to
20517 support_test_compare_failure.
20518 (support_test_compare_failure): Change negative parameter to
20520 * support/support_test_compare_failure.c (report)
20521 (support_test_compare_failure): Likewise.
20522 * support/tst-test_compare.c (return_ssize_t, return_int): New.
20523 (do_test): Check int/size_t, ssize_t/size_t comparisons.
20525 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
20528 * nptl/descr.h (stackblock, stackblock_size): Update comments.
20529 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
20530 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
20532 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20534 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
20536 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20537 Add s_sincosf-sse2 and s_sincosf-fma.
20538 (CFLAGS-s_sincosf-fma.c): New.
20539 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
20540 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
20541 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
20542 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
20543 __sincosf is defined.
20545 2018-01-08 Florian Weimer <fweimer@redhat.com>
20547 * nptl/tst-thread-exit-clobber.cc: New file.
20548 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
20550 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
20551 (tests): Add tst-thread-exit-clobber.
20552 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
20554 2018-01-08 Florian Weimer <fweimer@redhat.com>
20556 * support/check.h (support_static_assert): Define.
20557 (TEST_COMPARE): Use it.
20559 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
20561 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
20562 [!__RLIM_T_MATCHES_RLIM64_T]
20563 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
20564 __getrlimit64. Add libc_hidden_weak.
20566 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
20568 * elf/elf.h (R_RISCV_NONE): New define.
20569 (R_RISCV_32): Likewise.
20570 (R_RISCV_64): Likewise.
20571 (R_RISCV_RELATIVE): Likewise.
20572 (R_RISCV_COPY): Likewise.
20573 (R_RISCV_JUMP_SLOT): Likewise.
20574 (R_RISCV_TLS_DTPMOD32): Likewise.
20575 (R_RISCV_TLS_DTPMOD64): Likewise.
20576 (R_RISCV_TLS_DTPREL32): Likewise.
20577 (R_RISCV_TLS_DTPREL64): Likewise.
20578 (R_RISCV_TLS_TPREL32): Likewise.
20579 (R_RISCV_TLS_TPREL64): Likewise.
20580 * Makerules (make-link-multidir): Make directories before linking into
20582 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
20584 (VDSO_HASH_LINUX_4_15): Likewise.
20585 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
20586 in subdirectories of lib.
20587 * nptl/Makefile (/librt.so): Always depend on
20588 "$(shared-thread-library)".
20590 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20592 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
20593 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
20594 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
20596 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
20597 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20599 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
20600 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
20601 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
20602 * sysdeps/gnu/glob-lstat-compat.c: New file.
20603 * sysdeps/gnu/glob64-lstat-compat.c: New file.
20604 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
20606 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20608 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20609 Reserve 16 chars to reloc_addr before calling _itoa_word.
20611 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20614 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20615 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20617 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20618 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20620 * resource/tst-getrlimit.c: Add copyright header.
20622 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20623 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20625 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20626 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20627 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20628 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20630 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20631 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20632 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20633 RLIM64_INFINITY): Fix values to match the kernel ones.
20634 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20635 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20636 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20637 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20638 getrlimit64@@GLIBC_2_27.
20639 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20641 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20642 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20643 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20644 setrlimit, getrlimit64 and setrlimit64.
20646 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20649 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20650 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20652 2018-01-04 Joseph Myers <joseph@codesourcery.com>
20654 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20655 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20656 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20658 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20662 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20663 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20667 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20668 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20669 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20670 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20672 2018-01-04 Florian Weimer <fweimer@redhat.com>
20675 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20676 Align the stack before calling exit.
20677 * stdlib/tst-makecontext-align.c: New file.
20678 * stdlib/Makefile (tests): Add tst-makecontext-align.
20680 2018-01-04 Florian Weimer <fweimer@redhat.com>
20682 Add support for calling dlvsym from libc.so.
20683 * include/dlfcn.h (__libc_dlvsym): Declare.
20684 * elf/Makefile (tests-static-internal): Add
20685 tst-libc_dlvsym-static.
20686 (tests-internal): Add tst-libc_dlvsym.
20687 (modules-names): Add tst-libc_dlvsym-dso.
20688 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20689 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20690 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20691 object tst-libc_dlvsym-dso.so needs to be built before running
20693 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20694 * elf/Versions: Export __libc_dlvsym.
20695 * elf/dl-libc.c (struct do_dlvsym_args): New.
20696 (do_dlvsym, __libc_dlvsym): New functions.
20697 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20698 (_dl_open_hook2): New variable.
20699 (__libc_register_dl_open_hook): Set it.
20700 * elf/tst-libc_dlvsym-dso.c: New file.
20701 * elf/tst-libc_dlvsym-static.c: Likewise.
20702 * elf/tst-libc_dlvsym.c: Likewise.
20703 * elf/tst-libc_dlvsym.h: Likewise.
20705 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20707 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20708 include <sys/mount.h>.
20710 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20712 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20713 Add __NO_MATH_ERRNO__ check.
20715 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20717 * sysdeps/mips/mips32/libm-test-ulps: Update.
20718 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20720 2018-01-02 Florian Weimer <fweimer@redhat.com>
20722 * misc/tst-pselect.c: Add copyright header.
20724 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20726 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20728 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20730 (settrlimit): Rename into setrlimit.
20731 (__sttrlimit): Rename into __setrlimit.
20733 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20734 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20735 never defined in that case.
20737 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20739 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20741 * sysdeps/arm/libm-test-ulps: Update.
20743 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20744 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20746 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20748 * NEWS: Add cosf and sincosf to list of optimized functions.
20750 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20753 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20754 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20755 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20756 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20758 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20761 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20763 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20764 making a copy of it.
20766 2018-01-01 Joseph Myers <joseph@codesourcery.com>
20768 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20769 trailing whitespace removed.
20770 * scripts/config.guess: Update to version 2018-01-01.
20771 * scripts/config.sub: Update to version 2018-01-01.
20772 * scripts/move-if-change: Update from gnulib.
20774 * NEWS: Update copyright dates.
20775 * catgets/gencat.c (print_version): Likewise.
20776 * csu/version.c (banner): Likewise.
20777 * debug/catchsegv.sh: Likewise.
20778 * debug/pcprofiledump.c (print_version): Likewise.
20779 * debug/xtrace.sh (do_version): Likewise.
20780 * elf/ldconfig.c (print_version): Likewise.
20781 * elf/ldd.bash.in: Likewise.
20782 * elf/pldd.c (print_version): Likewise.
20783 * elf/sotruss.sh: Likewise.
20784 * elf/sprof.c (print_version): Likewise.
20785 * iconv/iconv_prog.c (print_version): Likewise.
20786 * iconv/iconvconfig.c (print_version): Likewise.
20787 * locale/programs/locale.c (print_version): Likewise.
20788 * locale/programs/localedef.c (print_version): Likewise.
20789 * login/programs/pt_chown.c (print_version): Likewise.
20790 * malloc/memusage.sh (do_version): Likewise.
20791 * malloc/memusagestat.c (print_version): Likewise.
20792 * malloc/mtrace.pl: Likewise.
20793 * manual/libc.texinfo: Likewise.
20794 * nptl/version.c (banner): Likewise.
20795 * nscd/nscd.c (print_version): Likewise.
20796 * nss/getent.c (print_version): Likewise.
20797 * nss/makedb.c (print_version): Likewise.
20798 * posix/getconf.c (main): Likewise.
20799 * scripts/test-installation.pl: Likewise.
20800 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20802 * All files with FSF copyright notices: Update copyright dates
20803 using scripts/update-copyrights.
20804 * locale/programs/charmap-kw.h: Regenerated.
20805 * locale/programs/locfile-kw.h: Likewise.
20807 2017-12-31 Zack Weinberg <zackw@panix.com>
20809 * libio/bits/libio-ldbl.h: Correct check for improper
20810 inclusion. Add own multiple include guard.
20812 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20813 Dmitry V. Levin <ldv@altlinux.org>
20817 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20818 string token expansion. Check for NULL pointer or empty string possibly
20819 returned by expand_dynamic_string_token.
20820 (decompose_rpath): Check for empty path after dynamic string
20823 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20826 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20828 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20829 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20830 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20831 and PTRACE_SYSCALL.
20832 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20833 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20834 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20835 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20836 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20837 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20839 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20840 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20841 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20842 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20844 bits/ptrace-shared.h.
20845 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20846 <bits/ptrace-shared.h>.
20847 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20848 __ptrace_peeksiginfo_flags, ptrace): Remove.
20849 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20850 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20851 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20852 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20853 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20855 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20858 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20859 end of the loop. Improve comments.
20861 2017-12-29 Zack Weinberg <zackw@panix.com>
20864 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20865 might be set on success.
20867 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20870 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20871 is unchanged on success.
20873 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20875 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20877 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20878 expand_dynamic_string_token): Likewise.
20879 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20882 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20885 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20886 is set and name contains ':', and all code depending on these checks.
20888 2017-12-24 Zack Weinberg <zackw@panix.com>
20890 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20891 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20893 * libio/libio.h: Rename the original version of this file to
20894 libio/bits/libio.h. Error out if not included by stdio.h or the
20896 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20897 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20898 if not included by bits/libio.h or the stub _G_config.h.
20899 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20900 sysdeps/unix/sysv/linux/bits. Error out if not included by
20901 bits/libio.h or the stub _G_config.h.
20902 * libio/stdio.h: Include bits/libio.h, not libio.h.
20903 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20904 well as libio.h and _G_config.h.
20906 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20907 * libio/strfile.h, stdio-common/vfscanf.c
20908 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20909 Include stdio.h, not _G_config.h nor libio.h.
20910 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20911 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20913 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20915 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20918 * stdlib/getrandom.c (getrandom): Fix comment.
20919 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20921 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
20924 * manual/arith.texi (strtoul): Fix a typo.
20927 * manual/arith.texi (finite): Fix the description of the return
20930 2017-12-22 Eric Blake <ebb9@byu.net>
20932 Avoid gcc warnings on cygwin
20933 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20934 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20935 Avoid unused variable.
20937 2017-12-22 Florian Weimer <fweimer@redhat.com>
20939 * io/Makefile (routines): Add copy_file_range.
20940 (tests): Add tst-copy_file_range.
20941 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20942 * io/Versions (GLIBC_2.27): Export copy_file_range.
20943 * io/copy_file_range-compat.c: New file.
20944 * io/copy_file_range.c: Likewise.
20945 * io/tst-copy_file_range-compat.c: Likewise.
20946 * io/tst-copy_file_range.c: Likewise.
20947 * manual/llio.texi (Copying File Data): New section.
20948 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20949 * support/Makefile (libsupport-routines): Add support-xfstat,
20950 xftruncate, xlseek.
20951 * support/support-xfstat.c: New file.
20952 * support/xftruncate.c: Likewise.
20953 * support/xlseek.c: Likewise.
20954 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20955 * sysdeps/unix/sysv/linux/**.abilist: Update.
20956 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20958 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20960 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20961 disable-multi-arch variant to aarch64-linux-gnu.
20963 2017-12-20 Joseph Myers <joseph@codesourcery.com>
20965 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20966 trailing whitespace removed.
20967 * scripts/config.guess: Update to version 2017-12-17.
20968 * scripts/config.sub: Update to version 2017-11-23.
20969 * scripts/install-sh: Update to version 2017-09-23.17.
20970 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20972 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20974 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20975 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20976 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20977 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20978 * sysdeps/tile/crtn.S: Likewise.
20979 * sysdeps/tile/dl-start.S (_start): Likewise.
20980 * sysdeps/tile/dl-trampoline.S: Likewise.
20981 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20982 * sysdeps/tile/start.S (_start): Likewise.
20983 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20984 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20985 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20986 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20987 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20988 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20989 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20991 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20993 * sysdeps/tile/preconfigure: Remove tilegx folder.
20994 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20995 * sysdeps/tile/Implies: ... here.
20996 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20997 * sysdeps/tile/Makefile: ... here.
20998 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20999 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
21000 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
21001 * sysdeps/tile/bits/wordsize.h: ... here.
21002 * sysdeps/tile/tilegx/*: Move to ...
21003 * sysdeps/tile/*: ... here.
21004 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
21005 * sysdeps/tile/tilegx32/Implies: ... here.
21006 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
21007 * sysdeps/tile/tilegx64/Implies: ... here.
21008 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
21010 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21011 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
21012 * sysdeps/unix/sysv/linux/tile/*: ... here.
21013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
21014 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
21015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
21016 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
21018 * README: Remove tilepro-*-linux-gnu from supported architecture.
21019 * scripts/build-many-glibcs.py: Likewise.
21020 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21021 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
21022 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
21023 elf_machine_matches_host, elf_machine_dynamic,
21024 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
21025 howto, elf_machine_rela): Likewise.
21026 * sysdeps/tile/dl-start.S (_start): Likewise.
21027 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
21028 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
21029 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
21030 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
21031 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
21032 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21034 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
21035 * sysdeps/tile/preconfigure: Likewise.
21036 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
21037 POINTER_CHK_GUARD): Likewise.
21038 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
21039 * sysdeps/tile/start.S (_start): Likewise.
21040 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
21042 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
21043 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
21045 * sysdeps/unix/sysv/linux/tile/bits/environments.h
21046 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
21047 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
21049 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
21050 * sysdeps/tile/tilepro/Implies: Remove file.
21051 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
21052 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
21053 * sysdeps/tile/tilepro/memchr.c: Likewise.
21054 * sysdeps/tile/tilepro/memcpy.S: Likewise.
21055 * sysdeps/tile/tilepro/memset.c: Likewise.
21056 * sysdeps/tile/tilepro/memusage.h: Likewise.
21057 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
21058 * sysdeps/tile/tilepro/strchr.c: Likewise.
21059 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
21060 * sysdeps/tile/tilepro/strlen.c: Likewise.
21061 * sysdeps/tile/tilepro/strrchr.c: Likewise.
21062 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
21063 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
21064 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21065 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
21066 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
21067 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21069 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
21070 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21071 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
21072 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
21073 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21074 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
21075 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
21076 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
21077 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
21078 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
21079 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
21080 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
21081 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
21082 tilepro mention in comment.
21084 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
21085 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
21086 * nptl/pthread_join_common.c: New file: common function used on
21087 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
21088 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
21089 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
21090 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21091 (cleanup): Move definition to pthread_join_common.c.
21092 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
21093 Remove superflous checks.
21094 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
21097 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
21099 * sysdeps/aarch64/libm-test-ulps: Update.
21101 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21103 * sysdeps/aarch64/memset.S (MEMSET): Define.
21105 2017-12-20 Florian Weimer <fweimer@redhat.com>
21108 nptl: Provide full implementation of pthread_self in libc.so.
21109 * nptl/Makefile (routines): Add pthread_self.
21110 (libpthread-routines): Replace pthread_self with
21111 compat-pthread_self.
21112 * nptl/forward.c (pthread_self): Remove.
21113 * nptl/nptl-init.c (pthread_functions): Do not initialize
21115 * nptl/pthread_self.c (pthread_self): Remove weak alias.
21116 * nptl/compat-pthread_self.c: New file.
21117 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
21118 Remove ptr_pthread_self.
21120 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
21122 * posix/regcomp.c: Fix spelling in comments.
21123 * posix/regex.h: Likewise.
21124 * posix/regex_internal.c: Likewise.
21125 * posix/regexec.c: Likewise.
21127 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
21130 * math/Makefile [C++] (tests): Add test for iseqsig.
21131 * math/math.h [C++] (iseqsig): New implementation, which does
21132 not rely on __MATH_TG/__builtin_types_compatible_p.
21133 * math/test-math-iseqsig.cc: New file.
21134 * sysdeps/powerpc/powerpc64le/Makefile
21135 (CFLAGS-test-math-iseqsig.cc): New variable.
21137 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
21139 * elf/dl-load.c (is_trusted_path): Remove.
21140 (fillin_rpath): Remove check_trusted argument and its use,
21141 all callers changed.
21143 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21146 * Makeconfig (link-pie-before-libc): Replace -pie with
21147 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
21148 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
21149 (tst-dlopen-aout-no-pie): New.
21150 (LDFLAGS-tst-prelink): Removed.
21151 (tst-prelink-no-pie): New.
21152 (LDFLAGS-tst-main1): Removed.
21153 (tst-main1-no-pie): New.
21154 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
21155 (tst-gmon-no-pie): New.
21157 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21159 * manual/install.texi: Document that --enable-static-pie
21161 * INSTALL: Regenerated.
21163 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
21166 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
21169 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21173 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21177 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21179 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21180 <errno.h>. Include "eexp.tbl".
21181 (half): New constant.
21183 (__ieee754_exp): Rewrite.
21184 (__slowexp): Remove prototype.
21185 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21186 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21187 * sysdeps/i386/fpu/slowexp.c: Likewise.
21188 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21189 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21190 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21191 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21192 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21193 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21194 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21196 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21197 (CPPFLAGS-slowexp.c): Remove variable.
21198 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21199 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21200 (CFLAGS-slowexp-fma.c): Remove variable.
21201 (CFLAGS-slowexp-fma4.c): Likewise.
21202 (CFLAGS-slowexp-avx.c): Likewise.
21203 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21205 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21206 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21207 * math/Makefile (type-double-routines): Remove slowexp.
21208 * manual/probes.texi (slowexp_p6): Remove.
21209 (slowexp_p32): Likewise.
21211 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21213 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
21216 * lib/glob.c (glob): Do not pass NULL to mempcpy.
21218 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21222 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21224 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21225 <errno.h>. Include "eexp.tbl".
21226 (half): New constant.
21228 (__ieee754_exp): Rewrite.
21229 (__slowexp): Remove prototype.
21230 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21231 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21232 * sysdeps/i386/fpu/slowexp.c: Likewise.
21233 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21234 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21235 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21236 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21237 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21238 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21239 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21241 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21242 (CPPFLAGS-slowexp.c): Remove variable.
21243 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21244 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21245 (CFLAGS-slowexp-fma.c): Remove variable.
21246 (CFLAGS-slowexp-fma4.c): Likewise.
21247 (CFLAGS-slowexp-avx.c): Likewise.
21248 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21250 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21251 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21252 * math/Makefile (type-double-routines): Remove slowexp.
21253 * manual/probes.texi (slowexp_p6): Remove.
21254 (slowexp_p32): Likewise.
21256 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21257 James Clarke <jrtc27@jrtc27.com>
21260 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
21263 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21266 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
21269 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21272 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21273 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21274 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21275 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21278 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21281 * bits/types/__cancel_jmp_buf_tag.h: New file.
21282 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21283 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21284 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21285 * nptl/Makefile (headers): Add
21286 bits/types/__cancel_jmp_buf_tag.h.
21287 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21288 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21289 * sysdeps/nptl/pthread.h: Include
21290 <bits/types/__cancel_jmp_buf_tag.h>.
21291 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21293 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21295 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21297 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21298 --enable-static-pie variants to x86_64, x32 and i686.
21300 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21303 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
21304 argument for attrubutes. All callers changed.
21305 (__inline_mathop1): Likewise. All callers changed.
21306 (__inline_mathop): Likewise. All callers changed.
21307 [__USE_MISC] (scalbn): Use __inline_forward instead of
21308 __inline_forward_c.
21309 [__USE_ISOC99] (scalbln): Likewise.
21310 [__USE_ISOC99] (nearbyint): Likewise.
21311 [__USE_ISOC99] (lrint): Likewise.
21312 [__USE_MISC] (scalbnf): Likewise.
21313 [__USE_ISOC99] (scalblnf): Likewise.
21314 [__USE_ISOC99] (nearbyintf): Likewise.
21315 [__USE_ISOC99] (lrintf): Likewise.
21316 [__USE_MISC] (scalbnl): Likewise.
21317 [__USE_ISOC99] (scalblnl): Likewise.
21318 [__USE_ISOC99] (nearbyintl): Likewise.
21319 [__USE_ISOC99] (lrintl): Likewise.
21320 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
21321 __inline_mathop and __m81_defun changed.
21323 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
21324 CPU or FPU for ARM hard-float configurations.
21326 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21328 * nptl/tst-attr3.c: Include <libc-diag.h>.
21329 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
21331 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
21333 * string/tester.c (test_strncat): Also disable -Warray-bounds
21334 warnings for two tests.
21336 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21339 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
21340 $(cc-pie-default) == yes.
21341 * config.make.in (cc-pie-default): New.
21342 * configure.ac (libc_cv_pie_default): Renamed to ...
21343 (libc_cv_cc_pie_default): This.
21344 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
21345 * configure: Regenerated.
21347 2017-12-18 Florian Weimer <fweimer@redhat.com>
21350 ld.so: Harden dl-libc/libdl hooks.
21351 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
21352 (rtld_active): New function.
21353 * dlfcn/dladdr.c (__dladdr): Call it.
21354 * dlfcn/dladdr1.c (__dladdr1): Likewise.
21355 * dlfcn/dlclose.c (__dlcose): Likewise.
21356 * dlfcn/dlerror.c (__dlerror): Likewise.
21357 * dlfcn/dlinfo.c (__dlinfo): Likewise.
21358 * dlfcn/dlmopen.c (__dlmopen): Likewise.
21359 * dlfcn/dlopen.c (__dlopen): Likewise.
21360 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21361 * dlfcn/dlsym.c (__dlsym): Likewise.
21362 * dlfcn/dlvsym.c (__dlvsym): Likewise.
21363 * libio/vtables.c (_IO_vtable_check): Likewise.
21364 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
21365 (__libc_dlclose): Likewise.
21366 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
21369 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21372 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
21373 buffers for readlink input and output.
21375 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
21378 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
21379 inhibit_stack_protector.
21382 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
21383 inhibit_stack_protector.
21385 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
21388 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
21389 code and invocation.
21391 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
21393 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
21395 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
21398 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
21400 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21402 * sysdeps/s390/fpu/libm-test-ulps: Update.
21404 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21408 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21410 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
21411 constants to s_sincosf.h file.
21412 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21413 * sysdeps/ieee754/flt-32/s_sincosf.c: New
21415 * sysdeps/ieee754/flt-32/s_sincosf.h:
21418 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21421 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
21424 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
21427 * INSTALL: Regenerated.
21428 * Makeconfig (real-static-start-installed-name): New.
21429 (pic-default): Updated for --enable-static-pie.
21430 (pie-default): New for --enable-static-pie.
21431 (default-pie-ldflag): Likewise.
21432 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
21433 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
21434 Replace $(static-start-installed-name) with
21435 $(real-static-start-installed-name).
21436 (+prectorT): Updated for --enable-static-pie.
21437 (+postctorT): Likewise.
21438 (CFLAGS-.o): Add $(pie-default).
21439 (CFLAGS-.op): Likewise.
21440 * NEWS: Mention --enable-static-pie.
21441 * config.h.in (ENABLE_STATIC_PIE): New.
21442 * configure.ac (--enable-static-pie): New configure option.
21443 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
21444 (have-static-pie): Likewise.
21445 Enable static PIE if linker supports --no-dynamic-linker.
21446 (ENABLE_STATIC_PIE): New AC_DEFINE.
21447 (enable-static-pie): New LIBC_CONFIG_VAR.
21448 * configure: Regenerated.
21449 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
21450 gr$(start-installed-name) for --enable-static-pie.
21451 (extra-objs): Likewise.
21452 (install-lib): Likewise.
21453 (extra-objs): Add static-reloc.o and static-reloc.os
21454 ($(objpfx)$(start-installed-name)): Also depend on
21455 $(objpfx)static-reloc.o.
21456 ($(objpfx)r$(start-installed-name)): New.
21457 ($(objpfx)g$(start-installed-name)): Also depend on
21458 $(objpfx)static-reloc.os.
21459 ($(objpfx)gr$(start-installed-name)): New.
21460 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
21462 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
21464 * csu/static-reloc.c: New file.
21465 * elf/Makefile (routines): Add dl-reloc-static-pie.
21466 (elide-routines.os): Likewise.
21467 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
21468 (tst-tls1-static-non-pie-no-pie): New.
21469 * elf/dl-reloc-static-pie.c: New file.
21470 * elf/dl-support.c (_dl_get_dl_main_map): New function.
21471 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
21472 STATIC_PIE_BOOTSTRAP.
21473 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21474 * gmon/Makefile (tests): Add tst-gmon-static-pie.
21475 (tests-static): Likewise.
21476 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
21477 (tst-gmon-static-no-pie): New.
21478 (CFLAGS-tst-gmon-static-pie.c): Likewise.
21479 (CRT-tst-gmon-static-pie): Likewise.
21480 (tst-gmon-static-pie-ENV): Likewise.
21481 (tests-special): Likewise.
21482 ($(objpfx)tst-gmon-static-pie.out): Likewise.
21483 (clean-tst-gmon-static-pie-data): Likewise.
21484 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
21485 * gmon/tst-gmon-static-pie.c: New file.
21486 * manual/install.texi: Document --enable-static-pie.
21487 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
21488 (_dl_get_dl_main_map): Likewise.
21489 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
21490 * sysdeps/x86_64/configure.ac: Likewise.
21491 * sysdeps/i386/configure: Regenerated.
21492 * sysdeps/x86_64/configure: Likewise.
21493 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
21494 (ASFLAGS-.op): Likewise.
21496 2017-12-15 Joseph Myers <joseph@codesourcery.com>
21498 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
21499 * posix/tst-mmap-offset.c (fname): Use /tmp.
21500 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
21502 2017-12-15 Steve Ellcey <sellcey@cavium.com>
21504 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
21506 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
21508 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
21511 2017-12-15 Joseph Myers <joseph@codesourcery.com>
21513 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
21514 --with-float=hard for arm-linux-gnueabihf configurations.
21517 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
21518 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
21519 ($(mo-installed)): Use $(objpfx)%.mo.
21520 (realclean): Remove rule.
21522 * po/Makefile (linguas): Remove rule and dependencies.
21523 (linguas.mo): Likewise.
21524 (.PHONY): Do not depend on linguas and linguas.mo.
21525 (podir): Remove variable.
21526 (pofiles): Likewise.
21527 [$(pofiles)] (%.po): Remove rule.
21529 * sysdeps/sparc/sparc32/Makefile
21530 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
21531 start-of-line whitespace in argument of echo.
21532 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
21533 with whitespace. Generate __wrap_.udiv alias.
21534 * sysdeps/sparc/sparc32/rem.S: Regenerated.
21535 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21536 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21537 * sysdeps/sparc/sparc32/urem.S: Likewise.
21539 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21541 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
21542 for aligned inputs.
21544 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
21546 * benchtests/bench-strcmp.c: Print output in JSON format.
21548 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
21550 2017-12-14 Florian Weimer <fweimer@redhat.com>
21554 * elf/dl-load.c (_dl_init_paths): Compute number of components in
21555 the expanded path string.
21557 2017-12-14 Florian Weimer <fweimer@redhat.com>
21561 * elf/dl-load.c (system_dirs): Update comment.
21562 (nsystem_dirs_len): Use array_length.
21563 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
21565 2017-12-14 Florian Weimer <fweimer@redhat.com>
21567 Simplify compiling most of support/ outside of glibc.
21568 * support/check_addrinfo.c: Include <string.h>.
21569 * support/check_dns_packet.c: Likewise.
21570 * support/check_hostent.c: Likewise.
21571 * support/support_can_chroot.c: Include <support/xunistd.h>.
21572 * support/support_format_addrinfo.c: Include <stdlib.h>
21573 * support/support_format_dns_packet.c: Include <stdbool.h>.
21574 * support/support_format_hostent.c: Include <stdlib.h>.
21575 * support/support_format_netent.c: Likewise.
21576 * support/support_write_string.c: Include <support/xunistd.h>.
21577 * support/xdlfcn.c: Include <stddef.h>.
21579 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
21581 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
21583 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21584 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21586 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21587 (sysdeps_routines): Add memset-niagara7.
21588 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
21590 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
21592 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
21593 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21594 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
21595 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
21596 Add niagara7 option.
21597 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
21600 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21601 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
21602 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21604 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21606 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21607 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21608 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21609 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21610 and __memmove_niagara7.
21611 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21612 Add niagara7 option.
21613 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21614 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21615 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21616 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21617 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21619 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21621 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21622 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21623 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21624 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21626 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21627 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21628 _dl_sparc_cap_flags array.
21629 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21631 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21633 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21634 time whenever possible.
21636 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21638 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21639 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21641 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21643 * soft-fp/fmadf4.c: Move to ....
21644 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21645 * soft-fp/fmasf4.c: Move to ....
21646 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21647 * soft-fp/fmatf4.c: Move to ....
21648 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21649 * sysdeps/ieee754/soft-fp/Makefile: New file.
21650 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21651 * sysdeps/arm/preconfigure: Regenerated.
21652 * sysdeps/arm/nofpu/Implies: New file.
21653 * sysdeps/arm/s_fma.c: Remove file.
21654 * sysdeps/arm/s_fmaf.c: Likewise.
21655 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21656 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21657 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21658 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21659 * sysdeps/microblaze/s_fma.c: Remove file.
21660 * sysdeps/microblaze/s_fmaf.c: Likewise.
21661 * sysdeps/mips/mips32/nofpu/Implies: New file.
21662 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21663 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21664 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21665 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21666 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21667 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21668 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21670 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21671 * sysdeps/nios2/s_fma.c: Remove file.
21672 * sysdeps/nios2/s_fmaf.c: Likewise.
21673 * sysdeps/sh/nofpu/Implies: New file.
21674 * sysdeps/sh/s_fma.c: Remove file.
21675 * sysdeps/sh/s_fmaf.c: Likewise.
21676 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21677 * sysdeps/tile/s_fma.c: Remove file.
21678 * sysdeps/tile/s_fmaf.c: Likewise.
21680 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21682 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21683 Add s_cosf-sse2 and s_cosf-fma.
21684 (CFLAGS-s_cosf-fma.c): New.
21685 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21686 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21687 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21689 2017-12-12 Steve Ellcey <sellcey@cavium.com>
21691 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21693 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21695 * libio/Makefile (tests): Add tst-bz22415.
21696 (tst-bz22415-ENV): New rule.
21697 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21698 (tests-special): Add tst-bz22415-mem.out.
21699 ($(objpfx)tst-bz22415-mem.out): New rule.
21700 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21701 in case of a successful seek operation.
21702 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21703 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21704 buffer is required.
21705 * libio/tst-bz22415.c: New test.
21707 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21709 2017-12-12 James Clarke <jrtc27@jrtc27.com>
21711 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21712 __IPC_64 to 0 to avoid IPC_64 being set.
21714 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21717 * math/bits/mathcalls.h (nextafter): Remove const.
21718 (nexttoward): Likewise.
21720 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21722 * configure.ac (--with-fp): Remove configure option.
21723 (with_fp_cond): New variable.
21724 (libc_cv_with_fp): New configure test. Use this variable instead
21726 * configure: Regenerated.
21727 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21728 * manual/install.texi (Configuring and compiling): Remove
21730 * INSTALL: Regenerated.
21731 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21732 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21733 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21734 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21735 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21736 use --without-fp to configure glibc.
21738 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
21740 * manual/locale.texi (nl_langinfo): Fix a typo.
21742 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
21745 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21747 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21749 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21750 (CFLAGS-argp-parse.c): Likewise.
21751 (CFLAGS-argp-fmtstream.c): Likewise.
21752 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21753 (CPPFLAGS-sha512-crypt.c): Likewise.
21754 (CPPFLAGS-md5-crypt.c): Likewise.
21755 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21756 (CFLAGS-stack_chk_fail_local.c): Likewise.
21757 (CFLAGS-backtrace.c): Likewise.
21758 (CFLAGS-sprintf_chk.c): Likewise.
21759 (CFLAGS-snprintf_chk.c): Likewise.
21760 (CFLAGS-vsprintf_chk.c): Likewise.
21761 (CFLAGS-vsnprintf_chk.c): Likewise.
21762 (CFLAGS-asprintf_chk.c): Likewise.
21763 (CFLAGS-vasprintf_chk.c): Likewise.
21764 (CFLAGS-obprintf_chk.c): Likewise.
21765 (CFLAGS-dprintf_chk.c): Likewise.
21766 (CFLAGS-vdprintf_chk.c): Likewise.
21767 (CFLAGS-printf_chk.c): Likewise.
21768 (CFLAGS-fprintf_chk.c): Likewise.
21769 (CFLAGS-vprintf_chk.c): Likewise.
21770 (CFLAGS-vfprintf_chk.c): Likewise.
21771 (CFLAGS-gets_chk.c): Likewise.
21772 (CFLAGS-fgets_chk.c): Likewise.
21773 (CFLAGS-fgets_u_chk.c): Likewise.
21774 (CFLAGS-fread_chk.c): Likewise.
21775 (CFLAGS-fread_u_chk.c): Likewise.
21776 (CFLAGS-swprintf_chk.c): Likewise.
21777 (CFLAGS-vswprintf_chk.c): Likewise.
21778 (CFLAGS-wprintf_chk.c): Likewise.
21779 (CFLAGS-fwprintf_chk.c): Likewise.
21780 (CFLAGS-vwprintf_chk.c): Likewise.
21781 (CFLAGS-vfwprintf_chk.c): Likewise.
21782 (CFLAGS-fgetws_chk.c): Likewise.
21783 (CFLAGS-fgetws_u_chk.c): Likewise.
21784 (CFLAGS-read_chk.c): Likewise.
21785 (CFLAGS-pread_chk.c): Likewise.
21786 (CFLAGS-pread64_chk.c): Likewise.
21787 (CFLAGS-recv_chk.c): Likewise.
21788 (CFLAGS-recvfrom_chk.c): Likewise.
21789 (CFLAGS-tst-longjmp_chk.c): Likewise.
21790 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21791 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21792 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21793 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21794 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21795 (CFLAGS-tst-chk1.c): Likewise.
21796 (CFLAGS-tst-chk2.c): Likewise.
21797 (CFLAGS-tst-chk3.c): Likewise.
21798 (CFLAGS-tst-chk4.cc): Likewise.
21799 (CFLAGS-tst-chk5.cc): Likewise.
21800 (CFLAGS-tst-chk6.cc): Likewise.
21801 (CFLAGS-tst-lfschk1.c): Likewise.
21802 (CFLAGS-tst-lfschk2.c): Likewise.
21803 (CFLAGS-tst-lfschk3.c): Likewise.
21804 (CFLAGS-tst-lfschk4.cc): Likewise.
21805 (CFLAGS-tst-lfschk5.cc): Likewise.
21806 (CFLAGS-tst-lfschk6.cc): Likewise.
21807 (CFLAGS-tst-ssp-1.c): Likewise.
21808 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21809 (CFLAGS-scandir64.c): Likewise.
21810 (CFLAGS-scandir-tail.c): Likewise.
21811 (CFLAGS-scandir64-tail.c): Likewise.
21812 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21813 (CFLAGS-dl-tunables.c): Likewise.
21814 (CFLAGS-dl-runtime.c): Likewise.
21815 (CFLAGS-dl-lookup.c): Likewise.
21816 (CFLAGS-dl-iterate-phdr.c): Likewise.
21817 (CFLAGS-vismain.c): Likewise.
21818 (CFLAGS-tst-linkall-static.c): Likewise.
21819 (CFLAGS-tst-linkall-static.c): Likewise.
21820 (CPPFLAGS-dl-load.c): Likewise.
21821 (CFLAGS-ldconfig.c): Likewise.
21822 (CFLAGS-dl-cache.c): Likewise.
21823 (CFLAGS-cache.c): Likewise.
21824 (CFLAGS-rtld.c): Likewise.
21825 (CFLAGS-multiload.c): Likewise.
21826 (CFLAGS-filtmod1.c): Likewise.
21827 (CFLAGS-tst-align.c): Likewise.
21828 (CFLAGS-tst-align2.c): Likewise.
21829 (CFLAGS-tst-alignmod.c): Likewise.
21830 (CFLAGS-tst-alignmod2.c): Likewise.
21831 (CPPFLAGS-tst-execstack.c): Likewise.
21832 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21833 (CFLAGS-tst-latepthreadmod.c): Likewise.
21834 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21835 (CFLAGS-getgrnam_r.c): Likewise.
21836 (CFLAGS-getgrent_r.c): Likewise.
21837 (CFLAGS-getgrent.c): Likewise.
21838 (CFLAGS-fgetgrent.c): Likewise.
21839 (CFLAGS-fgetgrent_r.c): Likewise.
21840 (CFLAGS-putgrent.c): Likewise.
21841 (CFLAGS-initgroups.c): Likewise.
21842 (CFLAGS-getgrgid.c): Likewise.
21843 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21844 (CFLAGS-getsgent.c): Likewise.
21845 (CFLAGS-fgetsgent.c): Likewise.
21846 (CFLAGS-fgetsgent_r.c): Likewise.
21847 (CFLAGS-putsgent.c): Likewise.
21848 (CFLAGS-getsgnam.c): Likewise.
21849 (CFLAGS-getsgnam_r.c): Likewise.
21850 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21851 (CFLAGS-iconv_charmap.c): Likewise.
21852 (CFLAGS-dummy-repertoire.c): Likewise.
21853 (CFLAGS-charmap.c): Likewise.
21854 (CFLAGS-linereader.c): Likewise.
21855 (CFLAGS-simple-hash.c): Likewise.
21856 (CFLAGS-gconv_conf.c): Likewise.
21857 (CFLAGS-iconvconfig.c): Likewise.
21858 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21859 (CFLAGS-gethstbyad.c): Likewise.
21860 (CFLAGS-gethstbynm_r.c): Likewise.
21861 (CFLAGS-gethstbynm.c): Likewise.
21862 (CFLAGS-gethstbynm2_r.c): Likewise.
21863 (CFLAGS-gethstbynm2.c): Likewise.
21864 (CFLAGS-gethstent_r.c): Likewise.
21865 (CFLAGS-gethstent.c): Likewise.
21866 (CFLAGS-rcmd.c): Likewise.
21867 (CFLAGS-getnetbynm_r.c): Likewise.
21868 (CFLAGS-getnetbynm.c): Likewise.
21869 (CFLAGS-getnetbyad_r.c): Likewise.
21870 (CFLAGS-getnetbyad.c): Likewise.
21871 (CFLAGS-getnetent_r.c): Likewise.
21872 (CFLAGS-getnetent.c): Likewise.
21873 (CFLAGS-getaliasent_r.c): Likewise.
21874 (CFLAGS-getaliasent.c): Likewise.
21875 (CFLAGS-getrpcent_r.c): Likewise.
21876 (CFLAGS-getrpcent.c): Likewise.
21877 (CFLAGS-getservent_r.c): Likewise.
21878 (CFLAGS-getservent.c): Likewise.
21879 (CFLAGS-getprtent_r.c): Likewise.
21880 (CFLAGS-getprtent.c): Likewise.
21881 (CFLAGS-either_ntoh.c): Likewise.
21882 (CFLAGS-either_hton.c): Likewise.
21883 (CFLAGS-getnetgrent.c): Likewise.
21884 (CFLAGS-getnetgrent_r.c): Likewise.
21885 (CFLAGS-tst-checks-posix.c): Likewise.
21886 (CFLAGS-tst-sockaddr.c): Likewise.
21887 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21888 (CFLAGS-tst-translit.c): Likewise.
21889 (CFLAGS-tst-gettext2.c): Likewise.
21890 (CFLAGS-tst-codeset.c): Likewise.
21891 (CFLAGS-tst-gettext3.c): Likewise.
21892 (CFLAGS-tst-gettext4.c): Likewise.
21893 (CFLAGS-tst-gettext5.c): Likewise.
21894 (CFLAGS-tst-gettext6.c): Likewise.
21895 * io/Makefile (CFLAGS-open.c): Likewise.
21896 (CFLAGS-open64.c): Likewise.
21897 (CFLAGS-creat.c): Likewise.
21898 (CFLAGS-creat64.c): Likewise.
21899 (CFLAGS-fcntl.c): Likewise.
21900 (CFLAGS-poll.c): Likewise.
21901 (CFLAGS-ppoll.c): Likewise.
21902 (CFLAGS-lockf.c): Likewise.
21903 (CFLAGS-statfs.c): Likewise.
21904 (CFLAGS-fstatfs.c): Likewise.
21905 (CFLAGS-statvfs.c): Likewise.
21906 (CFLAGS-fstatvfs.c): Likewise.
21907 (CFLAGS-fts.c): Likewise.
21908 (CFLAGS-fts64.c): Likewise.
21909 (CFLAGS-ftw.c): Likewise.
21910 (CFLAGS-ftw64.c): Likewise.
21911 (CFLAGS-lockf.c): Likewise.
21912 (CFLAGS-posix_fallocate.c): Likewise.
21913 (CFLAGS-posix_fallocate64.c): Likewise.
21914 (CFLAGS-fallocate.c): Likewise.
21915 (CFLAGS-fallocate64.c): Likewise.
21916 (CFLAGS-read.c): Likewise.
21917 (CFLAGS-write.c): Likewise.
21918 (CFLAGS-test-stat.c): Likewise.
21919 (CFLAGS-test-lfs.c): Likewise.
21920 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21921 (CFLAGS-fputc.c): Likewise.
21922 (CFLAGS-fputwc.c): Likewise.
21923 (CFLAGS-freopen64.c): Likewise.
21924 (CFLAGS-freopen.c): Likewise.
21925 (CFLAGS-fseek.c): Likewise.
21926 (CFLAGS-fseeko64.c): Likewise.
21927 (CFLAGS-fseeko.c): Likewise.
21928 (CFLAGS-ftello64.c): Likewise.
21929 (CFLAGS-ftello.c): Likewise.
21930 (CFLAGS-fwide.c): Likewise.
21931 (CFLAGS-genops.c): Likewise.
21932 (CFLAGS-getc.c): Likewise.
21933 (CFLAGS-getchar.c): Likewise.
21934 (CFLAGS-getwc.c): Likewise.
21935 (CFLAGS-getwchar.c): Likewise.
21936 (CFLAGS-iofclose.c): Likewise.
21937 (CFLAGS-iofflush.c): Likewise.
21938 (CFLAGS-iofgetpos64.c): Likewise.
21939 (CFLAGS-iofgetpos.c): Likewise.
21940 (CFLAGS-iofgets.c): Likewise.
21941 (CFLAGS-iofgetws.c): Likewise.
21942 (CFLAGS-iofputs.c): Likewise.
21943 (CFLAGS-iofputws.c): Likewise.
21944 (CFLAGS-iofread.c): Likewise.
21945 (CFLAGS-iofsetpos64.c): Likewise.
21946 (CFLAGS-iofsetpos.c): Likewise.
21947 (CFLAGS-ioftell.c): Likewise.
21948 (CFLAGS-iofwrite.c): Likewise.
21949 (CFLAGS-iogetdelim.c): Likewise.
21950 (CFLAGS-iogetline.c): Likewise.
21951 (CFLAGS-iogets.c): Likewise.
21952 (CFLAGS-iogetwline.c): Likewise.
21953 (CFLAGS-ioputs.c): Likewise.
21954 (CFLAGS-ioseekoff.c): Likewise.
21955 (CFLAGS-ioseekpos.c): Likewise.
21956 (CFLAGS-iosetbuffer.c): Likewise.
21957 (CFLAGS-iosetvbuf.c): Likewise.
21958 (CFLAGS-ioungetc.c): Likewise.
21959 (CFLAGS-ioungetwc.c): Likewise.
21960 (CFLAGS-oldfileops.c): Likewise.
21961 (CFLAGS-oldiofclose.c): Likewise.
21962 (CFLAGS-oldiofgetpos64.c): Likewise.
21963 (CFLAGS-oldiofgetpos.c): Likewise.
21964 (CFLAGS-oldiofsetpos64.c): Likewise.
21965 (CFLAGS-oldiofsetpos.c): Likewise.
21966 (CFLAGS-peekc.c): Likewise.
21967 (CFLAGS-putc.c): Likewise.
21968 (CFLAGS-putchar.c): Likewise.
21969 (CFLAGS-putwc.c): Likewise.
21970 (CFLAGS-putwchar.c): Likewise.
21971 (CFLAGS-rewind.c): Likewise.
21972 (CFLAGS-wfileops.c): Likewise.
21973 (CFLAGS-wgenops.c): Likewise.
21974 (CFLAGS-oldiofopen.c): Likewise.
21975 (CFLAGS-iofopen.c): Likewise.
21976 (CFLAGS-iofopen64.c): Likewise.
21977 (CFLAGS-oldtmpfile.c): Likewise.
21978 (CFLAGS-tst_putwc.c): Likewise.
21979 * locale/Makefile (CFLAGS-md5.c): Likewise.
21980 (CFLAGS-charmap.c): Likewise.
21981 (CFLAGS-locfile.c): Likewise.
21982 (CFLAGS-charmap-dir.c): Likewise.
21983 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21984 (CFLAGS-getpt.c): Likewise.
21985 (CFLAGS-pt_chown.c): Likewise.
21986 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21987 (CFLAGS-obstack.c): Likewise.
21988 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21989 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21990 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21991 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21992 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21993 (CFLAGS-test-tgmath.c): Likewise.
21994 (CFLAGS-test-tgmath2.c): Likewise.
21995 (CFLAGS-test-tgmath-ret.c): Likewise.
21996 (CFLAGS-test-powl.c): Likewise.
21997 (CFLAGS-test-snan.c): Likewise.
21998 (CFLAGS-test-signgam-finite.c): Likewise.
21999 (CFLAGS-test-signgam-finite-c99.c): Likewise.
22000 (CFLAGS-test-signgam-finite-c11.c): Likewise.
22001 (CFLAGS-test-signgam-uchar.c): Likewise.
22002 (CFLAGS-test-signgam-uchar-init.c): Likewise.
22003 (CFLAGS-test-signgam-uchar-static.c): Likewise.
22004 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22005 (CFLAGS-test-signgam-uint.c): Likewise.
22006 (CFLAGS-test-signgam-uint-init.c): Likewise.
22007 (CFLAGS-test-signgam-uint-static.c): Likewise.
22008 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22009 (CFLAGS-test-signgam-ullong.c): Likewise.
22010 (CFLAGS-test-signgam-ullong-init.c): Likewise.
22011 (CFLAGS-test-signgam-ullong-static.c): Likewise.
22012 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22013 (CFLAGS-test-math-cxx11.cc): Likewise.
22014 (CFLAGS-test-math-isinff.cc): Likewise.
22015 (CFLAGS-test-math-iszero.cc): Likewise.
22016 (CFLAGS-test-math-issignaling.cc): Likewise.
22017 (CFLAGS-test-math-iscanonical.cc): Likewise.
22018 (CFLAGS-test-iszero-excess-precision.c): Likewise.
22019 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
22020 (CFLAGS-test-flt-eval-method.c): Likewise.
22021 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
22022 (CFLAGS-test-finite-macros.c): Likewise.
22023 * misc/Makefile (CFLAGS-select.c): Likewise.
22024 (CFLAGS-tsearch.c): Likewise.
22025 (CFLAGS-lsearch.c): Likewise.
22026 (CFLAGS-pselect.c): Likewise.
22027 (CFLAGS-readv.c): Likewise.
22028 (CFLAGS-writev.c): Likewise.
22029 (CFLAGS-preadv.c): Likewise.
22030 (CFLAGS-preadv64.c): Likewise.
22031 (CFLAGS-pwritev.c): Likewise.
22032 (CFLAGS-pwritev64.c): Likewise.
22033 (CFLAGS-preadv2.c): Likewise.
22034 (CFLAGS-preadv64v2.c): Likewise.
22035 (CFLAGS-pwritev2.c): Likewise.
22036 (CFLAGS-pwritev64v2.c): Likewise.
22037 (CFLAGS-usleep.c): Likewise.
22038 (CFLAGS-syslog.c): Likewise.
22039 (CFLAGS-error.c): Likewise.
22040 (CFLAGS-getpass.c): Likewise.
22041 (CFLAGS-mkstemp.c): Likewise.
22042 (CFLAGS-mkstemp64.c): Likewise.
22043 (CFLAGS-getsysstats.c): Likewise.
22044 (CFLAGS-getusershell.c): Likewise.
22045 (CFLAGS-err.c): Likewise.
22046 (CFLAGS-tst-tsearch.c): Likewise.
22047 (CFLAGS-msync.c): Likewise.
22048 (CFLAGS-fdatasync.c): Likewise.
22049 (CFLAGS-fsync.c): Likewise.
22050 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
22051 (CFLAGS-unwind.c): Likewise.
22052 (CFLAGS-unwind-forcedunwind.c): Likewise.
22053 (CFLAGS-pthread_cancel.c): Likewise.
22054 (CFLAGS-pthread_setcancelstate.c): Likewise.
22055 (CFLAGS-pthread_setcanceltype.c): Likewise.
22056 (CFLAGS-cancellation.c): Likewise.
22057 (CFLAGS-libc-cancellation.c): Likewise.
22058 (CFLAGS-pthread_exit.c): Likewise.
22059 (CFLAGS-forward.c): Likewise.
22060 (CFLAGS-pthread_testcancel.c): Likewise.
22061 (CFLAGS-pthread_join.c): Likewise.
22062 (CFLAGS-pthread_timedjoin.c): Likewise.
22063 (CFLAGS-pthread_once.c): Likewise.
22064 (CFLAGS-pthread_cond_wait.c): Likewise.
22065 (CFLAGS-sem_wait.c): Likewise.
22066 (CFLAGS-sem_timedwait.c): Likewise.
22067 (CFLAGS-fcntl.c): Likewise.
22068 (CFLAGS-lockf.c): Likewise.
22069 (CFLAGS-pread.c): Likewise.
22070 (CFLAGS-pread64.c): Likewise.
22071 (CFLAGS-pwrite.c): Likewise.
22072 (CFLAGS-pwrite64.c): Likewise.
22073 (CFLAGS-wait.c): Likewise.
22074 (CFLAGS-waitpid.c): Likewise.
22075 (CFLAGS-sigwait.c): Likewise.
22076 (CFLAGS-msgrcv.c): Likewise.
22077 (CFLAGS-msgsnd.c): Likewise.
22078 (CFLAGS-tcdrain.c): Likewise.
22079 (CFLAGS-open.c): Likewise.
22080 (CFLAGS-open64.c): Likewise.
22081 (CFLAGS-pause.c): Likewise.
22082 (CFLAGS-recv.c): Likewise.
22083 (CFLAGS-send.c): Likewise.
22084 (CFLAGS-accept.c): Likewise.
22085 (CFLAGS-sendto.c): Likewise.
22086 (CFLAGS-connect.c): Likewise.
22087 (CFLAGS-recvfrom.c): Likewise.
22088 (CFLAGS-recvmsg.c): Likewise.
22089 (CFLAGS-sendmsg.c): Likewise.
22090 (CFLAGS-close.c): Likewise.
22091 (CFLAGS-read.c): Likewise.
22092 (CFLAGS-write.c): Likewise.
22093 (CFLAGS-nanosleep.c): Likewise.
22094 (CFLAGS-sigsuspend.c): Likewise.
22095 (CFLAGS-msync.c): Likewise.
22096 (CFLAGS-fdatasync.c): Likewise.
22097 (CFLAGS-fsync.c): Likewise.
22098 (CFLAGS-pt-system.c): Likewise.
22099 (CFLAGS-tst-cleanup2.c): Likewise.
22100 (CFLAGS-tst-cleanupx2.c): Likewise.
22101 (CFLAGS-flockfile.c): Likewise.
22102 (CFLAGS-ftrylockfile.c): Likewise.
22103 (CFLAGS-funlockfile.c): Likewise.
22104 (CFLAGS-tst-initializers1.c): Likewise.
22105 (CFLAGS-tst-initializers1-c89.c): Likewise.
22106 (CFLAGS-tst-initializers1-c99.c): Likewise.
22107 (CFLAGS-tst-initializers1-c11.c): Likewise.
22108 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
22109 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
22110 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22111 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
22112 (CFLAGS-nscd_getgr_r.c): Likewise.
22113 (CFLAGS-nscd_gethst_r.c): Likewise.
22114 (CFLAGS-nscd_getai.c): Likewise.
22115 (CFLAGS-nscd_initgroups.c): Likewise.
22116 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
22117 (CFLAGS-pause.c): Likewise.
22118 (CFLAGS-pread.c): Likewise.
22119 (CFLAGS-pread64.c): Likewise.
22120 (CFLAGS-pwrite.c): Likewise.
22121 (CFLAGS-pwrite64.c): Likewise.
22122 (CFLAGS-sleep.c): Likewise.
22123 (CFLAGS-wait.c): Likewise.
22124 (CFLAGS-waitid.c): Likewise.
22125 (CFLAGS-waitpid.c): Likewise.
22126 (CFLAGS-getopt.c): Likewise.
22127 (CFLAGS-wordexp.c): Likewise.
22128 (CFLAGS-sysconf.c): Likewise.
22129 (CFLAGS-pathconf.c): Likewise.
22130 (CFLAGS-fpathconf.c): Likewise.
22131 (CFLAGS-spawn.c): Likewise.
22132 (CFLAGS-spawnp.c): Likewise.
22133 (CFLAGS-spawni.c): Likewise.
22134 (CFLAGS-glob.c): Likewise.
22135 (CFLAGS-glob64.c): Likewise.
22136 (CFLAGS-getconf.c): Likewise.
22137 (CFLAGS-nanosleep.c): Likewise.
22138 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
22139 (CFLAGS-getpwent.c): Likewise.
22140 (CFLAGS-getpw.c): Likewise.
22141 (CFLAGS-fgetpwent_r.c): Likewise.
22142 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
22143 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
22144 (CFLAGS-mq_timedreceive.c): Likewise.
22145 (CFLAGS-mq_timedsend.c): Likewise.
22146 (CFLAGS-clock_nanosleep.c): Likewise.
22147 (CFLAGS-librt-cancellation.c): Likewise.
22148 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
22149 (CFLAGS-getspent.c): Likewise.
22150 (CFLAGS-fgetspent.c): Likewise.
22151 (CFLAGS-fgetspent_r.c): Likewise.
22152 (CFLAGS-putspent.c): Likewise.
22153 (CFLAGS-getspnam.c): Likewise.
22154 (CFLAGS-getspnam_r.c): Likewise.
22155 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
22156 (CFLAGS-sigsuspend.c): Likewise.
22157 (CFLAGS-sigtimedwait.c): Likewise.
22158 (CFLAGS-sigwait.c): Likewise.
22159 (CFLAGS-sigwaitinfo.c): Likewise.
22160 (CFLAGS-sigreturn.c): Likewise.
22161 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22162 (CFLAGS-vfwprintf.c): Likewise.
22163 (CFLAGS-tmpfile.c): Likewise.
22164 (CFLAGS-tmpfile64.c): Likewise.
22165 (CFLAGS-tempname.c): Likewise.
22166 (CFLAGS-psignal.c): Likewise.
22167 (CFLAGS-vprintf.c): Likewise.
22168 (CFLAGS-cuserid.c): Likewise.
22169 (CFLAGS-errlist.c): Likewise.
22170 (CFLAGS-siglist.c): Likewise.
22171 (CFLAGS-scanf15.c): Likewise.
22172 (CFLAGS-scanf17.c): Likewise.
22173 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
22174 (CFLAGS-msort.c): Likewise.
22175 (CFLAGS-qsort.c): Likewise.
22176 (CFLAGS-system.c): Likewise.
22177 (CFLAGS-fmtmsg.c): Likewise.
22178 (CFLAGS-strfmon.c): Likewise.
22179 (CFLAGS-strfmon_l.c): Likewise.
22180 (CFLAGS-strfromd.c): Likewise.
22181 (CFLAGS-strfromf.c): Likewise.
22182 (CFLAGS-strfroml.c): Likewise.
22183 (CFLAGS-tst-bsearch.c): Likewise.
22184 (CFLAGS-tst-qsort.c): Likewise.
22185 (CFLAGS-tst-makecontext2.c): Likewise.
22186 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
22187 (CFLAGS-xnlm_prot.c): Likewise.
22188 (CFLAGS-xrstat.c): Likewise.
22189 (CFLAGS-xyppasswd.c): Likewise.
22190 (CFLAGS-xklm_prot.c): Likewise.
22191 (CFLAGS-xrex.c): Likewise.
22192 (CFLAGS-xsm_inter.c): Likewise.
22193 (CFLAGS-xmount.c): Likewise.
22194 (CFLAGS-xrusers.c): Likewise.
22195 (CFLAGS-xspray.c): Likewise.
22196 (CFLAGS-xnfs_prot.c): Likewise.
22197 (CFLAGS-xrquota.c): Likewise.
22198 (CFLAGS-xkey_prot.c): Likewise.
22199 (CFLAGS-auth_unix.c): Likewise.
22200 (CFLAGS-key_call.c): Likewise.
22201 (CFLAGS-pmap_rmt.c): Likewise.
22202 (CFLAGS-clnt_perr.c): Likewise.
22203 (CFLAGS-openchild.c): Likewise.
22204 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
22205 (CFLAGS-msgsnd.c): Likewise.
22206 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
22207 * time/Makefile (CFLAGS-tzfile.c): Likewise.
22208 (CFLAGS-tzset.c): Likewise.
22209 (CFLAGS-getdate.c): Likewise.
22210 (CFLAGS-test_time.c): Likewise.
22211 (CPPFLAGS-tst-tzname.c): Likewise.
22212 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
22213 (CFLAGS-zic.c): Likewise.
22214 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
22215 (CFLAGS-wcswidth.c): Likewise.
22216 (CFLAGS-wcstol.c): Likewise.
22217 (CFLAGS-wcstoul.c): Likewise.
22218 (CFLAGS-wcstoll.c): Likewise.
22219 (CFLAGS-wcstoull.c): Likewise.
22220 (CFLAGS-wcstod.c): Likewise.
22221 (CFLAGS-wcstold.c): Likewise.
22222 (CFLAGS-wcstof128.c): Likewise.
22223 (CFLAGS-wcstof.c): Likewise.
22224 (CFLAGS-wcstol_l.c): Likewise.
22225 (CFLAGS-wcstoul_l.c): Likewise.
22226 (CFLAGS-wcstoll_l.c): Likewise.
22227 (CFLAGS-wcstoull_l.c): Likewise.
22228 (CFLAGS-wcstod_l.c): Likewise.
22229 (CFLAGS-wcstold_l.c): Likewise.
22230 (CFLAGS-wcstof128_l.c): Likewise.
22231 (CFLAGS-wcstof_l.c): Likewise.
22232 (CPPFLAGS-tst-wchar-h.c): Likewise.
22233 (CPPFLAGS-wcstold_l.c): Likewise.
22235 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
22237 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
22239 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22240 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22242 * manual/tunables.texi (Hardware Capability Tunables): Document
22243 glibc.tune.cached_memopt.
22244 * sysdeps/powerpc/cpu-features.c: New file.
22245 * sysdeps/powerpc/cpu-features.h: New file.
22246 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
22247 _dl_powerpc_cpu_features.
22248 * sysdeps/powerpc/dl-tunables.list: New file.
22249 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
22250 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22251 (INIT_ARCH): Initialize use_aligned_memopt.
22252 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
22253 IS_IN(rtld))]: Restrict dl_platform_init availability and
22254 initialize CPU features used by tunables.
22255 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
22256 Add memcpy-power8-cached.
22257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
22258 __memcpy_power8_cached.
22259 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22260 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
22263 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22265 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
22266 (CFLAGS-noinl-tester.c): Likewise.
22267 (CFLAGS-tst-strlen.c): Likewise.
22268 (CFLAGS-stratcliff.c): Likewise.
22269 (CFLAGS-test-ffs.c): Likewise.
22270 (CFLAGS-tst-inlcall.c): Likewise.
22271 (CFLAGS-tst-xbzero-opt.c): Likewise.
22272 (CFLAGS-memcpy.c): Likewise.
22273 (CFLAGS-wordcopy.c): Likewise.
22275 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22277 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
22278 Store r15 on stack and add cfi rule.
22279 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22282 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
22285 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
22288 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22290 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22291 Add s_sinf-sse2 and s_sinf-fma.
22292 (CFLAGS-s_sinf-fma.c): New.
22293 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
22294 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
22295 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
22297 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22299 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
22301 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22304 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
22305 part of result to imaginary part of argument if it is zero and the
22306 real part of the argument is not finite.
22307 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
22308 of result to real part of argument if it is zero and the imaginary
22309 part of the argument is not finite.
22311 2017-12-07 Mike FABIAN <mfabian@redhat.com>
22314 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
22315 and to the list of locales to be built for testing.
22316 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
22317 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
22318 and build the collation rules upon that.
22320 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22322 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
22323 * manual/math.texi (Mathematics): Document support for _Float32.
22324 * math/Makefile (test-types): Add float32.
22325 * math/Versions (GLIBC_2.27): Add _Float32 functions.
22326 * stdlib/Versions (GLIBC_2.27): Likewise.
22327 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22328 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22329 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22330 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22331 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22332 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22333 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22334 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22335 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22336 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22337 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22338 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22339 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22340 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22341 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22342 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22343 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22344 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22345 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22346 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22347 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22348 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22350 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22351 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22352 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22353 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22354 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22372 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22373 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22374 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22375 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22376 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22377 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22378 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22379 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22380 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22381 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22390 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22391 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22392 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22393 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22394 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22395 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22396 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22397 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22399 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22401 * stdlib/strtof.c: Include <bits/floatn.h>
22402 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
22403 and later undefine as macro. Define as weak alias if
22405 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
22406 and later undefine as macro. Define as weak alias if
22408 * stdlib/strtof_l.c: Include <bits/floatn.h>
22409 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
22410 and later undefine as macro. Define as weak alias if
22412 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
22413 and later undefine as macro. Define as weak alias if
22416 * stdlib/strfromf.c: Include <bits/floatn.h>.
22417 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
22418 and later undefine as macro and define as weak alias.
22420 * math/test-float32.h: New file.
22422 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
22423 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
22424 (libm_alias_float_other_r): Create f32 alias.
22425 (libm_alias_float_r): Use semicolon before call to
22426 libm_alias_float_other_r.
22428 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
22429 second argument to libm_alias_float_other.
22430 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
22431 second argument to libm_alias_float_other.
22432 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
22433 argument to libm_alias_float_other.
22436 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
22437 real part of result for argument 0 + i * NaN.
22438 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
22439 results for tests of 0 + i * NaN.
22441 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22443 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22445 2017-12-06 David S. Miller <davem@davemloft.net>
22447 * sysdeps/sparc/fpu/libm-test-ulps: Update
22448 exp_{downward,towardzero,upward} ulps.
22450 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22452 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
22455 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
22457 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
22459 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
22461 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
22464 2017-12-06 Mike FABIAN <mfabian@redhat.com>
22467 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
22468 and to the list of locales to be built for testing.
22469 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
22470 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
22471 and build the collation rules upon that.
22473 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22475 * NEWS: Add sinf to list of optimized functions.
22477 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22479 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
22480 (__HAVE_FLOAT32X): Likewise.
22481 * manual/math.texi (Mathematics): Document support for _Float64
22483 * math/Makefile (test-types): Add float64 and float32x.
22484 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
22486 * stdlib/Versions (GLIBC_2.27): Likewise.
22487 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22488 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22489 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22490 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22491 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22492 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22493 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22494 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22495 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22496 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22497 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22498 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22499 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22500 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22501 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22502 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22503 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22504 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22505 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22506 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22507 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22508 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22510 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22511 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22512 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22513 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22514 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22531 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22532 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22533 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22534 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22535 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22536 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22537 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22538 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22539 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22540 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22549 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22550 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22551 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22552 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22553 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22554 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22555 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22556 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22558 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22560 * bits/floatn-common.h: Include <bits/long-double.h>.
22561 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22562 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
22563 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22564 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
22565 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22566 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
22567 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22568 (__builtin_huge_valf64): Use __builtin_huge_vall.
22569 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22570 (__builtin_inff64): Use __builtin_infl.
22571 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22572 (__builtin_nanf64): Use __builtin_nanl.
22573 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22574 (__builtin_nansf64): Use __builtin_nansl.
22576 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
22577 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22578 Carlos O'Donnell <carlos@redhat.com>
22580 * elf/dl-tunables.list: Add elision parameters.
22581 * manual/tunables.texi: Add entries about elision tunable.
22582 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
22583 Add callback functions to dynamically enable/disable elision.
22584 Add multiple callbacks functions to set elision parameters.
22585 Deleted __libc_enable_secure check.
22586 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
22587 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
22588 * configure: Regenerated.
22589 * configure.ac: Option enable_lock_elision was deleted.
22590 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
22591 * config.make.in: Remove references to enable_lock_elision.
22592 * manual/install.texi: Elision configure option was removed.
22593 * INSTALL: Regenerated to remove enable_lock_elision.
22595 Disable elision so it can verify error case for destroying a mutex.
22596 * sysdeps/powerpc/nptl/elide.h:
22597 Cleanup ENABLE_LOCK_ELISION check.
22598 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
22599 * sysdeps/s390/configure: Regenerated.
22600 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
22601 * nptl/tst-mutex8.c:
22602 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
22603 * sysdeps/powerpc/powerpc32/sysdep.h:
22604 Deleted all ENABLE_LOCK_ELISION checks.
22605 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22606 * sysdeps/powerpc/sysdep.h: Likewise.
22607 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22608 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22609 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22610 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22611 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22612 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22613 enable-lock-elision.
22615 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22617 * stdlib/strtod.c: Include <bits/floatn.h>.
22618 (BUILD_DOUBLE): New macro.
22619 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22620 (strtof64): Define and later undefine as macro. Define as weak
22621 alias if [!USE_WIDE_CHAR].
22622 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22623 (wcstof64): Define and later undefine as macro. Define as weak
22624 alias if [USE_WIDE_CHAR].
22625 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22626 (strtof32x): Define and later undefine as macro. Define as weak
22627 alias if [!USE_WIDE_CHAR].
22628 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22629 (wcstof32x): Define and later undefine as macro. Define as weak
22630 alias if [USE_WIDE_CHAR].
22631 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22632 (BUILD_DOUBLE): New macro.
22633 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22634 (strtof64_l): Define and later undefine as macro. Define as weak
22635 alias if [!USE_WIDE_CHAR].
22636 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22637 (wcstof64_l): Define and later undefine as macro. Define as weak
22638 alias if [USE_WIDE_CHAR].
22639 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22640 (strtof32x_l): Define and later undefine as macro. Define as weak
22641 alias if [!USE_WIDE_CHAR].
22642 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22643 (wcstof32x_l): Define and later undefine as macro. Define as weak
22644 alias if [USE_WIDE_CHAR].
22646 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22648 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22649 (reduced): Use ones as double instead of integer.
22651 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22653 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22655 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22657 * stdlib/strfromd.c: Include <bits/floatn.h>.
22658 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22659 and later undefine as macro and define as weak alias.
22660 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22663 * math/test-float32x.h: New file.
22664 * math/test-float64.h: Likewise.
22666 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22667 (libm_alias_double_other_r_f64): New macro.
22668 (libm_alias_double_other_r_f32x): Likewise.
22669 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22670 libm_alias_double_other_r_f32x.
22671 (libm_alias_double_r): Use semicolon before call to
22672 libm_alias_double_other_r.
22673 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22675 (libm_alias_double_other_r_f64): New macro.
22676 (libm_alias_double_other_r_f32x): Likewise.
22677 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22678 libm_alias_double_other_r_f32x.
22680 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22682 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22684 (SINF_FUNC): Likewise. Replace floor with simple casts.
22686 2017-12-05 Mike FABIAN <mfabian@redhat.com>
22689 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22690 and to the list of locales to be built for testing.
22691 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22692 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22693 and build the collation rules upon that.
22695 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22697 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22698 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22699 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22700 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22701 instead of __insn__xxx.
22702 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22703 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22704 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22705 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22706 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22707 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22709 2017-12-05 Florian Weimer <fweimer@redhat.com>
22711 Linux: Implement interfaces for memory protection keys
22712 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22714 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22715 * support/xunistd.h (xsysconf): Declare.
22716 * support/xraise.c: New file.
22717 * support/xsigaction.c: Likewise.
22718 * support/xsignal.c: Likewise.
22719 * support/xsysconf.c: Likewise.
22720 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22721 pkey_set, pkey_get, pkey_mprotect.
22722 [misc] (tests): Add tst-pkey.
22723 (tst-pkey): Link with -lpthread.
22724 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22725 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22726 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22727 (PKEY_DISABLE_WRITE): Define.
22728 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22730 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22731 (SEGV_PKUERR): Add.
22732 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22733 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22734 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22735 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22737 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22738 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22739 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22740 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22741 * sysdeps/unix/sysv/linux/**.abilist: Update.
22743 2017-12-05 Florian Weimer <fweimer@redhat.com>
22745 * support/tst-test_compare.c (subprocess): Use long long instead
22746 of long argument for consistent type width across 32-bit and
22747 64-bit architectures.
22748 (do_test): Adjust expected output.
22750 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22752 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22753 (cosf): Define using libm_alias_float.
22754 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22755 (fabsf): Define using libm_alias_float.
22756 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22757 (fmaf): Define using libm_alias_float.
22758 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22759 (rintf): Define using libm_alias_float.
22760 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22761 (sinf): Define using libm_alias_float.
22762 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22763 <libm-alias-float.h>.
22764 (modff): Define using libm_alias_float.
22765 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22766 <libm-alias-float.h>.
22767 (logbf): Define using libm_alias_float.
22768 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22769 <libm-alias-float.h>.
22770 (ceilf): Define using libm_alias_float.
22771 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22772 <libm-alias-float.h>.
22773 (copysignf): Define using libm_alias_float.
22774 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22775 <libm-alias-float.h>.
22776 (floorf): Define using libm_alias_float.
22777 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22778 <libm-alias-float.h>.
22779 (llrintf): Define using libm_alias_float.
22780 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22781 <libm-alias-float.h>.
22782 (llroundf): Define using libm_alias_float.
22783 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22784 <libm-alias-float.h>.
22785 (lrintf): Define using libm_alias_float.
22786 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22787 <libm-alias-float.h>.
22788 (lroundf): Define using libm_alias_float.
22789 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22790 <libm-alias-float.h>.
22791 (nearbyintf): Define using libm_alias_float.
22792 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22793 <libm-alias-float.h>.
22794 (rintf): Define using libm_alias_float.
22795 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22796 <libm-alias-float.h>.
22797 (roundf): Define using libm_alias_float.
22798 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22799 <libm-alias-float.h>.
22800 (truncf): Define using libm_alias_float.
22801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22802 Include <libm-alias-float.h>.
22803 (ceilf): Define using libm_alias_float.
22804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22805 Include <libm-alias-float.h>.
22806 (copysignf): Define using libm_alias_float.
22807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22808 Include <libm-alias-float.h>.
22809 (floorf): Define using libm_alias_float.
22810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22811 Include <libm-alias-float.h>.
22812 (llrintf): Define using libm_alias_float.
22813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22814 Include <libm-alias-float.h>.
22815 (llroundf): Define using libm_alias_float.
22816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22817 Include <libm-alias-float.h>.
22818 (logbf): Define using libm_alias_float.
22819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22820 Include <libm-alias-float.h>.
22821 (lrintf): Define using libm_alias_float.
22822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22823 Include <libm-alias-float.h>.
22824 (lroundf): Define using libm_alias_float.
22825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22826 Include <libm-alias-float.h>.
22827 (modff): Define using libm_alias_float.
22828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22829 Include <libm-alias-float.h>.
22830 (roundf): Define using libm_alias_float.
22831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22832 Include <libm-alias-float.h>.
22833 (truncf): Define using libm_alias_float.
22834 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22835 <libm-alias-float.h>.
22836 (llrintf): Define using libm_alias_float.
22837 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22838 <libm-alias-float.h>.
22839 (llroundf): Define using libm_alias_float.
22840 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22841 <libm-alias-float.h>.
22842 (ceilf): Define using libm_alias_float.
22843 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22844 <libm-alias-float.h>.
22845 (floorf): Define using libm_alias_float.
22846 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22847 <libm-alias-float.h>.
22848 (llroundf): Define using libm_alias_float.
22849 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22850 <libm-alias-float.h>.
22851 (lroundf): Define using libm_alias_float.
22852 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22853 <libm-alias-float.h>.
22854 (roundf): Define using libm_alias_float.
22855 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22856 <libm-alias-float.h>.
22857 (truncf): Define using libm_alias_float.
22858 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22859 <libm-alias-float.h>.
22860 (copysignf): Define using libm_alias_float.
22861 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22862 <libm-alias-float.h>.
22863 (llrintf): Define using libm_alias_float.
22864 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22865 <libm-alias-float.h>.
22866 (llroundf): Define using libm_alias_float.
22867 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22868 <libm-alias-float.h>.
22869 (lrintf): Define using libm_alias_float.
22870 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22871 <libm-alias-float.h>.
22872 (lroundf): Define using libm_alias_float.
22873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22874 <libm-alias-float.h>.
22875 (ceilf): Define using libm_alias_float.
22876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22877 <libm-alias-float.h>.
22878 (copysignf): Define using libm_alias_float.
22879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22880 <libm-alias-float.h>.
22881 (cosf): Define using libm_alias_float.
22882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22883 <libm-alias-float.h>.
22884 (floorf): Define using libm_alias_float.
22885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22886 <libm-alias-float.h>.
22887 (llrintf): Define using libm_alias_float.
22888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22889 <libm-alias-float.h>.
22890 (llroundf): Define using libm_alias_float.
22891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22892 <libm-alias-float.h>.
22893 (logbf): Define using libm_alias_float.
22894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22895 <libm-alias-float.h>.
22896 (modff): Define using libm_alias_float.
22897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22898 <libm-alias-float.h>.
22899 (roundf): Define using libm_alias_float.
22900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22901 <libm-alias-float.h>.
22902 (sinf): Define using libm_alias_float.
22903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22904 <libm-alias-float.h>.
22905 (truncf): Define using libm_alias_float.
22906 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22907 <libm-alias-float.h>.
22908 (ceilf): Define using libm_alias_float.
22909 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22910 <libm-alias-float.h>.
22911 (copysignf): Define using libm_alias_float.
22912 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22913 <libm-alias-float.h>.
22914 (floorf): Define using libm_alias_float.
22915 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22916 <libm-alias-float.h>.
22917 (llrintf): Define using libm_alias_float.
22918 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22919 <libm-alias-float.h>.
22920 (llroundf): Define using libm_alias_float.
22921 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22922 <libm-alias-float.h>.
22923 (nearbyintf): Define using libm_alias_float.
22924 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22925 <libm-alias-float.h>.
22926 (rintf): Define using libm_alias_float.
22927 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22928 <libm-alias-float.h>.
22929 (roundf): Define using libm_alias_float.
22930 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22931 <libm-alias-float.h>.
22932 (truncf): Define using libm_alias_float.
22933 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22934 <libm-alias-float.h>.
22935 (ceilf): Define using libm_alias_float.
22936 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22937 <libm-alias-float.h>.
22938 (floorf): Define using libm_alias_float.
22939 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22940 <libm-alias-float.h>.
22941 (llroundf): Define using libm_alias_float.
22942 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22943 <libm-alias-float.h>.
22944 (roundf): Define using libm_alias_float.
22945 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22946 <libm-alias-float.h>.
22947 (truncf): Define using libm_alias_float.
22948 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22949 <libm-alias-float.h>.
22950 (copysignf): Define using libm_alias_float.
22951 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22952 <libm-alias-float.h>.
22953 (llrintf): Define using libm_alias_float.
22954 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22955 <libm-alias-float.h>.
22956 (llroundf): Define using libm_alias_float.
22957 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22958 <libm-alias-float.h>.
22959 (cosf): Define using libm_alias_float.
22960 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22961 <libm-alias-float.h>.
22962 (llrintf): Define using libm_alias_float.
22963 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22964 <libm-alias-float.h>.
22965 (llroundf): Define using libm_alias_float.
22966 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22967 <libm-alias-float.h>.
22968 (sinf): Define using libm_alias_float.
22970 2017-12-04 Florian Weimer <fweimer@redhat.com>
22972 * support/check.h (TEST_COMPARE): Define.
22973 (support_test_compare_failure): Declare.
22974 * support/Makefile (libsupport-routines): Add
22975 support_test_compare_failure.
22976 (tests): Add tst-test_compare.
22977 * support /support_test_compare_failure.c: New file.
22978 * support/tst-test_compare.c: Likewise.
22980 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22983 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22984 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22985 available, this rewrite of the collation rules does reproduce
22986 the test file in the same order.
22988 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22991 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22992 digraphs in the month and day names. Using single code points for
22993 digraphs is deprecated. While there are dedicated Unicode
22994 codepoints, for the digraphs, these are included for backwards
22995 compatibility and modern texts use a sequence of Basic Latin
22996 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22997 This makes the month and day names agree exactly with CLDR now,
22998 CLDR does not use the single code points for the digraphs either.
23000 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
23002 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
23004 2017-12-04 Joseph Myers <joseph@codesourcery.com>
23006 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
23009 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
23011 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
23012 Define only for libc.so.
23014 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
23016 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23017 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
23018 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
23019 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
23020 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23022 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23025 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
23027 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
23030 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
23031 PREINIT_FUNCTION_WEAK is nonzero.
23032 (gmon_initializer): New function. Put procedure label for it in
23033 .init_array section.
23034 (_init): Don't call PREINIT_FUNCTION.
23035 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
23036 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
23037 value when map argument is null.
23039 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
23040 depi instruction from PIC pc-relative sequence.
23041 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
23042 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
23043 (elf_machine_load_address): Likewise.
23044 (elf_machine_runtime_setup): Likewise.
23046 2017-12-02 Joseph Myers <joseph@codesourcery.com>
23048 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
23049 <libm-alias-double.h>.
23050 (logb): Define using libm_alias_double.
23051 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23052 <libm-alias-double.h>.
23053 (copysign): Define using libm_alias_double.
23054 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
23055 <libm-alias-double.h>.
23056 (llrint): Define using libm_alias_double.
23057 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
23058 <libm-alias-double.h>.
23059 (llround): Define using libm_alias_double.
23060 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23061 <libm-alias-double.h>.
23062 (lrint): Define using libm_alias_double.
23063 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23064 <libm-alias-double.h>.
23065 (lround): Define using libm_alias_double.
23066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23067 Include <libm-alias-double.h>.
23068 (copysign): Define using libm_alias_double.
23069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
23070 Include <libm-alias-double.h>.
23071 (llrint): Define using libm_alias_double.
23072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
23073 Include <libm-alias-double.h>.
23074 (llround): Define using libm_alias_double.
23075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
23076 <libm-alias-double.h>.
23077 (logb): Define using libm_alias_double.
23078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
23079 Include <libm-alias-double.h>.
23080 (lrint): Define using libm_alias_double.
23081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
23082 Include <libm-alias-double.h>.
23083 (lround): Define using libm_alias_double.
23084 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
23085 <libm-alias-double.h>.
23086 (llrint): Define using libm_alias_double.
23087 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23088 <libm-alias-double.h>.
23089 (llround): Define using libm_alias_double.
23090 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23091 <libm-alias-double.h>.
23092 (llround): Define using libm_alias_double.
23093 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23094 <libm-alias-double.h>.
23095 (lround): Define using libm_alias_double.
23096 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23097 <libm-alias-double.h>.
23098 (copysign): Define using libm_alias_double.
23099 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
23100 <libm-alias-double.h>.
23101 (llrint): Define using libm_alias_double.
23102 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23103 <libm-alias-double.h>.
23104 (llround): Define using libm_alias_double.
23105 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23106 <libm-alias-double.h>.
23107 (lrint): Define using libm_alias_double.
23108 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23109 <libm-alias-double.h>.
23110 (lround): Define using libm_alias_double.
23111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
23112 <libm-alias-double.h>.
23113 (copysign): Define using libm_alias_double.
23114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
23115 <libm-alias-double.h>.
23116 (llrint): Define using libm_alias_double.
23118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
23119 <libm-alias-double.h>.
23120 (llround): Define using libm_alias_double.
23121 (lround): Likewise.
23122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
23123 <libm-alias-double.h>.
23124 (logb): Define using libm_alias_double.
23125 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23126 <libm-alias-double.h>.
23127 (copysign): Define using libm_alias_double.
23128 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23129 <libm-alias-double.h>.
23130 (llrint): Define using libm_alias_double.
23132 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
23133 <libm-alias-double.h>.
23134 (llround): Define using libm_alias_double.
23135 (lround): Likewise.
23136 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23137 <libm-alias-double.h>.
23138 (llround): Define using libm_alias_double.
23139 (lround): Likewise.
23140 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23141 <libm-alias-double.h>.
23142 (copysign): Define using libm_alias_double.
23143 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23144 <libm-alias-double.h>.
23145 (llrint): Define using libm_alias_double.
23147 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23148 <libm-alias-double.h>.
23149 (llround): Define using libm_alias_double.
23150 (lround): Likewise.
23151 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23152 <libm-alias-double.h>.
23153 (llrint): Define using libm_alias_double.
23155 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23156 <libm-alias-double.h>.
23157 (llround): Define using libm_alias_double.
23158 (lround): Likewise.
23160 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23163 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
23164 compat symbol based on llround.
23166 * sysdeps/powerpc/power7/fpu/s_logb.c
23167 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
23168 symbol based on __logb, not on logb.
23169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
23170 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
23172 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23174 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
23175 (rint): Define using libm_alias_double.
23176 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
23177 <libm-alias-double.h>.
23178 (modf): Define using libm_alias_double.
23179 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
23180 <libm-alias-double.h>.
23181 (ceil): Define using libm_alias_double.
23182 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
23183 <libm-alias-double.h>.
23184 (floor): Define using libm_alias_double.
23185 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
23186 <libm-alias-double.h>.
23187 (nearbyint): Define using libm_alias_double.
23188 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
23189 <libm-alias-double.h>.
23190 (rint): Define using libm_alias_double.
23191 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
23192 <libm-alias-double.h>.
23193 (round): Define using libm_alias_double.
23194 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
23195 <libm-alias-double.h>.
23196 (trunc): Define using libm_alias_double.
23197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
23198 <libm-alias-double.h>.
23199 (ceil): Define using libm_alias_double.
23200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
23201 Include <libm-alias-double.h>.
23202 (floor): Define using libm_alias_double.
23203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
23204 <libm-alias-double.h>.
23205 (modf): Define using libm_alias_double.
23206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
23207 Include <libm-alias-double.h>.
23208 (round): Define using libm_alias_double.
23209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
23210 Include <libm-alias-double.h>.
23211 (trunc): Define using libm_alias_double.
23212 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
23213 <libm-alias-double.h>.
23214 (ceil): Define using libm_alias_double.
23215 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
23216 <libm-alias-double.h>.
23217 (floor): Define using libm_alias_double.
23218 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
23219 <libm-alias-double.h>.
23220 (round): Define using libm_alias_double.
23221 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
23222 <libm-alias-double.h>.
23223 (trunc): Define using libm_alias_double.
23224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
23225 <libm-alias-double.h>.
23226 (ceil): Define using libm_alias_double.
23227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
23228 <libm-alias-double.h>.
23229 (floor): Define using libm_alias_double.
23230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
23231 <libm-alias-double.h>.
23232 (modf): Define using libm_alias_double.
23233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
23234 <libm-alias-double.h>.
23235 (round): Define using libm_alias_double.
23236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
23237 <libm-alias-double.h>.
23238 (trunc): Define using libm_alias_double.
23239 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
23240 <libm-alias-double.h>.
23241 (ceil): Define using libm_alias_double.
23242 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
23243 <libm-alias-double.h>.
23244 (floor): Define using libm_alias_double.
23245 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
23246 <libm-alias-double.h>.
23247 (nearbyint): Define using libm_alias_double.
23248 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
23249 <libm-alias-double.h>.
23250 (rint): Define using libm_alias_double.
23251 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
23252 <libm-alias-double.h>.
23253 (round): Define using libm_alias_double.
23254 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
23255 <libm-alias-double.h>.
23256 (trunc): Define using libm_alias_double.
23257 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
23258 <libm-alias-double.h>.
23259 (ceil): Define using libm_alias_double.
23260 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
23261 <libm-alias-double.h>.
23262 (floor): Define using libm_alias_double.
23263 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
23264 <libm-alias-double.h>.
23265 (round): Define using libm_alias_double.
23266 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
23267 <libm-alias-double.h>.
23268 (trunc): Define using libm_alias_double.
23270 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
23271 (fabs): Define using libm_alias_double.
23272 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
23273 (fma): Define using libm_alias_double.
23274 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
23275 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
23276 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
23277 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
23279 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23281 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
23283 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
23284 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
23285 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
23288 due redirect macro.
23290 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
23292 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
23294 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23296 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
23297 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
23298 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
23299 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
23301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23302 (libm-sysdep_routines): Add s_nearbyintf-generic and
23303 s_nearbyint-generic.
23304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
23306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
23307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
23309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
23311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
23313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23317 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
23318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
23320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
23321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
23323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
23324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
23325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23328 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
23329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
23331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
23332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
23334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
23335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
23336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
23338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23339 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
23340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
23342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
23343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
23345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
23346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
23347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23350 (sysdep_calls): New rule.
23351 (sysdep_routines): Use sysdep_calls as base.
23352 (libm-sysdep_routines): Add generic rule for symbols shared with
23353 libc. Add s_copysign-generic and s_copysign-generic objects.
23354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
23356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
23357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
23359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
23360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
23361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
23363 2017-12-01 Mike FABIAN <mfabian@redhat.com>
23366 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
23367 the list of locales to be built for testing.
23368 * localedata/is_IS.UTF-8.in: New file.
23369 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
23372 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23374 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
23375 <libm-alias-float.h>.
23376 (fabsf): Define using libm_alias_float.
23378 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23380 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
23382 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23384 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
23385 <libm-alias-float.h>.
23386 (fabsf): Define using libm_alias_float.
23387 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
23388 <libm-alias-float.h>.
23389 (lrintf): Define using libm_alias_float.
23390 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
23391 <libm-alias-float.h>.
23392 (rintf): Define using libm_alias_float.
23394 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
23395 <libm-alias-double.h>.
23396 (fabs): Define using libm_alias_double.
23397 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
23398 <libm-alias-double.h>.
23399 (lrint): Define using libm_alias_double.
23400 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
23401 <libm-alias-double.h>.
23402 (rint): Define using libm_alias_double.
23404 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
23405 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
23406 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
23407 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
23408 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
23409 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
23410 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
23411 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
23412 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
23413 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
23414 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
23415 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
23416 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
23417 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
23418 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
23419 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
23420 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
23421 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
23423 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
23424 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
23425 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
23427 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
23428 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
23429 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
23431 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
23432 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
23433 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
23434 s_expm1_template.c.
23435 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
23436 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
23437 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
23439 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
23440 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
23441 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
23442 s_floor_template.c.
23443 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
23444 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
23445 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
23446 s_frexp_template.c.
23447 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
23448 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
23449 s_lrint_template.c.
23450 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
23451 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
23452 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
23454 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
23455 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
23456 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
23457 s_nearbyint_template.c.
23458 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
23459 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
23460 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
23461 s_remquo_template.c.
23462 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
23463 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
23464 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
23466 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
23467 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
23468 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
23470 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
23471 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
23472 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
23473 s_sincos_template.c.
23474 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
23475 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
23476 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
23478 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
23479 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
23480 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
23482 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
23483 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
23484 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
23485 s_trunc_template.c.
23486 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
23487 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
23488 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
23489 s_atan.c instead of including s_atan.c.
23490 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
23491 s_atanf.c instead of including s_atanf.c.
23492 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
23493 s_atanl.c instead of including s_atanl.c.
23494 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
23495 instead of s_atan.c.
23496 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
23497 instead of s_atanf.c.
23498 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
23499 instead of s_atanl.c.
23501 * scripts/update-copyrights: Do not handle intl/plural.c
23504 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
23507 * configure.ac (BISON): Require to be present.
23508 * configure: Regenerated.
23509 * intl/Makefile (generated): Add plural.c.
23510 [$(BISON) != no]: Make code unconditional.
23511 (plural.c): Change rule to $(objpfx)plural.c.
23512 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
23513 * intl/plural.c: Remove.
23514 * manual/install.texi (Tools for Compilation): Document bison as
23516 * INSTALL: Regenerated.
23518 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23520 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
23521 <libm-alias-double.h>.
23522 (llrint): Define using libm_alias_double.
23523 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
23524 <libm-alias-float.h>.
23525 (llrintf): Define using libm_alias_float.
23526 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
23527 <libm-alias-ldouble.h>.
23528 (llrintl): Define using libm_alias_ldouble.
23530 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
23531 declare_mgen_alias instead of weak_alias.
23532 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
23533 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
23534 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
23536 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23538 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23540 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
23541 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
23542 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
23544 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23545 Add submul_1-generic.
23546 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
23547 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
23548 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
23550 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23551 Add addmul_1-generic.
23552 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
23553 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
23554 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
23556 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23558 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
23559 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
23560 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
23562 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23564 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
23565 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
23566 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
23568 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23570 According to CLDR, collation rules for Serbian and Bosnian
23571 should be the same as for Croatian.
23574 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
23575 and to the list of locales to be built for testing.
23576 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23577 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23578 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
23579 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
23581 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23583 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
23584 to make test case pass.
23585 * localedata/hr_HR.UTF-8.in: Add more test strings.
23587 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23589 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
23591 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23593 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
23594 the list of locales to built for testing.
23595 * localedata/hr_HR.UTF-8.in: New file.
23597 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23600 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
23602 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
23603 CLDR (except use ligatures for the digraphs, CLDR does not use
23604 the ligatures), add first_workday, some fixes in the date and time
23606 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23608 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23609 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23610 Add int_p_cs_precedes and int_n_cs_precedes.
23611 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23612 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23614 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23615 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23617 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23618 and lang_lib. Change postal_fmt.
23620 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23622 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23624 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23625 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23626 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23627 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23628 * sysdeps/generic/setjmpP.h: New file.
23629 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23630 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23631 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23632 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23633 Add jmp_buf-ssp.sym.
23634 (tests): Add tst-saved_mask-1.
23636 2017-11-30 Arjun Shankar <arjun@redhat.com>
23640 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23641 instead of request2size.
23643 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23646 (__lllrint): Remove alias.
23647 (lllrint): Likewise.
23648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23649 (__lllrintf): Likewise.
23650 (lllrintf): Likewise.
23652 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23653 <libm-alias-float.h>.
23654 (copysignf): Define using libm_alias_float.
23655 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23656 <libm-alias-float.h>.
23657 (fabsf): Define using libm_alias_float.
23658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23659 Include <libm-alias-float.h>.
23660 (copysignf): Define using libm_alias_float.
23661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23662 <libm-alias-float.h>.
23663 (fabsf): Define using libm_alias_float.
23664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23665 <libm-alias-float.h>.
23666 (fdimf): Define using libm_alias_float.
23667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23668 <libm-alias-float.h>.
23669 (fmaf): Define using libm_alias_float.
23670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23671 <libm-alias-float.h>.
23672 (llrintf): Define using libm_alias_float.
23673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23674 Include <libm-alias-float.h>.
23675 (nearbyintf): Define using libm_alias_float.
23676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23677 <libm-alias-float.h>.
23678 (rintf): Define using libm_alias_float.
23679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23680 <libm-alias-float.h>.
23681 (llrintf): Define using libm_alias_float.
23682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23683 <libm-alias-float.h>.
23684 (lrintf): Define using libm_alias_float.
23685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23686 <libm-alias-float.h>.
23687 (nearbyintf): Define using libm_alias_float.
23688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23689 <libm-alias-float.h>.
23690 (rintf): Define using libm_alias_float.
23691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23692 <libm-alias-float.h>.
23693 (ceilf): Define using libm_alias_float.
23694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23695 <libm-alias-float.h>.
23696 (floorf): Define using libm_alias_float.
23697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23698 <libm-alias-float.h>.
23699 (fmaf): Define using libm_alias_float.
23700 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23701 <libm-alias-float.h>.
23702 (lrintf): Define using libm_alias_float.
23703 (llrintf): Likewise.
23704 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23705 <libm-alias-float.h>.
23706 (nearbyintf): Define using libm_alias_float.
23707 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23708 <libm-alias-float.h>.
23709 (rintf): Define using libm_alias_float.
23710 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23711 <libm-alias-float.h>.
23712 (truncf): Define using libm_alias_float.
23713 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23714 <libm-alias-float.h>.
23715 (copysignf): Define using libm_alias_float.
23716 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23717 <libm-alias-float.h>.
23718 (fabsf): Define using libm_alias_float.
23719 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23720 <libm-alias-float.h>.
23721 (lrintf): Define using libm_alias_float.
23722 (llrintf): Likewise.
23723 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23724 <libm-alias-float.h>.
23725 (nearbyintf): Define using libm_alias_float.
23726 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23727 <libm-alias-float.h>.
23728 (rintf): Define using libm_alias_float.
23730 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23732 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23733 <libm-alias-double.h>.
23734 (copysign): Define using libm_alias_double.
23735 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23736 <libm-alias-double.h>.
23737 (fabs): Define using libm_alias_double.
23738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23739 Include <libm-alias-double.h>.
23740 (copysign): Define using libm_alias_double.
23741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23742 <libm-alias-double.h>.
23743 (fabs): Define using libm_alias_double.
23744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23745 <libm-alias-double.h>.
23746 (fdim): Define using libm_alias_double.
23747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23748 <libm-alias-double.h>.
23749 (fma): Define using libm_alias_double.
23750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23751 <libm-alias-double.h>.
23752 (llrint): Define using libm_alias_double.
23753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23754 Include <libm-alias-double.h>.
23755 (nearbyint): Define using libm_alias_double.
23756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23757 <libm-alias-double.h>.
23758 (rint): Define using libm_alias_double.
23759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23760 <libm-alias-double.h>.
23761 (fabs): Define using libm_alias_double.
23762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23763 <libm-alias-double.h>.
23764 (llrint): Define using libm_alias_double.
23765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23766 <libm-alias-double.h>.
23767 (nearbyint): Define using libm_alias_double.
23768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23769 <libm-alias-double.h>.
23770 (rint): Define using libm_alias_double.
23771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23772 <libm-alias-double.h>.
23773 (ceil): Define using libm_alias_double.
23774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23775 <libm-alias-double.h>.
23776 (floor): Define using libm_alias_double.
23777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23778 <libm-alias-double.h>.
23779 (fma): Define using libm_alias_double.
23780 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23781 <libm-alias-double.h>.
23782 (lrint): Define using libm_alias_double.
23783 (llrint): Likewise.
23784 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23785 <libm-alias-double.h>.
23786 (nearbyint): Define using libm_alias_double.
23787 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23788 <libm-alias-double.h>.
23789 (rint): Define using libm_alias_double.
23790 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23791 <libm-alias-double.h>.
23792 (trunc): Define using libm_alias_double.
23793 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23794 <libm-alias-double.h>.
23795 (copysign): Define using libm_alias_double.
23796 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23797 <libm-alias-double.h>.
23798 (fabs): Define using libm_alias_double.
23799 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23800 <libm-alias-double.h>.
23801 (lrint): Define using libm_alias_double.
23802 (llrint): Likewise.
23803 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23804 <libm-alias-double.h>.
23805 (nearbyint): Define using libm_alias_double.
23806 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23807 <libm-alias-double.h>.
23808 (rint): Define using libm_alias_double.
23811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23813 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23815 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23816 SPARC --disable-multi-arch glibc variants.
23818 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23819 <libm-alias-float.h>.
23820 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23822 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23823 <libm-alias-float.h>.
23824 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23826 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23827 <libm-alias-float.h>.
23828 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23830 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23831 <libm-alias-float.h>.
23832 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23834 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23835 <libm-alias-float.h>.
23836 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23838 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23839 <libm-alias-float.h>.
23840 (ceilf): Define using libm_alias_float.
23841 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23842 <libm-alias-float.h>.
23843 (floorf): Define using libm_alias_float.
23844 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23845 <libm-alias-float.h>.
23846 (fmaf): Define using libm_alias_float.
23847 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23848 <libm-alias-float.h>.
23849 (nearbyintf): Define using libm_alias_float.
23850 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23851 <libm-alias-float.h>.
23852 (rintf): Define using libm_alias_float.
23853 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23854 <libm-alias-float.h>.
23855 (truncf): Define using libm_alias_float.
23856 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23857 (copysignf): Define using libm_alias_float.
23858 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23859 (cosf): Define using libm_alias_float.
23860 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23861 (fabsf): Define using libm_alias_float.
23862 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23863 (fmaxf): Define using libm_alias_float.
23864 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23865 (fminf): Define using libm_alias_float.
23866 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23867 (llrintf): Define using libm_alias_float.
23868 [!__ILP32__] (lrintf): Likewise.
23869 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23870 (sincosf): Define using libm_alias_float.
23871 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23872 (sinf): Define using libm_alias_float.
23873 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23874 (lrintf): Define using libm_alias_float.
23876 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23877 <libm-alias-double.h>.
23878 (atan): Define using libm_alias_double.
23879 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23880 <libm-alias-double.h>.
23881 (ceil): Define using libm_alias_double.
23882 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23883 <libm-alias-double.h>.
23884 (floor): Define using libm_alias_double.
23885 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23886 <libm-alias-double.h>.
23887 (fma): Define using libm_alias_double.
23888 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23889 <libm-alias-double.h>.
23890 (nearbyint): Define using libm_alias_double.
23891 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23892 <libm-alias-double.h>.
23893 (rint): Define using libm_alias_double.
23894 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23895 <libm-alias-double.h>.
23896 (sin): Define using libm_alias_double.
23898 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23899 <libm-alias-double.h>.
23900 (tan): Define using libm_alias_double.
23901 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23902 <libm-alias-double.h>.
23903 (trunc): Define using libm_alias_double.
23904 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23905 (copysign): Define using libm_alias_double.
23906 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23907 (fabs): Define using libm_alias_double.
23908 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23909 (fmax): Define using libm_alias_double.
23910 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23911 (fmin): Define using libm_alias_double.
23912 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23913 (llrint): Define using libm_alias_double.
23914 [!__ILP32__] (lrint): Likewise.
23915 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23916 (lrint): Define using libm_alias_double.
23918 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23920 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23921 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23923 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23924 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23925 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23926 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23927 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23928 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23931 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23933 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23934 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23935 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23936 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23937 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23938 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23940 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23941 (libm-sysdep_routines): Add s_nearbyint-generic and
23942 s_nearbyintf-generic objects.
23943 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23944 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23945 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23946 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23947 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23948 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23950 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23951 Add s_finitef-generic and s_finite-generic objects.
23952 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23953 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23954 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23955 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23956 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23957 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23959 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23960 Add s_isinff-generic and s_isinf-generic objects.
23961 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23962 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23964 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23965 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23968 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23969 Add s_isnanf-generic and s_isnan-generic objects.
23970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23977 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23979 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23981 (sysdep_routines): Use sysdep_calls as base.
23982 (libm-sysdep_routines): Add generic rule for symbols shared with
23983 libc. Add s_signbit-generic and s_signbitf-generic objects.
23984 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23985 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23986 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23987 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23988 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23989 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23991 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23993 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23994 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23995 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23996 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23997 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23998 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23999 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
24000 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
24001 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
24002 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
24003 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
24004 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
24005 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
24006 libm_alias_float_r.
24007 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
24008 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
24010 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
24011 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
24012 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
24013 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
24014 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
24015 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
24016 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
24017 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
24018 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
24019 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
24021 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
24023 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
24024 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
24025 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
24026 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
24027 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
24028 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
24029 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
24030 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
24031 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
24032 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
24033 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
24034 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
24035 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
24036 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
24037 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
24038 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
24039 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
24040 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
24041 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
24043 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
24044 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
24045 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
24046 * sysdeps/ia64/fpu/w_lgammaf_main.c
24047 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
24048 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
24050 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24051 Alexandre Oliva <aoliva@redhat.com>
24054 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
24055 * localedata/fr_CA.UTF-8.in: New file with test data for backward
24057 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
24059 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
24060 * localedata/locales/de_DE (LC_COLLATE): Likewise.
24061 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
24062 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
24063 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
24064 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
24065 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
24066 instead of “ifdef DIACRIT_BACKWARD”.
24068 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24070 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
24071 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
24072 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
24073 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
24074 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
24075 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
24076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
24077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
24078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
24079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
24080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
24081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
24082 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
24083 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
24084 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
24085 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24086 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
24087 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
24088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24089 ($(have-as-vis3) == yes): Remove conditional.
24090 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
24092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
24094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
24096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
24098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
24100 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
24101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
24102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
24103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
24104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
24105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
24106 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
24107 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
24109 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24111 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
24112 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
24113 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
24114 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
24115 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
24116 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
24117 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
24118 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
24119 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
24120 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
24121 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
24122 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
24123 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
24124 libm_alias_double_r.
24125 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
24127 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
24128 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
24129 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
24130 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
24131 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
24132 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
24133 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
24134 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
24135 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
24136 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
24137 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
24139 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
24141 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
24142 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
24143 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
24144 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
24145 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
24146 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
24147 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
24148 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
24149 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
24150 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
24151 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
24152 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
24153 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
24154 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
24155 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
24156 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
24157 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
24158 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
24160 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
24161 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
24162 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
24163 * sysdeps/ia64/fpu/w_lgamma_main.c
24164 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
24165 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
24167 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
24169 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
24170 address of $global$ into %dp register earlier. Use pc-relative
24171 instruction sequence for PIC case.
24173 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24175 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
24176 (asinhf): Define using libm_alias_float.
24177 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
24178 (atanf): Define using libm_alias_float.
24179 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
24180 (cbrtf): Define using libm_alias_float.
24181 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
24182 (ceilf): Define using libm_alias_float.
24183 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24184 (copysignf): Define using libm_alias_float.
24185 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
24186 (expm1f): Define using libm_alias_float.
24187 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
24188 (fabsf): Define using libm_alias_float.
24189 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
24190 (floorf): Define using libm_alias_float.
24191 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24192 (fmaxf): Define using libm_alias_float.
24193 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
24194 (fminf): Define using libm_alias_float.
24195 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
24196 (frexpf): Define using libm_alias_float.
24197 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24198 (llrintf): Define using libm_alias_float.
24199 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
24200 (logbf): Define using libm_alias_float.
24201 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24202 (lrintf): Define using libm_alias_float.
24203 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
24204 (nearbyintf): Define using libm_alias_float.
24205 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
24206 (remquof): Define using libm_alias_float.
24207 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
24208 (rintf): Define using libm_alias_float.
24209 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
24210 (truncf): Define using libm_alias_float.
24211 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
24212 <libm-alias-float.h>.
24213 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24215 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
24216 <libm-alias-float.h>.
24217 (expf): Define using libm_alias_float, or libm_alias_float_other
24219 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
24220 <libm-alias-float.h>.
24221 (log2f): Define using libm_alias_float, or libm_alias_float_other
24223 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
24224 <libm-alias-float.h>.
24225 (logf): Define using libm_alias_float, or libm_alias_float_other
24227 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
24228 <libm-alias-float.h>.
24229 (powf): Define using libm_alias_float, or libm_alias_float_other
24231 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
24232 <libm-alias-float.h>.
24233 (cosf): Define using libm_alias_float.
24234 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
24235 <libm-alias-float.h>.
24236 (sincosf): Define using libm_alias_float.
24237 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
24238 <libm-alias-float.h>.
24239 (sinf): Define using libm_alias_float.
24240 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24241 (fmaxf): Define using libm_alias_float.
24242 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
24243 (fminf): Define using libm_alias_float.
24244 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24245 <libm-alias-float.h>.
24246 (fmaf): Define using libm_alias_float.
24248 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
24249 (asinh): Define using libm_alias_double.
24250 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
24251 (atan): Define using libm_alias_double.
24252 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
24253 (cbrt): Define using libm_alias_double.
24254 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
24255 (ceil): Define using libm_alias_double.
24256 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
24257 (copysign): Define using libm_alias_double.
24258 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
24259 (expm1): Define using libm_alias_double.
24260 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
24261 (fabs): Define using libm_alias_double.
24262 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
24263 (fdim): Define using libm_alias_double.
24264 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
24265 (floor): Define using libm_alias_double.
24266 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
24267 (fmax): Define using libm_alias_double.
24268 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
24269 (fmin): Define using libm_alias_double.
24270 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
24271 (frexp): Define using libm_alias_double.
24272 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
24273 (llrint): Define using libm_alias_double.
24274 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
24275 (logb): Define using libm_alias_double.
24276 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
24277 (lrint): Define using libm_alias_double.
24278 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
24279 (nearbyint): Define using libm_alias_double.
24280 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
24281 (remquo): Define using libm_alias_double.
24282 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
24283 (rint): Define using libm_alias_double.
24284 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
24285 (trunc): Define using libm_alias_double.
24286 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
24287 (fmax): Define using libm_alias_double.
24288 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
24289 (fmin): Define using libm_alias_double.
24290 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
24291 (fma): Define using libm_alias_double.
24293 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
24296 * elf/dl-hwcaps.c (ROUND): Removed.
24297 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
24298 and ELF_NOTE_NEXT_OFFSET.
24299 * elf/dl-load.c (ROUND): Removed.
24300 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24301 * elf/readelflib.c (ROUND): Removed.
24302 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24303 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
24304 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
24305 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
24307 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24309 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24310 [!__fmaf] (fmaf): Define using libm_alias_float.
24312 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
24313 [!__fma] (fma): Define using libm_alias_double.
24314 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
24316 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24319 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
24320 and implement the collation rules for cs from CLDR on top of that.
24321 * Makefile: Add cs_CZ.UTF-8 to test-input.
24322 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
24324 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
24326 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
24328 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24329 Icarus Sparry <icarus.w.sparry@intel.com>
24331 * benchtests/Makefile:Add BENCHSET to allow subsets of
24332 benchmarks to be run.
24333 * benchtests/README: Add documentation for: Running subsets of
24336 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24338 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
24339 range of tests names.
24341 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
24342 result from property and remove "max", min" and "mean" from
24343 required properties based on benchtests/bench-skeleton.c.
24345 2017-11-28 Florian Weimer <fweimer@redhat.com>
24348 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
24349 due to Internet requirement.
24350 * posix/Makefile (tests): Remove tst-getaddrinfo4,
24352 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
24354 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24356 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24357 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
24358 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24359 (sysdep_routines): Add memset-ultra1.
24360 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
24362 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
24363 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
24364 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
24365 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
24366 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
24367 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
24368 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
24369 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24371 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
24373 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
24374 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
24375 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
24376 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
24377 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
24378 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
24379 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
24381 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24382 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
24383 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24384 (sysdep_routines): Add memcpy-ultra1.
24385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
24386 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
24388 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24390 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
24391 (cfloat_versions): Take function argument without trailing 'f'.
24392 Call libm_alias_float_other.
24393 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
24394 * sysdeps/alpha/fpu/cargf.c: Likewise.
24395 * sysdeps/alpha/fpu/cimagf.c: Likewise.
24396 * sysdeps/alpha/fpu/conjf.c: Likewise.
24397 * sysdeps/alpha/fpu/crealf.c: Likewise.
24398 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
24399 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
24400 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
24401 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
24402 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
24403 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
24404 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
24405 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
24406 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
24407 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
24408 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
24409 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
24410 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
24411 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
24412 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
24413 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
24414 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
24415 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
24416 (clog10f): Use libm_alias_float_other.
24417 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24418 (ceilf): Define using libm_alias_float.
24419 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
24420 (copysignf): Define using libm_alias_float.
24421 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24422 (fabsf): Define using libm_alias_float.
24423 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
24424 (floorf): Define using libm_alias_float.
24425 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
24426 (fmaxf): Define using libm_alias_float.
24427 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
24428 (fminf): Define using libm_alias_float.
24429 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24430 (lrintf): Define using libm_alias_float.
24431 (llrintf): Likewise.
24432 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24433 (lroundf): Define using libm_alias_float.
24434 (llroundf): Likewise.
24435 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
24436 (rintf): Define using libm_alias_float.
24437 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
24438 (truncf): Define using libm_alias_float.
24440 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24441 (ceilf): Define using libm_alias_float.
24442 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
24443 (floorf): Define using libm_alias_float.
24444 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24445 (fmaf): Define using libm_alias_float.
24446 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
24447 (fmaxf): Define using libm_alias_float.
24448 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
24449 (fminf): Define using libm_alias_float.
24450 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
24451 (llrintf): Define using libm_alias_float.
24452 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
24453 (llroundf): Define using libm_alias_float.
24454 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24455 (lrintf): Define using libm_alias_float.
24456 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24457 (lroundf): Define using libm_alias_float.
24458 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
24459 <libm-alias-float.h>.
24460 (nearbyintf): Define using libm_alias_float.
24461 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
24462 (rintf): Define using libm_alias_float.
24463 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
24464 (roundf): Define using libm_alias_float.
24465 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
24466 (truncf): Define using libm_alias_float.
24468 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
24469 (ceil): Define using libm_alias_double.
24470 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
24471 (copysign): Define using libm_alias_double.
24472 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
24473 (fabs): Define using libm_alias_double.
24474 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
24475 (floor): Define using libm_alias_double.
24476 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
24477 (fmax): Define using libm_alias_double.
24478 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
24479 (fmin): Define using libm_alias_double.
24480 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
24481 (lrint): Define using libm_alias_double.
24482 (llrint): Likewise.
24483 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
24484 (lround): Define using libm_alias_double.
24485 (llround): Likewise.
24486 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
24487 (rint): Define using libm_alias_double.
24488 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
24489 (trunc): Define using libm_alias_double.
24491 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24492 (libm_alias_double_r): Add semicolon after weak_alias call.
24494 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24496 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
24497 (ceil): Define using libm_alias_double.
24498 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
24499 (floor): Define using libm_alias_double.
24500 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
24501 (fma): Define using libm_alias_double.
24502 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
24503 (fmax): Define using libm_alias_double.
24504 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
24505 (fmin): Define using libm_alias_double.
24506 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
24507 (llrint): Define using libm_alias_double.
24508 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
24509 (llround): Define using libm_alias_double.
24510 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
24511 (lrint): Define using libm_alias_double.
24512 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
24513 (lround): Define using libm_alias_double.
24514 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
24515 (nearbyint): Define using libm_alias_double.
24516 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
24517 (rint): Define using libm_alias_double.
24518 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
24519 (round): Define using libm_alias_double.
24520 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
24521 (trunc): Define using libm_alias_double.
24523 2017-11-27 Florian Weimer <fweimer@redhat.com>
24525 * sysdeps/unix/sysv/linux/mlock2.c: New file.
24526 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
24527 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
24528 (tests): Add tst-mlock2.
24529 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
24530 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
24531 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
24532 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
24533 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
24534 for mlock. Document mlock2.
24536 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24538 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
24539 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
24541 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
24543 * sysdeps/x86/Makeconfig: New file.
24544 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
24545 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24546 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
24547 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24548 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24549 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24550 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
24552 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24553 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24554 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24555 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24556 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24557 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24558 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24559 * manual/math.texi (Mathematics): Document support for _Float64x.
24560 * math/Versions (GLIBC_2.27): Add _Float64x functions.
24561 * stdlib/Versions (GLIBC_2.27): Likewise.
24562 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24563 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24564 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24565 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24566 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24567 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24568 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24569 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24570 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24571 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24572 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24573 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24578 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24579 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24580 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24581 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24582 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24583 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24584 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24585 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24586 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24587 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24588 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24589 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24590 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24591 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24593 2017-11-27 Andreas Schwab <schwab@suse.de>
24595 * elf/Makefile (dl-routines): Add dl-sort-maps.
24596 * elf/dl-sort-maps.c: New file.
24597 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
24598 (_dl_sort_maps): Declare.
24599 * elf/dl-fini.c (_dl_sort_fini): Remove.
24600 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
24601 * elf/dl-close.c (_dl_close_worker): Likewise.
24602 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24604 * elf/dl-open.c (dl_open_worker): Likewise.
24606 2017-11-24 Joseph Myers <joseph@codesourcery.com>
24608 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24609 using libm_alias_float128.
24610 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24612 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24614 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24615 (setpayloadsigf128): Likewise.
24616 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24618 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24621 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24622 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24623 -mfloat128 to CFLAGS.
24625 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24627 (CFLAGS-libm-test-support-float64x.c): New variable.
24628 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24629 $(f128-loader-link) to gnulib-tests.
24631 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24632 (libm_alias_float128_other_r): If
24633 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24635 (libm_alias_float128_r): Add semicolon after weak_alias call.
24636 * sysdeps/generic/libm-alias-ldouble.h
24637 (libm_alias_ldouble_other_r_f128): New macro.
24638 (libm_alias_ldouble_other_r_f64x): Likewise.
24639 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24640 and libm_alias_ldouble_other_r_f64x.
24641 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24642 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24643 (libm_alias_ldouble_other_r_f128): New macro.
24644 (libm_alias_ldouble_other_r_f64x): Likewise.
24645 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24646 and libm_alias_ldouble_other_r_f64x.
24648 * stdlib/strfroml.c: Always include <stdlib.h>.
24649 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24650 undefine as macro and define as weak alias.
24651 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24652 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24654 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24655 Define and later undefine as macro and define as weak alias.
24657 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24658 Define and later undefine as macro. Define as weak alias if
24660 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24661 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24662 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24663 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24664 Define and later undefine as macro. Define as weak alias if
24666 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24667 Define and later undefine as macro. Define as weak alias if
24669 * sysdeps/ieee754/float128/strtof128_l.c
24670 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24671 Define and later undefine as macro. Define as weak alias if
24673 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24674 Define and later undefine as macro. Define as weak alias if
24676 * sysdeps/ieee754/ldbl-128/strtold_l.c
24677 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24678 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24679 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24680 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24681 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24682 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24683 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24684 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24685 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24686 * sysdeps/ieee754/ldbl-96/strtold_l.c
24687 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24688 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24689 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24690 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24692 * math/test-float64x.h: New file.
24693 * math/Makefile (type-float64x-yes): New variable.
24694 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24696 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24697 function-like macro.
24698 (min_of_type_): Likewise.
24699 (min_of_type_l): Likewise.
24700 (min_of_type_f128): Likewise.
24701 (min_of_type): Pass () as last argument of __MATH_TG.
24703 * stdlib/tst-strtod-round-skeleton.c
24704 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24707 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24708 for combinations of long double with _Float64 and _Float64x.
24710 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24711 (__DECL_SIMD_cosf32): Likewise.
24712 (__DECL_SIMD_cosf64): Likewise.
24713 (__DECL_SIMD_cosf32x): Likewise.
24714 (__DECL_SIMD_cosf64x): Likewise.
24715 (__DECL_SIMD_cosf128x): Likewise.
24716 (__DECL_SIMD_sinf16): Likewise.
24717 (__DECL_SIMD_sinf32): Likewise.
24718 (__DECL_SIMD_sinf64): Likewise.
24719 (__DECL_SIMD_sinf32x): Likewise.
24720 (__DECL_SIMD_sinf64x): Likewise.
24721 (__DECL_SIMD_sinf128x): Likewise.
24722 (__DECL_SIMD_sincosf16): Likewise.
24723 (__DECL_SIMD_sincosf32): Likewise.
24724 (__DECL_SIMD_sincosf64): Likewise.
24725 (__DECL_SIMD_sincosf32x): Likewise.
24726 (__DECL_SIMD_sincosf64x): Likewise.
24727 (__DECL_SIMD_sincosf128x): Likewise.
24728 (__DECL_SIMD_logf16): Likewise.
24729 (__DECL_SIMD_logf32): Likewise.
24730 (__DECL_SIMD_logf64): Likewise.
24731 (__DECL_SIMD_logf32x): Likewise.
24732 (__DECL_SIMD_logf64x): Likewise.
24733 (__DECL_SIMD_logf128x): Likewise.
24734 (__DECL_SIMD_expf16): Likewise.
24735 (__DECL_SIMD_expf32): Likewise.
24736 (__DECL_SIMD_expf64): Likewise.
24737 (__DECL_SIMD_expf32x): Likewise.
24738 (__DECL_SIMD_expf64x): Likewise.
24739 (__DECL_SIMD_expf128x): Likewise.
24740 (__DECL_SIMD_powf16): Likewise.
24741 (__DECL_SIMD_powf32): Likewise.
24742 (__DECL_SIMD_powf64): Likewise.
24743 (__DECL_SIMD_powf32x): Likewise.
24744 (__DECL_SIMD_powf64x): Likewise.
24745 (__DECL_SIMD_powf128x): Likewise.
24747 * stdlib/Versions (libc): Move entries for wcstof128 and
24748 wcstof128_l to ....
24749 * wcsmbs/Versions (libc): ... here.
24750 Include <float128-abi.h>.
24752 2017-11-24 Florian Weimer <fweimer@redhat.com>
24754 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24755 bits/mman-shared.h.
24756 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24757 <bits/mman-shared.h>.
24758 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24760 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24761 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24762 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24763 <bits/mman-shared.h>.
24765 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24768 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24769 posix_memalign/free.
24770 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24772 2017-11-22 Mike FABIAN <mfabian@redhat.com>
24775 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24776 and implement the collation rules for pl from CLDR on top of that.
24777 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24778 of locales to be built for testing.
24779 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24781 2017-11-23 Joseph Myers <joseph@codesourcery.com>
24783 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24784 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24785 libm_alias_ldouble_other.
24786 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24787 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24788 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24789 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24790 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24791 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24792 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24793 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24794 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24795 libm_alias_ldouble_r.
24796 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24797 libm_alias_ldouble_other.
24798 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24799 (log10l): Likewise.
24800 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24801 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24802 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24803 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24804 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24805 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24806 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24807 (atan2l): Likewise.
24808 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24809 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24810 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24811 libm_alias_ldouble.
24812 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24814 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24815 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24816 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24818 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24819 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24820 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24821 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24822 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24823 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24824 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24825 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24826 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24827 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24828 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24829 libm_alias_ldouble.
24830 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24831 libm_alias_ldouble_other.
24832 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24833 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24834 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24835 libm_alias_ldouble.
24836 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24837 libm_alias_ldouble_other.
24838 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24839 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24840 * sysdeps/ia64/fpu/w_lgammal_main.c
24841 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24842 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24844 2017-11-23 Florian Weimer <fweimer@redhat.com>
24846 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24847 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24848 alike. Remove freeres marker.
24849 * malloc/arena.c (arena_thread_freeres): Call
24850 tcache_thread_shutdown.
24852 2017-11-23 Florian Weimer <fweimer@redhat.com>
24855 Export nscd hash function as __nss_hash.
24856 * include/nss.h (__nss_hash): Declare.
24857 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24859 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24860 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24862 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24863 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24864 * nss/Makefiles (routines): Add nss_hash.
24865 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24866 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24867 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24868 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24870 2017-11-23 Florian Weimer <fweimer@redhat.com>
24873 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24874 Return error code, not -1.
24875 * signal/tst-sigwait-eintr.c: New file.
24876 * signal/Makefile (tests): Add tst-sigwait-eintr.
24878 2017-11-23 Florian Weimer <fweimer@redhat.com>
24880 Linux: Add memfd_create system call wrapper
24881 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24883 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24884 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24885 [__USE_GNU] (memfd_create): Declare.
24886 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24887 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24888 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24889 * sysdeps/unix/sysv/linux/**.abilist: Update.
24890 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24892 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24894 * localedata/gen-locale.sh: Fix typo in variable name.
24896 * resolv/res_debug.c (p_secstodate): Condition definition on
24897 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24898 directly as __p_secstodate, and as a compat symbol. Do not use
24899 libresolv_hidden_def.
24900 * resolv/resolv.h (p_secstodate): Remove macro and function
24902 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24903 using p_secstodate.
24904 * include/resolv.h (__p_secstodate): Do not use
24905 libresolv_hidden_proto.
24906 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24907 (tests-internal): ... here.
24908 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24909 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24910 and declare and use __p_secstodate and use compat_symbol_reference
24912 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24913 implementation returning 77.
24916 * resolv/res_debug.c: Include <libc-diag.h>.
24917 (p_secstodate): Assert time_t at least as wide as u_long. On
24918 overflow, use integer seconds since the epoch as output, or use
24919 "<overflow>" as output and set errno to EOVERFLOW if integer
24920 seconds since the epoch would be 14 or more characters.
24921 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24923 * resolv/tst-p_secstodate.c: New file.
24924 * resolv/Makefile (tests): Add tst-p_secstodate.
24925 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24927 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24928 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24929 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24931 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24933 * posix/regcomp.c (init_word_char): Add comments.
24935 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24938 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24939 strlen to compute length of ut_user and set trailing NUL byte of
24942 2017-11-21 Mike FABIAN <mfabian@redhat.com>
24945 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24946 using “copy "iso14651_t1"” and then implementing the
24947 collation rules for lv from CLDR on top of that.
24948 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24949 of locales to be built for testing.
24950 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24953 2017-11-21 Joseph Myers <joseph@codesourcery.com>
24955 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24956 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24957 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24958 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24959 [__USE_MISC] (MADV_HWPOISON): New macro.
24960 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24962 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24964 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24965 -Wmissing-braces on GCC 4.9.
24967 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24969 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24970 * sysdeps/s390/s390-32/start.S (_start): Likewise
24971 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24972 (thread_start): Likewise.
24973 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24974 (thread_start): Likewise.
24975 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24976 (__makecontext_ret): Likewise.
24977 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24978 (__makecontext_ret): Likewise.
24980 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24982 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24983 __wcschrnul): Remove attribute_hidden.
24985 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24987 regex: don't assume uint64_t or uint32_t
24988 This avoids -Werror=overflow errors for 32-bit systems in
24989 the 64-bit case. Problem reported by Joseph Myers in:
24990 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24991 Also, when this code is used in Gnulib it ports to platforms
24992 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24993 them, and on some 32-bit compilers there is no uint64_t.
24994 Problem reported by Gianluigi Tiesi in:
24995 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24996 * posix/regcomp.c (init_word_char): Don't assume that the types
24997 uint64_t and uint32_t exist. Adapted from Gnulib patch
24998 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24999 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
25001 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
25003 * sysdeps/aarch64/memset-reg.h: New file.
25004 * sysdeps/aarch64/memset.S: Use it.
25005 (__memset): Rename to MEMSET macro.
25006 [ZVA_MACRO]: Use zva_macro.
25007 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
25008 Add memset_generic and memset_falkor.
25009 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25010 (__libc_ifunc_impl_list): Add memset ifuncs.
25011 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
25012 local variable zva_size.
25013 * sysdeps/aarch64/multiarch/memset.c: New file.
25014 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
25015 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
25016 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
25017 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
25018 (DCZID_DZP_MASK): New macro.
25019 (DCZID_BS_MASK): Likewise.
25020 (init_cpu_features): Read and set zva_size.
25021 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
25022 (struct cpu_features): New member zva_size.
25024 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
25025 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
25026 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
25028 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
25029 backwards. Fix timing computation.
25030 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
25031 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
25032 on memset by N at a time. Fix timing computation.
25034 2017-11-20 Florian Weimer <fweimer@redhat.com>
25036 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
25037 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
25039 2017-11-19 Florian Weimer <fweimer@redhat.com>
25041 manual: Document mprotect
25042 * manual/memory.texi (Memory Protection): New section.
25043 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
25044 documentation of PROT_* flags and reference the Memory Protection
25047 2017-11-19 Florian Weimer <fweimer@redhat.com>
25049 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
25050 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
25051 (Scatter-Gather): ... to here. Remove misleading comment.
25053 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
25055 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
25058 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
25059 when /proc/<pid>/setgroups does not exist.
25061 2017-11-18 Florian Weimer <fweimer@redhat.com>
25063 * sysdeps/unix/sysv/linux/tst-ttyname.c
25064 (become_root_in_mount_ns): Remove.
25065 (do_in_chroot_1): Call support_enter_mount_namespace.
25066 (do_in_chroot_2): Likewise.
25067 (do_test): Call support_become_root early.
25069 2017-11-18 Florian Weimer <fweimer@redhat.com>
25071 * support/namespace.h (support_enter_mount_namespace): Declare.
25072 * support/support_enter_mount_namespace.c: New file.
25073 * support/Makefile (libsupport-routines): Add
25074 support_enter_mount_namespace.
25076 2017-11-18 Florian Weimer <fweimer@redhat.com>
25078 * support/temp_file.c (support_create_temp_directory): Use
25079 test_dir and do not rely on the presence of the XXXXXX suffix.
25080 * support/temp_file.h (support_create_temp_directory): Update
25082 * support/tst-xreadlink.c (do_test): Adjust.
25083 * support/support_chroot.c (support_chroot_create): Likewise.
25085 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25087 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
25089 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
25092 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25094 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25095 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25096 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25097 (ceill): Define using libm_alias_ldouble.
25098 * sysdeps/x86_64/fpu/s_copysignl.S: Include
25099 <libm-alias-ldouble.h>.
25100 (copysignl): Define using libm_alias_ldouble.
25101 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25102 (fabsl): Define using libm_alias_ldouble.
25103 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25104 (floorl): Define using libm_alias_ldouble.
25105 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25106 (fmaxl): Define using libm_alias_ldouble.
25107 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25108 (fminl): Define using libm_alias_ldouble.
25109 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25110 (llrintl): Define using libm_alias_ldouble.
25111 (lrintl): Likewise.
25112 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
25113 <libm-alias-ldouble.h>.
25114 (nearbyintl): Define using libm_alias_ldouble.
25115 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25116 (truncl): Define using libm_alias_ldouble.
25117 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
25118 <libm-alias-ldouble.h>.
25119 (lrintl): Define using libm_alias_ldouble.
25121 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25122 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25123 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
25124 (asinhl): Define using libm_alias_ldouble.
25125 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
25126 (atanl): Define using libm_alias_ldouble.
25127 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
25128 (cbrtl): Define using libm_alias_ldouble.
25129 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25130 (ceill): Define using libm_alias_ldouble.
25131 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
25132 (copysignl): Define using libm_alias_ldouble.
25133 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25134 (fabsl): Define using libm_alias_ldouble.
25135 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25136 (floorl): Define using libm_alias_ldouble.
25137 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25138 (fmaxl): Define using libm_alias_ldouble.
25139 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25140 (fminl): Define using libm_alias_ldouble.
25141 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
25142 (frexpl): Define using libm_alias_ldouble.
25143 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25144 (llrintl): Define using libm_alias_ldouble.
25145 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
25146 (logbl): Define using libm_alias_ldouble.
25147 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
25148 (lrintl): Define using libm_alias_ldouble.
25149 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
25150 (nearbyintl): Define using libm_alias_ldouble.
25151 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
25152 (nextafterl): Define using libm_alias_ldouble.
25153 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
25154 (remquol): Define using libm_alias_ldouble.
25155 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
25156 (rintl): Define using libm_alias_ldouble.
25157 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25158 (truncl): Define using libm_alias_ldouble.
25159 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25160 (fmaxl): Define using libm_alias_ldouble.
25161 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25162 (fminl): Define using libm_alias_ldouble.
25164 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
25165 to C syntax instead of availability and properties of types.
25166 * bits/floatn.h [!__ASSEMBLER]: Likewise.
25167 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
25168 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
25169 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
25170 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
25171 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
25173 2017-11-17 Florian Weimer <fweimer@redhat.com>
25175 support_become_root: Enable file creation in namespaces.
25176 * support/support_become_root.c (setup_mapping): New function.
25177 (support_become_root): Call it.
25179 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25181 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
25184 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25186 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
25187 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
25189 2017-11-16 Joseph Myers <joseph@codesourcery.com>
25191 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
25193 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25196 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25198 * INSTALL: Fix botched up regeneration.
25200 * NEWS: Update sourceare link to https.
25201 * configure.ac: Likewise.
25202 * crypt/md5test-giant.c: Likewise.
25203 * dlfcn/bug-atexit1.c: Likewise.
25204 * dlfcn/bug-atexit2.c: Likewise.
25205 * localedata/README: Likewise.
25206 * malloc/tst-mallocfork.c: Likewise.
25207 * manual/install.texi: Likewise.
25208 * nptl/tst-pthread-getattr.c: Likewise.
25209 * stdio-common/tst-fgets.c: Likewise.
25210 * stdio-common/tst-fwrite.c: Likewise.
25211 * sunrpc/Makefile: Likewise.
25212 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
25213 * wcsmbs/tst-mbrtowc2.c: Likewise.
25214 * configure: Regenerate.
25215 * INSTALL: Regenerate.
25217 2017-11-15 Martin Sebor <msebor@redhat.com>
25219 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
25220 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
25221 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
25223 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25226 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
25227 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
25230 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
25231 Defer is_pty check until end of the function.
25232 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25235 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
25236 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
25237 (ttyname): Likewise.
25238 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25239 (__ttyname_r): Likewise.
25241 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
25244 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
25246 * manual/terminal.texi (Is It a Terminal):
25247 Mention ENODEV for ttyname and ttyname_r.
25249 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25251 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
25252 constant and macro.
25254 * sysdeps/unix/sysv/linux/bits/mman-linux.h
25255 [__USE_MISC] (MADV_WIPEONFORK): New macro.
25256 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25257 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25258 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
25259 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25261 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25263 * signal/sigrelse.c (sigrelse): Optimize implementation.
25265 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
25266 (__sigpause): Rely on __sigsuspend to implement single thread
25267 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
25269 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25271 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
25272 kernel version to 4.14.
25274 2017-11-15 Steve Ellcey <sellcey@cavium.com>
25277 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
25278 Check if ifname is too long.
25280 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25282 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
25284 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25286 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
25287 was accidentally lost.
25289 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25291 * localedata/locales/az_IR: Add standard copyright header.
25293 2017-11-15 Florian Weimer <fweimer@redhat.com>
25296 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
25297 not just the top one. Output a new "subheaps" statistic.
25299 2017-11-15 Florian Weimer <fweimer@redhat.com>
25302 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
25303 under the per-arena lock.
25304 * malloc/Makefile (tests): Add tst-malloc_info.
25305 (tst-malloc_info): Link with libpthread.
25306 * malloc/tst-malloc_info.c: New file.
25308 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25311 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
25312 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
25313 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
25314 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
25315 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
25316 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
25317 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
25318 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
25319 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
25320 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
25321 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
25322 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
25323 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
25324 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
25325 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
25326 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
25327 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
25328 (__floating_type): Likewise.
25329 (__real_integer_type): Likewise.
25330 (__complex_integer_type): Likewise.
25331 (__expr_is_real): Likewise.
25332 (__tgmath_real_type_sub): Likewise.
25333 (__tgmath_real_type): Likewise.
25334 (__tgmath_complex_type_sub): Likewise.
25335 (__tgmath_complex_type): Likewise.
25336 (__TGMATH_F128): Likewise.
25337 (__TGMATH_CF128): Likewise.
25338 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
25340 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
25341 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
25343 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
25345 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
25346 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
25347 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
25348 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
25350 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
25351 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
25353 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
25354 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
25355 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
25357 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
25358 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
25359 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
25363 2017-11-14 Joseph Myers <joseph@codesourcery.com>
25365 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
25366 for stpncpy calls for GCC 8.
25367 (test_strncat): Disable -Wstringop-truncation warning for strncat
25368 calls for GCC 8. Disable -Wstringop-overflow= warning for one
25369 strncat call for GCC 7.
25370 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
25372 (test_memcmp): Use memcpy instead of strncpy for calls not copying
25375 * string/bug-strncat1.c: Include <libc-diag.h>.
25376 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
25378 2017-11-13 Claude Paroz <claude@2xlibre.net>
25381 * localedata/locales/aa_DJ: Improved readibility by replacing
25382 <Uxxxx> sequences in the ASCII printable range by their ASCII
25383 character equivalents.
25384 * localedata/locales/aa_ER: Likewise.
25385 * localedata/locales/aa_ER@saaho: Likewise.
25386 * localedata/locales/aa_ET: Likewise.
25387 * localedata/locales/af_ZA: Likewise.
25388 * localedata/locales/agr_PE: Likewise.
25389 * localedata/locales/ak_GH: Likewise.
25390 * localedata/locales/am_ET: Likewise.
25391 * localedata/locales/anp_IN: Likewise.
25392 * localedata/locales/ar_AE: Likewise.
25393 * localedata/locales/ar_BH: Likewise.
25394 * localedata/locales/ar_DZ: Likewise.
25395 * localedata/locales/ar_EG: Likewise.
25396 * localedata/locales/ar_IN: Likewise.
25397 * localedata/locales/ar_IQ: Likewise.
25398 * localedata/locales/ar_JO: Likewise.
25399 * localedata/locales/ar_KW: Likewise.
25400 * localedata/locales/ar_LB: Likewise.
25401 * localedata/locales/ar_LY: Likewise.
25402 * localedata/locales/ar_MA: Likewise.
25403 * localedata/locales/ar_OM: Likewise.
25404 * localedata/locales/ar_QA: Likewise.
25405 * localedata/locales/ar_SA: Likewise.
25406 * localedata/locales/ar_SD: Likewise.
25407 * localedata/locales/ar_SS: Likewise.
25408 * localedata/locales/ar_SY: Likewise.
25409 * localedata/locales/ar_TN: Likewise.
25410 * localedata/locales/ar_YE: Likewise.
25411 * localedata/locales/as_IN: Likewise.
25412 * localedata/locales/ast_ES: Likewise.
25413 * localedata/locales/ayc_PE: Likewise.
25414 * localedata/locales/az_AZ: Likewise.
25415 * localedata/locales/az_IR: Likewise.
25416 * localedata/locales/be_BY: Likewise.
25417 * localedata/locales/be_BY@latin: Likewise.
25418 * localedata/locales/bem_ZM: Likewise.
25419 * localedata/locales/ber_DZ: Likewise.
25420 * localedata/locales/ber_MA: Likewise.
25421 * localedata/locales/bg_BG: Likewise.
25422 * localedata/locales/bhb_IN: Likewise.
25423 * localedata/locales/bho_IN: Likewise.
25424 * localedata/locales/bi_VU: Likewise.
25425 * localedata/locales/bn_BD: Likewise.
25426 * localedata/locales/bn_IN: Likewise.
25427 * localedata/locales/bo_CN: Likewise.
25428 * localedata/locales/bo_IN: Likewise.
25429 * localedata/locales/br_FR: Likewise.
25430 * localedata/locales/brx_IN: Likewise.
25431 * localedata/locales/bs_BA: Likewise.
25432 * localedata/locales/byn_ER: Likewise.
25433 * localedata/locales/ca_AD: Likewise.
25434 * localedata/locales/ca_ES: Likewise.
25435 * localedata/locales/ca_FR: Likewise.
25436 * localedata/locales/ca_IT: Likewise.
25437 * localedata/locales/ce_RU: Likewise.
25438 * localedata/locales/chr_US: Likewise.
25439 * localedata/locales/cmn_TW: Likewise.
25440 * localedata/locales/crh_UA: Likewise.
25441 * localedata/locales/cs_CZ: Likewise.
25442 * localedata/locales/csb_PL: Likewise.
25443 * localedata/locales/cv_RU: Likewise.
25444 * localedata/locales/cy_GB: Likewise.
25445 * localedata/locales/da_DK: Likewise.
25446 * localedata/locales/de_AT: Likewise.
25447 * localedata/locales/de_BE: Likewise.
25448 * localedata/locales/de_CH: Likewise.
25449 * localedata/locales/de_DE: Likewise.
25450 * localedata/locales/de_IT: Likewise.
25451 * localedata/locales/de_LI: Likewise.
25452 * localedata/locales/de_LU: Likewise.
25453 * localedata/locales/doi_IN: Likewise.
25454 * localedata/locales/dv_MV: Likewise.
25455 * localedata/locales/dz_BT: Likewise.
25456 * localedata/locales/el_CY: Likewise.
25457 * localedata/locales/el_GR: Likewise.
25458 * localedata/locales/en_AG: Likewise.
25459 * localedata/locales/en_AU: Likewise.
25460 * localedata/locales/en_BW: Likewise.
25461 * localedata/locales/en_CA: Likewise.
25462 * localedata/locales/en_DK: Likewise.
25463 * localedata/locales/en_GB: Likewise.
25464 * localedata/locales/en_HK: Likewise.
25465 * localedata/locales/en_IE: Likewise.
25466 * localedata/locales/en_IL: Likewise.
25467 * localedata/locales/en_IN: Likewise.
25468 * localedata/locales/en_NG: Likewise.
25469 * localedata/locales/en_NZ: Likewise.
25470 * localedata/locales/en_PH: Likewise.
25471 * localedata/locales/en_SG: Likewise.
25472 * localedata/locales/en_US: Likewise.
25473 * localedata/locales/en_ZA: Likewise.
25474 * localedata/locales/en_ZM: Likewise.
25475 * localedata/locales/en_ZW: Likewise.
25476 * localedata/locales/eo: Likewise.
25477 * localedata/locales/es_AR: Likewise.
25478 * localedata/locales/es_BO: Likewise.
25479 * localedata/locales/es_CL: Likewise.
25480 * localedata/locales/es_CO: Likewise.
25481 * localedata/locales/es_CR: Likewise.
25482 * localedata/locales/es_CU: Likewise.
25483 * localedata/locales/es_DO: Likewise.
25484 * localedata/locales/es_EC: Likewise.
25485 * localedata/locales/es_ES: Likewise.
25486 * localedata/locales/es_GT: Likewise.
25487 * localedata/locales/es_HN: Likewise.
25488 * localedata/locales/es_MX: Likewise.
25489 * localedata/locales/es_NI: Likewise.
25490 * localedata/locales/es_PA: Likewise.
25491 * localedata/locales/es_PE: Likewise.
25492 * localedata/locales/es_PR: Likewise.
25493 * localedata/locales/es_PY: Likewise.
25494 * localedata/locales/es_SV: Likewise.
25495 * localedata/locales/es_US: Likewise.
25496 * localedata/locales/es_UY: Likewise.
25497 * localedata/locales/es_VE: Likewise.
25498 * localedata/locales/et_EE: Likewise.
25499 * localedata/locales/eu_ES: Likewise.
25500 * localedata/locales/eu_ES@euro: Likewise.
25501 * localedata/locales/fa_IR: Likewise.
25502 * localedata/locales/ff_SN: Likewise.
25503 * localedata/locales/fi_FI: Likewise.
25504 * localedata/locales/fil_PH: Likewise.
25505 * localedata/locales/fo_FO: Likewise.
25506 * localedata/locales/fr_BE: Likewise.
25507 * localedata/locales/fr_CA: Likewise.
25508 * localedata/locales/fr_CH: Likewise.
25509 * localedata/locales/fr_FR: Likewise.
25510 * localedata/locales/fr_LU: Likewise.
25511 * localedata/locales/fur_IT: Likewise.
25512 * localedata/locales/fy_DE: Likewise.
25513 * localedata/locales/fy_NL: Likewise.
25514 * localedata/locales/ga_IE: Likewise.
25515 * localedata/locales/gd_GB: Likewise.
25516 * localedata/locales/gez_ER: Likewise.
25517 * localedata/locales/gez_ET: Likewise.
25518 * localedata/locales/gl_ES: Likewise.
25519 * localedata/locales/gu_IN: Likewise.
25520 * localedata/locales/gv_GB: Likewise.
25521 * localedata/locales/ha_NG: Likewise.
25522 * localedata/locales/hak_TW: Likewise.
25523 * localedata/locales/he_IL: Likewise.
25524 * localedata/locales/hi_IN: Likewise.
25525 * localedata/locales/hif_FJ: Likewise.
25526 * localedata/locales/hne_IN: Likewise.
25527 * localedata/locales/hr_HR: Likewise.
25528 * localedata/locales/hsb_DE: Likewise.
25529 * localedata/locales/ht_HT: Likewise.
25530 * localedata/locales/hu_HU: Likewise.
25531 * localedata/locales/hy_AM: Likewise.
25532 * localedata/locales/i18n: Likewise.
25533 * localedata/locales/ia_FR: Likewise.
25534 * localedata/locales/id_ID: Likewise.
25535 * localedata/locales/ig_NG: Likewise.
25536 * localedata/locales/ik_CA: Likewise.
25537 * localedata/locales/is_IS: Likewise.
25538 * localedata/locales/it_CH: Likewise.
25539 * localedata/locales/it_IT: Likewise.
25540 * localedata/locales/iu_CA: Likewise.
25541 * localedata/locales/ja_JP: Likewise.
25542 * localedata/locales/ka_GE: Likewise.
25543 * localedata/locales/kk_KZ: Likewise.
25544 * localedata/locales/kl_GL: Likewise.
25545 * localedata/locales/kn_IN: Likewise.
25546 * localedata/locales/ko_KR: Likewise.
25547 * localedata/locales/kok_IN: Likewise.
25548 * localedata/locales/ks_IN: Likewise.
25549 * localedata/locales/ks_IN@devanagari: Likewise.
25550 * localedata/locales/ku_TR: Likewise.
25551 * localedata/locales/kw_GB: Likewise.
25552 * localedata/locales/ky_KG: Likewise.
25553 * localedata/locales/lb_LU: Likewise.
25554 * localedata/locales/lg_UG: Likewise.
25555 * localedata/locales/li_BE: Likewise.
25556 * localedata/locales/li_NL: Likewise.
25557 * localedata/locales/lij_IT: Likewise.
25558 * localedata/locales/ln_CD: Likewise.
25559 * localedata/locales/lo_LA: Likewise.
25560 * localedata/locales/lt_LT: Likewise.
25561 * localedata/locales/lv_LV: Likewise.
25562 * localedata/locales/lzh_TW: Likewise.
25563 * localedata/locales/mag_IN: Likewise.
25564 * localedata/locales/mai_IN: Likewise.
25565 * localedata/locales/mg_MG: Likewise.
25566 * localedata/locales/mhr_RU: Likewise.
25567 * localedata/locales/mi_NZ: Likewise.
25568 * localedata/locales/mk_MK: Likewise.
25569 * localedata/locales/ml_IN: Likewise.
25570 * localedata/locales/mn_MN: Likewise.
25571 * localedata/locales/mni_IN: Likewise.
25572 * localedata/locales/mr_IN: Likewise.
25573 * localedata/locales/ms_MY: Likewise.
25574 * localedata/locales/mt_MT: Likewise.
25575 * localedata/locales/my_MM: Likewise.
25576 * localedata/locales/nan_TW: Likewise.
25577 * localedata/locales/nan_TW@latin: Likewise.
25578 * localedata/locales/nb_NO: Likewise.
25579 * localedata/locales/nds_DE: Likewise.
25580 * localedata/locales/nds_NL: Likewise.
25581 * localedata/locales/ne_NP: Likewise.
25582 * localedata/locales/nhn_MX: Likewise.
25583 * localedata/locales/niu_NU: Likewise.
25584 * localedata/locales/niu_NZ: Likewise.
25585 * localedata/locales/nl_AW: Likewise.
25586 * localedata/locales/nl_BE: Likewise.
25587 * localedata/locales/nl_NL: Likewise.
25588 * localedata/locales/nn_NO: Likewise.
25589 * localedata/locales/nr_ZA: Likewise.
25590 * localedata/locales/nso_ZA: Likewise.
25591 * localedata/locales/oc_FR: Likewise.
25592 * localedata/locales/om_ET: Likewise.
25593 * localedata/locales/om_KE: Likewise.
25594 * localedata/locales/or_IN: Likewise.
25595 * localedata/locales/os_RU: Likewise.
25596 * localedata/locales/pa_IN: Likewise.
25597 * localedata/locales/pa_PK: Likewise.
25598 * localedata/locales/pap_AW: Likewise.
25599 * localedata/locales/pap_CW: Likewise.
25600 * localedata/locales/pl_PL: Likewise.
25601 * localedata/locales/ps_AF: Likewise.
25602 * localedata/locales/pt_BR: Likewise.
25603 * localedata/locales/pt_PT: Likewise.
25604 * localedata/locales/quz_PE: Likewise.
25605 * localedata/locales/raj_IN: Likewise.
25606 * localedata/locales/ro_RO: Likewise.
25607 * localedata/locales/ru_RU: Likewise.
25608 * localedata/locales/ru_UA: Likewise.
25609 * localedata/locales/rw_RW: Likewise.
25610 * localedata/locales/sa_IN: Likewise.
25611 * localedata/locales/sat_IN: Likewise.
25612 * localedata/locales/sc_IT: Likewise.
25613 * localedata/locales/sd_IN: Likewise.
25614 * localedata/locales/sd_IN@devanagari: Likewise.
25615 * localedata/locales/se_NO: Likewise.
25616 * localedata/locales/sgs_LT: Likewise.
25617 * localedata/locales/shs_CA: Likewise.
25618 * localedata/locales/si_LK: Likewise.
25619 * localedata/locales/sid_ET: Likewise.
25620 * localedata/locales/sk_SK: Likewise.
25621 * localedata/locales/sl_SI: Likewise.
25622 * localedata/locales/sm_WS: Likewise.
25623 * localedata/locales/so_DJ: Likewise.
25624 * localedata/locales/so_ET: Likewise.
25625 * localedata/locales/so_KE: Likewise.
25626 * localedata/locales/so_SO: Likewise.
25627 * localedata/locales/sq_AL: Likewise.
25628 * localedata/locales/sq_MK: Likewise.
25629 * localedata/locales/sr_ME: Likewise.
25630 * localedata/locales/sr_RS: Likewise.
25631 * localedata/locales/sr_RS@latin: Likewise.
25632 * localedata/locales/ss_ZA: Likewise.
25633 * localedata/locales/st_ZA: Likewise.
25634 * localedata/locales/sv_FI: Likewise.
25635 * localedata/locales/sv_SE: Likewise.
25636 * localedata/locales/sw_KE: Likewise.
25637 * localedata/locales/sw_TZ: Likewise.
25638 * localedata/locales/szl_PL: Likewise.
25639 * localedata/locales/ta_IN: Likewise.
25640 * localedata/locales/ta_LK: Likewise.
25641 * localedata/locales/tcy_IN: Likewise.
25642 * localedata/locales/te_IN: Likewise.
25643 * localedata/locales/tg_TJ: Likewise.
25644 * localedata/locales/th_TH: Likewise.
25645 * localedata/locales/the_NP: Likewise.
25646 * localedata/locales/ti_ER: Likewise.
25647 * localedata/locales/ti_ET: Likewise.
25648 * localedata/locales/tig_ER: Likewise.
25649 * localedata/locales/tk_TM: Likewise.
25650 * localedata/locales/tl_PH: Likewise.
25651 * localedata/locales/tn_ZA: Likewise.
25652 * localedata/locales/to_TO: Likewise.
25653 * localedata/locales/tpi_PG: Likewise.
25654 * localedata/locales/tr_CY: Likewise.
25655 * localedata/locales/tr_TR: Likewise.
25656 * localedata/locales/ts_ZA: Likewise.
25657 * localedata/locales/tt_RU: Likewise.
25658 * localedata/locales/tt_RU@iqtelif: Likewise.
25659 * localedata/locales/ug_CN: Likewise.
25660 * localedata/locales/uk_UA: Likewise.
25661 * localedata/locales/unm_US: Likewise.
25662 * localedata/locales/ur_IN: Likewise.
25663 * localedata/locales/ur_PK: Likewise.
25664 * localedata/locales/uz_UZ: Likewise.
25665 * localedata/locales/uz_UZ@cyrillic: Likewise.
25666 * localedata/locales/ve_ZA: Likewise.
25667 * localedata/locales/vi_VN: Likewise.
25668 * localedata/locales/wa_BE: Likewise.
25669 * localedata/locales/wae_CH: Likewise.
25670 * localedata/locales/wal_ET: Likewise.
25671 * localedata/locales/wo_SN: Likewise.
25672 * localedata/locales/xh_ZA: Likewise.
25673 * localedata/locales/yi_US: Likewise.
25674 * localedata/locales/yo_NG: Likewise.
25675 * localedata/locales/yue_HK: Likewise.
25676 * localedata/locales/yuw_PG: Likewise.
25677 * localedata/locales/zh_CN: Likewise.
25678 * localedata/locales/zh_HK: Likewise.
25679 * localedata/locales/zh_SG: Likewise.
25680 * localedata/locales/zh_TW: Likewise.
25681 * localedata/locales/zu_ZA: Likewise.
25683 2017-11-13 Florian Weimer <fweimer@redhat.com>
25685 * support/next_to_fault.h, support/next_to_fault.c: New files.
25686 * support/Makefile (libsupport-routines): Add next_to_fault.
25687 * resolv/tst-inet_pton.c (struct next_to_fault)
25688 (next_to_fault_allocate, next_to_fault_free): Remove.
25689 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25691 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25693 * elf/dl-support.c: Include <dl-procruntime.c>.
25694 * include/link.h: Include <link_map.h>.
25695 * sysdeps/generic/dl-procruntime.c: New file.
25696 * sysdeps/generic/link_map.h: Likewise.
25697 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25698 the writable ld.so namespace.
25700 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25702 timezone: pacify GCC -Wstringop-truncation
25703 Problem reported by Martin Sebor in:
25704 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25705 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25707 2017-11-12 Florian Weimer <fweimer@redhat.com>
25709 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25711 (tests): Add tst-xreadlink.
25712 * support/support.h (xstrndup): Declare.
25713 * support/xunistd.h (xunlink, xreadlink): Declare.
25714 * support/temp_file.h (support_create_temp_directory): Declare.
25715 * support/temp_file.c (support_create_temp_directory): New function.
25716 * support/support_chroot.c (support_chroot_create): Use it.
25717 * support/xreadlink.c: New file.
25718 * support/xstrndup.c: Likewise.
25719 * support/xunlink.c: Likewise.
25720 * support/tst-xreadlink.c: Likewise.
25722 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
25724 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25726 2017-11-11 Florian Weimer <fweimer@redhat.com>
25730 * resolv/res_comp.c (printable_string, binary_hnok)
25731 (binary_leading_dash): New functions.
25732 (res_hnok): Reimplement using these functions and ns_name_pton.
25733 (res_ownok): Likewise.
25734 (res_mailok): Reimplement using printable_string, ns_name_pton and
25736 (res_dnok): Reimplement using printable_string and ns_name_pton.
25737 * resolv/tst-res_hnok.c (tests): Add additional tests.
25738 (LETTERDIGITS, PRINTABLE): Define.
25739 (do_test): Adjust one_char results.
25741 2017-11-11 Florian Weimer <fweimer@redhat.com>
25744 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25745 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25747 2017-11-11 Florian Weimer <fweimer@redhat.com>
25749 * resolv/tst-ns_name_pton.c: New file.
25750 * resolv/Makefile (tests): Add tst-ns_name_pton.
25751 (tst-ns_name_pton): Link against libresolv.
25753 2017-11-11 Florian Weimer <fweimer@redhat.com>
25755 * resolv/tst-res_hnok.c: New file.
25756 * resolv/Makefile (tests): Add tst-res_hnok.
25757 (tst-res_hnok): Link against libresolv.
25759 2017-11-11 Florian Weimer <fweimer@redhat.com>
25761 * resolv/tst-resolv-network.c: Use test framework instead explicit
25764 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25766 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25767 <jmp_buf-macros.h>.
25768 [!_ISOMAC] (STR_HELPER): New.
25769 [!_ISOMAC] (STR): Likewise.
25770 [!_ISOMAC] (TEST_SIZE): Likewise.
25771 [!_ISOMAC] (TEST_ALIGN): Likewise.
25772 [!_ISOMAC] (TEST_OFFSET): Likewise.
25773 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25774 field offsets of jmp_buf as well as sigjmp_buf.
25775 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25776 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25777 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25778 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25779 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25780 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25781 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25782 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25783 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25784 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25786 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25788 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25793 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25794 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25795 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25796 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25797 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25802 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25803 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25804 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25806 2017-11-07 Joseph Myers <joseph@codesourcery.com>
25809 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25810 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25811 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25812 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25813 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25814 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25815 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25816 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25817 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25818 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25819 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25820 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25821 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25822 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25823 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25824 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25825 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25826 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25827 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25828 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25829 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25830 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25831 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25832 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25833 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25834 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25835 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25836 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25837 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25838 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25839 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25840 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25841 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25842 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25843 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25844 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25845 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25846 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25847 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25848 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25849 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25850 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25851 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25852 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25853 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25854 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25855 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25856 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25857 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25858 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25859 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25860 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25861 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25862 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25863 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25864 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25865 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25866 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25867 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25868 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25869 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25870 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25871 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25872 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25873 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25874 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25875 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25876 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25877 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25878 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25879 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25880 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25881 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25882 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25883 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25884 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25885 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25886 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25887 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25888 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25889 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25890 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25891 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25892 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25893 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25894 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25895 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25896 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25898 * stdlib/tst-strtod.h (F16): New macro.
25904 (IF_FLOAT16): Likewise.
25905 (IF_FLOAT32): Likewise.
25906 (IF_FLOAT64): Likewise.
25907 (IF_FLOAT32X): Likewise.
25908 (IF_FLOAT64X): Likewise.
25909 (IF_FLOAT128X): Likewise.
25910 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25911 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25912 (STRTOD_TEST_FOREACH): Likewise.
25913 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25914 (CHOOSE_f64): Likewise.
25915 (CHOOSE_f32x): Likewise.
25916 (CHOOSE_f64x): Likewise.
25918 2017-11-07 Andreas Schwab <schwab@suse.de>
25920 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25922 2017-11-07 Mike FABIAN <mfabian@redhat.com>
25925 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25927 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25930 2017-11-07 Claude Paroz <claude@2xlibre.net>
25933 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25935 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25937 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25940 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25943 * nptl/allocatestack.c (allocate_stack): Check if
25944 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25945 __PTHREAD_MUTEX_HAVE_PREV is defined.
25946 * nptl/descr.h (pthread): Likewise.
25947 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25949 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25950 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25951 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25952 * sysdeps/nptl/bits/thread-shared-types.h
25953 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25955 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25956 of __WORDSIZE for internal layout.
25957 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25958 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25959 instead of __WORDSIZE whether to use an union for __spins and __list
25961 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25963 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25964 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25966 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25967 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25969 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25970 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25972 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25973 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25975 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25976 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25978 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25979 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25981 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25982 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25984 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25985 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25987 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25988 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25990 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25991 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25993 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25994 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25996 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25997 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25999 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
26000 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26002 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
26003 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26005 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
26006 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26009 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
26011 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
26012 checks for expected input type size.
26013 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26014 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26016 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26017 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
26018 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26019 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
26020 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26021 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
26022 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
26023 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
26024 superflous runtime assert check.
26025 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
26027 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
26029 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26031 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
26033 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
26035 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
26037 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
26038 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
26039 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26041 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26043 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26045 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
26047 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26049 * nptl/pthread_attr_setinheritsched.c
26050 (__pthread_attr_setinheritsched): Likewise.
26051 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
26053 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
26055 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
26056 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
26057 __old_pthread_attr_setstack): Likewise.
26058 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26060 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26062 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
26064 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26065 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26067 * nptl/tst-typesizes.c: Remove file.
26069 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
26070 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
26071 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
26072 checks for internal pthread_mutex_t offsets.
26073 * sysdeps/aarch64/nptl/pthread-offsets.h
26074 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
26075 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
26076 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
26077 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
26078 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
26079 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
26080 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
26081 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
26082 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
26083 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
26084 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
26085 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
26086 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
26087 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
26088 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
26089 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
26090 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
26091 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
26093 2017-11-07 Florian Weimer <fweimer@redhat.com>
26095 * bits/mman-linux.h: Move ...
26096 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
26098 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
26101 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26103 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
26104 Redefine STRNLEN as __strnlen_power8.
26106 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26108 * signal/sighold.c (sighold): Optimize implementation.
26110 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
26111 __NR_rt_sigqueueinfo.
26113 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26115 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
26116 assume __NR_rt_sigtimedwait.
26117 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
26118 and add LIBC_CANCEL_HANDLED for cancellation marking.
26119 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26121 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26122 (sysdeps_routines): Add memchr_noneon.
26123 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
26124 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
26125 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
26126 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
26127 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
26128 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
26129 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
26131 * sysdeps/arm/arm-ifunc.h: New file.
26132 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
26133 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
26134 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
26135 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
26136 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
26137 (__memcpy_neon): Avoid create hidden alias.
26138 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
26139 (__memcpy_vfp): Likewise.
26140 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26141 (sysdep_routines): Add memcpy_arm.
26142 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
26144 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
26147 * Makerules (make-link-multidir): New.
26148 * config.make.in (multidir): New.
26149 * configure.ac (libc_cv_multidir): New. AC_SUBST.
26150 * configure: Regenerated.
26151 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
26152 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
26153 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
26156 2017-11-06 Joseph Myers <joseph@codesourcery.com>
26159 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
26160 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
26162 2017-11-04 Mike FABIAN <mfabian@redhat.com>
26164 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
26167 2017-11-04 Florian Weimer <fweimer@redhat.com>
26169 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
26171 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26173 * math/math.h [__HAVE_DISTINCT_FLOAT16
26174 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26175 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26176 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26177 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
26178 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
26179 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
26180 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26181 (__MATH_TG_F32): New macro.
26182 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26183 (__MATH_TG_F64X): Likewise.
26184 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26185 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
26187 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
26189 * po/de.po: Update translations.
26190 * po/ru.po: Likewise.
26192 2017-11-03 Florian Weimer <fweimer@redhat.com>
26194 * manual/filesys.texi (Hard Links): Document linkat.
26196 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26198 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
26199 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26200 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26201 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26202 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26203 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26204 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
26205 the same as _Float128.
26206 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26207 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26208 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
26211 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
26213 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
26215 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
26217 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26218 (strtof32x): Likewise.
26219 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26220 (strtof64x): Likewise.
26221 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26222 (strtof128x): Likewise.
26223 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26224 (strfromf16): Likewise.
26225 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26226 (strfromf32): Likewise.
26227 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26228 (strfromf64): Likewise.
26229 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26230 (strfromf32x): Likewise.
26231 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26232 (strfromf64x): Likewise.
26233 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26234 (strfromf128x): Likewise.
26235 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
26236 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
26237 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
26238 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
26239 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
26240 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
26242 2017-11-03 Richard Henderson <rth@twiddle.net>
26244 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
26246 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26248 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
26250 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26252 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
26253 DT_TLSDESC_GOT initialization.
26254 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
26255 (_dl_tlsdesc_resolve_hold): Likewise.
26256 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
26257 (_dl_tlsdesc_resolve_hold): Likewise.
26258 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
26259 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26261 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26263 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
26265 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26268 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
26269 non-lazily for R_ARM_TLS_DESC.
26271 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26274 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
26275 R_ARM_TLS_DESC case.
26276 (elf_machine_lazy_rel): Remove the prelink check.
26278 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26280 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
26281 DT_TLSDESC_GOT initialization.
26282 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
26283 (_dl_tlsdesc_resolve_rela): Likewise.
26284 (_dl_tlsdesc_resolve_hold): Likewise.
26285 (_dl_tlsdesc_undefweak): Remove ldar.
26286 (_dl_tlsdesc_dynamic): Likewise.
26287 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
26288 (_dl_tlsdesc_resolve_rela): Likewise.
26289 (_dl_tlsdesc_resolve_hold): Likewise.
26290 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
26291 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26292 (_dl_tlsdesc_resolve_rela): Likewise.
26293 (_dl_tlsdesc_resolve_hold): Likewise.
26295 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26297 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
26298 binding and initialization non-lazily for R_AARCH64_TLSDESC.
26300 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26302 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
26303 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26305 2017-11-02 Joseph Myers <joseph@codesourcery.com>
26307 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
26309 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
26310 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
26311 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
26312 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
26313 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
26314 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
26315 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
26316 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
26317 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
26318 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
26319 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
26321 2017-11-02 Mike FABIAN <mfabian@redhat.com>
26324 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
26325 * localedata/locales/tpi_PG: Add standard header.
26327 2017-11-02 Florian Weimer <fweimer@redhat.com>
26329 test-errno-linux: quotactl can fail with EPERM in containers.
26330 * sysdeps/unix/sysv/linux/test-errno-linux.c
26331 (LIST, LIST_FORWARD): New macros.
26332 (check_error_in_list): New function.
26333 (test_wrp_rv): Accept list of permitted error codes.
26334 (test_wrp_rv2): Remove.
26335 (test_wrp): Call test_wrp_rv with list of error codes.
26336 (test_wrp2): Accept list of error codes.
26337 (do_test): Adjust. Allow EPERM for quotactl.
26339 2017-11-02 Florian Weimer <fweimer@redhat.com>
26341 * stdio-common/bug16.c (do_test): Use array_length.
26342 * stdio-common/errlist.c (_sys_nerr): Likewise.
26343 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
26344 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
26345 * stdio-common/psiginfo.c (psiginfo): Use array_length.
26346 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
26347 (do_test): Use array_length.
26348 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
26349 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
26350 * stdio-common/tst-printf-round.c (do_test): Likewise.
26351 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
26352 (CHECK): Use array_length.
26353 * stdio-common/tstdiomisc.c (t3, F): Likewise.
26354 * stdio-common/tstscanf.c (main): Likewise.
26355 * stdio-common/vfprintf.c (process_string_arg): Likewise.
26357 2017-11-02 Florian Weimer <fweimer@redhat.com>
26359 Add array_length and array_end macros.
26360 * include/array_length.h: New file.
26362 2017-11-02 Florian Weimer <fweimer@redhat.com>
26365 * posix/tst-glob-tilde.c (do_noescape): New variable.
26366 (one_test): Process it.
26367 (do_test): Set do_noescape. Add unescaping test case.
26369 2017-11-01 Joseph Myers <joseph@codesourcery.com>
26372 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
26373 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
26374 with appropriate macros defined and undefined.
26375 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
26376 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26377 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
26378 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26379 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
26380 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26381 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
26382 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26383 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
26384 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26387 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
26388 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
26389 that for long double. Do not condition define and undefine of
26390 _Mdouble_complex_ on [__CFLOAT128].
26392 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
26394 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26395 of <sysdeps/generic/sysdep.h>.
26396 (ALIGNARG): Removed.
26397 (ASM_SIZE_DIRECTIVE): Likewise.
26400 (ENTRY_CHK): Likewise.
26401 (END_CHK): Likewise.
26402 (syscall_error): Likewise.
26403 (mcount): Likewise.
26404 (PSEUDO_END): Likewise.
26406 (atom_text_section): Likewise.
26407 * sysdeps/x86/sysdep.h: New file.
26408 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26409 of <sysdeps/generic/sysdep.h>.
26410 (ALIGNARG): Removed.
26411 (ASM_SIZE_DIRECTIVE): Likewise.
26414 (ENTRY_CHK): Likewise.
26415 (END_CHK): Likewise.
26416 (syscall_error): Likewise.
26417 (mcount): Likewise.
26418 (PSEUDO_END): Likewise.
26420 (atom_text_section): Likewise.
26422 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
26424 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
26425 category of LC_CTYPE set to "i18n:2012".
26426 * localedata/locales/i18n_ctype: Regenerate.
26428 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
26430 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
26431 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
26432 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26433 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26435 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
26436 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
26437 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
26438 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
26440 2017-10-31 Joseph Myers <joseph@codesourcery.com>
26443 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
26445 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
26447 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
26449 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26450 (CMPLXF32X): Likewise.
26451 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26452 (CMPLXF64X): Likewise.
26453 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26454 (CMPLXF128X): Likewise.
26457 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
26458 (__MATH_EVAL_FMT2): Define to add 0.0f.
26460 2017-10-31 Alan Modra <amodra@gmail.com>
26462 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
26464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
26465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
26466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
26467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
26468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
26469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
26470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
26471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
26472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
26473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
26474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
26475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
26476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
26477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
26478 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
26479 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
26480 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
26481 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
26482 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
26483 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
26484 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
26485 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
26486 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
26487 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
26488 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26489 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
26490 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
26491 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
26492 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
26493 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
26494 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26495 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26496 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
26497 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
26498 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
26499 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
26500 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
26501 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
26502 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
26503 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26504 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
26505 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
26506 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
26507 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
26508 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
26509 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
26510 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
26511 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
26512 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26513 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26514 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
26515 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
26516 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
26517 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
26518 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26519 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
26520 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
26521 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
26522 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26523 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26524 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26525 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
26526 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
26527 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26528 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
26529 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
26530 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
26531 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
26532 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
26534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
26535 include sysdep.h and math_ldbl_opt.h.
26537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
26538 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
26539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
26540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
26541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
26542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
26543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
26544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
26545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
26546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
26547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
26548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
26549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
26550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
26551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
26552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
26553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
26554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
26555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
26556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
26557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
26558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
26559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
26560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
26561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
26562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
26564 2017-10-31 Alan Modra <amodra@gmail.com>
26566 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
26567 string/strncase_l.c, not string/strncase.c.
26568 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
26569 (libc_hidden_def): Redefine.
26571 2017-10-31 Alan Modra <amodra@gmail.com>
26573 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
26574 (__STRCMP, STRCMP, __strcasecmp_l): Define.
26575 (__strcasecmp): Don't define.
26577 2017-10-31 Alan Modra <amodra@gmail.com>
26579 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
26581 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26582 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26583 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26585 2017-10-31 Alan Modra <amodra@gmail.com>
26587 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
26590 2017-10-31 Alan Modra <amodra@gmail.com>
26592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
26593 Redefine only when SHARED.
26595 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26597 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26598 Include <bits/math-finite.h> with appropriate macros defined and
26600 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26601 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26602 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26603 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26604 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26606 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26607 [!_Mlong_double_] (_Mlong_double_): Likewise.
26608 [!_Mfloat16_] (_Mfloat16_): Likewise.
26609 [!_Mfloat32_] (_Mfloat32_): Likewise.
26610 [!_Mfloat64_] (_Mfloat64_): Likewise.
26611 [!_Mfloat128_] (_Mfloat128_): Likewise.
26612 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26613 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26614 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26615 (_Mdouble_): Define without indirection through those macros.
26616 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26617 [!_Mfloat128_] (_Mfloat128_): Likewise.
26618 [_Mlong_double_] (_Mlong_double_): Likewise.
26619 (_Mdouble_): Define without indirection through those macros.
26620 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26621 not add -D_Mlong_double_=double.
26622 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26623 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26625 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26627 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26629 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26631 * sysdeps/x86/libc-start.c: Reformat.
26633 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26636 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26637 (1): Renamed to ...
26640 (L(Src2)): Likewise.
26641 (L(1)): Renamed to ...
26644 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26646 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26647 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26648 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26649 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26650 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26651 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26652 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26653 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26654 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26655 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26656 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26657 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26658 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26659 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26660 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26661 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26662 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26663 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26664 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26665 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26666 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26667 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26668 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26669 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26670 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26671 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26672 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26673 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26674 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26675 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26676 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26677 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26678 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26679 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26680 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26681 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26682 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26683 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26684 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26685 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26686 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26687 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26688 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26689 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26690 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26691 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26692 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26693 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26694 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26695 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26696 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26697 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26698 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26699 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26700 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26701 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26702 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26703 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26704 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26705 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26706 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26707 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26708 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26709 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26710 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26711 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26713 2017-10-30 Florian Weimer <fweimer@redhat.com>
26715 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26717 * io/tst-mkdirat.c (do_test): Likewise.
26718 * io/tst-mkfifoat.c (do_test): Likewise.
26719 * io/tst-mknodat.c (do_test): Likewise.
26720 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26721 * locale/programs/locale.c (select_dirs): Likewise.
26722 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26723 * posix/bug-glob2.c (my_readdir): Likewise.
26724 * posix/tst-dir.c (main): Likewise.
26725 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26726 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26728 2017-10-30 Florian Weimer <fweimer@redhat.com>
26730 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26733 2017-10-30 Florian Weimer <fweimer@redhat.com>
26735 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26736 Convert to support/test-driver.c.
26737 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26738 New macro parameters.
26739 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26740 * posix/tst-gnuglob.c: New file.
26741 * posix/tst-gnuglob64.c: Likewise.
26742 * posix/Makefile (tests): Add tst-gnuglob64.
26744 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
26747 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26748 and use a better translation for March in “mon”.
26749 * localedata/locales/csb_PL: Use more ASCII to improve the
26750 readability of the source.
26752 2017-10-30 Mike FABIAN <mfabian@redhat.com>
26755 * localedata/locales/km_KH: Use ASCII as much
26756 as possible for better readability of the source and
26757 remove useless comments.
26758 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26759 was commented out and apparently wrong anyway because it was
26760 using Lao characters. If Buddhist era should be used
26761 for km_KH, a native speaker should write the correct formaat
26763 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26764 (According to CLDR, the first weekday for Cambodia is Sunday).
26765 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26766 (These were using Lao characters which must be wrong. If we get
26767 the correct data from a native speaker, we could add it back, until
26768 then it is better not to have name_mr and name_mrs at all than
26771 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26773 * locale/loadlocale.c: Correct size of
26774 _nl_value_type_LC_<category> arrays.
26776 2017-10-27 Joseph Myers <joseph@codesourcery.com>
26778 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26779 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26780 with appropriate macros defined and undefined.
26781 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26782 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26783 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26784 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26785 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26787 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26789 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26792 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26794 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26795 with lowercase letters to make it agree with CLDR.
26797 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26800 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26801 first letters of yesstr and nostr in yesexpr and noexpr,
26802 not for the full words.
26803 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26804 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26805 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26806 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26807 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26808 first letters of yesstr and nostr in yesexpr and noexpr,
26809 until now only English was matched in yesexpr and noexpr.
26810 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26811 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26812 fil but not for tl. As tl and fil are very similar, using fil
26813 is probably better than using English.
26815 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
26818 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26819 in yesstr and nostr.
26821 2017-10-26 Joseph Myers <joseph@codesourcery.com>
26823 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26824 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26825 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26827 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26829 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26831 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26833 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26834 (SNANF128X): Likewise.
26836 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26837 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26838 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26839 (HUGE_VAL_F32): Likewise.
26840 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26841 (HUGE_VAL_F64): Likewise.
26842 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26843 (HUGE_VAL_F32X): Likewise.
26844 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26845 (HUGE_VAL_F64X): Likewise.
26846 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26847 (HUGE_VAL_F128X): Likewise.
26849 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26851 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26852 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26853 for the br_FR locale.
26855 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26858 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26860 2017-10-25 Carlos O'Donell <carlos@redhat.com>
26862 * locale/programs/record-status.h: Define globals, and function
26863 prototypes. Move function bodies...
26864 * locale/programs/record-status.c: ... to here. New file.
26865 * iconv/Makefile (iconv_prog-modules): Add record-status.
26866 * locale/Makefile (lib-modules): Likewise.
26867 * iconv/iconv_prog.c: Remove verbose.
26868 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26869 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26870 record a warning about ASCII compatibility.
26871 * locale/programs/ld-monetary.c (monetary_finish): If
26872 warn_int_curr_symbol is true then record a warning about the symbol
26873 not being in our ISO 4217 list.
26874 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26875 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26876 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26877 (OPT_NO_WARN): Define.
26878 (OPT_WARN): Define.
26879 (options): Add entry for --no-warnings, and --warnings.
26880 (set_warnings): New function to enable/disable warnings.
26881 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26882 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26883 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26884 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26885 Pass flags to generate_locale.
26886 (generate_locale): Accept new flag argument and pass it to localedef
26888 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26889 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26891 * localedata/Makefile (test-input-data): Use full file name.
26892 * localedata/da_DK.in: Rename to...
26893 * localedata/da_DK.ISO-8859-1.in: ...this.
26894 * localedata/de_DE.in: Rename to...
26895 * localedata/de_DE.ISO-8859-1.in: ...this.
26896 * localedata/en_US.in: Rename to...
26897 * localedata/en_US.ISO-8859-1.in: ...this.
26898 * localedata/fr_FR.in: Rename to...
26899 * localedata/fr_FR.UTF-8.in: ... this.
26900 * localedata/hr_HR.in: Rename to...
26901 * localedata/hr_HR.ISO-8859-2.in: ...this.
26902 * localedata/hu_HU.in: Rename to...
26903 * localedata/hu_HU.UTF-8.in: ...this.
26904 * localedata/si_LK.in: Rename to...
26905 * localedata/si_LK.UTF-8.in: ...this.
26906 * localedata/sv_SE.in: Rename to...
26907 * localedata/sv_SE.ISO-8859-1.in: ...this.
26908 * localedata/tr_TR.in: Rename to...
26909 * localedata/tr_TR.UTF-8.in: ...this.
26910 * localedata/uk_UA.in: Rename to...
26911 * localedata/uk_UA.UTF-8.in: ...this.
26912 * localedata/sort-test.sh: Test file is locale name with the
26915 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26916 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26918 * localedata/locales/i18n_ctype: Regenerate.
26919 * localedata/locales/tr_TR: Likewise.
26920 * localedata/locales/translit_circle: Likewise.
26921 * localedata/locales/translit_cjk_compat: Likewise.
26922 * localedata/locales/translit_combining: Likewise.
26923 * localedata/locales/translit_compat: Likewise.
26924 * localedata/locales/translit_font: Likewise.
26925 * localedata/locales/translit_fraction: Likewise.
26927 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26929 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26930 lxvd2x/stxvd2x with lvx/stvx.
26931 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26933 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26935 * include/alloc_buffer.h: Replace "if if " with "if " in
26937 * sysdeps/mips/memcpy.S: Likkewise.
26938 * sysdeps/mips/memset.S: Likewise.
26939 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26941 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26943 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26946 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26949 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26950 yesexpr and noexpr.
26951 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26952 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26953 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26954 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26955 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26956 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26957 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26959 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26961 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26962 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26963 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26964 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26965 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26966 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26967 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26968 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26969 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26970 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26971 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26972 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26974 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26976 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26977 as possible for better readability of the source.
26978 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26979 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26980 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26981 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26982 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26983 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26984 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26985 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26986 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26987 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26988 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26989 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26990 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26991 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26992 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26993 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26994 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26995 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26996 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26997 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26998 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26999 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
27000 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
27001 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
27002 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
27003 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
27004 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
27005 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
27006 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
27007 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
27008 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
27009 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27010 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
27011 * localedata/locales/en_US (LC_MESSAGES): Likewise.
27012 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
27013 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
27014 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
27015 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
27016 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
27017 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
27018 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
27019 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
27020 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
27021 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
27022 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
27023 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
27024 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
27025 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
27026 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
27027 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
27028 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
27029 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
27030 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
27031 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27032 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27033 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
27034 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
27035 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27036 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
27037 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
27038 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
27039 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
27040 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
27041 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
27042 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
27043 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
27044 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
27045 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
27046 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
27047 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
27048 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
27049 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
27050 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
27051 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
27052 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27053 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
27054 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
27055 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
27056 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
27057 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
27058 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
27059 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
27060 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
27061 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27062 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
27063 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
27064 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
27065 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27066 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
27067 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
27068 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
27069 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
27070 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27071 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
27072 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
27073 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27074 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
27075 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27076 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
27077 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
27078 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
27079 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
27080 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
27081 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
27082 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
27083 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
27084 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
27085 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
27086 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
27087 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
27088 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
27089 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
27090 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27091 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
27092 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
27093 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
27094 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
27095 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
27096 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
27097 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
27098 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
27099 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
27100 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
27101 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
27102 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
27103 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
27104 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
27105 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
27106 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
27107 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
27108 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
27109 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
27110 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
27111 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
27112 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
27113 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
27114 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
27115 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
27116 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
27117 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
27118 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
27119 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
27120 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
27121 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
27122 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
27123 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27124 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
27125 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
27126 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
27127 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
27128 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
27129 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
27130 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
27131 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
27132 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27133 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
27134 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
27135 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
27136 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
27137 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
27138 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
27139 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
27140 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
27141 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
27142 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
27143 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27144 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
27145 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
27146 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
27147 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
27148 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27149 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27150 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27151 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
27153 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27155 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
27156 (Use first letters of yesstr and nostr correctly instead of using
27159 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27161 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
27162 (Use first letters of yesstr and nostr correctly).
27164 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27166 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
27167 also check for the first characters of yesstr and nostr.
27168 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
27169 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
27171 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27173 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
27174 also check for Chinese characters.
27176 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27178 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
27179 match also for the contents of yesstr and nostr. As the first letter
27180 of yesstr and nostr is equal, checking only for the first letter
27183 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27185 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
27186 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
27188 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27190 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
27191 of main contributor.
27193 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27195 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
27196 instead of using English.
27198 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27200 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
27201 by including the first letters of nostr and yesexpr in the regexp.
27202 Also make it more readable by using ASCII where possible.
27204 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27206 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
27207 the first letter of nostr in the regexp. It agrees with CLDR now.
27208 Also make it more readable by using ASCII where possible.
27210 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27212 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
27213 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
27214 these strings contain a U+17D6 (which somewhat looks like a colon)
27215 instead of a real colon to separate the full words for “yes”
27216 and “no” from the single letter responses.
27218 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27220 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
27221 it agree with CLDR (include the first letter of yesstr).
27222 Also make it more readable by using ASCII where possible.
27224 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27226 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
27227 and improve yesexpr and noexpr. The yesstr and nostr apparently
27228 came from CLDR. And CLDR has a bug there: these strings contain
27229 a U+0903 (which looks like a colon) instead of a real colon
27230 to separate the full words for “yes” and “no” from the single
27233 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27235 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
27236 letters of the full yesstr and nostr in yesexpr and noexpr.
27238 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27240 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
27241 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
27242 * localedata/locales/an_ES: Make source more readable by using ASCII
27245 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27248 * localedata/locales/yuw_PG: New file.
27249 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
27250 * locale/iso-639.def: Add Yau (Uruwa).
27252 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27254 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
27256 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27258 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
27259 (__libc_realloc): Likewise.
27260 (_mid_memalign): Likewise.
27261 (__libc_calloc): Likewise.
27263 2017-10-23 Mike FABIAN <mfabian@redhat.com>
27265 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
27266 by adding the generic +1 and -0 as in all other locales.
27267 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
27268 day names and make it more readable by using ASCII where possible.
27270 2017-10-24 Joseph Myers <joseph@codesourcery.com>
27272 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
27273 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
27275 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27277 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
27278 WNOHANG in waitpid call.
27280 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
27282 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
27283 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
27285 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
27286 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
27287 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
27288 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
27289 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
27290 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
27291 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
27292 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
27295 2017-10-23 Michael Collison <michael.collison@arm.com>
27297 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
27298 with __builtin_sqrt.
27299 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
27300 with __builtin_sqrtf.
27301 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
27302 with __builtin_ceil.
27303 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
27304 with __builtin_ceilf.
27305 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
27306 with __builtin_floor.
27307 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
27308 with __builtin_floorf.
27309 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
27310 with __builtin_fma.
27311 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
27312 with __builtin_fmaf.
27313 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
27314 with __builtin_fmax.
27315 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
27316 with __builtin_fmaxf.
27317 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
27318 with __builtin_fmin.
27319 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
27320 with __builtin_fminf.
27321 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
27322 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
27323 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
27324 with builtin_rint and conversion to int.
27325 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
27326 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
27327 with builtin_llround.
27328 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
27329 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
27330 with builtin_rint and conversion to long int.
27331 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
27332 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
27333 with builtin_lround.
27334 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
27335 with builtin_lroundf.
27336 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
27337 statements with __builtin_nearbyint.
27338 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
27339 statements with __builtin_nearbyintf.
27340 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
27341 with __builtin_rint.
27342 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
27343 with __builtin_rintf.
27344 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
27345 with __builtin_round.
27346 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
27347 with __builtin_roundf.
27348 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
27349 with __builtin_trunc.
27350 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
27351 with __builtin_truncf.
27352 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
27353 and s_l[l]round[f].c too.
27355 2017-10-23 Alan Modra <amodra@gmail.com>
27357 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
27358 Adjust stack after restoring regs. Add missing LR cfi_restore.
27360 2017-10-23 Alan Modra <amodra@gmail.com>
27362 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
27363 Move LR save and frame setup/teardown and LR restore to
27364 immediately around memset call. Provide cfi.
27366 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27368 * sysdeps/i386/fpu/e_powf.S: Removed.
27369 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
27370 * sysdeps/i386/fpu/w_powf.c: Likewise.
27371 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
27372 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27373 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27375 (CFLAGS-e_powf-sse2.c): New.
27376 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
27377 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
27379 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27381 * sysdeps/i386/fpu/e_log2f.S: Removed.
27382 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
27383 * sysdeps/i386/fpu/w_log2f.c: Likewise.
27384 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
27385 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27386 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27388 (CFLAGS-e_log2f-sse2.c): New.
27389 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
27390 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
27392 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27394 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27396 (CFLAGS-e_powf-fma.c): New.
27397 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
27398 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
27400 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27402 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27404 (CFLAGS-e_log2f-fma.c): New.
27405 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
27406 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
27408 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27410 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27412 (CFLAGS-e_logf-fma.c): New.
27413 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
27414 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
27416 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27418 * sysdeps/i386/fpu/e_logf.S: Removed.
27419 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
27420 * sysdeps/i386/fpu/w_logf.c: Likewise.
27421 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
27422 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
27423 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27424 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27426 (CFLAGS-e_logf-sse2.c): New.
27427 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
27428 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
27430 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27432 * sysdeps/i386/fpu/e_exp2f.S: Removed.
27433 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
27434 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
27435 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27436 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27438 (CFLAGS-e_exp2f-sse2.c): New.
27439 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
27440 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
27442 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27444 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27446 (CFLAGS-e_exp2f-fma.c): New.
27447 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
27448 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
27450 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27452 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
27453 * sysdeps/i386/fpu/e_expf.S: Likewise.
27454 * sysdeps/i386/fpu/math_errf.c: Likewise.
27455 * sysdeps/i386/fpu/w_expf.c: Likewise.
27456 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
27457 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27458 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
27459 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
27460 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27461 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27462 Remove e_expf-ia32.
27463 (CFLAGS-e_expf-sse2.c): New.
27464 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
27465 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
27467 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27469 * sysdeps/x86_64/fpu/e_expf.S: Removed.
27470 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
27471 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
27472 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
27474 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
27476 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
27477 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27479 (__redirect_expf): This.
27480 (SYMBOL_NAME): Changed to expf.
27481 (__ieee754_expf): Renamed to ...
27483 (__GI___expf): This.
27484 (__ieee754_expf): Add strong_alias.
27485 (__expf_finite): Likewise.
27487 Include <sysdeps/ieee754/flt-32/e_expf.c>.
27489 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
27492 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
27495 2017-10-21 Florian Weimer <fweimer@redhat.com>
27497 * posix/Makefile (tests): Add tst-glob-tilde.
27498 (tests-special): Add tst-glob-tilde-mem.out
27499 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
27500 (tst-glob-tilde-mem.out): Add mtrace check.
27501 * posix/tst-glob-tilde.c: New file.
27503 2017-10-20 Joseph Myers <joseph@codesourcery.com>
27505 * bits/floatn-common.h: New file.
27506 * math/Makefile (headers): Add bits/floatn-common.h.
27507 * bits/floatn.h: Include <bits/floatn-common.h>.
27508 * sysdeps/ia64/bits/floatn.h: Likewise.
27509 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27510 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
27511 * sysdeps/powerpc/bits/floatn.h: Likewise.
27512 * sysdeps/x86/bits/floatn.h: Likewise.
27514 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27516 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
27517 indicates whether compiler emits an warning for alias for
27518 functions with incompatible types.
27521 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
27522 the auxiliary process is terminated by a signal before calling _exit
27525 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27528 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
27530 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
27531 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
27532 and bit_arch_XSAVEC_Usable if needed.
27533 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
27534 and bit_arch_Use_dl_runtime_resolve_opt.
27535 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
27537 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
27538 (bit_arch_Prefer_No_AVX512): Updated.
27539 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
27540 (bit_arch_XSAVEC_Usable): New.
27541 (STATE_SAVE_OFFSET): Likewise.
27542 (STATE_SAVE_MASK): Likewise.
27543 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
27544 (cpu_features): Add xsave_state_size and xsave_state_full_size.
27545 (index_arch_Use_dl_runtime_resolve_opt): Removed.
27546 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
27547 (index_arch_XSAVEC_Usable): New.
27548 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27549 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
27550 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
27552 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
27553 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
27554 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
27555 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
27556 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
27557 _dl_runtime_resolve_xsavec.
27558 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
27560 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
27561 instead of VEC_SIZE.
27562 (REGISTER_SAVE_BND0): Removed.
27563 (REGISTER_SAVE_BND1): Likewise.
27564 (REGISTER_SAVE_BND3): Likewise.
27565 (REGISTER_SAVE_RAX): Always defined to 0.
27567 (_dl_runtime_resolve_avx): Likewise.
27568 (_dl_runtime_resolve_avx_slow): Likewise.
27569 (_dl_runtime_resolve_avx_opt): Likewise.
27570 (_dl_runtime_resolve_avx512): Likewise.
27571 (_dl_runtime_resolve_avx512_opt): Likewise.
27572 (_dl_runtime_resolve_sse): Likewise.
27573 (_dl_runtime_resolve_sse_vex): Likewise.
27575 (_dl_runtime_resolve_fxsave): Likewise.
27576 (USE_XSAVE): Likewise.
27577 (_dl_runtime_resolve_xsave): Likewise.
27578 (USE_XSAVEC): Likewise.
27579 (_dl_runtime_resolve_xsavec): Likewise.
27580 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
27582 (_dl_runtime_resolve_avx512_opt): Likewise.
27583 (_dl_runtime_resolve_avx): Likewise.
27584 (_dl_runtime_resolve_avx_opt): Likewise.
27585 (_dl_runtime_resolve_sse): Likewise.
27586 (_dl_runtime_resolve_sse_vex): Likewise.
27587 (_dl_runtime_resolve_fxsave): New.
27588 (_dl_runtime_resolve_xsave): Likewise.
27589 (_dl_runtime_resolve_xsavec): Likewise.
27591 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
27595 * posix/glob.c (__glob): Fix one-byte overflow.
27597 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27599 * malloc/malloc.c (sysdep-cancel.h): Add include.
27601 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27603 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27605 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27607 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27608 (tests): Remove $(objpfx)ga_test depdendency.
27609 * resolv/ga_test.c: Remove file.
27611 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27614 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27615 * localedata/locales/kab_DZ: New file.
27617 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27619 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27620 _dl_relocate_static_pie instead of _dl_start to compute load
27621 address in static PIE.
27623 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27625 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27627 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27630 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27631 * localedata/locales/shn_MM: New file.
27633 2017-10-20 Florian Weimer <fweimer@redhat.com>
27636 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27637 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27638 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27639 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27640 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27641 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27643 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27645 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27647 2017-10-19 Joseph Myers <joseph@codesourcery.com>
27649 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27652 * sysdeps/mips/bits/long-double.h: Move to ....
27653 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27655 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27657 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27659 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
27660 H.J. Lu <hongjiu.lu@intel.com>
27663 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27664 GLRO(dl_platform) to NULL.
27665 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27666 (modules-names): Add tst-platformmod-1 and
27667 x86_64/tst-platformmod-2.
27668 (CFLAGS-tst-platform-1.c): New.
27669 (CFLAGS-tst-platformmod-1.c): Likewise.
27670 (CFLAGS-tst-platformmod-2.c): Likewise.
27671 (LDFLAGS-tst-platformmod-2.so): Likewise.
27672 ($(objpfx)tst-platform-1): Likewise.
27673 ($(objpfx)tst-platform-1.out): Likewise.
27674 (tst-platform-1-ENV): Likewise.
27675 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27676 * sysdeps/x86_64/tst-platform-1.c: New file.
27677 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27678 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27680 2017-10-19 Mike FABIAN <mfabian@redhat.com>
27683 * locale/iso-639.def: Add Karbi.
27684 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27685 * localedata/locales/mjw_IN: New file.
27687 2017-10-18 Joseph Myers <joseph@codesourcery.com>
27689 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27690 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27691 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27692 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27693 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27694 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27695 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27697 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27698 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27699 * manual/math.texi (Mathematics): Document additional architecture
27700 support for _Float128.
27701 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27702 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27703 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27704 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27705 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27706 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27707 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27708 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27709 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27710 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27711 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27712 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27713 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27714 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27715 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27717 2017-10-18 Renlin Li <renlin.li@arm.com>
27719 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27720 _DYNAMIC symbol to calculate load address.
27722 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
27724 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27725 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27727 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27728 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27730 2017-10-18 Mike FABIAN <mfabian@redhat.com>
27733 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27734 and improve readability by using more ASCII.
27735 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27736 and improve readability by using more ASCII.
27738 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27740 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27741 not all targets support atomics on bool.
27743 2017-10-17 Joseph Myers <joseph@codesourcery.com>
27745 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27746 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27748 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27749 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27750 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27751 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27752 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27753 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27755 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27757 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27760 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27763 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27764 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27765 (do_check_remalloced_chunk): Fix build bug.
27766 (do_check_malloc_state): Add assert that checks arena->top.
27767 (malloc_consolidate): Remove initialization.
27768 (int_mallinfo): Remove call to malloc_consolidate.
27769 (__libc_mallopt): Clarify why malloc_consolidate is needed.
27771 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27773 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27774 (have_fastchunks): Remove.
27775 (clear_fastchunks): Remove.
27776 (set_fastchunks): Remove.
27777 (malloc_state): Add have_fastchunks.
27778 (malloc_init_state): Use have_fastchunks.
27779 (do_check_malloc_state): Remove incorrect invariant checks.
27780 (_int_malloc): Use have_fastchunks.
27781 (_int_free): Likewise.
27782 (malloc_consolidate): Likewise.
27784 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27786 * malloc/malloc.c (tcache_put): Inline.
27787 (tcache_get): Inline.
27789 2017-10-17 Jordi Mallach <jordi@gnu.org>
27791 Aurelien Jarno <aurelien@aurel32.net>
27793 * localedata/locales/ca_ES@valencia: New file.
27794 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27796 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27799 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27802 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27804 * scripts/build-many-glibcs.py (Context.add_all_configs):
27805 Add arm-linux-gnueabihf multiarch extra_glibcs.
27807 * sysdeps/generic/ifunc-init.h: New file.
27808 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27810 2017-10-17 Mike FABIAN <mfabian@redhat.com>
27813 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27814 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27815 * stdlib/tst-strfmon_l.c: adapt test case.
27817 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27819 * sysdeps/generic/float128-abi.h: New file.
27820 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27821 non-__prefixed symbols to ....
27822 * math/Versions: ... here. Include <float128-abi.h>.
27823 * stdlib/Versions ... and here. Include <float128-abi.h>
27825 2017-10-16 Florian Weimer <fweimer@redhat.com>
27827 * version.h (VERSION): Switch to ".9000" as the development
27830 2017-10-16 Florian Weimer <fweimer@redhat.com>
27833 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27834 compat_symbol_reference to access non-default version.
27836 2017-10-16 Florian Weimer <fweimer@redhat.com>
27838 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27840 2017-10-16 Carlos O'Donell <carlos@redhat.com>
27842 * include/shlib-compat.h (compat_symbol_reference): Update
27845 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27847 * math/Makefile (test-types): Add
27848 $(type-float128-$(float128-alias-fcts)).
27849 * math/test-float128.h (TYPE_STR): Define conditional on
27850 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27851 (ULP_IDX): Likewise.
27852 (ULP_I_IDX): Likewise.
27854 * stdlib/strtold.c: Include <bits/floatn.h>
27855 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27856 and later undefine as macro. Define as weak alias if
27858 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27859 and later undefine as macro. Define as weak alias if
27861 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27862 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27863 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27864 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27865 Define and later undefine as macro. Define as weak alias if
27867 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27869 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27870 Define and later undefine as macro. Define as weak alias if
27872 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27873 Define and later undefine as macro. Define as weak alias if
27876 2017-10-15 Carlos O'Donell <carlos@redhat.com>
27878 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27879 record_verbose messages.
27881 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27884 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27885 to silence -O3 -Wall warning with GCC 7.
27887 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27889 * Makeconfig (+link-static-before-libc): Use the first of
27890 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27891 * gmon/Makefile (tests): Add tst-gmon-static.
27892 (tests-static): Likewise.
27893 (CFLAGS-tst-gmon-static.c): New.
27894 (CRT-tst-gmon-static): Likewise.
27895 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27896 (tst-gmon-static-ENV): Likewise.
27897 (tests-special): Likewise.
27898 ($(objpfx)tst-gmon-static.out): Likewise.
27899 (clean-tst-gmon-static-data): Likewise.
27900 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27901 * gmon/tst-gmon-static-gprof.sh: New file.
27902 * gmon/tst-gmon-static.c: Likewise.
27904 2017-10-13 Carlos O'Donell <carlos@redhat.com>
27907 * locale/programs/linereader.c (get_string): Don't warn on
27908 non-symbolic character.
27911 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27915 * locale/programs/record-status.h: New file
27916 * locale/programs/locale.c: Add comment.
27917 * locale/programs/charmap-dir.c: Don't include error.h.
27918 (charmap_opendir): Use record_error.
27919 * locale/programs/charmap.c: Don't include error.h.
27920 (charmap_read): Use record_error, and record_warning.
27921 (parse_charmap): Likewise.
27922 * locale/programs/ld-address.c: Don't include error.h.
27923 (address_finish): Use record_error, and record_warning.
27924 * locale/programs/ld-collate.c: Don't include error.h.
27925 (collate_finish): Use record_error, and record_error_at_line.
27926 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27927 (ctype_class_new): Likewise.
27928 (ctype_map_new): Likewise.
27929 (set_one_default): Likewise.
27930 (set_class_defaults): Likewise.
27931 (translit_flatten): Likewise.
27932 (allocate_arrays): Use record_error, and record_verbose.
27933 * locale/programs/ld-identification.c: Don't include error.h.
27934 (indentation_finish): Use record_error and record_warning.
27935 * locale/programs/ld-measurement.c: Don't include error.h.
27936 (measurement_finish): Use record_error.
27937 * locale/programs/ld-messages.c
27938 (message_finish): Likewise.
27939 * locale/programs/ld-monetary.c
27940 (monetary_finish): Likewise.
27941 * locale/programs/ld-name.c (name_finish): Use record_error
27942 and record_warning.
27943 * locale/programs/ld-numeric.c
27944 (numeric_finish): Use record_error.
27945 * locale/programs/ld-paper.c: Don't include error.h.
27946 (paper_finish): Use record_error.
27947 * locale/programs/ld-telephone.c: Don't include error.h.
27948 (telephone_finish): Use record_error.
27949 * locale/programs/ld-time.c (time_finish): Likewise.
27950 * locale/programs/linereader.h (lr_error): Make inline func.
27951 * locale/programs/localedef.c: Define recorded_warning_count,
27952 and recorded_error_count.
27953 (main): Use record_error. Use recorded_error_count and
27954 recorded_warning_count to issue correct error returns.
27955 (add_to_readlist): Use record_error.
27956 (find_locale): Likewise.
27957 (load_locale): Likewise.
27958 * locale/programs/localedef.h: Remove be_quiet
27959 and WITH_CUR_LOCALE.
27960 * locale/programs/locarchive.c (compare_from_file): Use
27962 * locale/programs/locfile.c (write_locale_data): Use
27964 * locale/programs/repertoire.c: Dont include error.h.
27965 (repertoire_complain): Use record_error.
27966 * localedata/tst-fmon.sh: Expect failures from localedef.
27967 * localedata/tst-locale.sh: Likewise.
27968 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27970 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27971 (REPORTS): Likewise.
27973 (i18n): Rename to...
27974 (i18n_ctype): ...this.
27975 (i18n-report): Rename to...
27976 (i18n_ctype-report): ...this.
27977 * localedata/locales/i18n_ctype: Regenerate.
27978 * localedata/locales/i18n: copy i18n_ctype.
27980 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27982 * stdlib/strfroml.c: Include <bits/floatn.h>.
27983 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27984 Define before include of <stdlib.h> and undefine afterwards, then
27985 define as weak alias.
27987 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27988 Undefine and restore default definition. Use
27989 libm_alias_ldouble_other.
27991 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27994 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27997 2017-10-13 James Clarke <jrtc27@jrtc27.com>
27999 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28000 Assign sym_map to be map for local symbols, as TLS relocations
28001 use sym_map to determine whether the symbol is defined and to
28002 extract the TLS information.
28003 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28004 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28006 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28009 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
28010 (math_force_eval): Add powerpc version.
28013 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
28015 (do_test): Likewise.
28016 * stdio-common/tst-printf.sh: Likewise.
28017 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
28018 ifdef clause in order to set the carry bit right. Replace r0 by
28019 0 without changing the behavior.
28021 2017-10-13 Joseph Myers <joseph@codesourcery.com>
28023 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
28024 <libm-alias-ldouble.h>.
28025 (fabsl): Define using libm_alias_ldouble.
28026 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
28027 <libm-alias-ldouble.h>.
28028 (fabsl): Define using libm_alias_ldouble.
28030 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
28031 Remove conditional code.
28033 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
28034 Rename to __clog10_internal_l.
28035 (__clog10_internal_l): Define aliases using
28036 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
28039 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28041 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
28042 * benchtests/sincosf-inputs: New file.
28043 * benchtests/cosf-inputs: New file.
28044 * benchtests/sinf-inputs: New file.
28046 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
28048 * posix/tst-spawn.c (do_test): Wait for both children.
28050 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
28053 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
28054 tests-pie): Add tst-gmon-pie.
28055 (CFLAGS-tst-gmon-pie.c): New.
28056 (CRT-tst-gmon-pie): Likewise.
28057 (tst-gmon-pie-ENV): Likewise.
28058 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
28059 ($(objpfx)tst-gmon-pie.out): Likewise.
28060 (clean-tst-gmon-pie-data): Likewise.
28061 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
28062 * gmon/gmon.c [PIC]: Include <link.h>.
28063 [PIC] (callback): New function.
28064 (write_hist): Add an argument for load address. Subtract load
28066 (write_call_graph): Likewise.
28067 (write_gmon): Call __dl_iterate_phdr to get load address, pass
28068 it to write_hist and write_call_graph.
28069 * gmon/tst-gmon-pie.c: New file.
28071 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28073 * math/Makefile (test-types-basic): New variable.
28074 (test-types): Likewise.
28075 (libm-test-support): Use $(test-types) instead of $(types).
28076 (libm-tests-base-normal): Likewise.
28077 (libm-tests-base-finite): Likewise.
28078 (libm-tests-base-inline): Likewise.
28079 (generated): Likewise.
28080 ($(objpfx)libm-test-support-$(t).c): Likewise.
28081 (libm-tests-for-type iterator): Likewise.
28082 (libm-test-support iterator): Likewise.
28083 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
28084 (ulp_idx): Use ULP_IDX.
28085 * math/test-ldouble.h: Include <float.h>.
28086 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
28087 (ULP_IDX): New macro.
28088 (ULP_I_IDX): Likewise.
28089 * math/test-double.h (ULP_IDX): Likewise.
28090 (ULP_I_IDX): Likewise.
28091 * math/test-float.h (ULP_IDX): Likewise.
28092 (ULP_I_IDX): Likewise.
28093 * math/test-float128.h (ULP_IDX): Likewise.
28094 (ULP_I_IDX): Likewise.
28096 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28098 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
28099 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28100 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28101 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
28102 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28103 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
28104 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
28105 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28106 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28107 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28108 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
28109 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28110 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28111 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28112 (SINGLE_THREAD_BY_GLOBAL): Define.
28113 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28115 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28117 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28119 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28121 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
28122 (SINGLE_THREAD_BY_GLOBAL): Likewise.
28123 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28126 2017-10-11 Andreas Schwab <schwab@suse.de>
28128 * nis/Makefile (aux): Remove.
28129 * nscd/Makefile (aux): Add nscd_hash.
28130 (nscd-modules): Likewise.
28131 ($(objpfx)nscd): Don't depend on libnsl.
28132 * nscd/nscd_hash.c: New file.
28133 * nscd/nscd_hash.h: Likewise.
28134 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
28135 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
28136 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
28137 instead of <nis/rpcsvc/nis.h>.
28138 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
28140 2017-10-11 Florian Weimer <fweimer@redhat.com>
28143 Avoid large NSS buffers with many addresses, aliases.
28144 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
28145 using dynarrays and struct alloc_buffer.
28146 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
28147 (tst-nss-files-hosts-multi): Link with -ldl.
28148 * nss/tst-nss-files-hosts-multi.c: New file.
28150 2017-10-11 Florian Weimer <fweimer@redhat.com>
28153 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
28154 scratch_buffer. Eliminate gotos.
28156 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28158 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
28159 libm_alias_ldouble_other.
28160 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
28161 undefine and redefine.
28162 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28163 (exp10l): Do not define here.
28164 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
28165 (weak_alias): Undefine and redefine.
28166 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
28167 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28168 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
28169 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
28171 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
28172 [!__fma] (fma): Define using libm_alias_double.
28173 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
28174 [!__fmaf] (fmaf): Define using libm_alias_float.
28175 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
28176 (fmal): Define using libm_alias_ldouble.
28178 2017-10-10 Joseph Myers <joseph@codesourcery.com>
28180 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
28182 (libm_alias_double_other): Likewise.
28183 (libm_alias_double_r): Use libm_alias_double_other_r.
28184 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
28186 (libm_alias_float_other): Likewise.
28187 (libm_alias_float_r): Use libm_alias_float_other_r.
28188 * sysdeps/generic/libm-alias-float128.h
28189 (libm_alias_float128_other_r): New macro.
28190 (libm_alias_float128_other): Likewise.
28191 (libm_alias_float128_r): Use libm_alias_float128_other_r.
28192 * sysdeps/generic/libm-alias-ldouble.h
28193 (libm_alias_ldouble_other_r): New macro.
28194 (libm_alias_ldouble_other): Likewise.
28195 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28196 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
28197 (libm_alias_double_other_r): New macro.
28198 (libm_alias_double_other): Likewise.
28199 (libm_alias_double_r): Use libm_alias_double_other_r.
28200 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
28201 (libm_alias_ldouble_other_r): New macro.
28202 (libm_alias_ldouble_other): Likewise.
28203 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28204 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
28205 [!USE_AS_COMPAT]: Use libm_alias_double_other.
28206 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
28207 [!USE_AS_COMPAT]: Use libm_alias_float_other.
28208 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
28209 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
28210 * math/w_exp2f.c: Use libm_alias_float_other.
28211 * math/w_expf.c: Likewise.
28212 * math/w_log2f.c: Likewise.
28213 * math/w_logf.c: Likewise.
28214 * math/w_powf.c: Likewise.
28215 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
28216 [!__exp2f]: Use libm_alias_float_other.
28217 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
28218 [!__expf]: Use libm_alias_float_other.
28219 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
28220 [!__log2f]: Use libm_alias_float_other.
28221 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
28222 [!__logf]: Use libm_alias_float_other.
28223 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
28224 [!__powf]: Use libm_alias_float_other.
28226 2017-10-10 Florian Weimer <fweimer@redhat.com>
28228 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
28230 (_nss_files_gethostbyname3_r): Call it.
28232 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28234 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
28235 error. Remove default definition of declare_mgen_alias.
28236 [!declare_mgen_alias_r]: Likewise.
28237 * sysdeps/generic/math-type-macros-double.h
28238 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
28239 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
28240 (declare_mgen_alias_r): Likewise.
28241 * sysdeps/generic/math-type-macros-float128.h
28242 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28243 * sysdeps/generic/math-type-macros-ldouble.h
28244 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28245 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
28247 (declare_mgen_alias_r_s): Likewise.
28248 (declare_mgen_alias_r): Likewise.
28249 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
28250 (lgamma_r): Define using libm_alias_double_r.
28251 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
28252 (lgammaf_r): Define using libm_alias_float_r.
28253 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
28254 (lgammal_r): Define using libm_alias_ldouble_r.
28255 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
28256 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28258 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28260 * lib/glob.c (__glob_pattern_type): Remove now-spurious
28261 extern declaration.
28263 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28265 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
28267 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
28270 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
28271 [__cplusplus >= 201103] (__USE_ISOC99): Define.
28272 * math/Makefile (test-math-cxx11): New test.
28273 * math/test-math-cxx11.cc: New file.
28275 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
28277 * login/openpty.c (openpty): Close slave pty file descriptor on error.
28279 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
28280 call to allocate the slave pty file descriptor.
28282 2017-10-06 Joseph Myers <joseph@codesourcery.com>
28284 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
28285 [!__fma] (fma): Define using libm_alias_double.
28286 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
28287 [!__fma] (fma): Define using libm_alias_double.
28289 * sysdeps/ieee754/float128/float128_private.h: Include
28290 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
28291 (libm_alias_ldouble_r): Undefine and redefine.
28292 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
28293 <libm-alias-ldouble.h>.
28294 (asinhl): Define using libm_alias_ldouble.
28295 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
28296 <libm-alias-ldouble.h>.
28297 (atanl): Define using libm_alias_ldouble.
28298 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
28299 <libm-alias-ldouble.h>.
28300 (cbrtl): Define using libm_alias_ldouble.
28301 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
28302 <libm-alias-ldouble.h>.
28303 (ceill): Define using libm_alias_ldouble.
28304 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
28305 <libm-alias-ldouble.h>.
28306 (copysignl): Define using libm_alias_ldouble.
28307 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
28308 <libm-alias-ldouble.h>.
28309 (cosl): Define using libm_alias_ldouble.
28310 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
28311 <libm-alias-ldouble.h>.
28312 (erfl): Define using libm_alias_ldouble.
28314 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
28315 <libm-alias-ldouble.h>.
28316 (expm1l): Define using libm_alias_ldouble.
28317 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
28318 <libm-alias-ldouble.h>.
28319 (fabsl): Define using libm_alias_ldouble.
28320 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
28321 <libm-alias-ldouble.h>.
28322 (floorl): Define using libm_alias_ldouble.
28323 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
28324 <libm-alias-ldouble.h>.
28325 (fmal): Define using libm_alias_ldouble.
28326 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
28327 <libm-alias-ldouble.h>.
28328 (frexpl): Define using libm_alias_ldouble.
28329 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
28330 libm_alias_ldouble.
28331 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
28332 <libm-alias-ldouble.h>.
28333 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
28334 libm_alias_ldouble.
28335 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
28336 <libm-alias-ldouble.h>.
28337 (getpayloadl): Define using libm_alias_ldouble.
28338 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
28339 <libm-alias-ldouble.h>.
28340 (llrintl): Define using libm_alias_ldouble.
28341 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
28342 <libm-alias-ldouble.h>.
28343 (llroundl): Define using libm_alias_ldouble.
28344 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
28345 <libm-alias-ldouble.h>.
28346 (logbl): Define using libm_alias_ldouble.
28347 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
28348 <libm-alias-ldouble.h>.
28349 (lrintl): Define using libm_alias_ldouble.
28350 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
28351 <libm-alias-ldouble.h>.
28352 (lroundl): Define using libm_alias_ldouble.
28353 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
28354 <libm-alias-ldouble.h>.
28355 (modfl): Define using libm_alias_ldouble.
28356 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
28357 <libm-alias-ldouble.h>.
28358 (nearbyintl): Define using libm_alias_ldouble.
28359 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
28360 <libm-alias-ldouble.h>.
28361 (nextafterl): Define using libm_alias_ldouble.
28362 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
28363 <libm-alias-ldouble.h>.
28364 (nextupl): Define using libm_alias_ldouble.
28365 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
28366 <libm-alias-ldouble.h>.
28367 (remquol): Define using libm_alias_ldouble.
28368 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
28369 <libm-alias-ldouble.h>.
28370 (rintl): Define using libm_alias_ldouble.
28371 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
28372 <libm-alias-ldouble.h>.
28373 (roundevenl): Define using libm_alias_ldouble.
28374 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
28375 <libm-alias-ldouble.h>.
28376 (roundl): Define using libm_alias_ldouble.
28377 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
28378 using libm_alias_ldouble.
28379 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
28380 <libm-alias-ldouble.h>.
28381 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
28382 Define using libm_alias_ldouble.
28383 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
28384 <libm-alias-ldouble.h>.
28385 (sincosl): Define using libm_alias_ldouble.
28386 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
28387 <libm-alias-ldouble.h>.
28388 (sinl): Define using libm_alias_ldouble.
28389 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
28390 <libm-alias-ldouble.h>.
28391 (tanhl): Define using libm_alias_ldouble.
28392 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
28393 <libm-alias-ldouble.h>.
28394 (tanl): Define using libm_alias_ldouble.
28395 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
28396 <libm-alias-ldouble.h>.
28397 (totalorderl): Define using libm_alias_ldouble.
28398 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
28399 <libm-alias-ldouble.h>.
28400 (totalordermagl): Define using libm_alias_ldouble.
28401 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
28402 <libm-alias-ldouble.h>.
28403 (truncl): Define using libm_alias_ldouble.
28404 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
28405 libm_alias_ldouble.
28406 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
28407 libm_alias_ldouble.
28408 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
28409 <libm-alias-ldouble.h>.
28410 (weak_alias): Do not undefine and redefine.
28411 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28412 (copysignl): Define with long_double_symbol only if [IS_IN
28414 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
28415 <libm-alias-ldouble.h>.
28416 (weak_alias): Do not undefine and redefine.
28417 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28418 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
28419 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
28420 <libm-alias-ldouble.h>.
28421 (weak_alias): Do not undefine and redefine.
28422 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28423 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
28424 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
28425 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
28426 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
28427 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
28428 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
28429 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
28430 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
28431 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
28432 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
28433 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
28434 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
28435 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
28436 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
28437 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
28438 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
28439 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
28440 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
28441 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
28442 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
28443 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
28444 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
28445 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
28446 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
28447 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
28449 2017-10-06 Carlos O'Donell <carlos@redhat.com>
28452 * malloc/malloc.c (tcache_shutting_down): Use bool type.
28453 (tcache_thread_freeres): Set tcache_shutting_down before
28454 freeing the tcache.
28455 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
28456 * malloc/tst-malloc-tcache-leak.c: New file.
28458 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28460 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
28461 back to powerpc32 file.
28462 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28463 (memrchr): Add __memrchr_power8 to ifunc list.
28464 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
28465 extra bytes for unaligned inputs.
28467 2017-10-06 Joseph Myers <joseph@codesourcery.com>
28469 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
28470 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
28471 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
28472 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28473 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28475 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28477 * sysdeps/arm/libm-test-ulps: Update.
28479 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
28480 <libm-alias-ldouble.h>.
28481 (asinhl): Define using libm_alias_ldouble.
28482 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
28483 <libm-alias-ldouble.h>.
28484 (cbrtl): Define using libm_alias_ldouble.
28485 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
28486 <libm-alias-ldouble.h>.
28487 (copysignl): Define using libm_alias_ldouble.
28488 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
28489 <libm-alias-ldouble.h>.
28490 (cosl): Define using libm_alias_ldouble.
28491 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
28492 <libm-alias-ldouble.h>.
28493 (erfl): Define using libm_alias_ldouble.
28495 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
28496 <libm-alias-ldouble.h>.
28497 (fmal): Define using libm_alias_ldouble.
28498 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
28499 <libm-alias-ldouble.h>.
28500 (frexpl): Define using libm_alias_ldouble.
28501 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
28502 libm_alias_ldouble.
28503 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
28504 <libm-alias-ldouble.h>.
28505 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
28506 libm_alias_ldouble.
28507 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
28508 <libm-alias-ldouble.h>.
28509 (getpayloadl): Define using libm_alias_ldouble.
28510 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
28511 <libm-alias-ldouble.h>.
28512 (llrintl): Define using libm_alias_ldouble.
28513 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
28514 <libm-alias-ldouble.h>.
28515 (llroundl): Define using libm_alias_ldouble.
28516 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
28517 <libm-alias-ldouble.h>.
28518 (lrintl): Define using libm_alias_ldouble.
28519 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
28520 <libm-alias-ldouble.h>.
28521 (lroundl): Define using libm_alias_ldouble.
28522 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
28523 <libm-alias-ldouble.h>.
28524 (modfl): Define using libm_alias_ldouble.
28525 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
28526 <libm-alias-ldouble.h>.
28527 (nextupl): Define using libm_alias_ldouble.
28528 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
28529 <libm-alias-ldouble.h>.
28530 (remquol): Define using libm_alias_ldouble.
28531 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
28532 <libm-alias-ldouble.h>.
28533 (roundevenl): Define using libm_alias_ldouble.
28534 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
28535 <libm-alias-ldouble.h>.
28536 (roundl): Define using libm_alias_ldouble.
28537 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
28538 using libm_alias_ldouble.
28539 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
28540 <libm-alias-ldouble.h>.
28541 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
28542 <libm-alias-ldouble.h>.
28543 (setpayloadsigl): Define using libm_alias_ldouble.
28544 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
28545 <libm-alias-ldouble.h>.
28546 (sincosl): Define using libm_alias_ldouble.
28547 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
28548 <libm-alias-ldouble.h>.
28549 (sinl): Define using libm_alias_ldouble.
28550 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
28551 <libm-alias-ldouble.h>.
28552 (tanhl): Define using libm_alias_ldouble.
28553 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
28554 <libm-alias-ldouble.h>.
28555 (tanl): Define using libm_alias_ldouble.
28556 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
28557 <libm-alias-ldouble.h>.
28558 (totalorderl): Define using libm_alias_ldouble.
28559 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
28560 <libm-alias-ldouble.h>.
28561 (totalordermagl): Define using libm_alias_ldouble.
28562 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
28563 libm_alias_ldouble.
28564 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
28565 libm_alias_ldouble.
28567 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
28569 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28571 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28572 (__libc_ifunc_impl_list): Likewise.
28573 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
28574 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
28576 * benchtests/bench-memmove-walk.c: New file.
28577 * benchtests/Makefile (string-benchset): Add it.
28579 * benchtests/bench-memset-walk.c: New file.
28580 * benchtests/Makefile (string-benchset): Add it.
28582 * benchtests/bench-memcpy-walk.c: New file.
28583 * benchtests/Makefile (string-benchset): Add it.
28585 2017-10-05 Florian Weimer <fweimer@redhat.com>
28587 nscd: Eliminate compilation time dependency in the build output.
28588 * nscd/nscd_stat.c (STATDATA_VERSION)
28589 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
28590 (STATDATA_VERSION_FULL): New macro definitions.
28591 (compilation): Remove.
28592 (struct statdata): Adjust version member.
28593 (send_stats): Set version from STATDATA_VERSION_FULL.
28594 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
28596 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28598 * configure.ac (--enable-add-ons): Remove option.
28599 (machine): Do not mention add-ons in comment.
28600 (LIBC_PRECONFIGURE): Likewise.
28601 (add_ons): Remove variable and sanity checks and logic to locate
28603 (add_ons_automatic): Remove variable.
28604 (configured_add_ons): Likewise.
28605 (add_ons_sfx): Likewise.
28606 (add_ons_pfx): Likewise.
28607 (add_on_subdirs): Likewise.
28608 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28609 consideration of add-ons in Implies handling.
28610 (sysdeps_add_ons): Likewise.
28611 * configure: Regenerated.
28612 * libidn/configure.ac: Remove.
28613 * libidn/configure: Likewise.
28614 * sysdeps/unix/inet/configure.ac: New file.
28615 * sysdeps/unix/inet/configure: New generated file.
28616 * sysdeps/unix/inet/Subdirs: Add libidn.
28617 * Makeconfig (sysdeps-srcdirs): Remove variable.
28618 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28619 ($(common-objpfx)config.status): Do not depend on add-on files.
28620 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28622 (all-subdirs): Do not include $(add-on-subdirs).
28623 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28624 * config.make.in (add-ons): Remove variable.
28625 (add-on-subdirs): Likewise.
28626 (sysdeps-add-ons): Likewise.
28627 * manual/Makefile (add-chapters): Remove.
28628 ($(objpfx)texis): Do not depend on $(add-chapters).
28629 (nonexamples): Do not handle $(add-chapters).
28630 (examples): Do not handle $(add-ons).
28631 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28633 * manual/install.texi (Installation): Do not mention add-ons.
28634 (--enable-add-ons): Do not document configure option.
28635 * INSTALL: Regenerated.
28636 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28637 * manual/maint.texi (Hierarchy Conventions): Do not mention
28639 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28641 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28643 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28644 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28646 2017-10-05 Andreas Schwab <schwab@suse.de>
28649 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28650 (_IO_flush_all_lockp): Always lock list_all_lock.
28651 (_IO_flush_all_linebuffered): Likewise.
28652 (_IO_unbuffer_all): Likewise.
28654 2017-10-05 Florian Weimer <fweimer@redhat.com>
28657 Do not flush stdio streams on abort.
28658 * stdlib/abort.c (fflush): Remove macro definition.
28659 (abort): Remove stages related to stdio flushing.
28661 2017-10-05 Florian Weimer <fweimer@redhat.com>
28663 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28665 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28667 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28669 2017-10-05 Florian Weimer <fweimer@redhat.com>
28671 * support/support_format_hostent.c (support_format_hostent): Add
28672 more error information for NETDB_INTERNAL.
28674 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28676 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28677 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28678 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28679 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28680 AC_DEFINE if multi-arch is enabled.
28681 * sysdeps/i386/configure: Regenerated.
28683 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28685 * Makeconfig (+link-static-before-libc): Use
28686 $(DEFAULT-LDFLAGS-$(@F)).
28687 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28688 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28689 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28691 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28693 * elf/Makefile (tests): Add tst-main1.
28694 (modules-names): Add tst-main1mod.
28695 ($(objpfx)tst-main1): New.
28696 (CRT-tst-main1): Likewise.
28697 (LDFLAGS-tst-main1): Likewise.
28698 (LDLIBS-tst-main1): Likewise.
28699 (tst-main1mod.so-no-z-defs): Likewise.
28700 * elf/tst-main1.c: New file.
28701 * elf/tst-main1mod.c: Likewise.
28703 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28705 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28707 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28709 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28710 (fma): Define using libm_alias_double.
28711 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28712 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28714 (fmal): Do not define as compat symbol here.
28715 * sysdeps/alpha/fpu/s_fma.c: New file.
28717 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28719 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28721 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28724 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28726 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28728 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28729 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28730 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28731 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28733 Include <math_ldbl_opt.h>
28734 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28736 (compat_symbol): Undefine and redefine.
28737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28739 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28740 (compat_symbol): Undefine and redefine.
28741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28742 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28743 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28744 GLIBC_2_1 for libm.
28745 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28746 GLIBC_2.0 copysignl symbol.
28747 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28748 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28750 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28752 2017-10-04 Florian Weimer <fweimer@redhat.com>
28754 * scripts/check-local-headers.sh: Ignore nspr4 header file
28755 directory in addition to nspr.
28757 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
28760 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28761 * configure: Regenerate.
28762 * crypt/Makefile (nss-cpp-flags): New variable.
28763 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28764 (CPPFLAGS-md5-crypt.c): Use it.
28765 * scripts/check-local-headers.sh: Ignore nspr header file
28768 2017-10-04 Andreas Schwab <schwab@suse.de>
28770 * nis/Makefile (services): Remove compat.
28771 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28772 ($(objpfx)libnss_compat.so): Remove rule.
28773 * nis/Versions (libnss_compat): Remove.
28774 * nss/Makefile (services): Add compat.
28775 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28776 * nss/Versions (libnss_compat): Define.
28777 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28778 Don't include <rpc/types.h>. Replace bool_t by bool.
28779 * nss/nss_compat/compat-initgroups.c: Likewise.
28780 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28781 instead of <rpcsrv/ypclnt.h>.
28782 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28783 yp_get_default_domain.
28784 * nss/nss_compat/compat-pwd.c: Likewise.
28785 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28786 yp_get_default_domain.
28787 * nss/nss_compat/nisdomain.c: New file.
28788 * nss/nss_compat/nisdomain.h: Likewise.
28790 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28793 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28794 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28796 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28799 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28800 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28802 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28804 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28805 "movl main@GOTOFF(%ebx), %eax".
28807 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28809 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28810 allow undefined _DYNAMIC in PIE libc.a.
28811 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28814 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28816 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28819 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28821 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28824 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28826 * math/test-math-iscanonical.cc (error): Replace bool with int.
28828 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28830 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28831 (modf): Define using libm_alias_double, only if [!__modf].
28832 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28833 <libm-alias-double.h>.
28834 (modf): Define using libm_alias_double, only if [!__modf].
28835 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28836 compat symbol here.
28837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28838 (weak_alias): Do not undefine and redefine.
28839 (strong_alias): Likewise.
28840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28841 (weak_alias): Likewise.
28842 (strong_alias): Likewise.
28844 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28845 (logb): Define using libm_alias_double, only if [!__logb].
28846 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28847 <libm-alias-double.h>.
28848 (logb): Define using libm_alias_double, only if [!__logb].
28849 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28851 (weak_alias): Do not undefine and redefine.
28852 (strong_alias): Likewise.
28853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28854 (weak_alias): Likewise.
28855 (strong_alias): Likewise.
28857 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28859 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28860 Check SHARED instead PIC.
28862 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28864 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28865 [!__fmaf] (fmaf): Define using libm_alias_float.
28867 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28868 (frexp): Define using libm_alias_double.
28869 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28870 <libm-alias-double.h>.
28871 (frexp): Define using libm_alias_double.
28872 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28873 compat symbol here.
28875 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28878 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28879 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28880 (CFLAGS-test-math-iscanonical.cc): New variable.
28881 * math/test-math-iscanonical.cc: New file.
28882 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28883 Provide a C++ implementation based on function overloading,
28884 rather than using __MATH_TG, which uses C-only builtins.
28885 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28887 * sysdeps/powerpc/powerpc64le/Makefile
28888 (CFLAGS-test-math-iscanonical.cc): New variable.
28890 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28892 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28893 (ceil): Define using libm_alias_double.
28894 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28895 (floor): Define using libm_alias_double.
28896 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28897 <libm-alias-double.h>.
28898 (llround): Define using libm_alias_double.
28899 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28900 <libm-alias-double.h>.
28901 (lround): Define using libm_alias_double.
28902 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28903 <libm-alias-double.h>.
28904 (nearbyint): Define using libm_alias_double.
28905 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28906 <libm-alias-double.h>.
28907 (remquo): Define using libm_alias_double.
28908 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28909 (rint): Define using libm_alias_double.
28910 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28911 (round): Define using libm_alias_double.
28912 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28913 (trunc): Define using libm_alias_double.
28914 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28915 <libm-alias-double.h>.
28916 (ceil): Define using libm_alias_double.
28917 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28918 <libm-alias-double.h>.
28919 (floor): Define using libm_alias_double.
28920 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28921 <libm-alias-double.h>.
28922 (llround): Define using libm_alias_double.
28923 [_LP64] (lround): Likewise.
28924 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28925 <libm-alias-double.h>.
28926 [!_LP64] (lround): Define using libm_alias_double.
28927 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28928 <libm-alias-double.h>.
28929 (nearbyint): Define using libm_alias_double.
28930 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28931 <libm-alias-double.h>.
28932 (remquo): Define using libm_alias_double.
28933 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28934 <libm-alias-double.h>.
28935 (rint): Define using libm_alias_double.
28936 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28937 <libm-alias-double.h>.
28938 (round): Define using libm_alias_double.
28939 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28940 <libm-alias-double.h>.
28941 (trunc): Define using libm_alias_double.
28942 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28943 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28944 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28945 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28946 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28947 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28948 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28949 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28950 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28952 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28954 * math/w_remainder.c: New file.
28955 * math/w_remainderf.c: New file.
28956 * math/w_remainderl.c: New file.
28958 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28960 * elf/rtld.c (BOOTSTRAP_MAP): New.
28961 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28962 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28964 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28966 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28969 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28971 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28972 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28973 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28974 rtld_hidden_data_ver): Define to empty.
28975 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28976 __assert_perror_fail): Likewise.
28977 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28978 (__rewinddir): Likewise.
28979 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28980 (__profile_frequency): Likewise.
28981 * include/setjmp.h (__sigsetjmp): Likewise.
28982 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28983 __libc_sigaction): Likewise.
28984 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28985 not set hidden attribute.
28986 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28987 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28988 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28989 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28990 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28991 __fxstatat64): Likewise.
28992 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28993 (__uname): Likewise.
28994 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28995 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28996 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28997 (NO_RTLD_HIDDEN): Set.
28998 * sysdeps/mach/hurd/configure: Refresh.
28999 * config.h.in: Refresh.
29001 2017-10-02 Joseph Myers <joseph@codesourcery.com>
29003 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
29004 (atan): Define using libm_alias_double.
29005 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
29006 (tan): Define using libm_alias_double.
29007 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
29008 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
29010 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
29011 define as weak alias of __atan. Do not define any aliases if
29013 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
29014 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
29015 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
29016 as weak alias of __tan. Do not define any aliases if [__tan].
29017 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
29018 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
29019 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
29021 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
29022 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
29023 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
29024 and define as weak alias of __atan.
29025 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
29027 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
29028 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
29029 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
29030 define as weak alias of __tan.
29032 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29034 * math/w_lgamma.c: New file.
29035 * math/w_lgammaf.c: New file.
29036 * math/w_lgammal.c: New file.
29038 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29040 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
29041 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
29042 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
29043 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
29044 * sysdeps/ieee754/flt-32/w_logf.c: New file.
29045 * sysdeps/ieee754/flt-32/w_powf.c: New file.
29046 * sysdeps/i386/fpu/w_log2f.c: New file.
29047 * sysdeps/i386/fpu/w_logf.c: New file.
29048 * sysdeps/i386/fpu/w_powf.c: New file.
29049 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
29050 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
29051 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
29053 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29054 H.J. Lu <hongjiu.lu@intel.com>
29056 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
29057 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
29058 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
29059 * sysdeps/ieee754/flt-32/w_expf.c: New file.
29060 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
29062 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
29063 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
29064 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
29065 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
29066 * sysdeps/i386/fpu/w_exp2f.c: New file.
29067 * sysdeps/i386/fpu/w_expf.c: New file.
29068 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
29069 * sysdeps/x86_64/fpu/w_expf.c: New file.
29071 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29073 * math/Versions (logf): New libm symbol at GLIBC_2.27.
29076 * math/w_log2f.c: New file.
29077 * math/w_logf.c: New file.
29078 * math/w_powf.c: New file.
29079 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
29080 * math/w_logf_compat.c (__logf_compat): Likewise.
29081 * math/w_powf_compat.c (__powf_compat): Likewise.
29082 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
29083 * sysdeps/ia64/fpu/e_logf.S: Likewise.
29084 * sysdeps/ia64/fpu/e_powf.S: Likewise.
29085 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29086 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29087 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29088 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29089 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29090 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29091 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29092 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29093 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29094 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29095 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29096 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29105 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29106 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29107 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29108 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29109 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29114 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29115 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29116 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29118 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29120 * sysdeps/powerpc/powerpc64/multiarch/Makefile
29121 (sysdep_routines): Add memrchr_power8.
29122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29123 (memrchr): Add __memrchr_power8 to list of memrchr functions.
29124 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
29126 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29127 (memrchr): Add __memrchr_power8 to ifunc list.
29128 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
29130 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29133 * sysdeps/unix/sysv/linux/posix_fadvise64.c
29134 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
29136 * sysdeps/unix/sysv/linux/posix_fallocate64.c
29137 (__posix_fallocate64_l64): Likewise.
29139 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29142 * sysdeps/unix/sysv/linux/sched_setaffinity.c
29143 (__sched_setaffinity_new): Add libc_hidden_proto and
29146 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29149 * include/glob.h (__glob64): Add libc_hidden_proto.
29150 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
29153 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29156 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
29159 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29162 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
29164 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29167 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
29170 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29173 * csu/version.c (__libc_print_version): Add attribute_hidden.
29175 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29178 * include/libc-internal.h (__init_misc): Add attribute_hidden.
29180 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29183 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
29185 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29188 * nscd/nscd_helper.c (__nis_hash): New prototype.
29190 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29193 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
29194 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
29196 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29197 * termios/tcgetattr.c (__tcgetattr): Likewise.
29199 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29202 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
29203 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
29204 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
29205 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
29206 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
29208 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29211 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
29213 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29216 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
29217 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
29219 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29222 * intl/hash-string.h (__hash_string): Add attribute_hidden.
29224 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29227 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
29228 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
29230 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29233 * include/ifreq.h: New file.
29234 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
29235 (__ifreq): Likewise.
29236 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
29237 (__ifreq): Likewise.
29239 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29242 * include/idna.h: New file.
29243 * inet/getnameinfo.c: Include <idna.h> instead of
29245 (__idna_to_unicode_lzlz): Removed.
29246 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
29248 (__idna_to_ascii_lz): Removed.
29249 (__idna_to_unicode_lzlz): Likewise.
29251 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29254 * include/plural-exp.h: New file.
29255 * intl/plural-exp.c: Include <plural-exp.h> instead of
29258 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29261 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
29262 "getsourcefilter.h".
29263 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
29264 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
29265 "getsourcefilter.h".
29266 (__get_sol): Removed.
29268 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29271 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
29273 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
29275 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29278 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
29281 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29284 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
29286 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29289 * include/search.h (__tdestroy): Add libc_hidden_proto.
29290 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
29292 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29295 * include/assert.h (__assert_fail_base): Add attribute_hidden.
29297 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29300 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
29303 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29306 * include/signal.h (__kill): Add libc_hidden_proto.
29307 (__sigblock): Likewise.
29308 (__sigprocmask): Likewise.
29309 (__sigaltstack): Likewise.
29310 * signal/kill.c (__kill): Add libc_hidden_def.
29311 * signal/sigblock.c (__sigblock): Likewise.
29312 * signal/sigprocmask.c (__sigprocmask): Likewise.
29313 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
29314 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
29315 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
29316 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
29317 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
29319 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
29321 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
29322 (__sigprocmask): Likewise.
29323 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
29325 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
29326 (__sigprocmask): Likewise.
29327 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
29330 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29333 * include/string.h (__strsep): Add libc_hidden_proto.
29334 * string/strsep.c (__strsep): Add libc_hidden_def.
29336 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29339 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
29341 (__spawni): Likewise.
29343 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29346 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
29347 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
29350 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29353 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
29355 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29358 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
29359 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
29360 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
29361 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
29362 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
29364 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
29365 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
29367 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29370 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
29371 (__dcigettext): Likewise.
29373 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29376 * include/sys/sysinfo.h (__get_nprocs_conf): Add
29378 (__get_nprocs): Likewise.
29379 (__get_phys_pages): Likewise.
29380 (__get_avphys_pages): Likewise.
29381 (__get_child_max): Add attribute_hidden.
29382 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
29383 (__get_nprocs): Likewise.
29384 (__get_phys_pages): Likewise.
29385 (__get_avphys_pages): Likewise.
29386 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
29388 (__get_nprocs): Likewise.
29389 (__get_phys_pages): Likewise.
29390 (__get_avphys_pages): Likewise.
29391 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
29393 (__get_nprocs_conf): Likewise.
29394 (__get_phys_pages): Likewise.
29395 (__get_avphys_pages): Likewise.
29397 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29400 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
29402 (__netlink_close): Likewise.
29403 (__netlink_free_handle): Likewise.
29404 (__netlink_request): Likewise.
29406 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29409 * include/rpc/rpc.h (__rpc_thread_variables): Add
29411 (__rpc_thread_svc_cleanup): Likewise.
29412 (__rpc_thread_clnt_cleanup): Likewise.
29413 (__rpc_thread_key_cleanup): Likewise.
29415 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29418 * include/sys/uio.h (__readv): Add libc_hidden_proto.
29419 (__writev): Likewise.
29420 * misc/readv.c (__readv): Add libc_hidden_def.
29421 * misc/writev.c (__writev): Likewise.
29422 * sysdeps/posix/readv.c (__readv): Likewise.
29423 * sysdeps/posix/writev.c (__writev): Likewise.
29424 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
29425 (__readv): Likewise.
29426 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
29427 (__writev): Likewise.
29429 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29432 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
29433 (__regcomp): Add libc_hidden_proto.
29434 (__regexec): Likewise.
29435 (__regfree): Likewise.
29436 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
29437 (__regfree): Likewise.
29438 * posix/regexec.c (__regexec): Likewise.
29440 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29443 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
29444 (__getutent): Likewise.
29445 (__getutid): Likewise.
29446 (__getutline): Likewise.
29447 (__pututline): Likewise.
29448 (__getutent_r): Likewise.
29449 (__getutid_r): Likewise.
29450 (__getutline_r): Likewise.
29451 (__utmpname): Add attribute_hidden.
29452 (__setutent): Likewise.
29453 (__endutent): Likewise.
29454 * login/getutent.c (__getutent): Add libc_hidden_def.
29455 * login/getutent_r.c (__getutent_r): Likewise.
29456 (__pututline): Likewise.
29457 * login/getutid.c (__getutid): Likewise.
29458 * login/getutid_r.c (__getutid_r): Likewise.
29459 * login/getutline.c (__getutline): Likewise.
29460 * login/getutline_r.c (__getutline_r): Likewise.
29461 * login/updwtmp.c (__updwtmp): Likewise.
29463 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29466 * include/dirent.h (__opendir): Always add attribute_hidden.
29467 (__fdopendir): Likewise.
29468 (__closedir): Likewise.
29469 (__readdir): Likewise.
29470 (__readdir64): Add libc_hidden_proto.
29471 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
29472 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
29473 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
29474 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
29477 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29480 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
29481 * include/netdb.h (__gethostbyaddr_r): Likewise.
29482 (__gethostbyname_r): Likewise.
29483 (__gethostbyname2_r): Likewise.
29484 (__getnetbyaddr_r): Likewise.
29485 (__getnetbyname_r): Likewise.
29486 (__getservbyname_r): Likewise.
29487 (__getservbyport_r): Likewise.
29488 (__getprotobyname_r): Likewise.
29489 (__getprotobynumber_r): Likewise.
29490 (__getnetgrent_r): Likewise.
29491 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
29492 (__getrpcbynumber_r): Likewise.
29493 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
29495 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29498 * include/stdio.h (__fcloseall): Add attribute_hidden.
29499 (__getline): Likewise.
29500 (__path_search): Likewise.
29501 (__gen_tempname): Likewise.
29502 (__libc_message): Likewise.
29503 (__flockfile): Likewise.
29504 (__funlockfile): Likewise.
29505 (__fxprintf): Likewise.
29506 (__fxprintf_nocancel): Likewise.
29508 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29511 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
29512 (__sgetsgent_r): Likewise.
29514 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29517 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
29518 (__statfs64): Likewise.
29519 (__fstatfs64): Likewise.
29520 * include/sys/statvfs.h (__statvfs64): Likewise.
29521 (__fstatvfs64): Likewise.
29522 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
29523 (__statfs_filesize_max): Likewise.
29524 (__statfs_symlinks): Likewise.
29525 (__statfs_chown_restricted): Likewise.
29527 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29530 * include/time.h (__tzstring): Add attribute_hidden.
29531 (__tzfile_read): Likewise.
29532 (__tzfile_compute): Likewise.
29533 (__tzfile_default): Likewise.
29534 (__tzset_parse_tz): Likewise.
29535 (__offtime): Likewise.
29536 (__asctime_r): Likewise.
29537 (__tzset): Likewise.
29538 (__tz_convert): Likewise.
29539 (__getdate_r): Likewise.
29540 (__getclktck): Likewise.
29542 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29545 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
29546 (__nscd_unmap): Likewise.
29547 (__nscd_cache_search): Likewise.
29548 (__nscd_get_nl_timestamp): Likewise.
29549 (__nscd_getpwnam_r): Likewise.
29550 (__nscd_getpwuid_r): Likewise.
29551 (__nscd_getgrnam_r): Likewise.
29552 (__nscd_getgrgid_r): Likewise.
29553 (__nscd_gethostbyname_r): Likewise.
29554 (__nscd_gethostbyname2_r): Likewise.
29555 (__nscd_gethostbyaddr_r): Likewise.
29556 (__nscd_getai): Likewise.
29557 (__nscd_getgrouplist): Likewise.
29558 (__nscd_getservbyname_r): Likewise.
29559 (__nscd_getservbyport_r): Likewise.
29560 (__nscd_innetgr): Likewise.
29561 (__nscd_setnetgrent): Likewise.
29563 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29566 * include/gmp.h: Declare internal functions only if _ISOMAC is
29568 (__mpn_extract_double): Add attribute_hidden.
29569 (__mpn_extract_long_double): Likewise.
29570 (__mpn_extract_float128): Likewise.
29571 (__mpn_construct_float): Likewise.
29572 (__mpn_construct_double): Likewise.
29573 (__mpn_construct_long_double): Likewise.
29574 (__mpn_construct_float128): Likewise.
29575 (mpn_add_1): Likewise.
29576 (mpn_addmul_1): Likewise.
29577 (mpn_add_n): Likewise.
29578 (mpn_cmp): Likewise.
29579 (mpn_divrem): Likewise.
29580 (mpn_lshift): Likewise.
29581 (mpn_mul): Likewise.
29582 (mpn_mul_1): Likewise.
29583 (mpn_rshift): Likewise.
29584 (mpn_sub_1): Likewise.
29585 (mpn_submul_1): Likewise.
29586 (mpn_sub_n): Likewise.
29588 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29591 * include/wchar.h (__wcsnlen): Add attribute_hidden.
29592 (__wcscat): Likewise.
29593 (__btowc): Likewise.
29594 (__wcrtomb): Likewise.
29595 (__mbsrtowcs): Likewise.
29596 (__wcsrtombs): Likewise.
29597 (__mbsnrtowcs): Likewise.
29598 (__wcsnrtombs): Likewise.
29599 (__wcsncpy): Likewise.
29600 (__wcpncpy): Likewise.
29601 (__wmemcpy): Likewise.
29602 (__wmempcpy): Likewise.
29603 (__wmemmove): Likewise.
29604 (__wcschrnul): Likewise.
29605 (__vfwscanf): Likewise.
29606 (__vswprintf): Likewise.
29607 (__fwprintf): Likewise.
29608 (__vfwprintf): Likewise.
29610 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29613 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29614 (__getgrgid_r): Likewise.
29615 (__getgrnam_r): Likewise.
29616 * include/pwd.h (__getpwuid_r): Likewise.
29617 (__getpwnam_r): Likewise.
29618 (__fgetpwent_r): Likewise.
29619 * include/shadow.h (__getspnam_r): Likewise.
29620 (__sgetspent_r): Likewise.
29621 (__fgetspent_r): Likewise.
29623 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29626 * include/unistd.h (__access): Add attribute_hidden.
29627 (__lseek64): Likewise.
29628 (__libc_pread64): Likewise.
29629 (__pipe2): Likewise.
29630 (__sleep): Likewise.
29631 (__chdir): Likewise.
29632 (__fchdir): Likewise.
29633 (__getcwd): Likewise.
29634 (__rmdir): Likewise.
29635 (__execvpe): Likewise.
29636 (__execve): Likewise.
29637 (__setsid): Likewise.
29638 (__getuid): Likewise.
29639 (__geteuid): Likewise.
29640 (__getgid): Likewise.
29641 (__getegid): Likewise.
29642 (__getgroups): Likewise.
29643 (__group_member): Likewise.
29644 (__ttyname_r): Likewise.
29645 (__isatty): Likewise.
29646 (__readlink): Likewise.
29647 (__unlink): Likewise.
29648 (__gethostname): Likewise.
29649 (__profil): Likewise.
29650 (__getdtablesize): Likewise.
29652 (__ftruncate): Likewise.
29653 (__ftruncate64): Likewise.
29655 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29658 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29659 * argp/argp-fs-xinl.c: Likewise.
29660 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29661 * argp/argp-parse.c: Include <argp.h>.
29662 * argp/argp-xinl.c: Likewise.
29663 * include/argp-fmtstream.h: New file.
29664 * include/argp.h (__argp_error): Add attribute_hidden.
29665 (__argp_failure): Likewise.
29666 (__argp_input): Likewise.
29667 (__argp_state_help): Likewise.
29669 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29672 * include/wchar.h (____wcstof_l_internal): New prototype.
29673 (____wcstod_l_internal): Likewise.
29674 (____wcstold_l_internal): Likewise.
29675 (____wcstol_l_internal): Likewise.
29676 (____wcstoul_l_internal): Likewise.
29677 (____wcstoll_l_internal): Likewise.
29678 (____wcstoull_l_internal): Likewise.
29679 (____wcstof128_l_internal): Likewise.
29680 * sysdeps/ieee754/float128/wcstof128.c
29681 (____wcstof128_l_internal): Removed.
29682 * sysdeps/ieee754/float128/wcstof128_l.c
29683 (____wcstof128_l_internal): Likewise.
29684 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29685 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29686 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29687 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29688 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29689 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29690 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29691 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29692 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29693 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29695 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29698 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29699 instead of <sys/statvfs.h>.
29700 (__internal_statvfs): Removed.
29701 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29702 instead of <sys/statvfs.h>.
29703 (__internal_statvfs64): Removed.
29704 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29705 "internal_statvfs.h" instead of <sys/statvfs.h>.
29706 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29707 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29708 instead of <sys/statvfs.h>.
29709 (__internal_statvfs): Removed.
29710 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29711 instead of <sys/statvfs.h>.
29712 (__internal_statvfs64): Removed.
29714 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29717 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29718 (__gconv_close): Likewise.
29719 (__gconv): Likewise.
29720 (__gconv_find_transform): Likewise.
29721 (__gconv_lookup_cache): Likewise.
29722 (__gconv_compare_alias_cache): Likewise.
29723 (__gconv_load_cache): Likewise.
29724 (__gconv_get_path): Likewise.
29725 (__gconv_close_transform): Likewise.
29726 (__gconv_release_cache): Likewise.
29727 (__gconv_find_shlib): Likewise.
29728 (__gconv_release_shlib): Likewise.
29729 (__gconv_get_builtin_trans): Likewise.
29730 (__gconv_compare_alias): Likewise.
29731 * include/dlfcn.h (_dlerror_run): Likewise.
29732 * include/stdio.h (__fortify_fail_abort): Likewise.
29733 * include/time.h (__tz_compute): Likewise.
29734 (__strptime_internal): Likewise.
29735 * intl/gettextP.h (_nl_find_domain): Likewise.
29736 (_nl_load_domain): Likewise.
29737 (_nl_find_msg): Likewise.
29738 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29739 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29740 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29741 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29742 (__gai_find_request): Likewise.
29743 (__gai_remove_request): Likewise.
29744 (__gai_notify): Likewise.
29745 (__gai_notify_only): Likewise.
29746 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29747 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29748 (_dl_non_dynamic_init): Likewise.
29749 (_dl_aux_init): Likewise.
29750 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29751 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29753 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29754 (__wcsmbs_clone_conv): Likewise.
29755 (__wcsmbs_named_conv): Likewise.
29757 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29760 * include/stdlib.h (__random): Add attribute_hidden.
29761 (__random_r): Likewise.
29762 (__srandom_r): Likewise.
29763 (__initstate_r): Likewise.
29764 (__setstate_r): Likewise.
29765 (__erand48_r): Likewise.
29766 (__nrand48_r): Likewise.
29767 (__jrand48_r): Likewise.
29768 (__srand48_r): Likewise.
29769 (__seed48_r): Likewise.
29770 (__lcong48_r): Likewise.
29771 (__drand48_iterate): Likewise.
29772 (__setenv): Likewise.
29773 (__unsetenv): Likewise.
29774 (__clearenv): Likewise.
29775 (__ptsname_r): Likewise.
29776 (__posix_openpt): Likewise.
29777 (__add_to_environ): Likewise.
29778 (__realpath): Add libc_hidden_proto.
29779 (__ecvt_r): Likewise.
29780 (__fcvt_r): Likewise.
29781 (__qecvt_r): Likewise.
29782 (__qfcvt_r): Likewise.
29783 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29784 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29786 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29789 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29790 * include/time.h (__mktime_internal): Likewise.
29791 * libio/iolibio.h (__fopen_internal): Likewise.
29793 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
29795 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29797 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29798 Correct offset used to restore PIC register.
29800 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
29803 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29804 code to load address of __getcontext_ret when generating PIC code.
29806 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29808 * elf/Makefile (tests-static-internal): Add
29809 tst-tls1-static-non-pie.
29810 (LDFLAGS-tst-tls1-static-non-pie): New.
29811 * elf/tst-tls1-static-non-pie.c: New file.
29813 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29815 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29816 (asinh): Define using libm_alias_double.
29817 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29818 (cbrt): Define using libm_alias_double.
29819 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29820 <libm-alias-double.h>.
29821 (copysign): Define using libm_alias_double.
29822 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29823 (erf): Define using libm_alias_double.
29825 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29826 (expm1): Define using libm_alias_double.
29827 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29828 (fabs): Define using libm_alias_double.
29829 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29831 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29832 <libm-alias-double.h>.
29833 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29835 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29836 <libm-alias-double.h>.
29837 (getpayload): Define using libm_alias_double.
29838 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29839 <libm-alias-double.h>.
29840 (llrint): Define using libm_alias_double.
29841 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29842 (lrint): Define using libm_alias_double.
29843 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29844 <libm-alias-double.h>.
29845 (nextup): Define using libm_alias_double.
29846 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29847 <libm-alias-double.h>.
29848 (roundeven): Define using libm_alias_double.
29849 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29851 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29852 <libm-alias-double.h>.
29853 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29854 using libm_alias_double.
29855 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29856 (cos): Define using libm_alias_double.
29858 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29859 <libm-alias-double.h>.
29860 (sincos): Define using libm_alias_double.
29861 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29862 (tanh): Define using libm_alias_double.
29863 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29864 <libm-alias-double.h>.
29865 (totalorder): Define using libm_alias_double.
29866 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29867 <libm-alias-double.h>.
29868 (totalordermag): Define using libm_alias_double.
29869 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29871 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29873 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29874 <libm-alias-double.h>.
29875 (getpayload): Define using libm_alias_double.
29876 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29877 <libm-alias-double.h>.
29878 (roundeven): Define using libm_alias_double.
29879 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29880 <libm-alias-double.h>.
29881 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29882 <libm-alias-double.h>.
29883 (totalorder): Define using libm_alias_double.
29884 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29885 <libm-alias-double.h>.
29886 (totalordermag): Define using libm_alias_double.
29887 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29888 libc compat symbol here.
29889 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29890 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29891 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29892 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29893 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29894 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29895 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29896 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29897 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29898 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29900 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29902 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29903 _dl_relocate_static_pie instead of _dl_start to compute load
29904 address in static PIE. Return 0 if _DYNAMIC is undefined for
29907 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29909 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29910 _DYNAMIC is undefined for static executable.
29912 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29914 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29916 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29918 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29920 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29922 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29923 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29924 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29925 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29926 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29927 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29928 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29929 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29930 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29931 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29932 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29933 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29934 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29935 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29936 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29937 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29938 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29940 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29942 * math/bits/cmathcalls.h (cimag): Remove inline.
29943 (creal): Remove inline.
29944 (conj): Remove inline.
29946 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29948 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29949 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29950 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29951 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29952 (issignalingf_inline): Likewise.
29953 (POWF_LOG2_TABLE_BITS): Likewise.
29954 (POWF_LOG2_POLY_ORDER): Likewise.
29955 (POWF_SCALE_BITS): Likewise.
29956 (POWF_SCALE): Likewise.
29957 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29958 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29959 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29961 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29963 * math/Makefile (type-float-routines): Add e_log2f_data.
29964 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29965 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29966 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29967 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29968 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29969 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29970 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29972 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29974 * math/Makefile (type-float-routines): Add e_logf_data.
29975 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29976 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29977 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29978 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29979 * sysdeps/i386/fpu/e_logf_data.c: New file.
29980 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29981 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29983 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29985 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29986 undefined _DYNAMIC in PIE libc.a.
29987 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29990 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29992 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29993 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29994 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29995 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29996 (__signbit): Remove.
29997 (__signbitl): Remove.
29998 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29999 (__signbit): Remove.
30000 (__signbitl): Remove.
30001 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
30002 (__signbit): Remove.
30003 (__signbitl): Remove.
30004 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
30005 (__signbit): Remove.
30006 (__signbitl): Remove.
30007 * sysdeps/tile/bits/mathinline.h: Delete file.
30008 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
30009 (__signbit): Remove.
30010 (__signbitl): Remove.
30012 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30014 * math/math.h: Improve handling of C99 isgreater macros.
30015 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
30016 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
30017 * sysdeps/powerpc/bits/mathinline.h: Likewise.
30018 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30019 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
30021 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
30023 * sysdeps/aarch64/libm-test-ulps: Update.
30025 2017-09-28 Joseph Myers <joseph@codesourcery.com>
30028 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30029 math_opt_barrier on argument when doing arithmetic on it.
30030 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30031 Likewise. Use math_force_eval not math_opt_barrier after
30033 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
30034 math_opt_barrier on argument when doing arithmetic on it.
30035 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30038 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
30040 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
30042 (__freeifaddrs): Likewise.
30044 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30046 * include/dirent.h (__dirfd): New declaration.
30047 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
30049 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
30050 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
30051 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
30052 * include/unistd.h (__revoke): New declaration.
30053 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
30055 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
30056 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
30058 * include/dirent.h (__seekdir): New declaration.
30059 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
30060 redefine as weak alias.
30061 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
30063 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
30064 and use libc_hidden_def on them.
30065 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
30067 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
30068 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
30069 instead of getifaddrs and freeifaddrs.
30071 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30074 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
30075 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
30076 (__dso_handle): Remove declaration.
30077 * dlfcn/tstatexit.c (__dso_handle): Removed.
30078 (main): Don't check __dso_handle.
30079 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
30080 (main): Don't check __dso_handle.
30081 * include/dso_handle.h: New file.
30082 * malloc/mtrace.c: Include <dso_handle.h>.
30083 (mtrace): Pass __dso_handle directly.
30084 * nptl/pthread_atfork.c: Include <dso_handle.h>.
30085 (__dso_handle): Remove declaration.
30086 (__pthread_atfork): Pass __dso_handle directly.
30087 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
30088 (__dso_handle): Removed.
30089 * posix/wordexp-test.c: Include <dso_handle.h>.
30090 (__dso_handle): Remove declaration.
30091 (__app_register_atfork): Pass __dso_handle directly.
30092 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
30093 (__dso_handle): Remove declaration.
30094 (at_quick_exit): Pass __dso_handle directly.
30095 * stdlib/atexit.c: Include <dso_handle.h>.
30096 (__dso_handle): Remove declaration.
30097 (atexit): Pass __dso_handle directly.
30098 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
30099 (__dso_handle): Removed.
30101 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30103 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
30106 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
30108 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
30109 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
30110 values to correct default value for given type.
30112 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30115 * elf/Makefile (tests): Add tst-debug1.
30116 ($(objpfx)tst-debug1): New.
30117 ($(objpfx)tst-debug1.out): Likewise.
30118 ($(objpfx)tst-debug1mod1.so): Likewise.
30119 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
30120 with p_filesz == 0.
30121 * elf/tst-debug1.c: New file.
30123 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30125 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
30126 Define using __ifunc.
30128 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30130 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
30133 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30136 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
30138 2017-09-26 Florian Weimer <fweimer@redhat.com>
30140 * resolv/Makefile (tests-internal): Fix typo in comment.
30142 2017-09-26 Florian Weimer <fweimer@redhat.com>
30144 * resolv/nss_dns/dns-host.c: Fix typo in comment.
30146 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30148 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
30149 Use an union instead of a max_align_t array for __space,
30150 so that __space is the same size on all platforms.
30151 * malloc/scratch_buffer_grow_preserve.c
30152 (__libc_scratch_buffer_grow_preserve): Likewise.
30155 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
30157 * posix/Makefile (routines): Add glob-lstat-compat and
30158 glob64-lstat-compat.
30159 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
30160 * posix/glob-lstat-compat.c: New file.
30161 * posix/glob64-lstat-compat.c: Likewise.
30162 * posix/tst-glob_lstat_compat.c: Likewise.
30163 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
30164 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
30165 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
30166 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
30168 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
30169 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30170 * posix/glob.c (glob_lstat): New function.
30171 (glob): Rename to __glob and add versioned symbol to 2.27.
30172 (glob_in_dir): Use glob_lstat.
30173 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
30174 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
30175 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
30177 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
30178 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
30179 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
30180 gl_lstat on glob call.
30181 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
30182 and glob64 symbols.
30183 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30184 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
30185 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
30186 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
30187 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
30188 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
30189 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
30190 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
30191 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
30192 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30193 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30194 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
30195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
30197 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
30198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
30199 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30200 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30201 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
30202 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30203 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
30205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
30206 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
30207 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
30208 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
30210 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
30212 * configure.ac (AS): Require binutils 2.25 or later.
30213 * configure: Regenerated.
30215 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30218 * stdlib/test-atexit-race-common.c (do_test): Minimize required
30221 2017-09-25 DJ Delorie <dj@redhat.com>
30224 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
30227 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
30229 * sysdeps/ieee754/dbl-64/sincos32.h
30230 [SINCCOS32_H]: Remove define.
30231 [SINCOS32_H]: Define.
30233 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30235 * math/Versions (expf): New libm symbol at GLIBC_2.27.
30237 * math/w_exp2f.c: New file.
30238 * math/w_expf.c: New file.
30239 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
30240 * math/w_expf_compat.c (__expf_compat): Likewise.
30241 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
30242 * sysdeps/ia64/fpu/e_expf.S: Likewise.
30243 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30244 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30245 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30246 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30247 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30248 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30249 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30250 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30251 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30252 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30253 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30254 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30263 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30264 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30265 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30266 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30267 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
30270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30272 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30273 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30274 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30276 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30278 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
30279 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
30280 (roundtoint, converttoint): Likewise.
30281 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
30282 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
30283 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
30284 * sysdeps/ieee754/flt-32/math_config.h: New file.
30285 * sysdeps/ieee754/flt-32/math_errf.c: New file.
30286 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
30287 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
30288 * sysdeps/i386/fpu/math_errf.c: New file.
30289 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
30290 * sysdeps/ia64/fpu/math_errf.c: New file.
30291 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
30292 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
30294 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
30296 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
30297 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
30298 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
30299 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
30300 to make sure that these symbols are defined.
30301 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
30303 (__need_NULL): Do not define.
30304 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
30306 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
30307 CMGROUP_MAX, cmsgcred): Do not define.
30308 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
30310 * bits/socket.h: Likewise.
30311 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
30312 __gettimeofday instead of gettimeofday.
30313 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
30314 instead of settimeofday.
30316 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30318 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
30319 (asinhf): Define using libm_alias_float.
30320 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
30321 (atanf): Define using libm_alias_float.
30322 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
30323 (cbrtf): Define using libm_alias_float.
30324 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
30325 (ceilf): Define using libm_alias_float.
30326 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
30327 <libm-alias-float.h>.
30328 (copysignf): Define using libm_alias_float.
30329 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
30330 (cosf): Define using libm_alias_float.
30331 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
30332 (erff): Define using libm_alias_float.
30334 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
30335 (expm1f): Define using libm_alias_float.
30336 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
30337 (fabsf): Define using libm_alias_float.
30338 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
30339 (floorf): Define using libm_alias_float.
30340 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
30341 (frexpf): Define using libm_alias_float.
30342 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
30344 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
30345 <libm-alias-float.h>.
30346 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
30348 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
30349 <libm-alias-float.h>.
30350 (getpayloadf): Define using libm_alias_float.
30351 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
30352 <libm-alias-float.h>.
30353 (llrintf): Define using libm_alias_float.
30354 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
30355 <libm-alias-float.h>.
30356 (llroundf): Define using libm_alias_float.
30357 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
30358 (logbf): Define using libm_alias_float.
30359 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
30360 (lrintf): Define using libm_alias_float.
30361 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
30362 (lroundf): Define using libm_alias_float.
30363 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
30364 (modff): Define using libm_alias_float.
30365 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
30366 <libm-alias-float.h>.
30367 (nearbyintf): Define using libm_alias_float.
30368 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
30369 <libm-alias-float.h>.
30370 (nextafterf): Define using libm_alias_float.
30371 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
30372 <libm-alias-float.h>.
30373 (nextupf): Define using libm_alias_float.
30374 * sysdeps/ieee754/flt-32/s_remquof.c: Include
30375 <libm-alias-float.h>.
30376 (remquof): Define using libm_alias_float.
30377 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
30378 (rintf): Define using libm_alias_float.
30379 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
30380 <libm-alias-float.h>.
30381 (roundevenf): Define using libm_alias_float.
30382 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
30383 (roundf): Define using libm_alias_float.
30384 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
30385 using libm_alias_float.
30386 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
30387 <libm-alias-float.h>.
30388 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
30389 Define using libm_alias_float.
30390 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
30391 <libm-alias-float.h>.
30392 (sincosf): Define using libm_alias_float.
30393 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
30394 (sinf): Define using libm_alias_float.
30395 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
30396 (tanf): Define using libm_alias_float.
30397 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
30398 (tanhf): Define using libm_alias_float.
30399 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
30400 <libm-alias-float.h>.
30401 (totalorderf): Define using libm_alias_float.
30402 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
30403 <libm-alias-float.h>.
30404 (totalordermagf): Define using libm_alias_float.
30405 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
30406 (truncf): Define using libm_alias_float.
30407 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
30409 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
30412 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30415 math/math.h: Let fpclassify use the builtin in C++ mode, even
30416 when optimazing for size.
30418 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30420 * csu/Makefile (generated): Do not add version-info.h.
30421 (before-compile): Likewise.
30422 (all-Banner-files): Remove variable.
30423 ($(objpfx)version-info.h): Remove rule.
30424 * csu/version.c (banner): Do not include "version-info.h".
30425 * libidn/Banner: Remove.
30426 * manual/contrib.texi (Simon Josefsson): New entry.
30428 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30430 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30431 Remove conditionals on LDBL_MANT_DIG.
30432 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30433 (__ieee754_lgammal_r): Likewise.
30435 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30437 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
30439 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
30440 _Float128 and L(). Replace _Float128 with long double and L(x)
30441 with xL, throughout the file.
30442 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30443 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30444 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30445 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30447 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30449 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
30450 sysdeps/ieee754/ldbl-128ibm.
30451 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
30452 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
30453 of including it. Keep _Float128 and L() intact. These will be
30454 reviewed by a separate patch.
30455 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30456 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30457 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30458 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30460 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
30463 (__finitef128): Define to __redirect___finitef128.
30464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
30465 (__isinff128): Define to __redirect___isinff128.
30466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
30467 (__isnanf128): Define to __redirect___isnanf128.
30469 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30471 * sysdeps/powerpc/powerpc64le/Makefile
30472 (CFLAGS-tst-strtod-nan-locale.c): New variable.
30473 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
30475 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
30476 Carlos O'Donell <carlos@redhat.com>
30479 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
30480 * stdlib/test-dlclose-exit-race.c: New file.
30481 * stdlib/test-dlclose-exit-race-helper.c: New file.
30482 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
30484 2017-09-21 Joseph Myers <joseph@codesourcery.com>
30486 * crypt/Banner: Remove file.
30487 * nptl/Banner: Likewise.
30488 * resolv/Banner: Likewise.
30489 * soft-fp/Banner: Likewise.
30490 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
30491 ($(objpfx)version.d): Remove dependency on banner.h.
30492 ($(objpfx)version.os): Likewise.
30493 * nptl/version.c (banner): Do not include banner.h.
30494 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
30495 Jelinek and BIND code.
30497 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30498 Carlos O'Donell <carlos@redhat.com>
30500 * support/xdlfcn.h: New file.
30501 * support/xdlfcn.c: New file.
30502 * support/Makefile (libsupport-routines): Add xdlfcn.
30503 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
30505 2017-09-20 Joseph Myers <joseph@codesourcery.com>
30508 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30509 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
30510 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
30511 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
30512 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
30513 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
30514 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
30515 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
30517 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30518 Ricky Zhou <rickyz@google.com>
30519 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
30522 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
30524 (__new_exitfn): Fail registration when we finished at_exit processing.
30525 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30526 * stdlib/on_exit.c (__on_exit): Likewise.
30527 * stdlib/exit.c (__exit_funcs_done): New variable.
30528 (__run_exit_handlers): Use __exit_funcs_lock.
30529 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
30531 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
30532 (test-cxa_atexit-race, test-on_exit-race): New tests.
30533 * stdlib/test-atexit-race-common.c: New file.
30534 * stdlib/test-atexit-race.c: New file.
30535 * stdlib/test-at_quick_exit-race.c: New file.
30536 * stdlib/test-cxa_atexit-race.c: New file.
30537 * stdlib/test-on_exit-race.c: New file.
30539 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
30541 * benchtests/Makefile: Add exp2f and log2f benchmarks.
30542 * benchtests/exp2f-inputs: Copy of expf-inputs.
30543 * benchtests/log2f-inputs: Copy of logf-inputs.
30545 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30547 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
30548 Explicitly take address of first element of array arguments in
30549 call to INLINE_SYSCALL.
30551 2017-09-19 Andreas Schwab <schwab@suse.de>
30554 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
30556 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
30558 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
30559 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
30560 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30561 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
30562 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30563 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30564 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30565 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30566 * posix/Makefile (tests): Add tst-fexecve.
30567 * posix/tst-fexecve.c: New file.
30569 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30571 * benchtests/Makefile: Add logf benchmark.
30572 * benchtests/logf-inputs: Add reduced trace from wrf_r.
30574 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30576 * benchtests/Makefile: Add expf benchmark.
30577 * benchtests/expf-inputs: Add reduced trace from wrf_r.
30579 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30581 * csu/Makefile: Add -funwind-tables to libc-start.c.
30582 * debug/Makefile: Add -funwind-tables to backtrace.c.
30583 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
30584 * sysdeps/arm/Makefile: Likewise.
30585 * sysdeps/i386/Makefile: Likewise.
30586 * sysdeps/m68k/Makefile: Likewise.
30587 * sysdeps/mips/Makefile: Likewise.
30588 * sysdeps/nios2/Makefile: Likewise.
30589 * sysdeps/sh/Makefile: Likewise.
30590 * sysdeps/sparc/Makefile: Likewise.
30592 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30594 * benchtests/Makefile (bench-math): Add trunc and truncf.
30595 (CFLAGS-bench-trunc.c): New variable.
30596 (CFLAGS-bench-truncf.c): Likewise.
30597 * benchtests/trunc-inputs: New file.
30598 * benchtests/truncf-inputs: Likewise.
30600 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30602 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30604 2017-09-18 Joseph Myers <joseph@codesourcery.com>
30606 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30607 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30609 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30610 (exp10l): Define as weak alias.
30611 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30612 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30614 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30615 (remainderl): Define as weak alias.
30617 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30618 (fmal): Define using libm_alias_ldouble.
30619 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30620 (acoshl): Define using libm_alias_ldouble.
30621 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30622 (acosl): Define using libm_alias_ldouble.
30623 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30624 (asinl): Define using libm_alias_ldouble.
30625 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30626 (atan2l): Define using libm_alias_ldouble.
30627 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30628 (atanhl): Define using libm_alias_ldouble.
30629 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30630 (coshl): Define using libm_alias_ldouble.
30631 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30632 (exp10l): Define using libm_alias_ldouble.
30633 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30634 (exp2l): Define using libm_alias_ldouble.
30635 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30636 (expl): Define using libm_alias_ldouble.
30637 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30638 (fmodl): Define using libm_alias_ldouble.
30639 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30640 (hypotl): Define using libm_alias_ldouble.
30641 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30642 (j0l): Define using libm_alias_ldouble.
30644 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30645 (j1l): Define using libm_alias_ldouble.
30647 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30648 (jnl): Define using libm_alias_ldouble.
30650 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30651 (log10l): Define using libm_alias_ldouble.
30652 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30653 (log2l): Define using libm_alias_ldouble.
30654 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30655 (logl): Define using libm_alias_ldouble.
30656 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30657 (powl): Define using libm_alias_ldouble.
30658 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30659 (remainderl): Define using libm_alias_ldouble.
30660 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30661 (sinhl): Define using libm_alias_ldouble.
30662 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30663 (sqrtl): Define using libm_alias_ldouble.
30664 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30665 (tgammal): Define using libm_alias_ldouble.
30666 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30667 (exp10l): Do not use long_double_symbol here.
30668 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30669 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30670 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30671 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30672 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30673 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30674 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30675 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30676 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30677 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30678 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30679 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30680 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30681 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30682 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30683 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30684 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30685 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30686 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30687 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30688 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30689 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30691 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30693 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30694 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30696 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30698 * io/read.c (read): Add libc_hidden_weak.
30699 * sysdeps/mach/hurd/read.c (read): Likewise.
30700 * io/write.c (write): Likewise.
30701 * sysdeps/mach/hurd/write.c (write): Likewise.
30702 * io/pread64.c (__pread64): Likewise.
30703 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30704 * posix/pread64.c (__pread64): Add libc_hidden_def.
30706 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30708 * benchtests/scripts/compare_strings.py: New option -g.
30709 (draw_graph): Print a message that a graph is being generated.
30710 (process_results): Generate graph only if -g is passed.
30711 (main): Process option -g.
30713 * benchtests/scripts/compare_strings.py (process_results):
30714 Better spacing for output.
30716 * benchtests/scripts/compare_strings.py: Use argparse.
30717 * benchtests/README: Document existence of compare_strings.py.
30719 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30721 * math/s_fma.c: Include <libm-alias-double.h>.
30722 (fma): Define using libm_alias_double.
30723 * math/s_nextafter.c: Include <libm-alias-double.h>.
30724 (nextafter): Define using libm_alias_double.
30725 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30726 (acos): Define using libm_alias_double.
30727 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30728 (aocsh): Define using libm_alias_double.
30729 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30730 (asin): Define using libm_alias_double.
30731 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30732 (atan2): Define using libm_alias_double.
30733 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30734 (atanh): Define using libm_alias_double.
30735 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30736 (cosh): Define using libm_alias_double.
30737 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30738 (exp10): Define using libm_alias_double.
30739 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30740 (exp2): Define using libm_alias_double.
30741 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30742 (exp): Define using libm_alias_double.
30743 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30744 (fmod): Define using libm_alias_double.
30745 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30746 (hypot): Define using libm_alias_double.
30747 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30748 (j0): Define using libm_alias_double.
30750 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30751 (j1): Define using libm_alias_double.
30753 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30754 (jn): Define using libm_alias_double.
30756 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30757 (log10): Define using libm_alias_double.
30758 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30759 (log2): Define using libm_alias_double.
30760 * math/w_log_compat.c: Include <libm-alias-double.h>.
30761 (log): Define using libm_alias_double.
30762 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30763 (pow): Define using libm_alias_double.
30764 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30765 (remainder): Define using libm_alias_double.
30766 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30767 (sinh): Define using libm_alias_double.
30768 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30769 (sqrt): Define using libm_alias_double.
30770 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30771 (tgamma): Define using libm_alias_double.
30772 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30773 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30774 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30775 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30776 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30777 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30778 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30779 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30780 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30781 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30782 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30783 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30784 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30785 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30786 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30787 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30788 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30789 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30790 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30791 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30792 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30793 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30794 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30795 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30796 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30798 * math/e_acoshl.c: Remove.
30799 * math/e_acosl.c: Likewise.
30800 * math/e_asinl.c: Likewise.
30801 * math/e_atan2l.c: Likewise.
30802 * math/e_atanhl.c: Likewise.
30803 * math/e_coshl.c: Likewise.
30804 * math/e_expl.c: Likewise.
30805 * math/e_fmodl.c: Likewise.
30806 * math/e_gammal_r.c: Likewise.
30807 * math/e_hypotl.c: Likewise.
30808 * math/e_j0l.c: Likewise.
30809 * math/e_j1l.c: Likewise.
30810 * math/e_jnl.c: Likewise.
30811 * math/e_lgammal_r.c: Likewise.
30812 * math/e_log10l.c: Likewise.
30813 * math/e_log2l.c: Likewise.
30814 * math/e_logl.c: Likewise.
30815 * math/e_powl.c: Likewise.
30816 * math/e_rem_pio2l.c: Likewise.
30817 * math/e_sinhl.c: Likewise.
30818 * math/e_sqrtf128.c: Likewise.
30819 * math/e_sqrtl.c: Likewise.
30820 * math/k_cosl.c: Likewise.
30821 * math/k_sinl.c: Likewise.
30822 * math/k_tanl.c: Likewise.
30823 * math/s_asinhl.c: Likewise.
30824 * math/s_atanl.c: Likewise.
30825 * math/s_cbrtl.c: Likewise.
30826 * math/s_erfl.c: Likewise.
30827 * math/s_expm1l.c: Likewise.
30828 * math/s_log1pl.c: Likewise.
30829 * math/s_tanhl.c: Likewise.
30831 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30835 [$(subdir) = math] (sysdep_calls): New variable. Has the
30836 previous contents of sysdep_routines, but re-sorted..
30837 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30839 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30840 defined in sysdep_calls and replace by the respective m_* names.
30841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30842 (compat_symbol): Undefine to avoid duplicated compat symbols in
30845 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30847 * math/s_fmaf.c: Include <libm-alias-float.h>.
30848 (fmaf): Define using libm_alias_float.
30849 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30850 (acosf): Define using libm_alias_float.
30851 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30852 (acoshf): Define using libm_alias_float.
30853 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30854 (asinf): Define using libm_alias_float.
30855 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30856 (atan2f): Define using libm_alias_float.
30857 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30858 (atanhf): Define using libm_alias_float.
30859 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30860 (coshf): Define using libm_alias_float.
30861 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30862 (exp10f): Define using libm_alias_float.
30863 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30864 (fmodf): Define using libm_alias_float.
30865 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30866 (hypotf): Define using libm_alias_float.
30867 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30868 (j0f): Define using libm_alias_float.
30870 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30871 (j1f): Define using libm_alias_float.
30873 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30874 (jnf): Define using libm_alias_float.
30876 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30877 (log10f): Define using libm_alias_float.
30878 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30879 (log2f): Define using libm_alias_float.
30880 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30881 (logf): Define using libm_alias_float.
30882 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30883 (powf): Define using libm_alias_float.
30884 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30885 (remainderf): Define using libm_alias_float.
30886 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30887 (sinhf): Define using libm_alias_float.
30888 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30889 (sqrtf): Define using libm_alias_float.
30890 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30891 (tgammaf): Define using libm_alias_float.
30893 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30895 * include/math.h (roundeven): Change hidden_proto call to
30897 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30899 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30900 (y0): Rename to __y0 and define as weak alias.
30901 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30902 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30904 (y0f): Rename to __y0f and define as weak alias.
30905 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30907 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30908 (y1): Rename to __y1 and define as weak alias.
30909 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30910 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30912 (y1f): Rename to __y1f and define as weak alias.
30913 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30915 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30916 (yn): Rename to __yn and define as weak alias.
30917 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30918 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30920 (ynf): Rename to __ynf and define as weak alias.
30921 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30922 (fromfp): Define as weak alias.
30923 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30924 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30925 (fromfpx): Define as weak alias.
30926 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30927 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30928 __getpayload and define as weak alias.
30929 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30930 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30931 __roundeven and define as weak alias.
30932 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30933 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30935 (setpayload): Define as weak alias.
30936 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30937 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30939 (setpayloadsig): Define as weak alias.
30940 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30941 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30942 __totalorder and define as weak alias.
30943 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30944 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30945 to __totalordermag and define as weak alias.
30946 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30947 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30948 (ufromfp): Define as weak alias.
30949 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30950 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30952 (ufromfpx): Define as weak alias.
30953 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30954 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30955 Rename to __getpayload and define as weak alias.
30956 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30957 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30958 Rename to __roundeven and define as weak alias.
30959 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30960 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30961 Rename to __totalorder and define as weak alias.
30962 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30963 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30964 (totalordermag): Rename to __totalordermag and define as weak
30966 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30967 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30969 (__roundevenl): Likewise.
30970 (__totalorderl): Likewise.
30971 (__totalordermagl): Likewise
30972 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30974 (fromfpf128): Define as weak alias.
30975 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30977 (fromfpxf128): Define as weak alias.
30978 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30980 (setpayloadf128): Define as weak alias.
30981 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30982 __setpayloadsigf128.
30983 (setpayloadsigf128): Define as weak alias.
30984 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30986 (ufromfpf128): Define as weak alias.
30987 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30989 (ufromfpxf128): Define as weak alias.
30990 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30991 (fromfpf): Define as weak alias.
30992 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30994 (fromfpxf): Define as weak alias.
30995 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30996 __getpayloadf and define as weak alias.
30997 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30998 __roundevenf and define as weak alias.
30999 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
31001 (setpayloadf): Define as weak alias.
31002 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
31004 (setpayloadsigf): Define as weak alias.
31005 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
31006 __totalorderf and define as weak alias.
31007 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
31008 Rename to __totalordermagf and define as weak alias.
31009 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
31011 (ufromfpf): Define as weak alias.
31012 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
31014 (ufromfpxf): Define as weak alias.
31015 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
31017 (fromfpl): Define as weak alias.
31018 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
31020 (fromfpxl): Define as weak alias.
31021 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
31022 to __getpayloadl and define as weak alias.
31023 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
31024 __roundevenl and define as weak alias.
31025 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
31027 (setpayloadl): Define as weak alias.
31028 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
31030 (setpayloadsigl): Define as weak alias.
31031 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
31032 to __totalorderl and define as weak alias.
31033 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
31034 Rename to __totalordermagl and define as weak alias.
31035 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
31037 (ufromfpl): Define as weak alias.
31038 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
31040 (ufromfpxl): Define as weak alias.
31041 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
31043 (fromfpl): Define as weak alias.
31044 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
31046 (fromfpxl): Define as weak alias.
31047 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
31048 Rename to __getpayloadl and define as weak alias.
31049 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
31050 to __roundevenl and define as weak alias. Call __roundeven
31051 instead of roundeven.
31052 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
31054 (setpayloadl): Define as weak alias.
31055 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
31057 (setpayloadsigl): Define as weak alias.
31058 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
31059 Rename to __totalorderl and define as weak alias.
31060 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
31061 Rename to __totalordermagl and define as weak alias.
31062 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
31064 (ufromfpl): Define as weak alias.
31065 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
31067 (ufromfpxl): Define as weak alias.
31068 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
31070 (fromfpl): Define as weak alias.
31071 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
31073 (fromfpxl): Define as weak alias.
31074 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
31075 __getpayloadl and define as weak alias.
31076 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
31077 __roundevenl and define as weak alias.
31078 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
31080 (setpayloadl): Define as weak alias.
31081 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
31083 (setpayloadsigl): Define as weak alias.
31084 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
31085 __totalorderl and define as weak alias.
31086 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
31087 Rename to __totalordermagl and define as weak alias.
31088 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
31090 (ufromfpl): Define as weak alias.
31091 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
31093 (ufromfpxl): Define as weak alias.
31095 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
31097 * benchtests/bench-string.h (realloc_bufs): New function.
31098 (test_init): Call it.
31099 * benchtests/bench-memset-large.c (do_test): Likewise.
31100 * benchtests/bench-memset.c (do_test): Likewise.
31102 * benchtests/bench-memset-large.c: Print output in JSON
31104 * benchtests/bench-memset.c: Likewise.
31106 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31109 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
31110 * iconvdata/Makefile: Add IBM858.
31111 * iconvdata/gconv-modules: Likewise.
31112 * iconvdata/tst-tables.sh: Likewise.
31113 * iconvdata/ibm858.c: New file.
31114 * localedata/charmaps/IBM858: Likewise.
31116 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
31119 * locales/niu_NZ (LC_TIME): copy "niu_NU".
31120 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
31122 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31125 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
31126 and add tel_int_fmt.
31128 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31130 * sysdeps/generic/libm-alias-float128.h: New file.
31131 * sysdeps/generic/math-type-macros-float128.h: Include
31132 <libm-alias-float128.h>.
31133 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31135 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31137 * sysdeps/generic/libm-alias-ldouble.h: New file.
31138 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
31139 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
31140 * sysdeps/generic/math-type-macros-ldouble.h: Include
31141 <libm-alias-ldouble.h>.
31142 [!declare_mgen_alias] (declare_mgen_alias): Define to use
31143 libm_alias_ldouble.
31145 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
31147 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
31148 * math/w_exp_compat.c: ... here.
31149 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
31150 * math/w_expf_compat.c: ... here.
31151 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
31152 * math/w_expl_compat.c: ... here.
31153 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
31154 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
31155 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
31156 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31158 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31160 * math/w_scalbln_template.c (strong_alias): Do not undefine and
31162 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
31164 (ldexpl): Only define as compat symbol for libc, not libm.
31165 (scalbnl): Define as compat symbol for libc here.
31166 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
31167 define for [IS_IN (libc)].
31168 (__ldexpl_2): Remove alias.
31169 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
31170 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
31171 name in long_double_symbol call.
31172 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
31173 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31174 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31175 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
31176 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
31178 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
31179 Define as compat symbol.
31181 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31183 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
31184 * sysdeps/unix/sysv/linux/alpha/Makefile
31185 [$(subdir) = csu] (sysdep_routines): Remove rule.
31187 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31189 * sysdeps/generic/libm-alias-double.h: New file.
31190 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
31191 * sysdeps/generic/math-type-macros-double.h: Include
31192 <libm-alias-double.h>.
31193 [declare_mgen_alias] (declare_mgen_alias): Define to use
31195 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
31196 (M_LIBM_NEED_COMPAT): Remove macro.
31197 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
31198 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
31199 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
31201 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31202 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31203 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31204 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31205 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31206 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31207 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31208 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31209 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31210 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31211 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31212 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31213 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31214 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31215 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31216 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31217 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31218 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31219 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31220 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31221 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31222 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31223 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31224 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31225 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31226 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31227 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31228 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
31229 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
31231 (declare_mgen_alias): New macro.
31232 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
31233 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
31234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
31235 (M_LIBM_NEED_COMPAT): Remove macro.
31236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
31237 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
31238 <first-versions.h>.
31239 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
31240 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
31242 2017-09-12 Joseph Myers <joseph@codesourcery.com>
31244 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
31245 (declare_mgen_alias_2): Remove.
31246 * sysdeps/generic/math-type-macros-double.h
31247 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
31249 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
31251 (ldexp): Define with declare_mgen_alias.
31252 (scalbn): Likewise.
31254 2017-09-12 Steve Ellcey <sellcey@cavium.com>
31256 * grp/initgroups.c: Include config.h.
31257 (DEFAULT_CONFIG): New macro.
31258 (internal_getgrouplist): Use DEFAULT_CONFIG.
31259 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31260 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
31261 (DEFAULT_DEFCONFIG): New macro.
31262 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
31263 * nss/grp-lookup.c: Include config.h
31264 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
31265 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
31266 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
31267 * manual/nss.texi: Update default values section.
31269 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
31272 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
31274 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
31275 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31276 Handle MathVec_Prefer_No_AVX512.
31277 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
31278 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
31281 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
31283 * posix/sched_primax.c (__sched_get_priority_max): Add
31285 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
31286 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31287 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31288 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
31289 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
31290 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
31291 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
31292 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
31295 2017-09-11 Joseph Myers <joseph@codesourcery.com>
31297 * sysdeps/generic/libm-alias-float.h: New file.
31298 * sysdeps/generic/math-type-macros-float.h: Include
31299 <libm-alias-float.h>.
31300 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31302 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
31305 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
31306 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
31307 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
31308 (HWCAP_IMPORTANT): Likewise.
31309 (HWCAP_X86_64): New enum.
31310 (HWCAP_X86_AVX512_1): Updated.
31311 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
31312 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
31313 (modules-names): Add x86_64/tst-x86_64mod-1.
31314 (LDFLAGS-tst-x86_64mod-1.so): New.
31315 ($(objpfx)tst-x86_64-1): Likewise.
31316 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
31317 (tst-x86_64-1-clean): Likewise.
31318 * sysdeps/x86_64/tst-x86_64-1.c: New file.
31319 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
31321 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31323 * po/sv.po: Update translations.
31324 * po/fr.po: Likewise.
31326 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31328 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
31330 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
31332 * elf/rtld-Rules: Fix $(error) use.
31334 2017-09-09 Mike FABIAN <mfabian@redhat.com>
31337 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
31338 * locale/iso-639.def: Change “Bengali” to “Bangla”.
31339 * localedata/locales/bn_BD: “Bengali” was still used in some
31340 comments. Change it to “Bangla”.
31342 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
31344 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
31346 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31348 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
31349 thunderx2t99p1 to list of cpu names.
31350 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31351 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
31353 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31355 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
31356 Use strcmp instead of tunable_is_name.
31358 2017-09-08 Joseph Myers <joseph@codesourcery.com>
31360 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31361 (F_GET_RW_HINT): New macro.
31362 [__USE_GNU] (F_SET_RW_HINT): Likewise.
31363 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
31364 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
31365 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
31366 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
31367 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
31368 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
31369 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
31370 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
31372 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31373 (F_ADD_SEALS): New macro.
31374 [__USE_GNU] (F_GET_SEALS): Likewise.
31375 [__USE_GNU] (F_SEAL_SEAL): Likewise.
31376 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
31377 [__USE_GNU] (F_SEAL_GROW): Likewise.
31378 [__USE_GNU] (F_SEAL_WRITE): Likewise.
31380 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31382 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
31383 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
31384 * posix/glob_internal.h (__glob_pattern_type):
31385 * posix/glob.c (glob):
31386 * posix/glob_pattern_p.c (__glob_pattern_p):
31389 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
31390 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31391 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
31392 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
31393 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
31395 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
31396 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
31397 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31398 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31399 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31400 * sysdeps/wordsize-64/glob.c: Likewise.
31401 * sysdeps/wordsize-64/glob64.c: Likewise.
31402 * sysdeps/wordsize-64/globfree.c: Likewise.
31403 * sysdeps/wordsize-64/globfree64.c: Likewise.
31404 * sysdeps/unix/sysv/linux/glob.c: New file.
31405 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
31406 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
31407 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
31408 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31409 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
31410 adds !GLOB_NO_OLD_VERSION as an extra condition.
31411 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
31412 using relative path instead of absolute one.
31413 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
31414 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31415 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31416 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
31417 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
31418 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
31421 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
31422 (glob): Use the same scratch buffer for both getlogin_r and
31423 getpwnam_r. Don’t require preallocation of the login name. This
31424 simplifies storage allocation, and corrects the handling of
31428 * posix/glob.c (glob): Port recent patches to platforms
31429 lacking getpwnam_r.
31430 (glob): Fix longstanding misuse of errno after getpwnam_r, which
31431 returns an error number rather than setting errno.
31433 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
31434 instead of GCC extension.
31435 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
31436 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
31437 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
31441 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
31442 * posix/bug-glob1.c: Remove file.
31443 * posix/tst-glob_symlinks.c: New file.
31444 * posix/glob.c (__lstat64): New macro.
31445 (is_dir): New function.
31446 (glob, glob_in_dir): Match symlinks even if they are dangling.
31447 (link_stat, link_exists_p): Remove. All uses removed.
31451 * posix/glob.c (struct readdir_result): Remove skip_entry member.
31452 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
31457 * posix/Makefile (routines): Add globfree, globfree64, and
31459 * posix/flexmember.h: New file.
31460 * posix/glob_internal.h: Likewise.
31461 * posix/glob_pattern_p.c: Likewise.
31462 * posix/globfree.c: Likewise.
31463 * posix/globfree64.c: Likewise.
31464 * sysdeps/gnu/globfree64.c: Likewise.
31465 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
31466 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31467 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
31468 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31469 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31470 * sysdeps/wordsize-64/globfree.c: Likewise.
31471 * sysdeps/wordsize-64/globfree64.c: Likewise.
31472 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
31473 [NDEBUG): Remove comments.
31474 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
31475 (dirent_type): New type. Use uint_fast8_t not
31476 uint8_t, as C99 does not require uint8_t.
31477 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
31478 (struct readdir_result): Use dirent_type. Do not define skip_entry
31479 unless it is needed; this saves a byte on platforms lacking d_ino.
31480 (readdir_result_type, readdir_result_skip_entry):
31481 New functions, replacing ...
31482 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
31483 these functions, which were removed. This makes the callers
31484 easier to read. All callers changed.
31485 (D_INO_TO_RESULT): Now empty if there is no d_ino.
31486 (size_add_wrapv, glob_use_alloca): New static functions.
31487 (glob, glob_in_dir): Check for size_t overflow in several places,
31488 and fix some size_t checks that were not quite right.
31489 Remove old code using SHELL since Bash no longer
31491 (glob, prefix_array): Separate MS code better.
31492 (glob_in_dir): Remove old Amiga and VMS code.
31493 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
31495 (glob_in_dir): Do not rely on undefined behavior in accessing
31496 struct members beyond their bounds. Use a flexible array member
31498 (link_stat): Rename from link_exists2_p and return -1/0 instead of
31499 0/1. Caller changed.
31500 (glob): Fix memory leaks.
31501 * posix/glob64 (globfree64): Move to separate file.
31502 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
31503 (globfree64): Remove hidden alias.
31504 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
31506 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
31508 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
31510 Move compat code to separate file.
31511 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
31514 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
31516 * resolv/tst-resolv-qtypes.c (domain): Changed to
31517 "const char domain[] =".
31519 2017-09-07 Joseph Myers <joseph@codesourcery.com>
31521 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
31524 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
31525 (TCP_MD5SIG_EXT): Likewise.
31526 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
31527 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
31528 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
31530 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
31532 2017-09-07 Mike FABIAN <mfabian@redhat.com>
31534 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
31536 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
31539 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
31541 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31543 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
31544 before assuming that the file is empty. Avoid testing buffer content
31547 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31550 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31552 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
31554 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
31556 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
31558 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31560 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
31562 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
31565 2017-09-06 Florian Weimer <fweimer@redhat.com>
31567 * malloc/dynarray_emplace_enlarge.c
31568 (__libc_dynarray_emplace_enlarge): Add missing else.
31570 2017-09-06 Florian Weimer <fweimer@redhat.com>
31573 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
31574 case of failure to obtain the global conf object.
31576 2017-09-06 Florian Weimer <fweimer@redhat.com>
31579 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
31580 dynarray allocation failure.
31582 2017-09-06 Florian Weimer <fweimer@redhat.com>
31584 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
31585 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
31586 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
31588 (response): Call them. Add 'p', '6' flag processing.
31589 (test_reverse): New function.
31590 (test_get2_any): Call it.
31591 (test_no_inet6): Add 'p' test.
31592 (test_inet6): Likewise.
31594 2017-09-06 Florian Weimer <fweimer@redhat.com>
31596 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
31597 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
31599 (test_gai): Adjust query names. Add additional tests.
31600 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
31601 test_get2. Adjust query names. Add additional tests.
31602 (test_no_inet6): New function, extracted from threadfunc.
31603 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31604 Add additional tests.
31606 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31609 * localedata/unicode-gen/utf8_gen.py: Set the width for
31610 characters with Prepended_Concatenation_Mark property to 1
31611 * localedata/charmaps/UTF-8: Updated using the improved script.
31613 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31616 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31617 use the range notation for all ranges of neighbouring characters
31618 with the same width.
31620 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31622 * sysdeps/generic/math-type-macros-double.h: Include
31623 <math-svid-compat.h>.
31624 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31625 * sysdeps/generic/math-type-macros-float.h: Include
31626 <math-svid-compat.h>.
31627 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31628 * sysdeps/generic/math-type-macros-ldouble.h: Include
31629 <math-svid-compat.h>.
31630 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31631 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31633 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31634 * math/w_acosf_compat.c: Likewise.
31635 * math/w_acosh_compat.c: Likewise.
31636 * math/w_acoshf_compat.c: Likewise.
31637 * math/w_acoshl_compat.c: Likewise.
31638 * math/w_acosl_compat.c: Likewise.
31639 * math/w_asin_compat.c: Likewise.
31640 * math/w_asinf_compat.c: Likewise.
31641 * math/w_asinl_compat.c: Likewise.
31642 * math/w_atan2_compat.c: Likewise.
31643 * math/w_atan2f_compat.c: Likewise.
31644 * math/w_atan2l_compat.c: Likewise.
31645 * math/w_atanh_compat.c: Likewise.
31646 * math/w_atanhf_compat.c: Likewise.
31647 * math/w_atanhl_compat.c: Likewise.
31648 * math/w_cosh_compat.c: Likewise.
31649 * math/w_coshf_compat.c: Likewise.
31650 * math/w_coshl_compat.c: Likewise.
31651 * math/w_exp10_compat.c: Likewise.
31652 * math/w_exp10f_compat.c: Likewise.
31653 * math/w_exp10l_compat.c: Likewise.
31654 * math/w_exp2_compat.c: Likewise.
31655 * math/w_exp2f_compat.c: Likewise.
31656 * math/w_exp2l_compat.c: Likewise.
31657 * math/w_fmod_compat.c: Likewise.
31658 * math/w_fmodf_compat.c: Likewise.
31659 * math/w_fmodl_compat.c: Likewise.
31660 * math/w_hypot_compat.c: Likewise.
31661 * math/w_hypotf_compat.c: Likewise.
31662 * math/w_hypotl_compat.c: Likewise.
31663 * math/w_j0_compat.c: Likewise.
31664 * math/w_j0f_compat.c: Likewise.
31665 * math/w_j0l_compat.c: Likewise.
31666 * math/w_j1_compat.c: Likewise.
31667 * math/w_j1f_compat.c: Likewise.
31668 * math/w_j1l_compat.c: Likewise.
31669 * math/w_jn_compat.c: Likewise.
31670 * math/w_jnf_compat.c: Likewise.
31671 * math/w_jnl_compat.c: Likewise.
31672 * math/w_lgamma_r_compat.c: Likewise.
31673 * math/w_lgammaf_r_compat.c: Likewise.
31674 * math/w_lgammal_r_compat.c: Likewise.
31675 * math/w_log10_compat.c: Likewise.
31676 * math/w_log10f_compat.c: Likewise.
31677 * math/w_log10l_compat.c: Likewise.
31678 * math/w_log2_compat.c: Likewise.
31679 * math/w_log2f_compat.c: Likewise.
31680 * math/w_log2l_compat.c: Likewise.
31681 * math/w_log_compat.c: Likewise.
31682 * math/w_logf_compat.c: Likewise.
31683 * math/w_logl_compat.c: Likewise.
31684 * math/w_pow_compat.c: Likewise.
31685 * math/w_powf_compat.c: Likewise.
31686 * math/w_powl_compat.c: Likewise.
31687 * math/w_remainder_compat.c: Likewise.
31688 * math/w_remainderf_compat.c: Likewise.
31689 * math/w_remainderl_compat.c: Likewise.
31690 * math/w_sinh_compat.c: Likewise.
31691 * math/w_sinhf_compat.c: Likewise.
31692 * math/w_sinhl_compat.c: Likewise.
31693 * math/w_sqrt_compat.c: Likewise.
31694 * math/w_sqrtf_compat.c: Likewise.
31695 * math/w_sqrtl_compat.c: Likewise.
31696 * math/w_tgamma_compat.c: Likewise.
31697 * math/w_tgammaf_compat.c: Likewise.
31698 * math/w_tgammal_compat.c: Likewise.
31699 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31700 [LIBM_SVID_COMPAT].
31701 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31702 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31703 [LIBM_SVID_COMPAT].
31704 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31705 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31706 [LIBM_SVID_COMPAT].
31707 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31708 * sysdeps/i386/fpu/w_sqrt.c: New file.
31709 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31710 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31711 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31712 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31713 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31714 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31715 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31716 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31717 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31718 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31719 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31720 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31721 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31722 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31723 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31724 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31725 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31726 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31727 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31728 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31729 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31730 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31731 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31732 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31733 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31734 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31735 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31736 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31737 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31738 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31739 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31740 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31741 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31742 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31743 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31744 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31745 * sysdeps/ia64/fpu/w_log.c: Likewise.
31746 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31747 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31748 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31749 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31750 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31751 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31752 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31753 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31754 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31755 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31756 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31757 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31758 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31759 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31760 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31761 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31762 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31763 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31764 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31765 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31766 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31767 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31768 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31769 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31770 [LIBM_SVID_COMPAT].
31771 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31772 * sysdeps/ieee754/k_standard.c: Likewise.
31773 * sysdeps/ieee754/k_standardf.c: Likewise.
31774 * sysdeps/ieee754/k_standardl.c: Likewise.
31775 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31776 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31777 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31778 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31779 long_double_symbol call on [LIBM_SVID_COMPAT].
31780 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31781 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31782 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31783 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31784 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31785 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31786 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31787 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31788 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31789 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31790 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31791 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31792 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31793 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31794 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31795 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31796 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31797 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31798 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31799 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31800 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31801 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31803 2017-09-05 Steve Ellcey <sellcey@cavium.com>
31805 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31806 * malloc/tst-mallocstate.c: Convert from test-skeleton
31807 to test-driver. Ifdef code using TEST_COMPAT macro.
31808 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31809 * math/test-matherr.c: Likewise.
31811 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31814 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31815 comparing word with byte-swapped constant.
31817 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
31820 * locale/iso-639.def: add Miskito.
31821 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31822 * localedata/locales/miq_NI: New file.
31824 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31827 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31828 (__mkdir): Likewise.
31829 * io/chmod.c (__chmod): Add libc_hidden_def.
31830 * io/mkdir.c (__mkdir): Likewise.
31831 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31832 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31833 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31834 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31836 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31838 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31842 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31843 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31845 2017-09-04 Florian Weimer <fweimer@redhat.com>
31847 * math/math.h: Issue warning if log is defined.
31849 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31851 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31852 kernel version to 4.13.
31854 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31856 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
31857 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31859 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31860 just <bits/types.h>.
31861 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
31862 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
31863 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
31864 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
31865 * misc/preadv2.c: Include <errno.h>.
31866 * misc/preadv64v2.c: Include <errno.h>.
31867 * misc/pwritev2.c: Include <errno.h>.
31868 * misc/pwritev64v2.c: Include <errno.h>.
31869 * sysdeps/posix/preadv2.c: Include <errno.h>.
31870 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31871 Fix <unistd.h> inclusion.
31872 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31873 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
31874 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31875 __strtoul_internal): New functions.
31876 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31877 * sysdeps/posix/system.c: Include <sigsetops.h>.
31878 * sysdeps/mach/hurd/i386/Makefile
31879 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31880 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31881 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
31882 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31883 __feraiseexcept_renamed to feraiseexcept instead of
31884 __GI_feraiseexcept.
31885 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
31886 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
31887 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31888 RWF_NOWAIT): Define to 0 if undefined already.
31889 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31891 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31892 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
31894 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31896 * manual/math.texi (pow10): Do not document.
31897 (pow10f): Likewise.
31898 (pow10l): Likewise.
31899 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31900 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31901 * math/libm-test-exp10.inc (pow10_test): Remove.
31902 (do_test): Do not call pow10.
31903 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31904 [NO_LONG_DOUBLE] (pow10l): Likewise.
31905 * math/w_exp10f_compat.c (pow10f): Likewise.
31906 * math/w_exp10l_compat.c (pow10l): Likewise.
31907 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31908 (pow10): Make into compat symbol.
31909 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31910 (pow10f): Make into compat symbol.
31911 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31912 (pow10l): Make into compat symbol.
31913 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31915 (CFLAGS-nldbl-pow10.c): Remove variable..
31916 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31917 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31918 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31919 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31920 Undefine and redefine.
31921 (pow10l): Make into compat symbol.
31922 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31923 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31924 * sysdeps/arm/libm-test-ulps: Likewise.
31925 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31926 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31927 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31928 * sysdeps/microblaze/libm-test-ulps: Likewise.
31929 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31930 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31931 * sysdeps/nios2/libm-test-ulps: Likewise.
31932 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31933 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31934 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31935 * sysdeps/sh/libm-test-ulps: Likewise.
31936 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31937 * sysdeps/tile/libm-test-ulps: Likewise.
31938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31940 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31942 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31944 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31946 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31947 "../ChangeLog.old/ChangeLog.8".
31948 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31949 "../ChangeLog.old/ChangeLog.14".
31951 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31953 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31956 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31958 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31960 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31962 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31963 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31965 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31967 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31968 32 atexit handlers.
31970 2017-09-01 Zack Weinberg <zackw@panix.com>
31972 * math/math.h (HUGE_VAL): Improve commentary.
31974 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31975 Andreas Schwab <schwab@suse.de>
31978 * include/stdio.h (__gen_tempfd): New function.
31979 * stdio-common/Makefile (routines): Add gentempfd.
31980 * stdio-common/gentempfd.c: New file.
31981 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31982 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31983 unnamed file first.
31985 2017-09-01 Florian Weimer <fweimer@redhat.com>
31989 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31990 result to determine success or failure, not the errno value.
31991 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31992 (tst-nss-files-hosts-erange): Link with -ldl.
31993 * nss/tst-nss-files-hosts-erange.c: New file.
31994 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31995 (do_test): Add NO_DATA tests.
31996 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31997 (do_test): Call it.
31999 2017-09-01 Florian Weimer <fweimer@redhat.com>
32002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
32003 coming from gethostbyname2_r.
32005 2017-09-01 Florian Weimer <fweimer@redhat.com>
32007 * support/namespace.h (struct support_chroot_configuration): Add
32009 (struct support_chroot): Add path_hosts, path_host_conf.
32010 * support/support_chroot.c (write_file): New function.
32011 (support_chroot_create): Call it to process /etc/resolv.conf,
32012 /etc/hosts, /etc/host.conf.
32013 (support_chroot_free): Update.
32015 2017-09-01 Florian Weimer <fweimer@redhat.com>
32017 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
32018 status indicates it is set.
32020 2017-09-01 Florian Weimer <fweimer@redhat.com>
32023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
32024 function lookup failures more reliable.
32026 2017-09-01 Florian Weimer <fweimer@redhat.com>
32028 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
32029 (getcanonname): Likewise.
32030 (gaih_inet): Likewise.
32032 2017-09-01 Florian Weimer <fweimer@redhat.com>
32034 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
32035 (getcanonname): Likewise.
32036 (gaih_inet): Likewise.
32038 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32039 Richard Henderson <rth@twiddle.net>
32041 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
32042 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
32043 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
32044 (IREG_SIZE, OREG_SIZE): New macros.
32045 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
32046 (IREG_SIZE, OREG_SIZE): New macros.
32047 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
32048 (IREG_SIZE): New macro.
32049 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
32050 (IREG_SIZE): New macro.
32051 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
32053 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
32054 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32055 (__CONCATX): Handle exceptions correctly on large values that may
32057 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
32058 Initialize if not already set.
32059 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32061 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32063 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
32064 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
32066 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
32068 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
32070 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
32072 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
32074 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
32076 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
32078 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
32079 (NO_CANCELLATION): Likewise.
32080 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
32082 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
32084 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
32086 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
32087 (NO_CANCELLATION): Likewise.
32088 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
32089 (NO_CANCELLATION): Likewise.
32090 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
32092 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
32094 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
32096 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
32098 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
32100 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
32101 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
32103 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32105 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
32108 2017-08-31 Florian Weimer <fweimer@redhat.com>
32110 * include/libc-symbols.h (internal_function): Remove.
32112 2017-08-31 Florian Weimer <fweimer@redhat.com>
32114 * stdlib/fmtmsg.c (internal_addseverity): Remove
32117 2017-08-31 Florian Weimer <fweimer@redhat.com>
32119 * stdio-common/printf_fp.c (group_number): Remove
32121 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
32123 2017-08-31 Florian Weimer <fweimer@redhat.com>
32125 * posix/fnmatch.c (internal_function): Remove definition.
32126 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
32127 * posix/regcomp.c (peek_token, init_word_char)
32128 (duplicate_node_closure, fetch_token, peek_token)
32129 (peek_token_bracket, build_range_exp, build_collating_symbol):
32131 * posix/regex_internal.c (re_string_construct_common)
32132 (create_ci_newstate, create_cd_newstate, re_string_allocate)
32133 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
32134 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
32135 (re_string_translate_buffer, re_string_reconstruct)
32136 (re_string_peek_byte_case, re_string_fetch_byte_case)
32137 (re_string_destruct, re_string_context_at, re_node_set_alloc)
32138 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
32139 (re_node_set_add_intersect, re_node_set_init_union)
32140 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
32141 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
32142 (re_dfa_add_node, calc_state_hash, re_acquire_state)
32143 (re_acquire_state_context): Likewise.
32144 * posix/regex_internal.h (internal_function): Remove definition.
32145 (re_string_realloc_buffers, build_wcs_buffer)
32146 (build_wcs_upper_buffer, build_upper_buffer)
32147 (re_string_translate_buffer, re_string_context_at)
32148 (re_string_char_size_at, re_string_wchar_at)
32149 (re_string_elem_size_at): Likewise.
32150 * posix/regexec.c (match_ctx_init, match_ctx_clean)
32151 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
32152 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
32153 (re_search_internal, re_search_2_stub, re_search_stub)
32154 (re_copy_regs, prune_impossible_nodes, check_matching)
32155 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
32156 (free_fail_stack_return, sift_states_iter_mb)
32157 (sift_states_backward, build_sifted_states)
32158 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
32159 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
32160 (check_subexp_limits, sift_states_bkref, merge_state_array)
32161 (find_recover_state, transit_state, merge_state_with_log)
32162 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
32163 (transit_state_mb, transit_state_bkref, get_subexp)
32164 (get_subexp_sub, find_subexp_node, check_arrival)
32165 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
32166 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
32167 (check_node_accept_bytes, find_collation_sequence_value)
32168 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
32169 (acquire_init_state_context, check_halt_node_context)
32170 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
32171 (sub_epsilon_src_nodes): Likewise.
32172 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
32173 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
32174 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
32175 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
32176 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
32177 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
32178 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
32179 * sysdeps/posix/ttyname.c (getttyname): Likewise.
32180 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
32181 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
32182 (PREADV): Likewise.
32183 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
32184 (PREADV): Likewise.
32185 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
32186 (PWRITEV): Likewise.
32187 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
32188 (PWRITEV): Likewise.
32189 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
32190 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
32192 2017-08-31 Florian Weimer <fweimer@redhat.com>
32194 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
32195 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
32196 Remove internal_function.
32197 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32198 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
32199 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
32200 (__deallocate_stack, __libc_pthread_init)
32201 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
32202 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
32203 (__libc_disable_asynccancel, __librt_disable_asynccancel):
32205 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
32206 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
32207 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
32209 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
32210 (__pthread_mutex_unlock_usercnt): Likewise.
32212 2017-08-31 Florian Weimer <fweimer@redhat.com>
32214 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
32215 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
32216 (fts_safe_changedir): Remove internal_function.
32217 * io/ftw.c (internal_function): Remove definition.
32218 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
32220 2017-08-31 Florian Weimer <fweimer@redhat.com>
32222 * inet/deadline.c (__deadline_current_time)
32223 (__deadline_from_timeval, __deadline_to_ms): Remove
32225 * inet/getnameinfo.c (nrl_domainname): Likewise.
32226 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
32227 * inet/inet6_option.c (add_pad): Likewise.
32228 * inet/net-internal.h (__deadline_current_time)
32229 (__deadline_from_timeval, __deadline_to_ms): Likewise.
32230 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
32231 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
32232 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
32234 2017-08-31 Joseph Myers <joseph@codesourcery.com>
32236 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
32237 include <bits/nan.h>.
32238 * math/Makefile (headers): Remove bits/nan.h.
32239 * bits/nan.h: Remove.
32240 * sysdeps/ieee754/bits/nan.h: Likewise.
32241 * sysdeps/mips/bits/nan.h: Likewise.
32243 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
32244 not include <bits/inf.h>.
32245 * math/Makefile (headers): Remove bits/inf.h.
32246 * bits/inf.h: Remove.
32247 * sysdeps/ieee754/bits/inf.h: Likewise.
32249 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
32250 bits/huge_vall.h or bits/huge_val_flt128.h.
32251 (HUGE_VAL): Define directly here.
32252 [__USE_ISOC99] (HUGE_VALF): Likewise.
32253 [__USE_ISOC99] (HUGE_VALL): Likewise.
32254 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32255 (HUGE_VAL_F128): Likewise.
32256 * math/Makefile (headers): Remove bits/huge_val.h,
32257 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
32258 * bits/huge_val.h: Remove.
32259 * bits/huge_val_flt128.h: Likewise.
32260 * bits/huge_valf.h: Likewise.
32261 * bits/huge_vall.h: Likewise.
32262 * sysdeps/ia64/bits/huge_vall.h: Likewise.
32263 * sysdeps/ieee754/bits/huge_val.h: Likewise.
32264 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
32265 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
32266 * sysdeps/sh/bits/huge_val.h: Likewise.
32267 * sysdeps/sparc/bits/huge_vall.h: Likewise.
32268 * sysdeps/x86/bits/huge_vall.h: Likewise.
32270 2017-08-31 Florian Weimer <fweimer@redhat.com>
32272 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
32274 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
32276 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
32277 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32278 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
32279 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
32280 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32281 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32282 * elf/dl-libc.c (dlerror_run): Likewise.
32283 * elf/dl-load.c (add_name_to_object, decompose_rpath)
32284 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
32285 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
32286 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
32288 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
32289 (_dl_higher_prime_number, _dl_strtoul): Likewise.
32290 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
32291 * elf/dl-profile.c (_dl_start_profile): Likewise.
32292 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
32293 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
32295 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
32296 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
32297 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
32298 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
32299 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
32300 (_dl_allocate_tls_storage): Likewise.
32301 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
32302 (_dl_check_all_versions): Likewise.
32303 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
32304 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
32305 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
32306 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32307 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
32308 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
32309 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
32310 internal_function from __dl_start.
32311 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
32312 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
32313 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
32314 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
32315 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
32316 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
32317 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
32318 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
32319 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
32320 (_dl_next_ld_env_entry, _dl_important_hwcaps)
32321 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
32322 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
32323 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
32324 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
32325 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
32327 (struct rtld_global_ro): Remove internal_function from the
32328 _dl_lookup_symbol_x member.
32329 (_dl_symbol_value): Remove. No longer defined anywhere.
32330 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
32332 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32333 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32334 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
32335 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
32336 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
32337 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
32338 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
32339 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
32340 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
32341 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
32342 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32343 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32345 2017-08-31 Florian Weimer <fweimer@redhat.com>
32347 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
32348 Remove internal_function.
32349 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32351 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32354 2017-08-31 Florian Weimer <fweimer@redhat.com>
32356 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
32357 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
32358 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
32360 2017-08-31 Florian Weimer <fweimer@redhat.com>
32362 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
32363 (__gai_enqueue_request): Remove internal_function.
32364 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
32365 (__gai_remove_request, __gai_notify, __gai_notify_only)
32366 (__gai_sigqueue): Likewise.
32367 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
32368 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
32369 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
32370 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32373 2017-08-31 Florian Weimer <fweimer@redhat.com>
32375 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
32376 * include/dirent.h (__opendirat, __getdents, __getdents64)
32377 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
32378 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
32379 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32380 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32382 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
32384 2017-08-31 Florian Weimer <fweimer@redhat.com>
32386 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
32388 (GETCWD_RETURN_TYPE): Likewise.
32390 2017-08-31 Florian Weimer <fweimer@redhat.com>
32392 * include/time.h (__tz_compute, __strptime_internal): Remove
32394 * time/strptime_l.c (__strptime_internal): Likewise.
32395 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
32397 2017-08-31 Florian Weimer <fweimer@redhat.com>
32399 * iconv/gconv.c (__gconv): Remove internal_function.
32400 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
32401 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
32402 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
32403 (__gconv_release_cache): Likewise.
32404 * iconv/gconv_close.c (__gconv_close): Likewise.
32405 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
32406 (read_conf_file, __gconv_get_path): Likewise.
32407 * iconv/gconv_db.c (derivation_lookup, add_derivation)
32408 (__gconv_release_step, gen_steps, increment_counter)
32409 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
32410 (__gconv_close_transform, free_modules_db): Likewise.
32411 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
32413 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
32414 (__gconv_find_transform, __gconv_lookup_cache)
32415 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
32416 (__gconv_close_transform, __gconv_release_cache)
32417 (__gconv_loaded_object, __gconv_release_shlib)
32418 (__gconv_compare_alias): Likewise.
32419 * iconv/gconv_open.c (__gconv_open): Likewise.
32420 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
32421 * iconv/iconvconfig.c (add_module): Likewise.
32422 * intl/dcigettext.c (plural_lookup, guess_category_value)
32423 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
32424 * intl/eval-plural.h (plural_eval): Likewise.
32425 * intl/finddomain.c (_nl_find_domain): Likewise.
32426 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
32427 (_nl_load_domain, _nl_find_msg): Likewise.
32428 (internal_function): Remove definition.
32429 * intl/loadinfo.h (internal_function): Likewise.
32430 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
32432 * intl/localealias.c (internal_function): Remove definition.
32433 (read_alias_file): Remove internal_function.
32434 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
32435 * intl/plural-exp.h (internal_function): Remove definition.
32436 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
32438 * intl/plural.c: Regenerate.
32439 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
32440 * locale/coll-lookup.c (__collidx_table_lookup)
32441 (__collseq_table_lookup): Likewise.
32442 * locale/coll-lookup.h (__collidx_table_lookup)
32443 (__collseq_table_lookup): Likewise.
32444 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
32445 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32446 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
32447 (_nl_unload_locale): Likewise.
32448 * locale/localeinfo.h (struct __locale_data): Remove
32449 internal_function from cleanup member.
32450 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
32451 (_nl_remove_locale, _nl_load_locale_from_archive)
32452 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
32453 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
32454 (_nl_cleanup_time): Remove internal_function.
32455 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
32456 (_nl_parse_alt_digit): Likewise.
32457 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
32458 (_nl_select_era_entry): Likewise.
32459 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
32460 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32461 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
32462 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32463 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
32465 2017-08-31 Florian Weimer <fweimer@redhat.com>
32467 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
32468 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32469 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
32470 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
32472 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
32473 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
32474 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
32475 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32477 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
32479 2017-08-31 Florian Weimer <fweimer@redhat.com>
32481 * misc/getttyent.c (skip, value): Remove internal_function.
32482 * misc/syslog.c (openlog_internal): Likewise.
32483 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
32485 2017-08-31 Florian Weimer <fweimer@redhat.com>
32487 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
32488 (__nss_rewrite_field): Remove internal_function.
32489 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32490 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32491 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32492 * nss/nsswitch.c (nss_parse_file, nss_getline)
32493 (nss_parse_service_list, nss_new_service): Likewise.
32494 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
32495 * nss/valid_field.c (__nss_valid_field): Likewise.
32496 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
32498 2017-08-31 Florian Weimer <fweimer@redhat.com>
32500 * malloc/arena.c (__malloc_fork_lock_parent)
32501 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
32502 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
32503 internal_function from defintions.
32504 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
32505 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
32506 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
32507 internal_function from declarations.
32508 * malloc/malloc.c (internal_function): Do not define.
32509 (mem2mem_check): Remove internal_function from declaration.
32510 (munmap_chunk, mremap_chunk): Remove internal_function.
32511 * malloc/mtrace.c (tr_where): Likewise.
32513 2017-08-31 Florian Weimer <fweimer@redhat.com>
32515 * include/rpc/pmap_clnt.h (__get_socket): Remove
32517 * sunrpc/auth_des.c (synchronize): Likewise.
32518 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
32519 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
32520 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
32521 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
32522 (key_call): Likewise.
32523 * sunrpc/pm_getport.c (__get_socket): Likewise.
32524 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
32525 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
32526 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
32527 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
32528 (invalidate): Likewise.
32529 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
32530 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
32531 (set_input_fragment, get_input_bytes): Likewise.
32533 2017-08-31 Florian Weimer <fweimer@redhat.com>
32535 * malloc/malloc.c (_int_free): Remove locked variable and related
32538 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
32541 * Makerules (build-module-helper-objlist): Filter out
32542 $(elf-objpfx)sofini.os.
32543 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
32546 2017-08-31 Florian Weimer <fweimer@redhat.com>
32548 * libio/fcloseall.c: Assume weak_alias is defined.
32549 * libio/feof.c: Likewise.
32550 * libio/fileno.c: Likewise.
32551 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
32552 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32554 (_IO_file_open): Call __open directly.
32555 (_IO_new_file_sync): Assume ESPIPE is defined.
32556 (_IO_file_seekoff_maybe_mmap): Call __read directly.
32557 (_IO_new_file_write): Call __write directly.
32558 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
32559 * libio/ftello64.c (__ftello64): Assume EIO is defined.
32560 * libio/genops.c: Assume _LIBC is defined.
32561 (save_for_backup): Remove internal_function.
32562 * libio/getc.c: Assume weak_alias is defined.
32563 * libio/getwc.c: Likewise.
32564 * libio/iofclose.c: Assume _LIBC is defined.
32565 * libio/iofdopen.c: Likewise.
32566 (_IO_fcntl): Remove macro definition.
32567 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
32568 Call __fcntl directly.
32569 * libio/iofflush.c: Assume weak_alias is defined.
32570 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
32572 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
32573 * libio/iofgets.c: Likewise.
32574 * libio/iofopen.c: Assume _LIBC is defined.
32575 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
32576 * libio/iofputs.c: Assume weak_alias is defined.
32577 * libio/iofread.c: Likewise.
32578 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
32579 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
32580 * libio/ioftell.c: Assume weak_alias is defined.
32581 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
32582 * libio/iofwide.c: Assume _LIBC is defined.
32583 (_IO_fwide): Drop SHARED conditional because it is implied by
32585 * libio/iofwrite.c: Assume weak_alias is defined.
32586 * libio/iogetdelim.c: Likewise.
32587 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
32588 * libio/iogetwline.c (wmemcpy): Remove macro definition.
32589 (_IO_getwline): Call __wmemcpy directly.
32590 * libio/iopopen.c: Assume _LIBC is defined.
32591 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32592 (_IO_close): Remove macro definitions.
32593 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
32595 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
32597 * libio/ioputs.c: Assume weak_alias is defined.
32598 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
32599 * libio/iosetbuffer.c: Assume weak_alias is defined.
32600 * libio/iosetvbuf.c: Likewise.
32601 * libio/ioungetc.c: Likewise.
32602 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
32603 libc_hidden_def, libc_hidden_weak, NULL are defined.
32604 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32605 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32607 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32609 (_IO_old_file_init_internal): Drop SHARED conditional because it
32610 is implied by SHLIB_COMPAT.
32611 (_IO_old_file_fopen): Call __open directly.
32612 (_IO_old_file_sync): Assume ESPIPE is defined.
32613 (_IO_old_file_write): Call __write directly.
32614 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32615 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32616 Call __fcntl directly.
32617 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32618 (_IO_old_fgetpos): Assume EIO is defined.
32619 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32620 (_IO_old_fgetpos64): Assume EIO is defined.
32621 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32622 (_IO_old_fsetpos): Assume EIO is defined.
32623 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32624 (_IO_old_fsetpos64): Assume EIO is defined.
32625 * libio/oldiopopen.c: Assume _LIBC is defined.
32626 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32627 (_IO_close): Remove macro definitions.
32628 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32630 (_IO_old_proc_close): Call __close, __waitpid directly.
32631 * libio/put.c: Assume weak_alias is defined.
32632 * libio/stdfiles.c: Assume _LIBC is defined.
32633 * libio/stdio.c: Likewise.
32634 * libio/wfileops.c: Likewise.
32635 (_IO_wfile_sync): Assume ESPIPE is defined.
32636 * libio/wgenops.c: Assume _LIBC is defined.
32637 (save_for_wbackup): Remove internal_function.
32639 2017-08-31 Florian Weimer <fweimer@redhat.com>
32641 * malloc/malloc.c (top_check): Change return type to void. Remove
32643 * malloc/hooks.c (top_check): Likewise.
32644 (malloc_check, realloc_check, memalign_check): Adjust.
32646 2017-08-30 Joseph Myers <joseph@codesourcery.com>
32649 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32650 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32651 sigcontext and namespace requirements.
32652 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32653 * sysdeps/m68k/sys/ucontext.h: Likewise.
32654 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32655 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32656 <bits/sigcontext.h>.
32657 (__ctx): Define earlier.
32658 (mcontext_t): Define structure contents rather than using struct
32660 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32661 __glibc_reserved1 instead of __reserved.
32662 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32663 <bits/sigcontext.h>.
32664 (__ctx): Define earlier.
32665 (mcontext_t): Define structure contents rather than using struct
32667 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32668 mcontext_t instead of struct sigcontext.
32669 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32670 <bits/sigcontext.h>.
32671 (__ctx): Define earlier.
32672 (mcontext_t): Define structure contents rather than using struct
32674 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32675 <bits/sigcontext.h>.
32676 (__ctx): Define earlier.
32677 (mcontext_t): Define structure contents rather than using struct
32679 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32680 mcontext_t instead of struct sigcontext.
32681 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32682 mcontext_t instead of struct sigcontext.
32683 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32684 <bits/sigcontext.h>.
32685 (__ctx): New macro.
32686 (struct __ia64_fpreg_mcontext): New type.
32687 (mcontext_t): Define structure contents rather than using struct
32689 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32690 (uc_sigmask): Define using __ctx.
32691 (uc_stack): Likewise.
32692 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32693 <bits/sigcontext.h>.
32694 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32695 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32696 <bits/sigcontext.h>.
32697 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32698 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32699 <bits/sigcontext.h>.
32700 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32701 <bits/sigcontext.h>.
32702 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32703 <bits/sigcontext.h>.
32704 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32705 <bits/sigcontext.h>.
32706 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32707 <bits/sigcontext.h>.
32708 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32709 <bits/sigcontext.h>.
32710 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32711 <bits/sigcontext.h>.
32712 (__ctx): Define earlier.
32713 (mcontext_t): Define structure contents rather than using struct
32715 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32716 <bits/sigcontext.h>. Include <bits/types.h>.
32717 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32718 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32719 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32720 (test-xfail-UNIX98/signal.h/conform): Likewise.
32721 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32722 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32723 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32724 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32725 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32726 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32727 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32728 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32729 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32731 2017-08-30 Florian Weimer <fweimer@redhat.com>
32733 * malloc/dynarray_emplace_enlarge.c
32734 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32735 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32736 * malloc/tst-dynarray.c (test_long_overflow): New function.
32737 (do_test): Call it.
32739 2017-08-30 Florian Weimer <fweimer@redhat.com>
32741 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32742 (set_arena_corrupt): Remove definitions.
32743 (mtrim): Do not check for corrupt arena.
32744 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32747 2017-08-30 Florian Weimer <fweimer@redhat.com>
32750 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32752 (ptmalloc_init): Do not set or use check_action.
32753 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32754 call to malloc_printerr. Remove return statement.
32755 (free_check): Likewise. Remove arena unlock.
32756 (top_check): Update comment. Adjust call to malloc_printerr.
32757 Remove heap repair code.
32758 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32759 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32760 (sysmalloc): Adjust call to malloc_printerr.
32761 (munmap_chunk, __libc_realloc): Likewise. Remove return
32763 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32764 Remove errout label and corresponding gotos.
32765 (_int_free): Likewise. Remove arena unlock.
32766 (do_set_mallopt_check): Do not set check_action.
32767 (malloc_printerr): Adjust parameter list. Do not mark arena as
32769 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32771 * manual/probes.texi (Memory Allocation Probes): Remove
32772 memory_mallopt_check_action.
32774 2017-08-30 Steve Ellcey <sellcey@cavium.com>
32776 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32777 Use pointer to uint64_t instead of long int for sp.
32779 2017-08-30 Florian Weimer <fweimer@redhat.com>
32782 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32783 without printing a backtrace. Do not leak any information in the
32785 * manual/memory.texi (Heap Consistency Checking): Update.
32786 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32788 2017-08-30 Florian Weimer <fweimer@redhat.com>
32790 Do not scale NPTL tests with available number of CPUs.
32791 * nptl/tst-cond16.c (count): Set to constant value of 8.
32792 * nptl/tst-cond18.c (count): Likewise.
32794 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32797 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32798 Define to take a second argument that is a macro that
32799 concatentates a suffix, not the suffix itself.
32800 (__CONCAT_d): New macro.
32801 (__CONCAT_f): Likewise.
32802 (__CONCAT_l): Likewise.
32804 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32806 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32809 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32810 Aurelien Jarno <aurelien@aurel32.net>
32811 Maciej W. Rozycki <macro@imgtec.com>
32814 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32815 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32816 `mips16-syscall6' and `mips16-syscall7'.
32817 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32818 (CFLAGS-mips16-syscall7.c): Remove.
32819 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32820 Remove `__mips16_syscall5', `__mips16_syscall6' and
32821 `__mips16_syscall7'.
32822 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32823 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32824 `__mips_syscall_return'.
32825 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32826 (__mips16_syscall1): Likewise.
32827 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32828 (__mips16_syscall2): Likewise.
32829 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32830 (__mips16_syscall3): Likewise.
32831 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32832 (__mips16_syscall4): Likewise.
32833 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32835 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32837 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32839 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32840 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32841 `__mips16_syscall5'. Remove prototype.
32842 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32843 `__mips16_syscall6'. Remove prototype.
32844 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32845 `__mips16_syscall7'. Remove prototype.
32846 (__nomips16, __mips16_syscall_return): Move to...
32847 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32848 (__nomips16, __mips_syscall_return): ... here.
32849 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32850 `__mips16_syscall_return' to `__mips_syscall_return'.
32851 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32852 `internal_syscall##nr'.
32853 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32854 `internal_syscall##nr'.
32855 (FORCE_FRAME_POINTER): Remove.
32856 (__mips_syscall5): New prototype.
32857 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32858 (__mips_syscall6): New prototype.
32859 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32860 (__mips_syscall7): New prototype.
32861 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32862 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32863 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32864 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32865 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32866 (sysdep_routines): Add libc-do-syscall.
32867 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32868 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32870 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32873 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32874 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32875 (advise_stack_range): New function.
32876 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32877 stack non required to advise_stack_range at allocatestack.c
32879 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32881 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32883 2017-08-29 Florian Weimer <fweimer@redhat.com>
32886 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32887 __end_fct. Mangle __end_fct after setting it to NULL.
32888 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32889 (modules-names, modules-names-tests): Add
32890 tst-gconv-init-failure-mod.
32891 (gconv-modules): New target.
32892 (tst-gconv-init-failure-mod.so): Link against libsupport.
32893 (tst-gconv-init-failure): Depend on gconv-modules,
32894 tst-gconv-init-failure-mod.so.
32895 * iconv/tst-gconv-init-failure-mod.c: New file.
32896 * iconv/tst-gconv-init-failure.c: Likewise.
32897 * iconv/test-gconv-modules: Likewise.
32899 2017-08-29 Florian Weimer <fweimer@redhat.com>
32902 * iconv/gconv_db.c (free_derivation): Remove redundant
32904 (gen_steps): Unconditionally mangle __btowc_fct after
32906 (increment_counter): Likewise. Do not call init_fct for internal
32909 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32912 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32913 (_MSUF_): Remove macro.
32914 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32916 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32917 (__REDIRFROM_X): New macro.
32918 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32920 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32921 (__REDIRTO_X): Likewise.
32922 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32924 (__MATH_REDIRCALL_2): Likewise.
32925 (__MATH_REDIRCALL_INTERNAL): Likewise.
32926 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32927 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32928 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32929 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32930 * math/test-finite-macros.c: New file.
32931 * math/Makefile (tests): Add test-finite-macros.
32932 (CFLAGS-test-finite-macros.c): New variable.
32934 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
32935 Jeff Law <law@redhat.com>
32938 Mangle NULL pointers in iconv/gconv.
32939 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32940 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32941 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32942 is non-NULL before demangling the end_fct. Check for NULL
32943 end_fct after demangling.
32944 (__gconv_release_step): Demangle the end_fct before checking
32945 it for NULL. Remove assert on __shlibc_handle != NULL.
32946 (gen_steps): Don't check btowc_fct for NULL before mangling.
32947 Demangle init_fct before checking for NULL.
32948 (increment_counter): Likewise.
32949 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32950 end_fct for NULL before mangling.
32951 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32954 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
32957 * locale/iso-639.def: add Morisyen.
32959 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32962 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32963 (iszero): New C++ implementation that does not use
32964 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32965 signaling nans are enabled, since __builtin_types_compatible_p
32966 is a C-only feature.
32967 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32968 defined, include ieee754_float128.h for access to the union and
32969 member ieee854_float128.ieee.
32970 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32971 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32972 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32973 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32974 options of test-math-zero on powerpc64le.
32976 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32978 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32979 Change double to float.
32981 2017-08-28 Joseph Myers <joseph@codesourcery.com>
32983 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32985 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32986 conditional code; define contents only for [LIBM_SVID_COMPAT].
32988 2017-08-28 Florian Weimer <fweimer@redhat.com>
32990 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32991 (abi-lp64_be-options): Remove.
32992 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32993 (abi-hard-options): Likewise.
32994 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32995 (abi-o32_hard-options, abi-o32_soft_2008-options)
32996 (abi-o32_hard_2008-options, abi-n32_soft-options)
32997 (abi-n32_hard-options, abi-n32_soft_2008-options)
32998 (abi-n32_hard_2008-options, abi-n64_soft-options)
32999 (abi-n64_hard-options, abi-n64_soft_2008-options)
33000 (abi-n64_hard_2008-options): Likewise.
33001 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
33002 (abi-64-v1-options, abi-64-v2-options): Likewise.
33003 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
33004 (abi-64-options): Likewise.
33005 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
33006 (abi-64-options): Likewise.
33007 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
33008 (abi-64-options): Likewise.
33009 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
33010 (abi-64-options, abi-x32-options): Likewise.
33012 2017-08-28 Florian Weimer <fweimer@redhat.com>
33014 Store supported list of SYS_* system calls in the source tree.
33015 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
33016 (bits/syscall.h): Generate from list file.
33017 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
33018 [$(subdir) = misc] (tests): Add tst-syscall-list.
33019 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
33020 [$(subdir) = misc] (tst-syscall-list-macros.list)
33021 [$(subdir) = misc] (tst-syscall-list-nr.list)
33022 (tst-syscall-list-sys.list): Helper targets for new
33023 tst-syscall-list test.
33024 [$(subdir) = misc] (tst-syscall-list.out): Run test script
33025 tst-syscall-list.sh.
33026 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
33027 target. Do not include bits/syscall.d.
33028 [$(subdir) = misc] (generated): Do not update.
33029 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
33030 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
33031 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
33032 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
33034 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
33036 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
33037 (tst-cxa_atexit, tst-on_exit): Likewise.
33038 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
33039 tst-cxa_atexit, and tst-on_exit.
33040 * stdlib/tst-atexit-common.c: New file.
33041 * stdlib/tst-atexit.c: New file.
33042 * stdlib/tst-at_quick_exit.c: New file.
33043 * stdlib/tst-cxa_atexit.c: New file.
33044 * stdlib/tst-on_exit.c: New file.
33046 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33048 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
33049 * mach/stack_chk_fail_local.c: New file.
33050 * hurd/stack_chk_fail_local.c: New file.
33051 * mach/Machrules ($(interface-library)-routines): Add
33052 stack_chk_fail_local.
33053 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
33054 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
33055 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
33056 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
33057 * hurd/Makefile (CFLAGS-hurdstartup.o,
33058 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
33060 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
33062 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33063 (index_cpu_*, index_arch_*): Removed.
33065 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33067 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
33068 Use uint64_t instead of unsigned long.
33070 2017-08-25 Joseph Myers <joseph@codesourcery.com>
33072 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
33073 [__HAVE_DISTINCT_FLOAT128].
33075 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
33076 of <bits/math-finite.h>.
33077 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
33078 inclusion of <bits/math-finite.h>.
33079 * math/bits/math-finite.h (__REDIRTO_X): Do not define
33080 conditionally on [__MATH_DECLARING_LDOUBLE && defined
33081 __NO_LONG_DOUBLE_MATH].
33082 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
33083 (__MATH_REDIRCALL_2): Likewise.
33084 (__MATH_REDIRCALL_INTERNAL): Likewise.
33085 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33086 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
33087 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
33091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
33093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
33095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
33097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
33099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
33101 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33102 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33103 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33104 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
33106 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
33107 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
33108 w_sqrtf_compat-ppc32.
33110 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33112 * math/math.h [defined __cplusplus] (issignaling): In the long
33113 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
33114 is not defined. Call __issignaling, otherwise.
33116 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33118 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
33119 syscall definitions and replace __builtin_expect with __glibc_likely.
33120 * sysdeps/unix/syscall-template.S: Update comment about cancellable
33122 (SYSCALL_CANCELLABLE): Removedefinition
33123 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
33125 (PSEUDO_END): Likewise.
33126 [IS_IN (libpthread)] (CENABLE): Likewise.
33127 [IS_IN (libpthread)] (CDISABLE): Likewise.
33128 [IS_IN (libc)] (CENABLE): Likewise.
33129 [IS_IN (libc)] (CENABLE): Likewise.
33130 [IS_IN (librt)] (CDISABLE): Likewise.
33131 [IS_IN (librt)] (CDISABLE): Likewise.
33132 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33133 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
33135 (PSEUDO_END): Likewise.
33136 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
33137 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
33138 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33139 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33140 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33141 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33142 (CENABLE): Likewise.
33143 (CDISABLE): Likewise.
33144 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33145 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
33147 (PSEUDO_END): Likewise.
33148 [IS_IN (libpthread)] (CENABLE): Likewise.
33149 [IS_IN (libpthread)] (CDISABLE): Likewise.
33150 [IS_IN (libc)] (CENABLE): Likewise.
33151 [IS_IN (libc)] (CENABLE): Likewise.
33152 [IS_IN (librt)] (CDISABLE): Likewise.
33153 [IS_IN (librt)] (CDISABLE): Likewise.
33154 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33155 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
33157 (PSEUDO_END): Likewise.
33158 [IS_IN (libpthread)] (CENABLE): Likewise.
33159 [IS_IN (libpthread)] (CDISABLE): Likewise.
33160 [IS_IN (libc)] (CENABLE): Likewise.
33161 [IS_IN (libc)] (CENABLE): Likewise.
33162 [IS_IN (librt)] (CDISABLE): Likewise.
33163 [IS_IN (librt)] (CDISABLE): Likewise.
33164 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33165 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
33167 (PSEUDO_END): Likewise.
33168 [IS_IN (libpthread)] (CENABLE): Likewise.
33169 [IS_IN (libpthread)] (CDISABLE): Likewise.
33170 [IS_IN (libc)] (CENABLE): Likewise.
33171 [IS_IN (libc)] (CENABLE): Likewise.
33172 [IS_IN (librt)] (CDISABLE): Likewise.
33173 [IS_IN (librt)] (CDISABLE): Likewise.
33174 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33175 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
33177 (PSEUDO_END): Likewise.
33178 [IS_IN (libpthread)] (CENABLE): Likewise.
33179 [IS_IN (libpthread)] (CDISABLE): Likewise.
33180 [IS_IN (libc)] (CENABLE): Likewise.
33181 [IS_IN (libc)] (CENABLE): Likewise.
33182 [IS_IN (librt)] (CDISABLE): Likewise.
33183 [IS_IN (librt)] (CDISABLE): Likewise.
33184 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33185 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
33187 (PSEUDO_END): Likewise.
33188 [IS_IN (libpthread)] (CENABLE): Likewise.
33189 [IS_IN (libpthread)] (CDISABLE): Likewise.
33190 [IS_IN (libc)] (CENABLE): Likewise.
33191 [IS_IN (libc)] (CENABLE): Likewise.
33192 [IS_IN (librt)] (CDISABLE): Likewise.
33193 [IS_IN (librt)] (CDISABLE): Likewise.
33194 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33195 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
33197 (PSEUDO_END): Likewise.
33198 [IS_IN (libpthread)] (CENABLE): Likewise.
33199 [IS_IN (libpthread)] (CDISABLE): Likewise.
33200 [IS_IN (libc)] (CENABLE): Likewise.
33201 [IS_IN (libc)] (CENABLE): Likewise.
33202 [IS_IN (librt)] (CDISABLE): Likewise.
33203 [IS_IN (librt)] (CDISABLE): Likewise.
33204 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33205 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
33207 (PSEUDO_END): Likewise.
33208 [IS_IN (libpthread)] (CENABLE): Likewise.
33209 [IS_IN (libpthread)] (CDISABLE): Likewise.
33210 [IS_IN (libc)] (CENABLE): Likewise.
33211 [IS_IN (libc)] (CENABLE): Likewise.
33212 [IS_IN (librt)] (CDISABLE): Likewise.
33213 [IS_IN (librt)] (CDISABLE): Likewise.
33214 (SINGLE_THREAD_P): Likewise.
33215 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
33217 (PSEUDO_END): Likewise.
33218 [IS_IN (libpthread)] (CENABLE): Likewise.
33219 [IS_IN (libpthread)] (CDISABLE): Likewise.
33220 [IS_IN (libc)] (CENABLE): Likewise.
33221 [IS_IN (libc)] (CENABLE): Likewise.
33222 [IS_IN (librt)] (CDISABLE): Likewise.
33223 [IS_IN (librt)] (CDISABLE): Likewise.
33224 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33225 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
33227 (PSEUDO_END): Likewise.
33228 [IS_IN (libpthread)] (CENABLE): Likewise.
33229 [IS_IN (libpthread)] (CDISABLE): Likewise.
33230 [IS_IN (libc)] (CENABLE): Likewise.
33231 [IS_IN (libc)] (CENABLE): Likewise.
33232 [IS_IN (librt)] (CDISABLE): Likewise.
33233 [IS_IN (librt)] (CDISABLE): Likewise.
33234 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33235 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
33236 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33237 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
33238 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
33240 (PSEUDO_END): Likewise.
33241 [IS_IN (libpthread)] (CENABLE): Likewise.
33242 [IS_IN (libpthread)] (CDISABLE): Likewise.
33243 [IS_IN (libc)] (CENABLE): Likewise.
33244 [IS_IN (libc)] (CENABLE): Likewise.
33245 [IS_IN (librt)] (CDISABLE): Likewise.
33246 [IS_IN (librt)] (CDISABLE): Likewise.
33247 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33248 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
33250 (PSEUDO_END): Likewise.
33251 [IS_IN (libpthread)] (CENABLE): Likewise.
33252 [IS_IN (libpthread)] (CDISABLE): Likewise.
33253 [IS_IN (libc)] (CENABLE): Likewise.
33254 [IS_IN (libc)] (CENABLE): Likewise.
33255 [IS_IN (librt)] (CDISABLE): Likewise.
33256 [IS_IN (librt)] (CDISABLE): Likewise.
33257 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33258 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
33260 (PSEUDO_END): Likewise.
33261 [IS_IN (libpthread)] (CENABLE): Likewise.
33262 [IS_IN (libpthread)] (CDISABLE): Likewise.
33263 [IS_IN (libc)] (CENABLE): Likewise.
33264 [IS_IN (libc)] (CENABLE): Likewise.
33265 [IS_IN (librt)] (CDISABLE): Likewise.
33266 [IS_IN (librt)] (CDISABLE): Likewise.
33267 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33268 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
33269 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33270 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
33271 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
33273 (PSEUDO_END): Likewise.
33274 [IS_IN (libpthread)] (CENABLE): Likewise.
33275 [IS_IN (libpthread)] (CDISABLE): Likewise.
33276 [IS_IN (libc)] (CENABLE): Likewise.
33277 [IS_IN (libc)] (CENABLE): Likewise.
33278 [IS_IN (librt)] (CDISABLE): Likewise.
33279 [IS_IN (librt)] (CDISABLE): Likewise.
33280 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33281 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
33283 (PSEUDO_END): Likewise.
33284 [IS_IN (libpthread)] (CENABLE): Likewise.
33285 [IS_IN (libpthread)] (CDISABLE): Likewise.
33286 [IS_IN (libc)] (CENABLE): Likewise.
33287 [IS_IN (libc)] (CENABLE): Likewise.
33288 [IS_IN (librt)] (CDISABLE): Likewise.
33289 [IS_IN (librt)] (CDISABLE): Likewise.
33290 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33292 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33294 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
33296 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33298 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33300 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33303 * string/stratcliff.c (do_test): Declare size, nchars, inner,
33304 middle and outer with size_t instead of int. Repleace %d and
33305 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
33306 "MAX (outer, nchars - 64)" to support unsigned outer and
33307 nchars. Also exit loop when outer == 0.
33309 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33311 * include/fcntl.h (__fcntl_nocancel): Remove definition.
33312 * include/signal.h (__sigsuspend_nocancel): Likewise.
33313 * include/time.h (__nanosleep_nocancel): Likewise.
33314 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
33315 * login/utmp_file.c: Include non cancellable syscall header.
33316 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
33319 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33321 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
33322 .byte sequences with AVX512F instructions.
33323 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
33324 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
33325 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33326 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
33328 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
33331 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
33332 Steve Ellcey <sellcey@cavium.com>
33334 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
33335 Use PTR_REG macro in cmp instruction.
33337 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33339 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
33340 Change the return type of the ifunc resolver to match the return
33341 type of the target function.
33343 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33345 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
33346 (preadv64): Likewise.
33347 (pwrite64(: Likewise.
33348 (pwritev64): Likewise.
33350 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33351 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
33352 (LOAD_ARGS_0): Likewise.
33353 (LOAD_ARGS_1): Likewise.
33354 (LOAD_ARGS_2): Likewise.
33355 (LOAD_ARGS_3): Likewise.
33356 (LOAD_ARGS_4): Likewise.
33357 (LOAD_ARGS_5): Likewise.
33358 (LOAD_ARGS_6): Likewise.
33359 (LOAD_REGS_0): Likewise.
33360 (LOAD_REGS_1): Likewise.
33361 (LOAD_REGS_2): Likewise.
33362 (LOAD_REGS_3): Likewise.
33363 (LOAD_REGS_4): Likewise.
33364 (LOAD_REGS_5): Likewise.
33365 (LOAD_REGS_6): Likewise.
33366 (ASM_ARGS_0): Likewise.
33367 (ASM_ARGS_1): Likewise.
33368 (ASM_ARGS_2): Likewise.
33369 (ASM_ARGS_3): Likewise.
33370 (ASM_ARGS_4): Likewise.
33371 (ASM_ARGS_5): Likewise.
33372 (ASM_ARGS_6): Likewise.
33373 (LOAD_ARGS_TYPES_1): Likewise.
33374 (LOAD_ARGS_TYPES_2): Likewise.
33375 (LOAD_ARGS_TYPES_3): Likewise.
33376 (LOAD_ARGS_TYPES_4): Likewise.
33377 (LOAD_ARGS_TYPES_5): Likewise.
33378 (LOAD_ARGS_TYPES_6): Likewise.
33379 (LOAD_REGS_TYPES_1): Likewise.
33380 (LOAD_REGS_TYPES_2): Likewise.
33381 (LOAD_REGS_TYPES_3): Likewise.
33382 (LOAD_REGS_TYPES_4): Likewise.
33383 (LOAD_REGS_TYPES_5): Likewise.
33384 (LOAD_REGS_TYPES_6): Likewise.
33385 (TYPEFY): New define.
33386 (ARGIFY): Likewise.
33387 (internal_syscall0): Likewise.
33388 (internal_syscall1): Likewise.
33389 (internal_syscall2): Likewise.
33390 (internal_syscall3): Likewise.
33391 (internal_syscall4): Likewise.
33392 (internal_syscall5): Likewise.
33393 (internal_syscall6): Likewise.
33394 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
33395 (INTERNAL_SYSCALL_NCS): Remove define.
33396 (internal_syscall1): Add define.
33398 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33400 * math/w_remainder_compat.c: Remove duplicate inclusion of
33401 math-svid-compat.h.
33402 * math/w_remainderf_compat.c: Likewise.
33403 * math/w_remainderl_compat.c: Likewise.
33405 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33409 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33412 * math/tgmath.h (__floating_type): Simplify definitions.
33413 (__real_integer_type): New macro.
33414 (__complex_integer_type): Likewise.
33415 (__expr_is_real): Likewise.
33416 (__tgmath_real_type_sub): Update comment to describe handling of
33418 (__tgmath_complex_type_sub): New macro.
33419 (__tgmath_complex_type): Likewise.
33420 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33421 (__TGMATH_CF128): Use __expr_is_real.
33422 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
33424 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33425 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
33426 * math/gen-tgmath-tests.py (Type.create_type): Create complex
33429 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33431 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
33433 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
33435 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
33438 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
33439 nanosleep_not_cancel with __nanosleep_nocancel.
33440 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
33441 (__nanosleep_nocancel): New macro.
33442 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
33444 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
33446 (__nanosleep_nocancel): New prototype.
33448 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
33449 pause_not_cancel with __pause_nocancel.
33450 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
33451 (__pause_nocancel): New macro.
33452 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
33454 (__pause_nocancel): New prototype.
33455 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
33457 2017-08-22 Martin Sebor <msebor@redhat.com>
33459 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
33460 to return a pointer to the same type as the target function.
33462 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33466 * include/printf.h (__printf_fphex): Add attribute_hidden.
33467 (__guess_grouping): New prototype.
33468 * stdio-common/printf_fp.c (__guess_grouping): Removed.
33469 * stdio-common/reg-printf.c (__register_printf_specifier): Add
33470 libc_hidden_proto and libc_hidden_def.
33471 * stdlib/strfmon_l.c (__guess_grouping): Removed.
33472 (__vstrfmon_l): Remove the third argument passed to
33475 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33477 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
33478 definition for issignaling that does not rely on __MATH_TG,
33479 since __MATH_TG uses __builtin_types_compatible_p, which is only
33480 available in C mode.
33481 (CFLAGS-test-math-issignaling.cc): New variable.
33482 * math/Makefile [CXX] (tests): Add test-math-issignaling.
33483 * math/test-math-issignaling.cc: New test for C++ implementation
33484 of type-generic issignaling.
33485 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33486 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
33487 options of test-math-issignaling on powerpc64le.
33489 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33491 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33493 (hidden_proto): Likewise.
33494 (hidden_tls_proto): Likewise.
33495 (__hidden_proto): Likewise.
33497 2017-08-22 Florian Weimer <fweimer@redhat.com>
33499 math: Statically link tests of internal functionality.
33500 * math/Makefile (tests): Remove atest-exp, atest-sincos,
33502 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
33503 (gmp-objs): Remove assignment.
33504 (atest-exp, atest-sincos, atest-exp2): Remove targets.
33506 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33509 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
33511 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
33513 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
33516 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
33517 variable definitions above inclusion of ../Rules.
33519 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33521 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
33522 case calling __builtin_unreachable.
33524 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33526 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
33527 __waitpid_nocancel.
33528 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
33529 (__waitpid_nocancel): New macro.
33530 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
33532 (__waitpid_nocancel): Replace macro with a function.
33533 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
33536 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
33538 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
33539 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
33541 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
33542 __writev_nocancel_nostatus.
33543 (write_call_graph): Likewise.
33544 (write_bb_counts): Likewise.
33545 * resolv/herror.c (herror): Likewise.
33546 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
33548 (__writev_nocancel_nostatus): New macro.
33549 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
33551 (__writev_nocancel_nostatus): New function.
33553 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33556 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33558 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33560 (hidden_proto): Likewise.
33561 (hidden_tls_proto): Likewise.
33562 (__hidden_proto): Likewise.
33565 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
33566 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
33571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
33575 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
33576 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33577 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33578 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33579 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
33580 GLIBC_2.0 sqrtl symbol.
33582 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
33583 [__USE_MISC] (_LIB_VERSION): Likewise.
33584 [__USE_MISC] (struct exception): Likewise.
33585 [__USE_MISC] (matherr): Likewise.
33586 [__USE_MISC] (DOMAIN): Likewise.
33587 [__USE_MISC] (SING): Likewise.
33588 [__USE_MISC] (OVERFLOW): Likewise.
33589 [__USE_MISC] (UNDERFLOW): Likewise.
33590 [__USE_MISC] (TLOSS): Likewise.
33591 [__USE_MISC] (PLOSS): Likewise.
33592 [__USE_MISC] (HUGE): Likewise.
33593 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
33594 * math/math-svid-compat.h: New file.
33595 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
33597 * include/math.h [!_ISOMAC] (__matherr): Remove.
33598 * manual/arith.texi (FP Exceptions): Do not document matherr.
33599 * math/Makefile (tests): Change test-matherr to test-matherr-3.
33600 (tests-internal): New variable.
33601 (install-lib): Do not add libieee.a.
33602 (non-lib.a): Likewise.
33603 (extra-objs): Do not add libieee.a and ieee-math.o.
33604 (CPPFLAGS-s_lib_version.c): Remove variable.
33605 ($(objpfx)libieee.a): Remove rule.
33606 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33607 * math/ieee-math.c: Remove.
33608 * math/libm-test-support.c (matherr): Remove.
33609 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33610 and license notices. Include <math-svid-compat.h> and
33612 (matherr): Undefine as macro. Use compat_symbol_reference.
33613 (_LIB_VERSION): Likewise.
33614 * math/test-matherr-2.c: New file.
33615 * math/test-matherr-3.c: Likewise.
33616 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33618 (__kernel_standard_f): Likewise.
33619 (__kernel_standard_l): Likewise.
33620 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33621 <math_private.h>. Include <math-svid-compat.h>.
33622 (_LIB_VERSION): Undefine as macro.
33623 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33624 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33625 [LIBM_SVID_COMPAT], use compat_symbol.
33626 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33627 <math_private.h>. Include <math-svid-compat.h>.
33628 (matherr): Undefine as macro.
33629 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33631 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33632 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33633 compat_symbol_reference.
33634 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33635 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33636 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33637 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33638 (MATHERR_D): Remove declaration.
33639 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33640 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33641 [LIBM_BUILD] (pmatherrf): Likewise.
33642 [LIBM_BUILD] (pmatherr): Likewise.
33643 [LIBM_BUILD] (pmatherrl): Likewise.
33644 (DOMAIN): Likewise.
33646 (OVERFLOW): Likewise.
33647 (UNDERFLOW): Likewise.
33650 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33651 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33653 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33654 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33656 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33657 * math/w_acos_compat.c: Likewise.
33658 * math/w_acosf_compat.c: Likewise.
33659 * math/w_acosh_compat.c: Likewise.
33660 * math/w_acoshf_compat.c: Likewise.
33661 * math/w_acoshl_compat.c: Likewise.
33662 * math/w_acosl_compat.c: Likewise.
33663 * math/w_asin_compat.c: Likewise.
33664 * math/w_asinf_compat.c: Likewise.
33665 * math/w_asinl_compat.c: Likewise.
33666 * math/w_atan2_compat.c: Likewise.
33667 * math/w_atan2f_compat.c: Likewise.
33668 * math/w_atan2l_compat.c: Likewise.
33669 * math/w_atanh_compat.c: Likewise.
33670 * math/w_atanhf_compat.c: Likewise.
33671 * math/w_atanhl_compat.c: Likewise.
33672 * math/w_cosh_compat.c: Likewise.
33673 * math/w_coshf_compat.c: Likewise.
33674 * math/w_coshl_compat.c: Likewise.
33675 * math/w_exp10_compat.c: Likewise.
33676 * math/w_exp10f_compat.c: Likewise.
33677 * math/w_exp10l_compat.c: Likewise.
33678 * math/w_exp2_compat.c: Likewise.
33679 * math/w_exp2f_compat.c: Likewise.
33680 * math/w_exp2l_compat.c: Likewise.
33681 * math/w_fmod_compat.c: Likewise.
33682 * math/w_fmodf_compat.c: Likewise.
33683 * math/w_fmodl_compat.c: Likewise.
33684 * math/w_hypot_compat.c: Likewise.
33685 * math/w_hypotf_compat.c: Likewise.
33686 * math/w_hypotl_compat.c: Likewise.
33687 * math/w_j0_compat.c: Likewise.
33688 * math/w_j0f_compat.c: Likewise.
33689 * math/w_j0l_compat.c: Likewise.
33690 * math/w_j1_compat.c: Likewise.
33691 * math/w_j1f_compat.c: Likewise.
33692 * math/w_j1l_compat.c: Likewise.
33693 * math/w_jn_compat.c: Likewise.
33694 * math/w_jnf_compat.c: Likewise.
33695 * math/w_jnl_compat.c: Likewise.
33696 * math/w_lgamma_main.c: Likewise.
33697 * math/w_lgamma_r_compat.c: Likewise.
33698 * math/w_lgammaf_main.c: Likewise.
33699 * math/w_lgammaf_r_compat.c: Likewise.
33700 * math/w_lgammal_main.c: Likewise.
33701 * math/w_lgammal_r_compat.c: Likewise.
33702 * math/w_log10_compat.c: Likewise.
33703 * math/w_log10f_compat.c: Likewise.
33704 * math/w_log10l_compat.c: Likewise.
33705 * math/w_log2_compat.c: Likewise.
33706 * math/w_log2f_compat.c: Likewise.
33707 * math/w_log2l_compat.c: Likewise.
33708 * math/w_log_compat.c: Likewise.
33709 * math/w_logf_compat.c: Likewise.
33710 * math/w_logl_compat.c: Likewise.
33711 * math/w_pow_compat.c: Likewise.
33712 * math/w_powf_compat.c: Likewise.
33713 * math/w_powl_compat.c: Likewise.
33714 * math/w_remainder_compat.c: Likewise.
33715 * math/w_remainderf_compat.c: Likewise.
33716 * math/w_remainderl_compat.c: Likewise.
33717 * math/w_scalb_compat.c: Likewise.
33718 * math/w_scalbf_compat.c: Likewise.
33719 * math/w_scalbl_compat.c: Likewise.
33720 * math/w_sinh_compat.c: Likewise.
33721 * math/w_sinhf_compat.c: Likewise.
33722 * math/w_sinhl_compat.c: Likewise.
33723 * math/w_sqrt_compat.c: Likewise.
33724 * math/w_sqrtf_compat.c: Likewise.
33725 * math/w_sqrtl_compat.c: Likewise.
33726 * math/w_tgamma_compat.c: Likewise.
33727 * math/w_tgammaf_compat.c: Likewise.
33728 * math/w_tgammal_compat.c: Likewise.
33729 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33730 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33731 * sysdeps/ieee754/k_standard.c: Likewise.
33732 * sysdeps/ieee754/k_standardf.c: Likewise.
33733 * sysdeps/ieee754/k_standardl.c: Likewise.
33734 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33735 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33736 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33737 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33738 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33739 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33740 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33741 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33742 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33747 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33748 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33749 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33750 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33752 2017-08-21 Florian Weimer <fweimer@redhat.com>
33755 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33756 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33757 Move before inclusion of ../Rules.
33759 2017-08-21 Florian Weimer <fweimer@redhat.com>
33762 * assert/assert.h (assert): Use static_cast (bool) for C++.
33763 Use the ternary operator in the warning branch for GNU C.
33764 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33765 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33766 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33767 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33768 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33770 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33773 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33774 (__syscall_clock_gettime): Add attribute_hidden.
33775 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33776 (__start_context): Likewise.
33778 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33780 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33782 (hidden_proto): Likewise.
33783 (hidden_tls_proto): Likewise.
33784 (__hidden_proto): Likewise.
33786 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33788 * include/libc-symbols.h (attribute_hidden): Enable hidden
33789 visibility in libc.a compiled with PIE.
33791 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33794 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33795 Add attribute_hidden.
33797 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33800 * Makerules (all-nonlib): Add $(others-extras).
33801 * catgets/Makefile (others-extras): New.
33802 * elf/Makefile (others-extras): Likewise.
33803 * nss/Makefile (others-extras): Likewise.
33805 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33808 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33809 * elf/dl-open.c: Include <libc-internal.h>.
33810 (__libc_multiple_libcs): Removed.
33811 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33813 * include/libc-internal.h (__libc_multiple_libcs): New.
33814 * misc/sbrk.c: Include <libc-internal.h>.
33815 (__libc_multiple_libcs): Removed.
33817 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33820 * grp/initgroups.c (__nss_group_database): Removed.
33821 (__nss_initgroups_database): Likewise.
33822 * nscd/gai.c (__nss_hosts_database): Likewise.
33823 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33824 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33825 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33826 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33827 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33828 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33830 * nss/nsswitch.c (__nss_database_custom): Define only if
33831 USE_NSCD is defined.
33832 (__nss_configure_lookup): Use __nss_database_custom only if
33833 USE_NSCD is defined.
33834 * nss/nsswitch.h (__nss_database_custom): Declare only if
33835 USE_NSCD is defined. Add attribute_hidden.
33836 (__nss_setent): Add attribute_hidden.
33837 (__nss_endent): Likewise.
33838 (__nss_getent_r): Likewise.
33839 (__nss_getent): Likewise.
33840 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33842 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33845 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33846 libc_hidden_proto and libc_hidden_def.
33848 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33851 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33852 Add libc_hidden_proto.
33853 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33854 Add libc_hidden_def.
33856 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33859 * gmon/Makefile (routines): Remove bb_init_func and
33861 (elide-routines.os): Removed.
33862 * gmon/bb_exit_func.c: Likewise.
33863 * gmon/bb_init_func.c: Likewise.
33864 * include/sys/gmon.h (__bb): Likewise.
33865 (__bb_init_func): Likewise.
33866 (__bb_exit_func): Likewise.
33867 * sysdeps/alpha/bb_init_func.S: Likewise.
33869 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33871 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33872 * include/setjmp.h (____longjmp_chk): Here. Add
33875 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33878 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33880 (__strspn_sse2): Likewise.
33882 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33884 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33885 (close_not_cancel_no_status): Likewise.
33886 (__close_nocancel): New macro.
33887 (__close_nocancel_nostatus): Likewise.
33888 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33890 (close_not_cancel): Likewise.
33891 (close_not_cancel_no_status): Likewise.
33892 (__close_nocancel): New prototype.
33893 (__close_nocancel_nostatus): New function.
33894 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33895 * catgets/open_catalog.c (__open_catalog): Replace
33896 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33897 * gmon/gmon.c (write_gmon): Likewise.
33898 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33899 * intl/loadmsgcat.c (close): Likewise.
33900 * io/ftw.c (open_dir_stream): Likewise.
33901 (ftw_startup): Likewise.
33902 * libio/fileops.c (_IO_file_open): Likewise.
33903 (_IO_file_close_mmap): Likewise.
33904 (_IO_file_close): Likewise.
33905 * libio/iopopen.c (_IO_dup2): Likewise.
33906 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33907 * locale/loadlocale.c (_nl_load_locale): Likewise.
33908 * login/utmp_file.c (pututline_file): Likewise.
33909 (endutent_file): Likewise.
33910 * misc/daemon.c (daemon): Likewise.
33911 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33912 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33913 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33914 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33915 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33916 * nscd/nscd_helper.c (open_socket): Likewise.
33917 (__nscd_open_socket): Likewise.
33918 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33919 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33920 (__nscd_innetgr): Likewise.
33921 * nss/nss_db/db-open.c (internal_setent): Likewise.
33922 * resolv/res-close.c (__res_iclose): Likewise.
33923 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33924 * sysdeps/posix/closedir.c (__closedir): Likewise.
33925 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33926 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33927 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33928 (opendir_tail): Likewise.
33929 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33930 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33931 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33932 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33933 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33934 (gethostid): Likewise.
33935 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33936 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33938 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33939 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33940 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33941 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33943 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33944 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33945 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33947 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33948 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33950 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33952 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33953 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33954 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33957 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33958 (openat_not_cancel_3): Likewise.
33959 (openat64_not_cancel_3): Likewise).
33960 (openat_not_cancel_3): Likewise).
33961 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33963 (openat_not_cancel_3): Likewise.
33964 (openat64_not_cancel): Likewise.
33965 (openat64_not_cancel_3): Likewise.
33966 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33967 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33968 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33969 __open{64}_nocancel.
33970 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33971 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33972 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33974 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33977 * include/argz.h (__argz_create_sep): New function prototype.
33978 (__argz_append): Likewise.
33979 (__argz_add): Likewise.
33980 (__argz_add_sep): Likewise.
33981 (__argz_delete): Likewise.
33982 (__argz_insert): Likewise.
33983 (__argz_replace): Likewise.
33984 * string/argz.h (__argz_create_sep): Removed.
33985 (__argz_append): Likewise.
33986 (__argz_add): Likewise.
33987 (__argz_add_sep): Likewise.
33988 (__argz_delete): Likewise.
33989 (__argz_insert): Likewise.
33990 (__argz_replace): Likewise.
33992 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33994 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33995 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33996 (GNU_PROPERTY_STACK_SIZE): Likewie.
33997 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33998 (GNU_PROPERTY_LOPROC): Likewise.
33999 (GNU_PROPERTY_HIPROC): Likewise.
34000 (GNU_PROPERTY_LOUSER): Likewise.
34001 (GNU_PROPERTY_HIUSER): Likewise.
34002 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
34003 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
34004 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
34005 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
34006 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
34007 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
34008 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
34009 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
34010 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
34011 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
34012 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
34013 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
34014 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
34015 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
34016 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
34017 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
34018 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
34019 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
34020 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
34021 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
34022 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
34023 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
34024 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
34026 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34028 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
34031 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34034 * math/math.h (isinf): Check if in C or C++ mode before using
34035 __builtin_types_compatible_p, since this is a C mode feature.
34037 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34039 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
34040 (__write_nocancel): New macro.
34041 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
34042 Rewrite as a function prototype.
34043 (write_not_cancel): Remove macro.
34044 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
34045 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
34046 (write_gmon): Likewise.
34047 * libio/fileops.c (_IO_new_file_write): Likewise.
34048 * login/utmp_file.c (pututline_file): Likewise.
34049 (updwtmp_file): Likewise.
34050 * stdio-common/psiginfo.c (psiginfo): Likewise.
34051 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34052 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34053 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34055 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34058 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
34059 (__read_nocancel): New macro.
34060 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34062 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
34064 (__read_nocancel): New prototype.
34065 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
34066 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
34067 with __read_nocancel.
34068 * intl/loadmsgcat.c (read): Likewise.
34069 * libio/fileops.c (_IO_file_read): Likewise.
34070 * locale/loadlocale.c (_nl_load_locale): Likewise.
34071 * login/utmp_file.c (getutent_r_file): Likewise.
34072 (internal_getut_r): Likewise.
34073 (getutline_r_file): Likewise.
34074 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34075 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34076 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34077 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34079 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
34080 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34081 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34083 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34085 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34087 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34089 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34091 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34094 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
34095 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
34098 2017-08-17 DJ Delorie <dj@redhat.com>
34100 * bug17079.c: Update to new test harness.
34101 * test-digits-dots.c: Likewise.
34102 * test-netdb.c: Likewise.
34103 * tst-field.c: Likewise.
34104 * tst-nss-getpwent.c: Likewise.
34105 * tst-nss-static.c: Likewise.
34106 * tst-nss-test1.c: Likewise.
34107 * tst-nss-test2.c: Likewise.
34108 * tst-nss-test3.c: Likewise.
34109 * tst-nss-test4.c: Likewise.
34110 * tst-nss-test5.c: Likewise.
34112 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34114 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
34115 (open_not_cancel_2): Likewise.
34116 (open_nocancel): New macro.
34117 (open64_nocancel): Likewise.
34118 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
34119 (open_not_cancel_2): Likewise.
34120 (__open_nocancel): New prototype.
34121 (__open64_nocancel): Likewise.
34122 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34124 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
34125 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
34126 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
34127 with __open_nocancel.
34128 * csu/check_fds.c (check_one_fd): Likewise.
34129 * gmon/gmon.c (write_gmon): Likewise.
34130 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
34131 * intl/loadmsgcat.c (open): Likewise.
34132 * libio/fileops.c (_IO_file_open): Likewise.
34133 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34134 * locale/loadlocale.c (_nl_load_locale): Likewise.
34135 * login/utmp_file.c (setutent_file): Likewise.
34136 * misc/daemon.c (daemon): Likewise.
34137 * nss/nss_db/db-open.c (internal_setent): Likewise.
34138 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34139 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
34140 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34141 (__opendir): Likewise.
34142 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34143 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34144 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34145 (gethostid): Likewise.
34146 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34147 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34149 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34150 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
34151 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34152 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34154 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34156 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34158 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34160 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34162 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34164 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34165 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34167 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
34169 * benchtests/bench-skeleton.c (main): Add support for
34170 latency benchmarking.
34171 * benchtests/scripts/bench.py: Add support for latency benchmarking.
34173 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
34175 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
34176 the startup object.
34178 2017-08-17 Florian Weimer <fweimer@redhat.com>
34180 * include/sys/socket.h (__opensock): Remove internal_function.
34181 * socket/opensock.c (__opensock): Likewise.
34182 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
34184 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34187 * signal/bits/types/__sigval_t.h: New file.
34188 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
34189 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
34190 and define sigval_t using __sigval_t.
34191 * include/bits/types/__sigval_t.h: New file.
34192 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
34193 instead of <bits/types/__sigval_t.h>.
34194 (struct sigevent): Use __sigval_t instead of sigval_t.
34195 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
34196 instead of <bits/types/__sigval_t.h>.
34197 (siginfo_t): Use __sigval_t instead of sigval_t.
34198 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
34199 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34200 (struct sigevent): Use __sigval_t instead of sigval_t.
34201 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
34202 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34203 (siginfo_t): Use __sigval_t instead of sigval_t.
34204 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
34206 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34208 * NEWS: Remove "[Add new features here]" for 2.27.
34210 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34212 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
34215 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34217 * NEWS: Mention x86-64 FMA optimization.
34219 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34222 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34224 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
34225 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
34226 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
34228 2017-08-16 Andreas Schwab <schwab@suse.de>
34232 * elf/ldd.bash.in: Never run file directly.
34234 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
34237 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
34238 (L(SP_INF_0)): Likewise.
34240 2017-08-15 Florian Weimer <fweimer@redhat.com>
34242 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
34245 2017-08-15 Florian Weimer <fweimer@redhat.com>
34247 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
34248 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
34249 BROKEN_THREAD_SIGNALS code.
34250 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
34251 request_list): Remove caller_pid member used for
34252 BROKEN_THREAD_SIGNALS.
34253 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
34254 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34255 Remove BROKEN_THREAD_SIGNALS support.
34256 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
34257 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
34259 2017-08-15 Florian Weimer <fweimer@redhat.com>
34261 * gmon/Makefile (tests): Add tst-gmon.
34262 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
34264 (tests-special): Add tst-gmon-prof.out.
34265 (tst-gmon.out): Depend on clean-tst-gmon-data.
34266 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
34267 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
34268 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
34270 * aclocal.m4 (GPROF): Set and substitute.
34271 * config.amke.in (GPROF): Set.
34272 * configure: Regenerate.
34274 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
34276 * elf/elf.h A (NT_PPC_TAR): New macro.
34277 (NT_PPC_PPR): Likewise.
34278 (NT_PPC_DSCR): Likewise.
34279 (NT_PPC_EBB): Likewise.
34280 (NT_PPC_PMU): Likewise.
34281 (NT_PPC_TM_CGPR): Likewise.
34282 (NT_PPC_TM_CFPR): Likewise.
34283 (NT_PPC_TM_CVMX): Likewise.
34284 (NT_PPC_TM_CVSX): Likewise.
34285 (NT_PPC_TM_SPR): Likewise.
34286 (NT_PPC_TM_CTAR): Likewise.
34287 (NT_PPC_TM_CPPR): Likewise.
34288 (NT_PPC_TM_CDSCR): Likewise.
34290 2017-08-15 Florian Weimer <fweimer@redhat.com>
34292 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
34293 regparm (2) instead of internal_function.
34294 (_MCOUNT_DECL): Adjust.
34296 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34298 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
34299 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
34301 2017-08-14 Joseph Myers <joseph@codesourcery.com>
34303 * conform/data/sys/wait.h-data (si_value): Do not expect for
34306 2017-08-14 Florian Weimer <fweimer@redhat.com>
34309 NSS: Create stubs for accidentally exported lookup functions.
34310 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
34311 Remove declaration.
34312 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
34313 (ether_hostton): Call __nss_ethers_lookup2 instead.
34314 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
34315 (ether_ntohost): Call __nss_ethers_lookup2 instead.
34316 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
34317 (setup): Call __nss_netgroup_lookup2 instead.
34318 * nss/Makefile (routines): Add compat-lookup.
34319 * nss/Versions (GLIBC_2.27): Add symbol version.
34320 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
34321 (DB_COMPAT_FCT): Remove.
34322 * nss/compat-lookup.c: New file.
34323 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
34324 from databases.def.
34325 * nss/service-lookup.c (NO_COMPAT): Remove definition.
34326 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
34327 (netname2user): Call __nss_publickey_lookup2 instead.
34328 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
34329 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
34332 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34333 Sergei Trofimovich <slyfox@inbox.ru>
34336 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
34337 Rename to MMAP2_PAGE_UNIT.
34338 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
34339 __OFF_T_MATCHES_OFF64_T is not defined.
34340 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
34342 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
34343 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
34345 2017-08-14 Florian Weimer <fweimer@redhat.com>
34347 i386: Do not set internal_function.
34348 * config.h.in (USE_REGPARMS, internal_function): Remove.
34349 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
34350 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
34352 2017-08-14 Florian Weimer <fweimer@redhat.com>
34354 * elf/dl-init.c (_dl_init): Remove internal_function.
34355 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
34356 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
34358 2017-08-14 Florian Weimer <fweimer@redhat.com>
34360 * elf/rtld.c (_dl_start): Remove internal_function.
34361 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
34364 2017-08-14 Florian Weimer <fweimer@redhat.com>
34366 * elf/dl-fini.c (_dl_fini): Remove internal_function
34367 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
34369 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
34371 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
34372 (bit_cpu_SHSTK): Likewise.
34373 (index_cpu_IBT): Likewise.
34374 (index_cpu_SHSTK): Likewise.
34375 (reg_IBT): Likewise.
34376 (reg_SHSTK): Likewise.
34377 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34378 Handle index_cpu_IBT and index_cpu_SHSTK.
34380 2017-08-14 Mike FABIAN <mfabian@redhat.com>
34383 * po/fr.po: Fix spelling mistake.
34385 2017-08-13 Florian Weimer <fweimer@redhat.com>
34387 * elf/dl-addr.c (_dl_addr): Remove internal_function.
34388 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
34389 (_dl_catch_error, _dl_receive_error): Likewise.
34390 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
34391 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
34392 (_dl_deallocate_tls): Likewise.
34393 * include/dlfcn.h (_dl_addr): Likewise.
34394 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
34395 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
34396 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
34399 2017-08-13 Florian Weimer <fweimer@redhat.com>
34401 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
34402 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
34404 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
34406 2017-08-13 Florian Weimer <fweimer@redhat.com>
34408 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
34410 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
34411 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
34412 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
34413 internal_function from _dl_make_stack_executable_hook member.
34414 (_dl_make_stack_executable): Remove internal_function.
34415 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
34417 * sysdeps/unix/sysv/linux/dl-execstack.c
34418 (_dl_make_stack_executable): Likewise.
34420 2017-08-13 Florian Weimer <fweimer@redhat.com>
34422 * sysdeps/unix/sysv/linux/netlinkaccess.h
34423 (__netlink_assert_response): Remove internal_function.
34424 * sysdeps/unix/sysv/linux/netlink_assert_response.c
34425 (__netlink_assert_response): Likewise.
34427 2017-08-13 Florian Weimer <fweimer@redhat.com>
34429 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
34431 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
34433 2017-08-13 Florian Weimer <fweimer@redhat.com>
34435 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
34437 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
34438 * inet/netgroup.h (__internal_setnetgrent)
34439 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34440 * inet/getnetgrent_r.c (__internal_setnetgrent)
34441 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34442 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
34443 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
34444 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
34445 * nss/nsswitch.h (db_lookup_function): Likewise.
34447 2017-08-13 Florian Weimer <fweimer@redhat.com>
34449 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
34450 Remove internal_function.
34451 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
34452 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
34453 message argument on the stack.
34454 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
34457 2017-08-12 Mike FABIAN <mfabian@redhat.com>
34459 Adapt test case data to the changes in the thousands
34463 * localedata/tst-langinfo.sh: Adapt test case data.
34464 * stdlib/tst-strfmon_l.c: Likewise.
34465 * stdlib/tst-strtod4.c: Likewise.
34466 * stdlib/tst-strtod5i.c: Likewise.
34468 2017-08-11 Florian Weimer <fweimer@redhat.com>
34471 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
34472 Suppress pedantic warning resulting from statement expression.
34473 (__ASSERT_FUNCTION): Add missing __extension__.
34475 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34477 * benchtests/bench-memmove-large.c: Print output in JSON
34479 * benchtests/bench-memmove.c: Likewise.
34481 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
34482 * benchtests/bench-memchr.c (do_one_test): Likewise.
34483 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
34484 * benchtests/bench-memcpy.c (do_one_test): Likewise.
34485 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
34486 * benchtests/bench-memmove.c (do_one_test): Likewise.
34487 * benchtests/bench-memset-large.c (do_one_test): Likewise.
34488 * benchtests/bench-memset.c (do_one_test): Likewise.
34489 * benchtests/bench-string.h (test_init): Remove memsets.
34491 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
34494 (Computing the Width of an Integer Data Type): Rename section to
34495 "Width of an Integer Type". Remove inaccurate statement regarding
34496 lack of C language facilities for determining width of integer
34497 types, and reorder content to improve flow and context of
34500 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
34502 * lang.texi (va_copy): Change standard from ISO to C99.
34503 (__va_copy): Add standard and header annotation.
34504 Update description for clarity of origins and current use.
34506 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34509 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
34510 xssqrtqp requires operands to be in Vector Registers
34511 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
34512 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
34513 (__ieee754_sqrtf128): Likewise.
34515 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
34517 * sysdeps/aarch64/memcmp.S (memcmp):
34518 Rewrite of optimized memcmp.
34520 2017-08-10 Florian Weimer <fweimer@redhat.com>
34522 Introduce ld.so exceptions.
34523 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
34524 (_dl_exception_create, _dl_exception_create_format)
34525 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
34526 (_dl_catch_exception): Declare.
34527 (_dl_catch_error): Update comment.
34528 * elf/dl-error-skeleton.c (struct catch): Replace objname,
34529 errstring, malloced members with exception member.
34530 (_dl_out_of_memory): Remove.
34531 (fatal_error): New function, extracted from _dl_signal_error.
34532 (_dl_signal_exception, _dl_signal_cexception): New functions.
34533 (_dl_signal_error): Call _dl_exception_create to allocate an
34535 (_dl_catch_exception): New function, based on _dl_catch_error.
34536 (_dl_catch_error): Implement using _dl_catch_exception.
34537 * elf/dl-exception.c: New file.
34538 * elf/Makefile (dl-routines): Add dl-exception.
34539 (elide-routines.os): Likewise.
34540 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
34541 _dl_exception_create_format, _dl_exception_free.
34542 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
34543 _dl_signal_exception.
34544 * elf/dl-lookup.c (make_string): Remove.
34545 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
34546 _dl_signal_cexception, _dl_exception_free.
34547 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
34548 _dl_signal_exception.
34549 * elf/dl-sym.c (do_sym): Likewise.
34550 * elf/dl-version.c (make_string): Remove.
34551 (match_symbol): Use _dl_exception_create_format,
34552 _dl_signal_cexception, _dl_exception_free.
34553 (_dl_check_map_versions): Likewise.
34554 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
34555 _dl_catch_exception.
34556 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
34557 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
34558 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
34559 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
34560 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
34561 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
34562 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
34563 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
34565 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
34566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
34568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
34570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
34572 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
34573 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
34574 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
34576 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
34578 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
34580 2017-08-10 Florian Weimer <fweimer@redhat.com>
34582 * inet/net-internal.h (__inet6_scopeid_pton): Remove
34583 attribute_hidden, internal_function.
34584 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
34587 2017-08-10 Florian Weimer <fweimer@redhat.com>
34589 * malloc/malloc.c (get_max_fast): Reimplement as an inline
34590 function which calls __builtin_unreachable.
34592 2017-08-10 Mike FABIAN <mfabian@redhat.com>
34594 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
34595 Indian monetary formatting
34596 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
34599 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
34601 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
34602 Fix typo in comment.
34605 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34606 PTRACE_SEIZE_DEVEL): Remove.
34607 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34608 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34609 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34611 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34613 2017-08-09 Joseph Myers <joseph@codesourcery.com>
34615 * posix/bits/types.h (__qaddr_t): Remove.
34618 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34619 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34621 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34622 (ucontext_t): Use __ctx with uc_flags.
34623 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34624 (__ctxt): Likewise.
34625 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34627 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34628 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34630 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34631 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34633 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34635 (ucontext_t): Use __ctx with uc_flags.
34636 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34637 (ucontext_t): Use __ctx with uc_flags.
34638 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34639 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34640 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34641 (ucontext_t): Use __ctx with uc_flags.
34642 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34643 undefine further down.
34644 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34646 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34647 undefine further down.
34648 (ucontext_t): Use __ctx with uc_flags.
34649 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34650 undefine further down.
34651 (ucontext_t): Use __ctx with uc_flags.
34652 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34653 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34654 Rename uc_pad to __glibc_reserved1.
34655 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34656 undefine further down.
34657 (ucontext_t): Use __ctx with uc_flags.
34658 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34660 (ucontext_t): Use __ctx with uc_flags.
34661 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34662 __ctx with uc_flags.
34663 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34664 (ucontext_t): Use __ctx with uc_flags.
34665 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34666 __ctx with uc_flags.
34668 2017-08-09 Florian Weimer <fweimer@redhat.com>
34671 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34672 before early return.
34674 2017-08-09 Andreas Schwab <schwab@suse.de>
34677 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34681 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34682 tst-compat-forwarder.
34683 (modules-names): Add tst-compat-forwarder-mod.
34684 ($(objpfx)tst-compat-forwarder): Depend on
34685 $(objpfx)tst-compat-forwarder-mod.so.
34686 * nptl/tst-compat-forwarder.c: New file.
34687 * nptl/tst-compat-forwarder-mod.c: New file.
34689 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34691 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34694 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34695 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34697 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34699 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34700 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34701 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34702 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34704 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34707 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34710 * manual/setjmp.texi (getcontex): Document uc_stack value
34711 compatibility differences.
34713 2017-08-08 Joseph Myers <joseph@codesourcery.com>
34715 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34716 (old_malloc_hook): Likewise.
34717 (old_memalign_hook): Likewise.
34718 (old_realloc_hook): Likewise.
34719 (struct hdr): Likewise.
34721 (freehook): Likewise.
34722 (mallochook): Likewise.
34723 (memalignhook): Likewise.
34724 (reallochook): Likewise.
34725 (mprobe): Likewise.
34726 * malloc/mtrace.c (mallwatch): Likewise.
34727 (tr_old_free_hook): Likewise.
34728 (tr_old_malloc_hook): Likewise.
34729 (tr_old_realloc_hook): Likewise.
34730 (tr_old_memalign_hook): Likewise.
34731 (tr_where): Likewise.
34732 (lock_and_info): Likewise.
34733 (tr_freehook): Likewise.
34734 (tr_mallochook): Likewise.
34735 (tr_reallochook): Likewise.
34736 (tr_memalignhook): Likewise.
34737 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34738 * misc/mmap.c (__mmap): Likewise.
34739 * misc/mmap64.c (__mmap64): Likewise.
34740 * misc/mprotect.c (__mprotect): Likewise.
34741 * misc/msync.c (msync): Likewise.
34742 * misc/munmap.c (__munmap): Likewise.
34743 * posix/posix_madvise.c (posix_madvise): Likewise.
34744 * socket/send.c (__send): Likewise.
34745 * socket/sendto.c (__sendto): Likewise.
34746 * socket/setsockopt.c (__setsockopt): Likewise.
34747 * string/memcmp.c (__ptr_t): Remove macro.
34748 (MEMCMP): Use void * instead of ptr_t.
34749 * string/memrchr.c (__ptr_t): Remove macro.
34750 (__memrchr): Use void * instead of ptr_t.
34751 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34752 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34753 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34754 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34755 * sysdeps/mach/msync.c (msync): Likewise.
34756 * sysdeps/mach/munmap.c (__munmap): Likewise.
34757 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34759 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34760 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34761 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34762 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34763 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34764 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34765 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34766 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34768 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34769 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34770 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34771 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34772 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34773 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34774 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34775 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34776 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34778 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34779 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34780 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34781 (MEMCMP): Use void * instead of ptr_t.
34782 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34783 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34785 2017-08-08 Florian Weimer <fweimer@redhat.com>
34787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34790 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34793 * csu/libc-tls.c: Include <startup.h> first.
34794 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34795 * elf/dl-tunables.c: Include <startup.h> first.
34796 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34797 * sysdeps/generic/startup.h: New file.
34798 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34799 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34800 (I386_USE_SYSENTER): New. Defined to 0.
34802 2017-08-08 Andreas Schwab <schwab@suse.de>
34805 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34806 * nptl/pt-system.c (system): Likewise.
34808 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34811 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34813 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34814 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34815 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34816 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34817 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34818 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34819 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34821 2017-08-07 Joseph Myers <joseph@codesourcery.com>
34824 * bits/sigaction.h (struct sigaction): Define sa_handler and
34825 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34826 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34827 [__USE_XOPEN_EXTENDED].
34828 (SA_RESTART): Likewise.
34829 (SA_NODEFER): Likewise.
34830 (SA_RESETHAND): Likewise.
34831 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34832 (struct sigaction): Define sa_handler and sa_sigaction using union
34833 also for [__USE_XOPEN_EXTENDED].
34834 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34835 [__USE_XOPEN_EXTENDED].
34836 (SA_RESTART): Likewise.
34837 (SA_NODEFER): Likewise.
34838 (SA_RESETHAND): Likewise.
34839 * sysdeps/unix/sysv/linux/bits/sigaction.h
34840 (struct sigaction): Define sa_handler and sa_sigaction using union
34841 also for [__USE_XOPEN_EXTENDED].
34842 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34843 [__USE_XOPEN_EXTENDED].
34844 (SA_RESTART): Likewise.
34845 (SA_NODEFER): Likewise.
34846 (SA_RESETHAND): Likewise.
34847 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34848 (struct sigaction): Define sa_handler and sa_sigaction using union
34849 also for [__USE_XOPEN_EXTENDED].
34850 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34851 [__USE_XOPEN_EXTENDED].
34852 (SA_RESTART): Likewise.
34853 (SA_NODEFER): Likewise.
34854 (SA_RESETHAND): Likewise.
34855 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34856 (struct sigaction): Define sa_handler and sa_sigaction using union
34857 also for [__USE_XOPEN_EXTENDED].
34858 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34859 [__USE_XOPEN_EXTENDED].
34860 (SA_RESTART): Likewise.
34861 (SA_NODEFER): Likewise.
34862 (SA_RESETHAND): Likewise.
34863 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34864 (struct sigaction): Define sa_handler and sa_sigaction using union
34865 also for [__USE_XOPEN_EXTENDED].
34866 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34867 [__USE_XOPEN_EXTENDED].
34868 (SA_RESTART): Likewise.
34869 (SA_NODEFER): Likewise.
34870 (SA_RESETHAND): Likewise.
34871 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34872 (struct sigaction): Define sa_handler and sa_sigaction using union
34873 also for [__USE_XOPEN_EXTENDED].
34874 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34875 [__USE_XOPEN_EXTENDED].
34876 (SA_RESTART): Likewise.
34877 (SA_NODEFER): Likewise.
34878 (SA_RESETHAND): Likewise.
34879 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34880 (struct sigaction): Define sa_handler and sa_sigaction using union
34881 also for [__USE_XOPEN_EXTENDED].
34882 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34883 [__USE_XOPEN_EXTENDED].
34884 (SA_RESTART): Likewise.
34885 (SA_NODEFER): Likewise. Define directly rather than as alias.
34886 (SA_RESETHAND): Likewise.
34887 (SA_INTERRUPT): Define only for [__USE_MISC].
34888 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34889 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34891 (SA_STACK): Define only for [__USE_MISC].
34892 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34893 (struct sigaction): Define sa_handler and sa_sigaction using union
34894 also for [__USE_XOPEN_EXTENDED].
34895 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34896 [__USE_XOPEN_EXTENDED].
34897 (SA_RESTART): Likewise.
34898 (SA_NODEFER): Likewise.
34899 (SA_RESETHAND): Likewise.
34900 (SA_NOPTRACE): Define only for [__USE_MISC].
34902 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34903 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34904 (struct catalog_info): Likewise.
34905 * inet/htontest.c (lo): Likewise.
34907 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34908 * inet/inet_net.c (inet_network): Likewise.
34909 * inet/inet_netof.c (inet_netof): Likewise.
34910 * inet/rcmd.c (__ivaliduser): Likewise.
34911 (iruserok): Likewise.
34912 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34913 * locale/programs/locale-spec.c (locale_special): Likewise.
34914 * nis/nis_findserv.c (struct findserv_req): Likewise.
34915 (__nis_findfastest_with_timeout): Likewise.
34916 * nss/test-netdb.c (test_network): Likewise.
34917 * resolv/inet_neta.c (inet_neta): Likewise.
34918 * resolv/ns_date.c (ns_datetosecs): Likewise.
34919 (SECS_PER_DAY): Likewise.
34920 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34922 * resolv/res_comp.c (__putlong): Likewise.
34923 (__putshort): Likewise.
34924 (_getlong): Likewise.
34925 (_getshort): Likewise.
34926 * resolv/res_debug.c (p_time): Likewise.
34927 (precsize_ntoa): Likewise.
34928 (precsize_aton): Likewise.
34929 (latlon2ul): Likewise.
34930 (loc_aton): Likewise.
34931 (loc_ntoa): Likewise.
34932 * resolv/res_hconf.c (struct netaddr): Likewise.
34933 (_res_hconf_reorder_addrs): Likewise.
34934 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34935 (clnttcp_control): Likewise.
34936 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34937 (clntudp_control): Likewise.
34938 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34939 (clntunix_control): Likewise.
34940 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34941 * sunrpc/rpc/auth.h (union des_block): Likewise.
34942 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34943 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34944 (xdrrec_create): Likewise.
34945 (xdrrec_endofrecord): Likewise.
34946 (flush_out): Likewise.
34947 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34948 (xdrstdio_putlong): Likewise.
34949 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34952 * misc/sys/cdefs.h (__long_double_t): Remove.
34953 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34954 instead of __long_double_t,
34955 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34957 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34959 * benchtests/scripts/compare_strings.py: Avoid display error when
34960 running on a text terminal.
34962 * benchtests/scripts/compare_strings.py (main): Add an
34963 optional -base option.
34964 (process_results): New argument base_func.
34966 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34968 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34969 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34971 2017-08-07 Andreas Schwab <schwab@suse.de>
34973 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34974 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34975 * intl/Makefile ($(objpfx)tst-gettext.out)
34976 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34977 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34978 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34979 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34980 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34981 * posix/Makefile ($(objpfx)globtest.out)
34982 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34983 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34984 ($(objpfx)tst-printf.out): Likewise.
34985 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34986 ($(objpfx)tst-setcontext3.out): Likewise.
34988 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34990 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34991 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34992 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34993 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34994 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34996 (CFLAGS-doasin-fma.c): New.
34997 (CFLAGS-dosincos-fma.c): Likewise.
34998 (CFLAGS-e_asin-fma.c): Likewise.
34999 (CFLAGS-e_atan2-fma.c): Likewise.
35000 (CFLAGS-e_exp-fma.c): Likewise.
35001 (CFLAGS-e_log-fma.c): Likewise.
35002 (CFLAGS-e_pow-fma.c): Likewise.
35003 (CFLAGS-halfulp-fma.c): Likewise.
35004 (CFLAGS-mpa-fma.c): Likewise.
35005 (CFLAGS-mpatan-fma.c): Likewise.
35006 (CFLAGS-mpatan2-fma.c): Likewise.
35007 (CFLAGS-mpexp-fma.c): Likewise.
35008 (CFLAGS-mplog-fma.c): Likewise.
35009 (CFLAGS-mpsqrt-fma.c): Likewise.
35010 (CFLAGS-mptan-fma.c): Likewise.
35011 (CFLAGS-s_atan-fma.c): Likewise.
35012 (CFLAGS-sincos32-fma.c): Likewise.
35013 (CFLAGS-slowexp-fma.c): Likewise.
35014 (CFLAGS-slowpow-fma.c): Likewise.
35015 (CFLAGS-s_sin-fma.c): Likewise.
35016 (CFLAGS-s_tan-fma.c): Likewise.
35017 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
35018 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
35019 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
35020 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
35021 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
35022 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
35023 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
35024 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
35025 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
35026 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
35027 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
35028 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
35029 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
35030 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
35031 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
35032 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
35033 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
35034 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
35035 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
35036 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
35037 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
35038 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
35039 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
35040 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
35041 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35042 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35043 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35044 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
35045 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35046 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35047 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35049 2017-08-04 Joseph Myers <joseph@codesourcery.com>
35051 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
35052 (min_of_type_f): New macro.
35053 (min_of_type_): Likewise.
35054 (min_of_type_l): Likewise.
35055 (min_of_type_f128): Likewise.
35056 (min_of_type): Define using __MATH_TG and taking an expression
35058 (math_check_force_underflow): Pass expression instead of type to
35060 (math_check_force_underflow_nonneg): Likewise.
35062 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35064 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35065 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
35066 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
35068 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35070 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35071 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
35072 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
35073 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
35074 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
35075 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
35076 memcpy_chk-nonshared, mempcpy_chk-nonshared,
35077 memmove_chk-nonshared and memset_chk-nonshared
35078 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
35079 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
35080 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
35081 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
35082 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
35083 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
35084 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
35085 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
35086 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
35087 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
35088 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
35089 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
35090 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
35091 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
35092 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
35093 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
35094 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
35095 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
35096 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
35097 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
35098 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
35099 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
35100 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
35101 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
35102 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
35103 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
35104 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
35105 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
35106 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
35107 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
35108 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
35109 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
35110 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
35111 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35112 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35113 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
35114 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
35115 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
35116 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
35117 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
35118 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
35119 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
35120 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
35121 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
35122 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
35123 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
35124 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
35125 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
35126 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
35127 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
35128 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
35129 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
35130 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
35131 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
35132 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
35133 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
35134 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
35135 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
35136 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
35137 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
35138 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
35139 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
35140 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
35141 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
35142 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
35143 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
35144 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
35145 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
35146 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
35147 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
35148 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
35149 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35150 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35151 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35152 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35153 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35154 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35155 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35156 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35157 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35158 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35159 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35160 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35161 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35162 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35163 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35164 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35165 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35166 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35167 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35168 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35169 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35170 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35171 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35172 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35173 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35174 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35175 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35176 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35177 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35178 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35179 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35180 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35181 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35182 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35183 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35184 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35185 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35187 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35189 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
35190 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
35191 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
35192 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
35193 svml_d_log2_core-sse2, svml_d_log4_core-sse,
35194 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
35195 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
35196 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
35197 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
35198 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
35199 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
35200 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
35201 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
35202 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
35203 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
35204 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
35205 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
35206 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
35207 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
35208 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
35209 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
35210 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
35211 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
35212 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
35213 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
35214 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
35215 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
35216 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
35217 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
35218 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
35219 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
35220 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
35221 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
35222 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
35223 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
35224 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
35225 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
35226 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
35227 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
35228 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
35229 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
35230 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
35231 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
35232 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
35233 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
35234 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
35235 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
35236 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
35237 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
35238 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
35239 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
35240 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
35241 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
35242 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
35243 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
35244 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
35245 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
35246 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
35247 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
35249 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
35250 Don't include <sysdep.h> nor <init-arch.h>.
35251 (_ZGVbN2v_cos): Removed.
35252 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
35254 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
35255 Don't include <sysdep.h> nor <init-arch.h>.
35256 (_ZGVdN4v_cos): Removed.
35257 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
35259 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
35260 Don't include <sysdep.h> nor <init-arch.h>.
35261 (_ZGVeN8v_cos): Removed.
35262 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
35264 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
35265 Don't include <sysdep.h> nor <init-arch.h>.
35266 (_ZGVbN2v_exp): Removed.
35267 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
35269 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
35270 Don't include <sysdep.h> nor <init-arch.h>.
35271 (_ZGVdN4v_exp): Removed.
35272 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
35274 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
35275 Don't include <sysdep.h> nor <init-arch.h>.
35276 (_ZGVeN8v_exp): Removed.
35277 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
35279 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
35280 Don't include <sysdep.h> nor <init-arch.h>.
35281 (_ZGVbN2v_log): Removed.
35282 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
35284 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
35285 Don't include <sysdep.h> nor <init-arch.h>.
35286 (_ZGVdN4v_log): Removed.
35287 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
35289 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
35290 Don't include <sysdep.h> nor <init-arch.h>.
35291 (_ZGVeN8v_log): Removed.
35292 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
35294 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
35295 Don't include <sysdep.h> nor <init-arch.h>.
35296 (_ZGVbN2vv_pow): Removed.
35297 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
35299 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
35300 Don't include <sysdep.h> nor <init-arch.h>.
35301 (_ZGVdN4vv_pow): Removed.
35302 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
35304 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
35305 Don't include <sysdep.h> nor <init-arch.h>.
35306 (_ZGVeN8vv_pow): Removed.
35307 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
35309 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
35310 Don't include <sysdep.h> nor <init-arch.h>.
35311 (_ZGVbN2v_sin): Removed.
35312 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
35314 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
35315 Don't include <sysdep.h> nor <init-arch.h>.
35316 (_ZGVbN4v_sin): Removed.
35317 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
35319 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
35320 Don't include <sysdep.h> nor <init-arch.h>.
35321 (_ZGVbN8v_sin): Removed.
35322 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
35324 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
35325 Don't include <sysdep.h> nor <init-arch.h>.
35326 (_ZGVbN2vvv_sincos): Removed.
35327 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
35329 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
35330 Don't include <sysdep.h> nor <init-arch.h>.
35331 (_ZGVdN4vvv_sincos): Removed.
35332 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
35334 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
35335 Don't include <sysdep.h> nor <init-arch.h>.
35336 (_ZGVeN8vvv_sincos): Removed.
35337 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
35339 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
35340 Don't include <sysdep.h> nor <init-arch.h>.
35341 (_ZGVeN16v_cosf): Removed.
35342 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
35344 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
35345 Don't include <sysdep.h> nor <init-arch.h>.
35346 (_ZGVbN4v_cosf): Removed.
35347 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
35349 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
35350 Don't include <sysdep.h> nor <init-arch.h>.
35351 (_ZGVdN8v_cosf): Removed.
35352 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
35354 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
35355 Don't include <sysdep.h> nor <init-arch.h>.
35356 (_ZGVeN16v_expf): Removed.
35357 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
35359 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
35360 Don't include <sysdep.h> nor <init-arch.h>.
35361 (_ZGVbN4v_expf): Removed.
35362 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
35364 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
35365 Don't include <sysdep.h> nor <init-arch.h>.
35366 (_ZGVdN8v_expf): Removed.
35367 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
35369 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
35370 Don't include <sysdep.h> nor <init-arch.h>.
35371 (_ZGVeN16v_logf): Removed.
35372 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
35374 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
35375 Don't include <sysdep.h> nor <init-arch.h>.
35376 (_ZGVbN4v_logf): Removed.
35377 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
35379 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
35380 Don't include <sysdep.h> nor <init-arch.h>.
35381 (_ZGVdN8v_logf): Removed.
35382 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
35384 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
35385 Don't include <sysdep.h> nor <init-arch.h>.
35386 (_ZGVeN16vv_powf): Removed.
35387 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
35389 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
35390 Don't include <sysdep.h> nor <init-arch.h>.
35391 (_ZGVbN4vv_powf): Removed.
35392 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
35394 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
35395 Don't include <sysdep.h> nor <init-arch.h>.
35396 (_ZGVdN8vv_powf): Removed.
35397 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
35399 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
35400 Don't include <sysdep.h> nor <init-arch.h>.
35401 (_ZGVeN16vvv_sincosf): Removed.
35402 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
35404 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
35405 Don't include <sysdep.h> nor <init-arch.h>.
35406 (_ZGVbN4vvv_sincosf): Removed.
35407 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
35409 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
35410 Don't include <sysdep.h> nor <init-arch.h>.
35411 (_ZGVdN8vvv_sincosf): Removed.
35412 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
35414 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
35415 Don't include <sysdep.h> nor <init-arch.h>.
35416 (_ZGVeN16v_sinf): Removed.
35417 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
35419 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
35420 Don't include <sysdep.h> nor <init-arch.h>.
35421 (_ZGVbN4v_sinf): Removed.
35422 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
35424 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
35425 Don't include <sysdep.h> nor <init-arch.h>.
35426 (_ZGVdN8v_sinf): Removed.
35428 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35430 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35431 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
35432 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
35433 s_rint-sse4_1 and s_rintf-sse4_1.
35434 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
35435 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
35436 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
35437 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
35438 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
35439 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
35440 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
35441 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
35442 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
35443 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
35444 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
35445 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35447 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
35448 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
35449 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35450 (__ceilf): Removed.
35451 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
35452 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
35453 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35454 (__floor): Removed.
35455 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
35456 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
35457 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35458 (__floorf): Removed.
35459 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
35460 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
35461 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35462 (__nearbyint): Removed.
35463 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
35464 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
35465 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35466 (__nearbyintf): Removed.
35467 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
35468 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
35469 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35471 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
35472 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
35473 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35474 (__rintf): Removed.
35476 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35478 * sysdeps/i386/start.S (_start): Check Check PIC instead of
35479 SHARED. Avoid dynamic relocation against main in static PIE.
35481 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35484 * elf/Makefile (CFLAGS-tst-prelink.c): New.
35485 (LDFLAGS-tst-prelink): Likewise.
35487 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35489 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
35490 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
35491 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
35492 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
35493 (INTERNAL_SYSCALL_NCS): Likewise.
35494 (LOADARGS_1): Likewise.
35495 (LOADARGS_5): Likewise.
35496 (RESTOREARGS_1): Likewise.
35497 (RESTOREARGS_5): Likewise.
35499 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35501 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
35502 (MEMPCPY_SYMBOL): Likewise.
35503 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35504 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
35505 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
35507 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35508 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
35510 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
35511 (__hidden_ver1): Don't use in libc.a.
35512 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
35513 (__mempcpy): Don't create a weak alias in libc.a.
35514 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
35516 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
35517 (__hidden_ver1): Don't use in libc.a.
35519 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35521 * config.make.in (have-insert): New.
35522 * configure.ac (libc_cv_insert): New. Set to yes if linker
35523 supports INSERT in linker script.
35524 (AC_SUBST(libc_cv_insert): New.
35525 * configure: Regenerated.
35526 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
35527 if $(have-insert) == yes.
35529 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35531 * elf/Makefile (tests): Add vismain only if
35532 $(have-protected-data) == yes.
35533 (tests-pie): Likewise.
35535 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35538 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
35539 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
35541 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35544 * sysdeps/i386/i586/memset.S
35545 (__memset_zero_constant_len_parameter): Removed.
35546 * sysdeps/i386/i686/memset.S
35547 (__memset_zero_constant_len_parameter): Likewise.
35548 * sysdeps/i386/i686/multiarch/memset_chk.S
35549 (__memset_zero_constant_len_parameter): Likewise.
35550 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
35553 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35555 * stdlib/getentropy.c (getentropy): Change return type to int.
35557 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35559 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
35561 2017-08-03 Joseph Myers <joseph@codesourcery.com>
35563 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
35565 * math/s_nexttowardf.c (__nexttowardf): Likewise.
35566 * sysdeps/generic/math_private.h (ieee_double_shape_type):
35568 (ieee_float_shape_type): Likewise.
35569 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
35570 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
35571 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35572 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35573 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
35574 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
35575 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
35576 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35577 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
35579 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35580 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35581 (__ieee754_yn): Likewise.
35582 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35583 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35584 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
35586 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35587 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
35588 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
35589 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
35590 (__erfc): Likewise.
35591 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
35592 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
35593 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
35594 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
35595 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
35596 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
35598 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
35599 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
35600 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
35601 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
35602 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35603 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35604 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35605 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35606 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35607 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35608 (__issignaling): Likewise.
35609 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35610 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35611 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35613 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35614 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35615 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35616 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35618 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35620 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35621 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35622 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35623 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35624 (__erfcf): Likewise.
35625 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35626 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35627 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35628 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35630 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35631 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35633 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35634 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35635 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35636 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35637 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35638 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35639 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35640 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35642 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35644 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35646 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35647 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35649 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35651 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35652 (__ieee754_ynl): Likewise.
35653 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35654 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35656 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35658 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35659 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35660 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35662 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35663 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35664 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35665 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35666 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35667 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35668 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35669 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35671 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35672 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35673 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35675 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35676 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35677 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35678 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35679 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35680 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35682 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35684 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35686 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35688 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35689 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35690 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35691 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35692 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35693 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35696 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35698 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35699 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35701 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35702 (__ieee754_remainderl): Likewise.
35703 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35704 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35705 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35706 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35708 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35709 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35711 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35712 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35713 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35714 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35715 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35716 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35718 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35719 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35720 (__ieee754_y0l): Likewise.
35723 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35724 (__ieee754_y1l): Likewise.
35727 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35728 (__ieee754_ynl): Likewise.
35729 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35730 (__ieee754_lgammal_r): Likewise.
35731 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35733 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35734 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35735 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35736 (__erfcl): Likewise.
35737 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35738 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35740 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35741 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35742 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35743 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35744 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35745 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35746 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35748 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35749 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35750 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35751 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35752 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35754 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35755 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35757 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35758 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35759 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35760 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35761 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35763 2017-08-03 Florian Weimer <fweimer@redhat.com>
35766 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35767 on memory allocation failure.
35769 2017-08-03 Alan Modra <amodra@gmail.com>
35771 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35772 tst-tlsopt-powerpc.c with function name change and no test harness.
35773 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35774 Call tls_get_addr_opt_test.
35775 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35776 (modules-names): Add mod-tlsopt-powerpc.
35777 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35778 (tst-tlsopt-powerpc): Depend on .so.
35779 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35780 define. Expand use in TLS_GD and TLS_LD.
35782 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35784 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35786 * sysdeps/posix/shm_open.c: Include <pthread.h>.
35788 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35791 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35792 comparing size with that of double.
35793 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35794 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35795 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35796 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35797 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35798 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35799 unsigned __int128 types.
35801 2017-08-02 Steve Ellcey <sellcey@cavium.com>
35803 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35804 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35805 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35806 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35807 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35809 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35811 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35813 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35815 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35817 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35818 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35819 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35820 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35821 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35822 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35823 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35825 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35828 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35829 bit-field expressions passed to sizeof or typeof.
35830 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35831 (__TGMATH_F128): Likewise.
35832 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35833 (__TGMATH_CF128): Likewise.
35834 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35835 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35836 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35837 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35838 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35839 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35840 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35841 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35842 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35843 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35844 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35845 (__TGMATH_UNARY_IMAG): Likewise.
35846 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35847 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35848 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35850 (define_vars_for_type): Handle bit_field type specially.
35851 (Tests.__init__): Declare structure with bit-field element.
35853 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35856 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35857 (MEMCPY_CHK): Define only if SHARED is defined.
35858 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35860 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35863 See ChangeLog.18 for earlier changes.