1 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
4 * localedata/locales/szl_PL (day): Use the correct Unicode
5 sequences instead of non-ASCII characters.
7 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
10 * localedata/locales/szl_PL (abday): Spelling corrections.
14 (alt_mon): This, then apply spelling corrections.
15 (mon): New entry, month names in the genitive case.
17 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
20 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
21 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
22 (thousands_sep): Likewise.
23 (grouping): Set to 3;3.
25 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
27 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
28 PREPARE_VERSION_KNOWN.
29 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
30 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
32 (VDSO_HASH_LINUX_2_6_39): Likewise.
33 (VDSO_NAME_LINUX_4_9): Likewise.
34 (VDSO_HASH_LINUX_4_9): Likewise.
35 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
36 * sysdeps/unix/sysv/linux/powerpc/init-first.c
37 (_libc_vdso_platform_setup): Likewise.
38 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
39 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
41 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
44 2019-06-20 Mike Crowe <mac@mcrowe.com>
46 * nptl/eintr.c: Use libsupport.
47 * nptl/tst-eintr1.c: Likewise.
48 * nptl/tst-eintr2.c: Likewise.
49 * nptl/tst-eintr3.c: Likewise.
50 * nptl/tst-eintr4.c: Likewise.
51 * nptl/tst-eintr5.c: Likewise.
52 * nptl/tst-mutex-errorcheck.c: Likewise.
53 * nptl/tst-mutex5.c: Likewise.
55 * support/test-driver.h: Add verbose_printf macro.
57 * support/xtime.h: Add xclock_now() helper function.
59 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
60 Florian Weimer <fweimer@redhat.com>
63 * libio/genops.c (_IO_unbuffer_all)
64 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
65 buffers and access _IO_FILE_complete members of legacy libio streams.
66 * libio/tst-bz24228.c: New file.
67 * libio/tst-bz24228.map: Likewise.
68 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
69 [build-shared] (generated): Add tst-bz24228.mtrace and
71 [run-built-tests && build-shared] (tests-special): Add
72 $(objpfx)tst-bz24228-mem.out.
73 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
74 ($(objpfx)tst-bz24228-mem.out): New rule.
76 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
78 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
79 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
80 (__FPU_MFFSL): Likewise.
81 (_FPU_SETCW): Likewise.
83 2019-06-19 Stan Shebs <stanshebs@google.com>
84 Raoni Fassina Firmino <raoni@linux.ibm.com>
87 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
88 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
89 static-linking version.
90 * sysdeps/unix/sysv/linux/powerpc/Makefile
91 (tests-static): Add test-gettimebasefreq-static.
93 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
96 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
99 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
100 between the currency symbol and the minus sign).
101 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
103 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
106 * string/test-strcasestr.c (check_result): Add NULL check.
107 * nss/tst-field.c (check_rewrite): Likewise.
108 * benchtests/bench-strstr.c (do_one_test): Likewise.
109 * string/test-strstr.c (check_result): Likewise.
110 * argp/argp-test.c (popt): Increase size of buf to 12.
111 * benchtests/bench-malloc-simple.c (bench):
112 Do not initialize tests array out of bounds.
114 2019-06-19 Florian Weimer <fweimer@redhat.com>
117 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
120 2019-06-18 Florian Weimer <fweimer@redhat.com>
123 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
124 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
125 fail when called from dlopen.
126 * elf/Makefile [have-fpie && build-shared] (tests): Add
128 (tst-dlopen-pie): Link with -ldl.
129 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
130 * elf/tst-dlopen-pie.c (do_test): New file.
132 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
135 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
136 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
137 between the currency symbol and the minus sign).
138 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
139 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
141 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
143 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
144 sysdep-rtld-routines): Remove rules.
145 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
146 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
147 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
148 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
149 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
150 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
151 vDSO path for SHARED.
152 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
153 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
154 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
155 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
156 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
157 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
159 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
160 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
161 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
162 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
163 CFLAGS-s_llround-power5+.c): New rule.
164 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
166 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
168 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
170 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
172 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
175 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
177 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
179 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
180 * sysdeps/powerpc/powerpc64/fpu/Makefile
181 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
182 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
183 (libm-sysdep_routines): Remove s_llround-* objects.
184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
194 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
195 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
196 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
197 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
198 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
199 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
200 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
201 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
202 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
203 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
204 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
205 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
206 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
207 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
209 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
210 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
211 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
212 * sysdeps/powerpc/powerpc32/fpu/Makefile
213 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
214 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
216 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
217 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
218 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
220 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
221 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
222 CFLAGS-s_lrint-ppc32.c): New rule.
223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
233 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
234 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
235 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
236 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
248 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
249 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
251 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
252 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
254 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
256 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
259 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
261 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
263 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
264 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
265 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
266 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
267 (libm-sysdep_routines): Remove s_llrint-* objects.
268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
273 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
274 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
275 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
276 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
277 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
278 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
279 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
280 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
281 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
283 2019-06-14 Florian Weimer <fweimer@redhat.com>
285 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
286 argument to __glibc_has_include to inhibit macro expansion.
288 2019-06-14 Florian Weimer <fweimer@redhat.com>
290 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
291 function-like macro, so that __has_include can inhibit expansion
294 2019-06-13 Joseph Myers <joseph@codesourcery.com>
296 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
300 Allow memset in libc.so.
302 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
304 * sysdeps/aarch64/dl-dtprocnum.h: New file.
305 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
306 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
307 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
308 symbols at load time.
309 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
311 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
313 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
314 (DT_AARCH64_VARIANT_PCS): Define.
316 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
319 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
329 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
330 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
332 Remove s_finite* objects.
333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
339 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
340 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
341 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
342 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
344 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
345 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
348 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
358 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
359 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
360 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
361 Remove s_isinf* and s_isinf* objects.
362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
368 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
369 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
370 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
371 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
373 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
374 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
376 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
377 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
378 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
380 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
396 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
397 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
398 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
399 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
400 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
401 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
402 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
403 Remove s_isnan-* and s_isnanf-* objects.
404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
413 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
414 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
415 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
416 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
417 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
418 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
419 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
420 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
422 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
423 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
425 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
426 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
427 CFLAGS-bench-isfinite.c): New rule.
428 * benchtests/isnan-input: New file.
429 * benchtests/isinf-input: New file.
430 * benchtests/isfinite-input: New file.
432 * sysdeps/powerpc/fpu/s_copysign.c: New file.
433 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
434 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
435 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
437 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
447 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
448 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
450 Remove s_copysign-power6 s_copysign-ppc64.
451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
457 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
458 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
459 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
460 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
462 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
463 round_to_integer_float, round_mode): Add RINT handling.
464 (reset_fenv_mode): New symbol.
465 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
466 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
467 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
468 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
469 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
470 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
472 2019-06-12 Florian Weimer <fweimer@redhat.com>
475 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
476 * libio/freopen.c (freopen): Use it.
478 2019-06-12 Florian Weimer <fweimer@redhat.com>
480 Linux: Deprecate sysctl.
481 * include/sysctl.h (__sysctl): Remove declaration.
482 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
484 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
485 (sysctl): Add deprecation attribute.
486 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
487 directly, to avoid the deprecation warning. Do not include
489 (__sysctl): Remove hidden alias.
491 2019-06-12 Florian Weimer <fweimer@redhat.com>
493 Linux: Use kernel headers for statx definitions if available.
494 * include/bits/statx-generic.h: New file.
495 * include/bits/types/struct_statx.h: Likewise.
496 * include/bits/types/struct_statx_timestamp.h: Likewise.
497 * io/Makefile (headers): Add bits/statx-generic.h.
498 * io/bits/statx-generic.h: New file. Partly copied from
500 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
501 define original_statx.
502 * io/bits/types/struct_statx.h: Likewise.
503 * io/bits/types/struct_statx_timestamp.h: Likewise.
504 (statx_generic): Use original_statx.
505 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
506 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
508 2019-06-12 Florian Weimer <fweimer@redhat.com>
510 * misc/sys/cdefs.h (__glibc_has_include): Define.
512 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
514 * string/memmem.c (__memmem): Rewrite to improve performance.
516 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
518 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
520 (two_way_long_needle): Block inlining.
521 * string/strstr.c (strstr2): Add new function.
523 (STRSTR): Completely rewrite strstr to improve performance.
525 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
527 * benchtests/bench-strstr.c (test_hard_needle): New function.
529 2019-06-10 Joseph Myers <joseph@codesourcery.com>
531 * malloc/tst-calloc.c: Include <libc-diag.h>.
532 (null_test): Ignore -Wunused-result around calls to calloc.
533 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
534 (do_test): Ignore -Wunused-result around call to malloc.
536 2019-06-07 Florian Weimer <fweimer@redhat.com>
538 Linux: Add getdents64 system call.
539 * include/dirnent.h (getdents): Add comment and change buffer
540 argument type to void *.
541 (getdents64): Likewise. Add hidden prototype.
542 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
544 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
546 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
547 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
548 argument type to void *.
549 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
550 Add hidden definition and getdents64 alias.
551 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
553 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
554 * manual/filesys.texi (Accessing Directories): Add Low-level
555 Directory Access node reference.
556 (Opening a Directory): Cross-reference it.
557 (Low-level Directory Access): New node.
558 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
560 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
562 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
563 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
565 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
567 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
569 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
571 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
573 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
575 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
577 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
578 (GLIBC_2.30): Likewise.
579 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
580 (GLIBC_2.30): Likewise.
581 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
582 (GLIBC_2.30): Likewise.
583 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
584 (GLIBC_2.30): Likewise.
585 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
588 (GLIBC_2.30): Likewise.
589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
590 (GLIBC_2.30): Likewise.
591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
592 (GLIBC_2.30): Likewise.
593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
594 (GLIBC_2.30): Likewise.
595 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
597 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
599 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
601 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
602 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
604 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
606 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
608 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
611 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
613 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
617 (_FPU_GETCW): Use __FPU_MFFS().
618 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
620 2019-06-06 Florian Weimer <fweimer@redhat.com>
622 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
623 internal GCC preprocessor identifier __has_include__.
625 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
627 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
628 with call to equivalent function.
630 2019-06-04 Florian Weimer <fweimer@redhat.com>
632 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
633 (do_release_shlib): Adjust for __twalk_r.
634 (__gconv_release_shlib): Call __twalk_r.
636 2019-06-04 Andreas Schwab <schwab@suse.de>
639 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
640 no irreversible characters occurred.
641 * iconv/gconv_simple.c (internal_ucs4_loop)
642 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
643 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
644 (ucs4_internal_loop_single, internal_ucs4le_loop)
645 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
646 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
647 (ucs4le_internal_loop_single): Add const to outend.
648 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
649 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
650 * iconv/Makefile (tests): Add tst-iconv7.
651 * iconv/tst-iconv7.c: New file.
653 2019-06-03 Joseph Myers <joseph@codesourcery.com>
655 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
657 2019-06-01 Florian Weimer <fweimer@redhat.com>
659 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
660 * sysdeps/unix/sysv/linux/arm/Makefile
661 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
662 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
663 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
664 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
665 compatibility symbols.
667 2019-05-31 Florian Weimer <fweimer@redhat.com>
669 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
670 system calls for the arm architecture: breakpoint, get_tls,
671 set_tls, usr26, usr32.
673 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
675 * sysdeps/powerpc/Makefile
676 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
677 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
678 Declare '.machine power7' to get support for ldbrx.
679 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
680 directive based on the directory of the file.
681 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
682 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
683 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
684 '.machine' directive.
685 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
686 (VADDUQM_V7_V8): Remove.
687 (__STRCASECMP): Replace macros with actual instructions.
688 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
689 '.machine' directive.
690 (VCLZD_V8_v7): Remove.
691 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
693 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
695 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
697 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
699 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
701 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
703 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
704 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
705 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
706 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
707 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
708 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
710 2019-05-28 mansayk <6688000@gmail.com>
713 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
715 2019-05-28 mansayk <6688000@gmail.com>
718 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
719 (abmon): Likewise, but remove the trailing dots.
721 2019-05-28 Joseph Myers <joseph@codesourcery.com>
723 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
725 2019-05-27 Florian Weimer <fweimer@redhat.com>
727 * nptl/nptl-init.c: Add comment.
729 2019-05-24 Florian Weimer <fweimer@redhat.com>
731 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
732 struct in_addr/struct in6_addr alignment.
734 2019-05-23 Joseph Myers <joseph@codesourcery.com>
736 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
737 (F_SEAL_FUTURE_WRITE): New macro.
739 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
741 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
742 * elf/tst-ldconfig-bad-aux-cache.c: New file.
743 * elf/tst-ldconfig_aux-cache.root: New directory.
744 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
745 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
746 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
748 2019-05-22 Zack Weinberg <zackw@panix.com>
750 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
752 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
753 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
755 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
760 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
761 Issue an #error if used with a compiler in SPE-float mode.
762 * sysdeps/powerpc/powerpc32/__longjmp_common.S
763 * sysdeps/powerpc/powerpc32/setjmp_common.S
764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
770 Remove code to preserve SPE register state.
772 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
773 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
774 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
775 Remove __SPE__ ifndefs.
777 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
779 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
780 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
781 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
782 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
783 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
784 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
785 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
786 (INNER_LOOP_ITERS_MEDIUM): New define.
787 (INNER_LOOP_ITERS_SMALL): New define.
788 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
789 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
790 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
791 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
792 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
794 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
796 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
798 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
799 (SEMTIMEDOP_IPC_ARGS): Likewise.
801 2019-05-21 Florian Weimer <fweimer@redhat.com>
804 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
805 before updating __counter field and release it afterwards. Add
807 * iconv/gconv.h (struct __gconv_step): Mention synchronization
808 requirement for __counter member.
810 2019-05-21 Florian Weimer <fweimer@redhat.com>
813 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
814 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
815 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
816 instead of __gconv_release_step.
817 * libio/Makefile (tests): Add tst-wfile-gconv.
818 (tests-container): Add tst-wfile-ascii.
819 (tst-wfile-gconv-ENV): Enable mtrace.
820 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
821 (tests-special): Add tst-wfile-gconv-mem.out.
822 (tst-wfile-gconv.out): Depend on locales.
823 (tst-wfile-gconv-mem.out): Add mtrace rule.
824 * libio/tst-wfile-ascii.c: New file.
825 * libio/tst-wfile-gconv.c: Likewise.
827 2019-05-20 Florian Weimer <fweimer@redhat.com>
830 libio: Remove codecvt vtable.
831 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
833 * libio/iofgetpos.c (_IO_new_fgetpos): Call
834 __libio_codecvt_encoding.
835 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
836 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
837 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
838 * libio/iofwide.c (__libio_codecvt): Remove variable.
839 (_IO_fwide): Do not copy __libio_codecvt.
840 (__libio_codecvt_out): Rename from do_out and export.
841 (do_unshift): Remove function.
842 (__libio_codecvt_in): Rename from do_in and export.
843 (__libio_codecvt_encoding): Rename from do_encoding and export.
844 (do_always_noconv): Remove function.
845 (__libio_codecvt_length): Rename from do_length and export.
846 (do_max_length): Remove function.
847 * libio/libio.h (enum __codecvt_result): Remove definition; moved
849 (struct _IO_codecvt): Remove fields __codecvt_destr,
850 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
851 __codecvt_do_encoding, __codecvt_do_always_noconv,
852 __codecvt_do_length, __codecvt_do_max_length.
853 * libio/libioP.h (enum __codecvt_result): Define; moved from
855 (__libio_codecvt_out, __libio_codecvt_in)
856 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
858 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
859 (_IO_wfile_underflow): Call __libio_codecvt_in.
860 (_IO_wfile_underflow): Likewise.
861 (_IO_wfile_underflow_mmap): Likewise.
862 (_IO_wfile_sync): Call __libio_codecvt_encoding,
863 __libio_codecvt_length.
864 (adjust_wide_data): Call __libio_codecvt_encoding,
866 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
867 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
868 __libio_codecvt_length.
870 2019-05-20 Florian Weimer <fweimer@redhat.com>
872 * support/support.h (support_sbindir_prefix): Declare.
873 (support_install_rootsbindir): Update comment.
874 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
875 * support/support_paths.c (support_sbindir_prefix): Define.
877 2019-05-20 Mike Crowe <mac@mcrowe.com>
879 * support/timespec.c: Add backslash to correct newline in failure
882 * support/timespec.h: Correct confusing comment.
884 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
886 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
888 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
889 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
890 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
891 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
894 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
897 2019-05-20 Joseph Myers <joseph@codesourcery.com>
899 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
900 (NT_ARM_PACG_KEYS): Likewise.
902 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
904 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
905 (tcache_put): Remove redundant assert.
906 (tcache_get): Remove redundant asserts.
907 (__libc_malloc): Check tcache count is not zero.
908 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
910 2019-05-17 Florian Weimer <fweimer@redhat.com>
912 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
914 2019-05-16 Joseph Myers <joseph@codesourcery.com>
916 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
917 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
919 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
921 * sysdeps/unix/sysv/linux/sh/kernel-features.h
922 (__ASSUME_STATX): Likewise.
924 2019-05-16 Florian Weimer <fweimer@redhat.com>
926 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
928 (LINE_PARSER): Do not map IPv4 addresses.
929 (internal_nis_gethostent_r): Remove flags argument. Adjust call
931 (_nss_nis_gethostent_r): Always pass AF_INET to
932 internal_nis_gethostent_r.
933 (internal_gethostbyname2_r): Remove flags argument. Adjust call
935 (_nss_nis_gethostbyname2_r): Adjust call to
936 internal_nis_gethostent_r.
937 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
938 call to internal_nis_gethostent_r.
939 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
941 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
942 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
943 Remove flags argument. Do not map IPv4 addresses.
944 (internal_nisplus_gethostent_r): Adjust call to
945 _nss_nisplus_parse_hostent.
946 (internal_gethostbyname2_r): Remove flags argument. Adjust call
947 to _nss_nisplus_parse_hostent.
948 (_nss_nisplus_gethostbyname2_r): Adjust call to
949 internal_gethostbyname2_r.
950 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
951 Adjust call to internal_gethostbyname2_r.
952 (_nss_nisplus_gethostbyaddr_r): Adjust call to
953 _nss_nisplus_parse_hostent.
954 (_nss_nisplus_gethostbyname4_r): Adjust call to
955 internal_gethostbyname2_r.
957 2019-05-16 Florian Weimer <fweimer@redhat.com>
959 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
961 (LINE_PARSER): Remove address mapping.
962 (EXTRA_ARGS_VALUE): Remove flags argument.
963 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
964 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
965 gethostbyname3_multi.
966 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
967 _nss_files_gethostbyname3_r.
968 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
970 2019-05-16 Florian Weimer <fweimer@redhat.com>
972 * support/support_test_compare_blob.c (report_blob): Report
973 incorrect NULL blobs.
975 2019-05-15 Mark Wielaard <mark@klomp.org>
978 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
979 __libc_once_get (once) and static_buf == NULL.
980 (__dlerror): Check we have a valid key, set result to static_buf
983 2019-05-15 Andreas Schwab <schwab@suse.de>
986 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
988 * libio/Makefile (tests): Add tst-wfile-sync.
989 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
990 * libio/tst-wfile-sync.c: New file.
991 * libio/tst-wfile-sync.input: New file.
993 2019-05-15 Florian Weimer <fweimer@redhat.com>
995 nss: Turn __nss_database_lookup into a compatibility symbol.
996 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
997 __nss_database_lookup.
998 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
999 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
1000 __nss_database_lookup.
1001 (__nss_next): Move to …
1002 * nss/compat-lookup.c (nss_next): … here. Change it to fail
1004 (__nss_database_lookup): New function.
1005 * nss/Versions (GLIBC_2.0): Update comment.
1006 (GLIBC_PRIVATE): Export __nss_database_lookup2.
1007 * grp/initgroups.c (internal_getgrouplist): Call
1008 __nss_database_lookup2 instead of __nss_database_lookup.
1009 * nscd/aicache.c (addhstaiX): Likewise.
1010 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1011 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1012 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
1013 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
1014 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
1016 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
1017 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
1018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1020 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
1022 * support/support.h (support_install_rootsbindir): New variable.
1023 * support/support_paths.c: Likewise.
1024 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
1026 2019-05-15 Florian Weimer <fweimer@redhat.com>
1028 * iconv/gconv.h (__gconv_transliterate): Move declaration …
1029 * iconv/gconv_int.h (__gconv_transliterate): … here.
1030 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
1031 * iconv/skeleton.c: Likewise.
1033 2019-05-14 Florian Weimer <fweimer@redhat.com>
1035 Linux: Add the tgkill function.
1036 * bits/signal_ext.h: New file.
1037 * manual/signal.texi (Signaling Another Process): Document tgkill.
1038 * signal/Makefile (headers): Add bits/signal_ext.h.
1039 * signal/signal.h: Include <bits/signal_ext.h>.
1040 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
1041 (tst-tgkill): Link with libpthread.
1042 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
1043 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
1044 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
1045 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1047 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1048 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1049 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1050 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1051 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1052 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1053 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1054 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1055 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1056 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1057 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1059 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1060 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1061 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
1068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
1070 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1071 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1072 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1073 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1074 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1075 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1076 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1077 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1079 2019-05-14 Carlos O'Donell <carlos@redhat.com>
1081 * manual/search.texi (Tree Search Function): Adjust twalk_r
1084 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1087 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
1090 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
1091 * support/support.h (support_bindir_prefix): New variable.
1092 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
1094 * config.make.in (bindir): New variable.
1096 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
1097 (lll_trylock): Call __lll_trylock.
1098 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
1099 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
1100 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1101 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1102 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
1103 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
1104 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1105 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1106 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
1107 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
1108 lowlevellock-futex.h.
1110 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1111 initialization for LLL_LOCK_INITIALIZER different than 0.
1112 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
1113 Assume LLL_LOCK_INITIALIZER being 0.
1114 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
1115 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
1117 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
1118 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
1120 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
1121 Optimize futex call and add systemtap probe.
1123 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
1124 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
1125 __libc_disable_asynccancel, __librt_enable_asynccancel,
1126 __libc_disable_asynccancel, __librt_enable_asynccancel,
1127 __librt_disable_asynccancel): Move to ...
1128 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
1129 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
1130 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
1131 * sysdeps/generic/single-thread.h: New file.
1132 * sysdeps/unix/sysdep.h: Include single-thread.h.
1133 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
1134 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1136 2019-05-08 Mike FABIAN <mfabian@redhat.com>
1139 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
1140 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1142 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1143 * localedata/unicode-gen/PropList.txt: Likewise.
1144 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1145 * localedata/charmaps/UTF-8: Regenerate.
1146 * localedata/locales/i18n_ctype: Likewise.
1147 * localedata/locales/tr_TR: Likewise.
1148 * localedata/locales/translit_circle: Likewise.
1149 * localedata/locales/translit_cjk_compat: Likewise.
1150 * localedata/locales/translit_combining: Likewise.
1151 * localedata/locales/translit_compat: Likewise.
1152 * localedata/locales/translit_font: Likewise.
1153 * localedata/locales/translit_fraction: Likewise.
1155 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
1158 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
1159 (do_set_tcache_count): Only update if count is small enough.
1160 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
1162 2019-05-10 Florian Weimer <fweimer@redhat.com>
1164 * nptl/sem_close.c (struct walk_closure): Define.
1165 (walker): Adjust for __twalk_r.
1166 (sem_close): Call __twalk_r.
1168 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1170 * support/timespec.c (test_timespec_before_impl,
1171 test_timespec_equal_or_after_impl): print timespec member as intmax_t
1174 2019-05-09 Mike Crowe <mac@mcrowe.com>
1176 * nptl/tst-abstime.c: Use libsupport.
1178 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
1179 small bug where only tv.tv_usec was checked which could cause an
1180 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
1183 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
1186 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
1187 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
1189 * nptl/tst-cond11.c: Use libsupport.
1191 * support/timespec.h: New file. Provide timespec helper functions
1192 along with macros in the style of those in check.h.
1193 * support/timespec.c: New file. Implement check functions declared
1194 in support/timespec.h.
1195 * support/timespec-add.c: New file from gnulib containing
1196 timespec_add implementation that handles overflow.
1197 * support/timespec-sub.c: New file from gnulib containing
1198 timespec_sub implementation that handles overflow.
1199 * support/README: Mention timespec.h.
1201 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1204 * nptl/Makefile: Move tst-eintr1 to xtests.
1206 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1208 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
1210 (round_mode): Add definition for TRUNC.
1211 * sysdeps/powerpc/fpu/s_trunc.c: New file.
1212 * sysdeps/powerpc/fpu/s_truncf.c: New file.
1213 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
1214 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1215 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
1217 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
1219 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
1221 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1223 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
1225 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
1227 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
1229 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
1231 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
1232 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
1233 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1234 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
1235 s_truncf-power5+, and s_truncf-ppc64.
1236 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
1237 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
1239 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
1240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
1241 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
1242 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
1244 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
1246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
1247 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
1248 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1249 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
1250 s_truncf-power5+, and s_truncf-ppc64.
1251 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
1253 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1254 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
1256 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1257 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1258 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1259 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1260 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1262 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1264 (round_mode): Add definition for ROUND.
1265 (round_to_integer_float): Likewise.
1266 * sysdeps/powerpc/fpu/s_round.c: New file.
1267 * sysdeps/powerpc/fpu/s_roundf.c: New file.
1268 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
1269 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1270 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
1272 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
1274 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
1276 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1278 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
1280 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
1282 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
1284 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
1286 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
1287 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
1288 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1289 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
1290 s_roundf-power5+, and s_roundf-ppc64.
1291 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
1292 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
1294 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
1295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
1296 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
1297 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
1299 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
1301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
1302 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
1303 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1304 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
1305 s_roundf-power5+, and s_roundf-ppc64.
1306 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
1308 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1309 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
1311 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1312 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1313 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1314 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1315 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1317 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1319 (round_mode): Add definition for FLOOR.
1320 * sysdeps/powerpc/fpu/s_floor.c: New file.
1321 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1322 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1323 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1340 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1341 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1342 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1343 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1344 s_floorf-power5+, and s_floorf-ppc64.
1345 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1346 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1348 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1350 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1351 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1353 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1356 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1357 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1358 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1359 s_floorf-power5+, and s_floorf-ppc64.
1360 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1368 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1369 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1370 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1371 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1373 2019-05-08 Mike Crowe <mac@mcrowe.com>
1375 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1376 clock_gettime wrapper for use in tests that fails the test rather
1377 than returning failure.
1379 * support/xtime.h: New file to declare xclock_gettime.
1381 * support/Makefile: Add xclock_gettime.c.
1383 * support/README: Mention xtime.h.
1385 2019-05-08 Florian Weimer <fweimer@redhat.com>
1387 malloc/tst-mallocfork2: Use process-shared barriers.
1388 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1389 (signal_count, sigusr1_sender_pid): Remove.
1390 (iterations): Define constant.
1391 (shared): New variable.
1392 (sigusr1_received): Update comment.
1393 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1394 (signal_sender): Optional use barriers to avoid sending signals
1395 during irrelevant times.
1396 (do_it): Initialize variable shared. Use xfork for error
1397 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1398 the iteration count, independent of signal delivery. Check for
1399 deadlocks in fork. Introduce barriers for reducing signal
1400 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1401 replaced by the barriers. Count signals during fork/free/malloc
1403 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1405 2019-05-07 Joseph Myers <joseph@codesourcery.com>
1407 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1409 (clock_adjtime64) New syscall.
1410 (clock_getres_time64) Likewise.
1411 (clock_gettime64) Likewise.
1412 (clock_nanosleep_time64) Likewise.
1413 (clock_settime64) Likewise.
1414 (futex_time64) Likewise.
1415 (io_pgetevents_time64) Likewise.
1416 (io_uring_enter) Likewise.
1417 (io_uring_register) Likewise.
1418 (io_uring_setup) Likewise.
1419 (mq_timedreceive_time64) Likewise.
1420 (mq_timedsend_time64) Likewise.
1421 (pidfd_send_signal) Likewise.
1422 (ppoll_time64) Likewise.
1423 (pselect6_time64) Likewise.
1424 (recvmmsg_time64) Likewise.
1425 (rt_sigtimedwait_time64) Likewise.
1426 (sched_rr_get_interval_time64) Likewise.
1427 (semtimedop_time64) Likewise.
1428 (timer_gettime64) Likewise.
1429 (timer_settime64) Likewise.
1430 (timerfd_gettime64) Likewise.
1431 (timerfd_settime64) Likewise.
1432 (utimensat_time64) Likewise.
1434 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1435 version to 9 branch.
1437 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1439 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1440 __memmove_thunderx2 to the list of implementations
1441 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1442 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1443 (__memmove_thunderx2): Rewritten using SIMD ld/st
1444 (__memcpy_thunderx2): Fixed handling overlapping cases.
1445 Used ldp/stp instead of ldr/str if possible. Made loops
1448 2019-05-03 Florian Weimer <fweimer@redhat.com>
1450 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1452 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1455 * elf/tst-pldd.c (in_str_list): New function.
1456 (do_test): Add default names for ld and libc as one option.
1458 2019-05-02 Florian Weimer <fweimer@redhat.com>
1460 misc: Add twalk_r function.
1461 * include/search.h (__twalk_r): Declare.
1462 * manual/examples/twalk.c: New file.
1463 * manual/search.texi (Tree Search Function): Document twalk_r.
1464 * misc/Versions (2.30): Export twalk_r.
1465 (GLIBC_PRIVATE): Export __twalk_r.
1466 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1467 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1468 (twalk_r): Add weak alias.
1469 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1470 (walk_trace): New variable.
1471 (struct twalk_with_twalk_r_closure): Define.
1472 (twalk_with_twalk_r_action): New function.
1473 (twalk_with_twalk_r): Likewise.
1474 (walk_action): Call walk_trace_add.
1475 (walk_tree_with): Rename from walk_tree. Add walk argument.
1476 (walk_tree): New function.
1477 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1478 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1480 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1482 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1483 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1484 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1485 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1486 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1487 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1489 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1491 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1493 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1494 (GLIBC_2.30): Likewise.
1495 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1496 (GLIBC_2.30): Likewise.
1497 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1498 (GLIBC_2.30): Likewise.
1499 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1500 (GLIBC_2.30): Likewise.
1501 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1504 (GLIBC_2.30): Likewise.
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1506 (GLIBC_2.30): Likewise.
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1508 (GLIBC_2.30): Likewise.
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1510 (GLIBC_2.30): Likewise.
1511 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1513 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1515 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1517 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1518 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1520 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1522 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1524 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1527 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1529 Make mktime etc. compatible with __time64_t
1530 Keep these functions compatible with Gnulib while adding
1531 __time64_t support. The basic idea is to move private API
1532 declarations from include/time.h to time/mktime-internal.h, since
1533 the former file cannot easily be shared with Gnulib whereas the
1535 Also, do some other minor cleanup while in the neighborhood.
1536 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1537 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1538 since Gnulib needs it.
1539 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1540 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1541 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1542 (in_time_t_range): New static function.
1543 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1544 so that glibc users are not tempted to use __time64_t.
1545 * time/mktime-internal.h: Rewrite so that it does both glibc
1546 and Gnulib work. Include time.h if not _LIBC.
1547 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1548 (__time64_t): New type or macro, moved here from
1550 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1551 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1552 from include/time.h.
1553 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1554 New macros, taken from GNulib.
1555 (__mktime_internal): New prototype, moved here from include/time.h.
1556 * time/mktime.c (mktime_min, mktime_max, convert_time)
1557 (ranged_convert, __mktime_internal, __mktime64):
1558 * time/timegm.c (__timegm64):
1559 Use __time64_t, not time_t.
1560 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1561 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1563 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1564 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1565 for libc_hidden_def.
1567 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1569 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1571 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
1574 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1575 from `-Wmaybe-uninitialized'.
1576 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1578 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1580 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1582 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1583 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1584 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1585 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1586 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1588 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1605 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1606 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1607 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1608 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1610 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1613 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1614 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1616 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1619 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1621 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1622 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1623 s_ceilf-power5+, and s_ceilf-ppc64.
1624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1629 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1630 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1631 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1632 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1634 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1635 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1636 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1638 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1640 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1641 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1642 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1643 (sem_getvalue): Likewise.
1645 2019-04-26 Florian Weimer <fweimer@redhat.com>
1647 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1648 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1650 2019-04-26 Florian Weimer <fweimer@redhat.com>
1652 Makeconfig: Move -Wl,-rpath-link options before library references.
1653 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1654 (link-libc): Remove $(link-libc-rpath-link).
1656 2019-04-25 Florian Weimer <fweimer@redhat.com>
1658 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1659 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1660 (+link-static-before-libc): Remove $(CC).
1661 (+link-static, +link-static-tests): Add $(CC).
1662 (+link-before-libc): Remove $(CC).
1663 (+link, +link-pie, +link-pie-printers): Add $(CC).
1665 2019-04-26 Florian Weimer <fweimer@redhat.com>
1667 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1668 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1669 (+link-static-before-libc): Remove $(CC).
1670 (+link-static, +link-static-tests): Add $(CC).
1671 (+link-before-libc): Remove $(CC).
1672 (+link, +link-pie, +link-pie-printers): Add $(CC).
1674 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1677 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1679 2019-04-25 Florian Weimer <fweimer@redhat.com>
1681 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1682 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1683 (bench-link-targets): New variable.
1684 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1686 2019-04-25 Florian Weimer <fweimer@redhat.com>
1688 Also enable BIND_NOW for programs if --enable-bind-now.
1689 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1690 (+link-pie): Use $(link-extra-flags).
1691 (+link-static): Likewise.
1692 [! $(build-pie-default)] (+link): Likewise.
1693 * manual/install.texi (Configuring and compiling): Update
1694 --enable-bind-now description.
1695 * INSTALL: Regenerated.
1697 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1699 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1700 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1702 2019-04-24 Mike Frysinger <vapier@gentoo.org>
1705 * malloc/Makefile (others): Add memusagestat.
1706 ($(objpfx)memusagestat): Delete rule.
1707 (LDLIBS-memusagestat): New variable.
1709 2019-04-24 Florian Weimer <fweimer@redhat.com>
1711 * locale/Makefile (tests-special): Guard setting by
1712 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1713 to run while cross-compiling.
1715 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1718 * elf/Makefile (tests-container): Add tst-pldd.
1719 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1720 (E(find_maps)): Avoid use alloca, use default read file operations
1721 instead of explicit LFS names, and fix infinite loop.
1722 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1723 (get_process_info): Use _Static_assert instead of assert, use default
1724 directory operations instead of explicit LFS names, and free some
1726 * elf/tst-pldd.c: New file.
1728 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1730 * malloc/arena.c (do_set_mallopt_check): Removed.
1732 2019-04-23 Florian Weimer <fweimer@redhat.com>
1734 locale: Add LOCPATH diagnostics to the locale program.
1735 * locale/programs/locale.c (setlocale_failed): New variable.
1736 (try_setlocale): New function.
1737 (quote_string): Likewise.
1738 (setlocale_diagnostics): Likewise.
1739 (main): Call try_setlocale instead of setlocale. Call
1740 setlocale_diagnostics.
1741 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1742 (tst-locale-locpath.out): New target.
1743 * locale/tst-locale-locpath.sh: New file.
1745 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1747 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1750 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1753 * malloc/hooks.c (malloc_check, realloc_check): Use
1754 __builtin_add_overflow on overflow check and adapt to
1755 checked_request2size change.
1756 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1757 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1758 allocation size to PTRDIFF_MAX.
1759 (REQUEST_OUT_OF_RANGE): Remove macro.
1760 (checked_request2size): Change to inline function and limit maximum
1761 requested size to PTRDIFF_MAX.
1762 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1763 maximum allocation size to PTRDIFF_MAX.
1764 (_mid_memalign): Use _int_memalign call for overflow check.
1765 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1766 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1767 limit maximum requested size to PTRDIFF_MAX.
1768 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1769 valloc, pvalloc): Add __attribute_alloc_size__.
1770 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1771 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1772 larger than PTRDIFF_MAX.
1773 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1774 around tests of malloc with negative sizes.
1775 * malloc/tst-posix_memalign.c (do_test): Likewise.
1776 * malloc/tst-pvalloc.c (do_test): Likewise.
1777 * malloc/tst-valloc.c (do_test): Likewise.
1778 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1779 with resulting size allocation larger than PTRDIFF_MAX with
1780 reallocarray_nowarn.
1781 (reallocarray_nowarn): New function.
1782 * NEWS: Mention the malloc function semantic change.
1784 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1786 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1787 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1789 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1790 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1791 * sysdeps/powerpc/fpu/s_fma.c: New file.
1792 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1794 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1795 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1797 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1798 the magic flag store.
1799 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1801 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1803 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1804 Remove rt_sigreturn call.
1806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1807 Remove rt_sigreturn call.
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1813 * support/Makefile (libsupport-routines): Add support_subprocess,
1814 xposix_spawn, xposix_spawn_file_actions_addclose, and
1815 xposix_spawn_file_actions_adddup2.
1816 (tst-support_capture_subprocess-ARGS): New rule.
1817 * support/capture_subprocess.h (support_capture_subprogram): New
1819 * support/support_capture_subprocess.c (support_capture_subprocess):
1820 Refactor to use support_subprocess and support_capture_poll.
1821 (support_capture_subprogram): New function.
1822 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1823 str_to_write_mode, test_common, parse_int, handle_restart,
1824 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1825 (do_test): Add support_capture_subprogram tests.
1826 * support/subprocess.h: New file.
1827 * support/support_subprocess.c: Likewise.
1828 * support/xposix_spawn.c: Likewise.
1829 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1830 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1831 * support/xspawn.h: Likewise.
1833 2019-04-17 Mike Gerow <gerow@google.com>
1835 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1838 2019-04-11 Florian Weimer <fweimer@redhat.com>
1840 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1841 domain with empty string.
1842 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1844 2019-04-11 Florian Weimer <fweimer@redhat.com>
1846 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1848 (alloc_buffer_next): Change return type to non-const. Update
1851 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1853 * manual/time.texi (Formatting Calendar Time): Add missing percent
1854 sign to conversion specifier.
1856 2019-04-09 Carlos O'Donell <carlos@redhat.com>
1857 Kwok Cheung Yeung <kcy@codesourcery.com>
1860 * malloc/mtrace.c: Define prototypes for all hooks.
1861 (set_default_hooks): New function.
1862 (set_trace_hooks): Likewise.
1863 (save_default_hooks): Likewise.
1864 (tr_freehook): Use new s*_hooks functions.
1865 (tr_mallochook): Likewise.
1866 (tr_reallochook): Likewise.
1867 (tr_memalignhook): Likewise.
1869 (muntrace): Likewise.
1871 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1873 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1874 (generic_stpcpy): New function.
1875 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1876 (generic_stpncpy): New function.
1877 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1878 (generic_strcat): New function.
1879 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1880 (generic_strcpy): New function.
1881 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1882 (STUPID_STRNCAT): Remove function.
1883 (generic_strncat): New function.
1884 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1885 (STUPID_STRNCPY): Remove function.
1886 (generic_strncpy): New function.
1887 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1888 (generic_strnlen): New function.
1889 (memchr_strnlen): New function.
1890 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1891 (memchr_strlen): Likewise.
1893 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1895 * benchtests/bench-strstr.c (input): Add realistic input text.
1896 (stupid_strstr): Remove function.
1897 (basic_strstr): Add function.
1898 (twoway_strstr): Add function.
1899 (do_one_test): Add result checking.
1900 (do_test): Use new input text. Remove accidental early matches.
1901 (test_main): Improve range of tests, reduce unaligned cases.
1903 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1905 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1906 (basic_memmem): Add function.
1907 (twoway_memmem): Add function.
1909 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1911 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1912 * benchtests/bench-malloc-thread.c: Likewise.
1913 * benchtests/bench-skeleton.c: Likewise.
1914 * benchtests/bench-strtod.c: Likewise.
1915 * benchtests/bench-timing.h: Likewise.
1917 2019-04-08 Florian Weimer <fweimer@redhat.com>
1919 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1921 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1922 RES_INSECURE2 security checks.
1923 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1924 RES_INSECURE2 handling.
1926 2019-04-08 Florian Weimer <fweimer@redhat.com>
1928 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1929 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1930 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1932 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1933 (tests-internal): Update justification for tst-resolv-res_init,
1934 tst-resolv-res_init-thread.
1935 (tst-res_use_inet6): Remove target.
1936 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1937 * resolv/res_debug.c (p_option): Remove "inet6" support.
1938 * resolv/res_init.c (res_setoptions): Likewise.
1939 * resolv/res_use_inet6.h: Remove file.
1940 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1942 (res_use_inet6): Always return false.
1943 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1944 * resolv/resolv_context.h: Adjust file comment.
1945 (struct resolv_context): Update comment on __next field.
1946 (__resolv_context_put): Update comment.
1947 * resolv/tst-res_use_inet6.c: Remove file.
1948 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1950 (test_cases): Adjust test case.
1951 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1952 (thread_byname2_af_inet6): Use old byname_inet6 code.
1953 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1954 (gai): Remove do_inet6 argument.
1955 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1956 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1957 (thread_gai_unspec_inet6): Remove functions.
1958 (do_test): Adjust thread_funcs.
1959 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1961 (gaih_inet): Do not disable RES_USE_INET6 flag.
1963 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1965 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1966 and remove redundant code.
1968 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1970 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1972 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1973 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1975 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1979 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1980 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1981 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1982 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1983 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1984 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1986 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1988 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1990 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1991 Remove wcsrchr optimizations.
1992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1994 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1997 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1999 * sysdeps/powerpc/power6/wcschr.c: Remove file.
2000 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
2002 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
2004 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
2006 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2007 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
2008 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
2009 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
2010 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2011 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
2012 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2013 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
2015 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
2016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2017 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2018 Remove wcschr optimizations.
2019 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2021 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
2024 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
2026 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
2027 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
2029 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
2031 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
2033 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2034 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
2035 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
2036 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
2037 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2038 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
2039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2040 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
2042 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
2043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2044 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2045 Remove wcscpy optimizations.
2046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2048 * include/loop_unroll.h: New file.
2049 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
2050 besides generic implementation.
2052 2019-04-03 DJ Delorie <dj@redhat.com>
2054 * time/tst-strftime3.c (tm_to_printed): Disable warning about
2055 snprintf truncating output.
2057 2019-04-02 DJ Delorie <dj@redhat.com>
2059 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
2062 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2065 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
2067 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
2068 (mkreftable): Add rules for the new Japanese era and the new dates.
2070 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2071 Rafal Luzynski <digitalfreak@lingonborough.com>
2073 * time/tst-strftime2.c (date_t): Explicitly define the type.
2074 (dates): Use natural month and year numbers to express a date.
2075 (is_before): New function to compare dates.
2076 (mkreftable): Minor improvements to simplify maintenance.
2077 (do_test): Reflect the changes in dates array.
2080 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
2081 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
2082 * time/tst-strftime2.c (locales): Likewise.
2083 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
2084 2010-04-01, and 2011-04-01.
2085 (mkreftable): Add rules for the new locales and the new dates.
2087 2019-04-01 Carlos O'Donell <carlos@redhat.com>
2089 * localedata/locales/ja_JP: Add comments to era entries.
2091 2019-04-01 DJ Delorie <dj@redhat.com>
2094 * time/strptime_l.c (%Ey): Fix fencepost error.
2095 * time/tst-strftime3.c: New.
2096 * time/Makefile (tests): Add tst-strftime3.
2098 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
2100 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
2101 conditional branch to DIVBYZERO. Fix unwind info.
2102 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
2103 excb after conditional branch to $powerof2. Add missing unop
2104 instructions and .align directives and reorder instructions to
2107 2019-04-01 Richard Henderson <rth@twiddle.net>
2109 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2111 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
2114 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
2116 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
2117 $libc_cv_riscv_float_abi in `test' invocation.
2118 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
2120 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
2122 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
2124 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
2126 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2127 (_GET_SI_FPSCR): Likewise.
2128 (_SET_SI_FPSCR): Likewise.
2130 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2132 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
2134 (signbit): Use builtin for clang 3.3.
2135 (isinf): Use builtin for clang 3.7.
2137 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2139 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
2141 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
2143 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
2146 2019-03-25 Mike Crowe <mac@mcrowe.com>
2148 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
2149 pthread_rwlock_timedrdlock with calls to
2150 pthread_rwlock_timedwrlock to ensure that the latter is tested
2151 too. Use new function name in diagnostic messages too.
2153 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
2154 (do_test) Use libsupport test macros rather than hand-coded
2155 conditionals and error messages. Ensure that sem_init returns zero
2156 rather than not -1. Use <support/test-driver.c> rather than
2159 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
2160 test macros rather than hand-coded conditionals and error messages.
2161 Use <support/test-driver.c> rather than test-skeleton.c.
2163 2019-03-25 Joseph Myers <joseph@codesourcery.com>
2165 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
2167 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
2168 (NT_MIPS_MSA): Likewise.
2170 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2172 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
2173 * benchtests/README: Update description.
2174 * benchtests/bench-timing.h: Default to hp-timing.
2175 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
2176 HP_TIMING_PRINT): Remove.
2177 (HP_TIMING_NOW): Add generic implementation.
2178 (hp_timing_t): Change to uint64_t.
2180 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
2182 * nptl/descr.h: Likewise.
2183 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
2184 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
2185 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
2186 Abstract hp-timing usage with RTLD_* macros.
2187 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
2188 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
2189 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
2190 HP_TIMING_NONAVAIL): Likewise.
2191 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2193 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
2194 HP_SMALL_TIMING_AVAIL): Likewise.
2195 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
2196 HP_SMALL_TIMING_AVAIL): Likewise.
2197 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
2198 HP_SMALL_TIMING_AVAIL): Likewise.
2199 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
2200 HP_SMALL_TIMING_AVAIL): Likewise.
2201 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2203 * sysdeps/generic/hp-timing-common.h: Update comment with
2204 HP_TIMING_AVAIL removal.
2206 * include/random-bits.h: New file.
2207 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
2208 (__res_context_mkquery): Remove usage hp-timing usage and replace with
2210 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
2211 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
2214 * include/libc-internal.h (__get_clockfreq): Remove prototype.
2215 * rt/Makefile (clock-routines): Remove get_clockfreq.
2216 * rt/get_clockfreq.c: Remove file.
2217 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2218 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
2219 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
2220 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
2221 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
2223 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
2224 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
2225 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
2226 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
2227 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
2229 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
2230 pthread_clock_settime.
2231 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
2232 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
2233 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
2234 * elf/rtld.c (_dl_start_final): Likewise.
2235 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
2236 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
2238 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
2239 (_dl_cpuclock_offset): Remove.
2240 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
2241 cpuclock_offset_ununsed.
2242 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2243 cpuclock_offset set.
2244 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2245 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2246 * nptl/pthread_clock_gettime.c: Remove file.
2247 * nptl/pthread_clock_settime.c: Likewise.
2248 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
2249 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
2250 and CLOCK_PROCESS_CPUTIME_ID support.
2251 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
2252 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
2253 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
2254 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
2255 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
2257 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
2259 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2261 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
2262 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
2263 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
2265 * sysdeps/s390/memmem-arch13.S: New file.
2266 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
2267 if it is only used as fallback.
2268 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
2269 * sysdeps/s390/multiarch/ifunc-impl-list.c
2270 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
2272 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2274 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
2275 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
2276 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
2278 * sysdeps/s390/multiarch/ifunc-impl-list.c
2279 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
2280 * sysdeps/s390/strstr-arch13.S: New file.
2281 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
2282 if it is only used as fallback.
2283 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
2285 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2287 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
2288 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
2289 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
2290 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
2292 * sysdeps/s390/multiarch/ifunc-impl-list.c
2293 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
2294 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
2295 S390_IS_ARCH13_MIE3): New defines.
2297 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2299 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
2300 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
2301 * sysdeps/s390/configure.ac: Add checks for arch13 support.
2302 * sysdeps/s390/configure: Regenerated.
2304 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2306 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
2307 Add vxe2, vxp, dflt, sort flags.
2308 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
2309 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
2311 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
2312 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
2313 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
2314 HWCAP_S390_DFLT): Define.
2316 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2319 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2320 of compiler warning.
2321 * locale/programs/ld-collate.c (collate_output): Likewise.
2323 2019-03-21 DJ Delorie <dj@redhat.com>
2326 * iconv/iconvconfig.c (write_output): Replace floating point math
2327 with integer math to avoid imprecise results.
2328 * locale/programs/ld-collate.c (collate_output): Likewise.
2330 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
2332 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2333 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2335 2019-03-20 mansayk <6688000@gmail.com>
2338 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2339 (abday): Likewise, but remove the trailing dots.
2341 2019-03-19 Joseph Myers <joseph@codesourcery.com>
2343 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2345 (HWCAP_PACA): Likewise.
2346 (HWCAP_PACG): Likewise.
2347 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2349 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2351 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2353 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2356 2019-03-15 Joseph Myers <joseph@codesourcery.com>
2358 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2360 (old_getpagesize): New syscall.
2362 2019-03-15 Felix Yan <felixonmars@archlinux.org>
2365 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2366 * localedata/locales/cmn_TW (era): Likewise.
2367 * localedata/locales/hak_TW (era): Likewise.
2368 * localedata/locales/lzh_TW (era): Likewise.
2369 * localedata/locales/nan_TW (era): Likewise.
2371 2019-03-14 Adam Maris <amaris@redhat.com>
2373 * malloc/malloc.c (_int_malloc): Check for large bin list
2374 corruption when inserting unsorted chunk.
2376 2019-03-14 Florian Weimer <fweimer@redhat.com>
2378 Remove obsolete, never-implemented XSI STREAMS declarations.
2379 * manual/terminal.texi (Allocation): Remove portability note and
2381 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2383 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2384 * sysdeps/unix/inet/Subdirs (streams): Remove.
2385 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2386 (conformtest-headers-UNIX98): Likewise.
2387 (conformtest-headers-XOPEN2K): Likewise.
2388 (conformtest-headers-POSIX2008): Likewise.
2389 * posix/compat-streams.c: New file.
2390 * posix/Makefile (routines): Add it.
2391 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2392 getpmsg, isastream, putmsg, putpmsg.
2393 (GLIBC_2.30): New section.
2394 * bits/stropts.h: Remove file.
2395 * bits/xtitypes.h: Likewise.
2396 * conform/data/stropts.h-data: Likewise.
2397 * include/stropts.h: Likewise.
2398 * include/sys/stropts.h: Likewise.
2399 * include/xtitypes.h: Likewise.
2400 * streams/Makefile: Likewise.
2401 * streams/fattach.c: Likewise.
2402 * streams/fdetach.c: Likewise.
2403 * streams/getmsg.c: Likewise.
2404 * streams/getpmsg.c: Likewise.
2405 * streams/isastream.c: Likewise.
2406 * streams/putmsg.c: Likewise.
2407 * streams/putpmsg.c: Likewise.
2408 * streams/stropts.h: Likewise.
2409 * streams/sys/stropts.h: Likewise.
2410 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2411 * sysdeps/s390/bits/xtitypes.h: Likewise.
2412 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2413 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2414 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2415 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2416 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2417 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2418 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2419 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2420 * sysdeps/x86/bits/xtitypes.h: Likewise.
2422 2019-03-14 Florian Weimer <fweimer@redhat.com>
2424 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2426 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2427 but not with libnss_files.
2428 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2430 2019-03-14 Zack Weinberg <zackw@panix.com>
2432 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2433 Specify encoding="utf-8" when opening headers to check.
2435 2019-03-13 Joseph Myers <joseph@codesourcery.com>
2437 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2439 (Context.checkout_tar): Handle variable major version for Linux
2442 2019-03-13 Florian Weimer <fweimer@redhat.com>
2445 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2447 2019-03-13 Zack Weinberg <zackw@panix.com>
2449 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2451 * include/inttypes.h: Adjust to match.
2452 * include/stdint.h: New wrapper.
2454 2019-03-13 Zack Weinberg <zackw@panix.com>
2456 * scripts/check-obsolete-constructs.py: New test script.
2457 * scripts/check-installed-headers.sh: Remove tests for
2458 obsolete typedefs, superseded by check-obsolete-constructs.py.
2459 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2460 as a special test. Update commentary.
2461 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2462 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2464 * posix/sys/types.h (__u_intN_t): Remove.
2465 (u_int8_t): Typedef using __uint8_t.
2466 (u_int16_t): Typedef using __uint16_t.
2467 (u_int32_t): Typedef using __uint32_t.
2468 (u_int64_t): Typedef using __uint64_t.
2470 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
2472 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2474 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2475 Ignore types other than AT_HWCAP.
2476 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2477 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2479 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2480 in the case of falling back to generic output mechanism.
2481 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2484 2019-03-12 Florian Weimer <fweimer@redhat.com>
2486 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2488 2019-03-12 Florian Weimer <fweimer@redhat.com>
2491 resolv: Enable full ICMP errors for UDP DNS sockets
2492 * resolv/res_enable_icmp.c: New file.
2493 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2494 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2495 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2498 2019-03-11 Mao Han <han_mao@c-sky.com>
2500 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2501 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2503 2019-03-11 Mao Han <han_mao@c-sky.com>
2505 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2506 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2507 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2509 2019-03-11 Mao Han <han_mao@c-sky.com>
2511 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2513 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2516 2019-03-11 Mao Han <han_mao@c-sky.com>
2518 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2519 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2522 2019-03-08 Mike FABIAN <mfabian@redhat.com>
2525 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2526 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2528 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2529 * localedata/unicode-gen/PropList.txt: Likewise.
2530 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2531 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2532 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2533 * localedata/charmaps/UTF-8: Regenerate.
2534 * localedata/locales/i18n_ctype: Likewise.
2535 * localedata/locales/tr_TR: Likewise.
2536 * localedata/locales/translit_circle: Likewise.
2537 * localedata/locales/translit_cjk_compat: Likewise.
2538 * localedata/locales/translit_combining: Likewise.
2539 * localedata/locales/translit_compat: Likewise.
2540 * localedata/locales/translit_font: Likewise.
2541 * localedata/locales/translit_fraction: Likewise.
2543 2019-03-07 Joseph Myers <joseph@codesourcery.com>
2545 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2546 than after operators.
2547 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2548 (setitimer_locked): Likewise.
2549 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2550 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2551 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2552 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2553 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2554 (PPC_CPU_SUPPORTED): Likewise.
2555 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2556 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2557 (stat_overflow): Likewise.
2558 (statfs_overflow): Likewise.
2559 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2560 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2561 (eq_ttyname_r): Likewise.
2562 (run_chroot_tests): Likewise.
2564 2019-03-07 Florian Weimer <fweimer@redhat.com>
2566 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2569 2019-03-07 Martin Liska <mliska@suse.cz>
2571 * math/Makefile: Change location where math-vector-fortran.h is
2573 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2574 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2575 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2576 * scripts/check-installed-headers.sh: Skip Fortran header files.
2577 * scripts/check-wrapper-headers.py: Likewise.
2579 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2581 * nptl/nptl-init.c (__have_futex_clock_realtime,
2582 __have_futex_clock_realtime): Remove definition.
2583 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2584 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2585 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2586 __ASSUME_FUTEX_CLOCK_REALTIME support.
2587 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2588 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2589 * sysdeps/unix/sysv/linux/kernel-features.h
2590 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2591 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2594 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2596 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2597 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2598 __GI___wcscpy and wcscpy.
2600 2019-03-04 Florian Weimer <fweimer@redhat.com>
2602 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2604 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2607 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
2609 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2610 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2612 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2615 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2616 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2618 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2620 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2622 (do_test): Likewise.
2623 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2624 (do_test_call_varg): Likewise.
2625 (do_test_call_rarg): Likewise.
2626 * sysdeps/ieee754/ldbl-opt/Makefile
2627 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2629 ($(objpfx)tst-nldbl-warn.c): New rule.
2630 ($(objpfx)tst-nldbl-error.c): Likewise.
2631 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2634 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2637 * include/bits/error-ldbl.h: New file.
2638 * include/error.h: Include stdarg.h. Declare internal functions
2639 __error_internal and __error_at_line_internal.
2640 * misc/Makefile (headers): Add bits/error-ldbl.h.
2641 * misc/bits/error-ldbl.h: New file.
2642 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2643 avoid the inclusion of bits/error.h.
2644 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2645 and __nldbl_error_at_line.
2646 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2647 (__nldbl_error, __ndlbl_error_at_line): New functions.
2648 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2649 Redirect error and error_at_line.
2650 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2659 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2660 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2661 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2663 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2666 * include/bits/err-ldbl.h: New file.
2667 * include/err.h: Add prototypes for the internal functions:
2668 __vwarnx_internal and __vwarn_internal.
2669 * misc/Makefile (headers): Add bits/err-ldbl.h.
2670 * misc/bits/err-ldbl.h: New file.
2671 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2672 defined, i.e.: when -mlong-double-64 is in use.
2673 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2674 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2675 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2676 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2677 (VA_CALL): New macro.
2678 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2679 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2681 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2682 declare prototypes for the new functions.
2683 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2692 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2693 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2694 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2696 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2698 * sysdeps/ieee754/ldbl-opt/Makefile
2699 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2700 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2701 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2703 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2706 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2707 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2708 * argp/bits/argp-ldbl.h: New file.
2709 * include/argp.h: Include stdarg.h. Add prototypes for internal
2710 functions: __argp_error_internal and __argp_failure_internal.
2711 * include/bits/argp-ldbl.h: New file.
2712 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2713 __nldbl_argp_error and __nldbl_argp_failure.
2714 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2715 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2716 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2717 Redirect argp_error and argp_failure calls.
2718 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2727 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2728 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2729 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2731 2019-03-01 Florian Weimer <fweimer@redhat.com>
2734 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2735 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2736 code, to avoid creating an ABI tag note.
2737 (modules-names-nobuild): Add tst-big-note-lib.
2739 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
2741 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2742 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2744 2019-03-01 Florian Weimer <fweimer@redhat.com>
2747 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2748 (__netlink_assert_response): Add additional missing newlines.
2750 2019-02-28 Joseph Myers <joseph@codesourcery.com>
2752 * sysdeps/powerpc/powerpc32/dl-machine.c
2753 (__elf_machine_fixup_plt): Use space before '('.
2754 (__process_machine_rela): Likewise.
2755 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2757 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2759 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2761 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2762 (pattern): Likewise.
2764 (check_result): Likewise.
2765 (check_excepts): Likewise.
2766 (check_op): Likewise.
2767 (fail_xr): Likewise.
2768 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2769 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2771 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2774 (__makecontext): Likewise.
2775 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2778 2019-02-28 Florian Weimer <fweimer@redhat.com>
2781 elf: Add test with a local IFUNC resolver.
2782 * elf/ifuncmain9.c: New file.
2783 * elf/ifuncmain9pic.c: Likewise.
2784 * elf/ifuncmain9picstatic.c: Likewise.
2785 * elf/ifuncmain9pie.c: Likewise.
2786 * elf/ifuncmain9static.c: Likewise.
2787 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2788 ifuncmain9static, ifuncmain9picstatic.
2789 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2790 Add ifuncmain9, ifuncmain9pic.
2791 * elf/Makefile [multi-arch && build-shared && have-fpie]
2792 (ifunc-pie-tests): Add ifuncmain9pie.
2793 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2794 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2795 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2797 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2799 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2800 * configure: Regenerated.
2801 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2803 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2805 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2806 symbol as __wcspcy instead of wcscpy.
2808 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2810 * include/stdio.h (__renameat2): New hidden prototype.
2811 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2812 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2813 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2814 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2816 2019-02-27 Joseph Myers <joseph@codesourcery.com>
2818 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2821 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2822 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2823 * benchtests/bench-strlen.c (do_test): Likewise.
2824 (test_main): Likewise.
2825 * catgets/gencat.c (read_old): Likewise.
2826 * elf/cache.c (load_aux_cache): Likewise.
2827 * iconvdata/bug-iconv8.c (do_test): Likewise.
2828 * math/test-tgmath-ret.c (do_test): Likewise.
2829 * nis/nis_call.c (rec_dirsearch): Likewise.
2830 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2831 * nptl/tst-audit-threads.c (do_test): Likewise.
2832 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2833 * nss/nss_test1.c (init): Likewise.
2834 * nss/test-netdb.c (test_hosts): Likewise.
2835 * posix/execvpe.c (maybe_script_execute): Likewise.
2836 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2837 * stdio-common/tst-printf.c (do_test): Likewise.
2838 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2839 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2840 * stdlib/qsort.c (STACK_SIZE): Likewise.
2841 * stdlib/test-canon.c (do_test): Likewise.
2842 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2843 * string/memcmp.c (OPSIZ): Likewise.
2844 * string/test-strcpy.c (do_test): Likewise.
2845 (do_random_tests): Likewise.
2846 * string/test-strlen.c (do_test): Likewise.
2847 (test_main): Likewise.
2848 * string/test-strrchr.c (do_test): Likewise.
2849 (do_random_tests): Likewise.
2850 * string/tester.c (test_memrchr): Likewise.
2851 (test_memchr): Likewise.
2852 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2853 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2854 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2855 (read_encoded_value_with_base): Likewise.
2856 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2857 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2858 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2859 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2860 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2861 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2863 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2865 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2866 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2867 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2869 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2871 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2873 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2875 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2876 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2877 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2878 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2879 * time/test_time.c (main): Likewise.
2881 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2883 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2885 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2888 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2891 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2893 * include/wchar.h (__wcscpy): New prototype.
2894 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2895 (__wcscpy): Route internal symbol to generic implementation.
2896 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2897 Add internal __wcscpy alias.
2898 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2899 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2900 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2901 * wcsmbs/wcscpy.c (wcscpy): Add
2902 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2903 use generic implementation.
2904 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2906 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2909 * sysdeps/m68k/wcpcpy.c: Remove file.
2910 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2912 2019-02-26 Joseph Myers <joseph@codesourcery.com>
2914 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2915 than after operators.
2916 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2917 * sysdeps/mach/hurd/getcwd.c
2918 (__hurd_canonicalize_directory_name_internal): Likewise.
2919 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2920 (pthread_mutex_consistent): Likewise.
2921 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2923 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2924 (__pthread_mutex_transfer_np): Likewise.
2925 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2926 (__pthread_mutex_unlock): Likewise.
2927 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2928 (mtx_owned_p): Likewise.
2929 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2930 (pthread_mutexattr_getrobust): Likewise.
2931 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2932 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2934 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2935 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2936 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2937 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2938 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2939 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2940 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2942 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2944 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2945 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2946 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2947 (____longjmp_chk): Likewise.
2948 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2950 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2951 (INTERNAL_SYSCALL): Likewise.
2952 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2953 (INTERNAL_SYSCALL): Likewise.
2954 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2955 (__get_clockfreq_via_cpuinfo): Likewise.
2957 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2959 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2960 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2961 (WORD_COPY_BWD): Likewise.
2962 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2963 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2965 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2966 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2968 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2970 2019-02-25 Joseph Myers <joseph@codesourcery.com>
2972 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2973 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2974 rather than after operators.
2975 * elf/cache.c (print_cache): Likewise.
2976 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2977 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2978 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2979 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2980 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2981 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2982 (reauth_proc): Likewise.
2983 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2984 (__file_name_split_at): Likewise.
2985 (__directory_name_split_at): Likewise.
2986 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2987 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2988 * iconv/gconv_dl.c (do_print): Likewise.
2989 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2990 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2991 * locale/setlocale.c (new_composite_name): Likewise.
2992 * malloc/memusagestat.c (main): Likewise.
2993 * misc/fstab.c (fstab_convert): Likewise.
2994 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2996 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2997 (getgrent_next_file): Likewise.
2998 (internal_getgrnam_r): Likewise.
2999 (internal_getgrgid_r): Likewise.
3000 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
3002 (internal_getgrent_r): Likewise.
3003 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
3004 (getpwent_next_nss): Likewise.
3005 (getpwent_next_file): Likewise.
3006 (internal_getpwnam_r): Likewise.
3007 (internal_getpwuid_r): Likewise.
3008 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
3010 (getspent_next_nss): Likewise.
3011 (internal_getspnam_r): Likewise.
3012 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3013 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
3014 * string/strchr.c (STRCHR): Likewise.
3015 * string/strchrnul.c (STRCHRNUL): Likewise.
3016 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
3017 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3018 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
3019 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
3020 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
3022 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
3023 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3024 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3025 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
3026 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
3027 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
3028 (open_file): Likewise.
3029 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
3030 (pthread_mutexattr_setprotocol): Likewise.
3031 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3032 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3033 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3034 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3035 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3037 (elf_machine_rela): Likewise.
3038 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3039 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3040 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
3041 * sysdeps/posix/rename.c (rename): Likewise.
3042 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
3043 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
3044 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
3045 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
3046 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3047 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
3048 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
3050 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
3052 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
3053 * time/tzfile.c (__tzfile_compute): Likewise.
3055 2019-02-22 Joseph Myers <joseph@codesourcery.com>
3057 * benchtests/bench-memmem.c (simple_memmem): Break lines before
3058 rather than after operators.
3059 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
3060 * crypt/md5.c (md5_finish_ctx): Likewise.
3061 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
3062 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
3063 * elf/cache.c (load_aux_cache): Likewise.
3064 * elf/dl-load.c (open_verify): Likewise.
3065 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3066 * elf/readelflib.c (process_elf_file): Likewise.
3067 * elf/rtld.c (dl_main): Likewise.
3068 * elf/sprof.c (generate_call_graph): Likewise.
3069 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
3070 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3071 * hurd/dtable.c (reauth_dtable): Likewise.
3072 * hurd/getdport.c (__getdport): Likewise.
3073 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
3074 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
3075 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
3077 * hurd/hurdioctl.c (fioctl): Likewise.
3078 * hurd/hurdselect.c (_hurd_select): Likewise.
3079 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
3080 (STOPSIGS): Likewise.
3081 * hurd/hurdstartup.c (_hurd_startup): Likewise.
3082 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
3083 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3084 * hurd/msgportdemux.c (msgport_server): Likewise.
3085 * hurd/setauth.c (_hurd_setauth): Likewise.
3086 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
3087 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
3088 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
3089 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
3090 * login/tst-utmp.c (do_check): Likewise.
3091 (simulate_login): Likewise.
3092 * mach/lowlevellock.h (lll_lock): Likewise.
3093 (lll_trylock): Likewise.
3094 * math/test-fenv.c (ALL_EXC): Likewise.
3095 * math/test-fenvinline.c (ALL_EXC): Likewise.
3096 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
3097 * nis/nis_call.c (__do_niscall3): Likewise.
3098 * nis/nis_callback.c (cb_prog_1): Likewise.
3099 * nis/nis_defaults.c (searchaccess): Likewise.
3100 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3101 * nis/nis_ismember.c (internal_ismember): Likewise.
3102 * nis/nis_local_names.c (nis_local_principal): Likewise.
3103 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
3104 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
3106 * nis/ypclnt.c (yp_match): Likewise.
3107 (yp_first): Likewise.
3108 (yp_next): Likewise.
3109 (yp_master): Likewise.
3110 (yp_order): Likewise.
3111 * nscd/hstcache.c (cache_addhst): Likewise.
3112 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3113 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
3114 (internal_getpwuid_r): Likewise.
3115 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
3116 * posix/glob.h (__GLOB_FLAGS): Likewise.
3117 * posix/regcomp.c (peek_token): Likewise.
3118 (peek_token_bracket): Likewise.
3119 (parse_expression): Likewise.
3120 * posix/regexec.c (sift_states_iter_mb): Likewise.
3121 (check_node_accept_bytes): Likewise.
3122 * posix/tst-spawn3.c (do_test): Likewise.
3123 * posix/wordexp-test.c (testit): Likewise.
3124 * posix/wordexp.c (parse_tilde): Likewise.
3125 (exec_comm): Likewise.
3126 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
3127 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
3128 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
3129 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
3130 * stdio-common/tst-fileno.c (do_test): Likewise.
3131 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
3132 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
3133 * stdlib/strtod_l.c (round_and_return): Likewise.
3134 (____STRTOF_INTERNAL): Likewise.
3135 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
3136 * string/strcspn.c (STRCSPN): Likewise.
3137 * string/test-memmem.c (simple_memmem): Likewise.
3138 * termios/tcsetattr.c (tcsetattr): Likewise.
3139 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
3140 * time/asctime.c (asctime_internal): Likewise.
3141 * time/strptime_l.c (__strptime_internal): Likewise.
3142 * time/sys/time.h (timercmp): Likewise.
3143 * time/tzfile.c (__tzfile_compute): Likewise.
3145 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
3148 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
3150 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3152 * argp/argp-help.c (__argp_error_internal): New function,
3153 renamed from __argp_error, but that takes a 'mode_flags'
3154 parameter to control the format of long double parameters.
3155 (__argp_error): Converted into a call __argp_error_internal.
3156 (__argp_failure_internal): New function, renamed from
3157 __argp_failure, but that takes a 'mode_flags' parameter.
3158 (__argp_failure): Converted into a call __argp_failure_internal.
3159 * misc/err.c (__vwarnx_internal): New function, renamed from
3160 vwarnx, but that takes a 'mode_flags' parameter.
3161 (vwarnx): Converted into a call to __vwarnx_internal.
3162 (__vwarn_internal): New function, renamed from vwarn, but that
3163 takes a 'mode_flags' parameter.
3164 (vwarn): Converted into a call to __vwarn_internal.
3165 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
3166 call to __vfxprintf with 'mode_flags'.
3167 (__error_internal): New function, renamed from error, but that
3168 takes a 'mode_flags' parameter.
3169 (error): Converted into a call to __error_internal.
3170 (__error_at_line_internal): New function, renamed from
3171 error_at_line, but that takes a 'mode_flags' parameter.
3172 (error_at_line): Converted into a call to
3173 __error_at_line_internal.
3174 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
3175 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
3178 2019-02-20 Martin Liska <mliska@suse.cz>
3180 * math/Makefile: Install math-vector-fortran.h.
3181 * bits/math-vector-fortran.h: New file.
3182 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
3184 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3186 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
3187 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
3189 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
3191 * nptl/pthread_mutex_trylock.c: Fix comment.
3193 2019-02-19 Carlos O'Donell <carlos@redhat.com>
3195 * nptl/pthread_tryjoin.c: Fix comment.
3197 2019-02-18 Joseph Myers <joseph@codesourcery.com>
3200 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
3201 after R_SPARC_H34 case.
3203 2019-02-18 Florian Weimer <fweimer@redhat.com>
3205 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
3206 (getanswer): Do not call Dprintf.
3207 (res_gethostbyname2_context): Likewise.
3208 (res_gethostbyaddr_context): Likewise.
3210 2019-02-18 Florian Weimer <fweimer@redhat.com>
3212 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
3214 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
3216 * libio/stdfiles.c: Update comment.
3217 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
3218 set _IO_stdin, _IO_stdout, _IO_stderr.
3219 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
3220 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
3222 (_IO_deallocate_file): New inline function.
3223 * libio/iolibio.h (_IO_vprintf): Remove definition.
3224 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
3225 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3226 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
3228 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
3229 __builtin_expect. Use _IO_legacy_file.
3231 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
3233 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
3234 Initialize ctid with a known value and remove update of ctid
3236 (wait_tid): Adjust arguments and call futex_wait with ctid_val
3237 as assumed current value of ctid_ptr.
3239 2019-02-16 Florian Weimer <fweimer@redhat.com>
3241 Check that non-sysdeps headers have wrapper headers.
3242 * scripts/check-wrapper-headers.py: New file.
3243 * Makefile (tests-special): Add check-wrapper-headers.out.
3244 (check-wrapper-headers.out): New target.
3245 * Rules (tests-special): Add check-wrapper-headers.out.
3246 (check-wrapper-headers.out): New target.
3248 2019-02-16 Florian Weimer <fweimer@redhat.com>
3250 Add missing header wrappers under include/.
3251 * include/ar.h: New file.
3252 * include/bits/mqueue2.h: Likewise.
3253 * include/bits/stdio.h: Likewise.
3254 * include/bits/stdio2.h: Likewise.
3255 * include/fstab.h: Likewise.
3256 * include/fts.h: Likewise.
3257 * include/lastlog.h: Likewise.
3258 * include/netinet/icmp6.h: Likewise.
3259 * include/netinet/igmp.h: Likewise.
3260 * include/netinet/ip6.h: Likewise.
3261 * include/re_comp.h: Likewise.
3262 * include/regexp.h: Likewise.
3263 * include/rpcsvc/bootparam.h: Likewise.
3264 * include/rpcsvc/yp_prot.h: Likewise.
3265 * include/sys/random.h: Likewise.
3266 * include/sys/stropts.h: Likewise.
3267 * include/sys/ttychars.h: Likewise.
3268 * include/sys/vfs.h: Likewise.
3269 * include/wait.h: Likewise.
3271 2019-02-16 Florian Weimer <fweimer@redhat.com>
3273 * nptl_db/proc_service.h: Move to ...
3274 * sysdeps/nptl/proc_service.h: ... here.
3275 * nptl_db/thread_db.h: Move to ...
3276 * sysdeps/nptl/thread_db.h: ... here.
3277 * nptl/descr.h: Include <thread_db.h>.
3279 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3281 * io/Makefile (tests): Add tst-lockf.
3282 * io/lockf.c (lockf): Use __fcntl and only define for
3283 !__OFF_T_MATCHES_OFF64_T.
3284 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
3285 __OFF_T_MATCHES_OFF64_T case.
3286 * io/tst-lockf.c: New file.
3287 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
3288 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
3289 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
3290 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
3291 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
3292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
3293 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
3294 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
3295 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
3297 2019-02-15 Florian Weimer <fweimer@redhat.com>
3300 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
3301 pd->result after the thread descriptor has been freed.
3303 2019-02-15 Joseph Myers <joseph@codesourcery.com>
3305 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
3306 from function return type.
3308 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
3310 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3312 * scripts/test_printers_common.py: Set TERM to a known harmless
3315 2019-02-14 Joseph Myers <joseph@codesourcery.com>
3317 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3318 (xdr_u_int): Likewise.
3319 (xdr_enum): Likewise.
3320 (xdr_bytes): Reword fall-through comment.
3321 (xdr_string): Likewise.
3323 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3326 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3327 (tests): Add tst-join8 tst-join9.
3328 * nptl/lll_timedwait_tid.c: Remove file.
3329 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3330 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3331 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3332 * nptl/pthread_join_common.c (timedwait_tid): New function.
3333 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3335 * nptl/tst-join5.c (thread_join): New function.
3336 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3338 * nptl/tst-join8.c: New file.
3339 * nptl/tst-join9.c: Likewise.
3340 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3341 lll_futex_timed_wait_cancel): Add generic macros.
3342 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3344 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3345 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3346 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3347 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3349 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3351 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3352 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3353 (lll_futex_timed_wait_cancel): New macro.
3355 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3357 * benchtests/Makefile: Add malloc-simple benchmark.
3358 * benchtests/bench-malloc-simple.c: New benchmark.
3360 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3362 * benchtests/bench-memmove.c (do_one_test): Remove unused
3365 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3369 2019-01-13 Jim Wilson <jimw@sifive.com>
3372 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3373 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3375 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3377 * nptl/Makefile (tests): Add tst-unwind-thread.
3378 (CFLAGS-tst-unwind-thread.c): Define.
3379 * nptl/tst-unwind-thread.c: New file.
3380 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3383 2019-02-13 Joseph Myers <joseph@codesourcery.com>
3385 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3387 * nis/nis_call.c (__do_niscall3): Likewise.
3389 * catgets/gencat.c (normalize_line): Use braces around empty
3391 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3392 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3393 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3394 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3395 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3396 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3397 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3400 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3403 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3405 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3406 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3407 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3408 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3409 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3410 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3411 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3412 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3413 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3414 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3415 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3416 * benchtests/bench-bcopy.c: Delete file.
3417 * benchtests/bench-bzero.c: Likewise.
3418 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3419 (simple_memccpy): Remove.
3420 (generic_memccpy): Add function.
3421 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3422 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3423 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3424 (generic_mempcpy): Add new function.
3425 * benchtests/bench-memset.c (simple_bzero): Remove.
3426 (builtin_bzero): Remove.
3427 (builtin_memset): Remove.
3428 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3429 (generic_rawmemchr): Add new function.
3431 2019-02-12 Florian Weimer <fweimer@redhat.com>
3433 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3435 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3438 * elf/Makefile (tests): Add tst-audit13.
3439 (modules-names): Add tst-audit13mod1.
3440 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3442 * elf/tst-audit13.c: New file.
3443 * elf/tst-audit13mod1.c: Likewise.
3445 2019-02-12 Florian Weimer <fweimer@redhat.com>
3448 * elf/rtld.c (unload_audit_module): New function.
3449 (report_audit_module_load_error): Likewise.
3450 (load_audit_module): Likewise. Extracted from dl_main. Call
3451 _dl_close if the laversion symbol cannot be found. Use early
3452 returns for error handling. Add malloc error check. Check for a
3453 zero return value from la_version. Remove spurious comment about
3454 static TLS initialization. Remove useless casts.
3455 (notify_audit_modules_of_loaded_object): New function. Extracted
3457 (load_audit_module): Likewise.
3458 (dl_main): Call load_audit_modules.
3460 2019-02-12 Joseph Myers <joseph@codesourcery.com>
3462 * elf/dl-exception.c (_dl_exception_create_format): Add
3463 fall-through comments.
3464 * elf/ldconfig.c (parse_conf_include): Likewise.
3465 * elf/rtld.c (print_statistics): Likewise.
3466 * locale/programs/charmap.c (parse_charmap): Likewise.
3467 * misc/mntent_r.c (__getmntent_r): Likewise.
3468 * posix/wordexp.c (parse_arith): Likewise.
3469 (parse_backtick): Likewise.
3470 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3471 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3472 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3474 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
3476 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3477 Use float instead of double.
3479 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3481 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3483 2019-02-08 Joseph Myers <joseph@codesourcery.com>
3485 * sysdeps/powerpc/bits/mathinline.h: Remove.
3487 2019-02-08 Florian Weimer <fweimer@redhat.com>
3489 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3490 * math/bits/math-finite.h: Move to ...
3491 * bits/math-finite.h: ... here.
3493 2019-02-08 Florian Weimer <fweimer@redhat.com>
3495 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3496 * bits/unistd_ext.h: here.
3498 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3501 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3502 * nss/tst-nss-files-hosts-long.c: New file.
3503 * nss/tst-nss-files-hosts-long.root: New directory.
3504 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3505 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3507 2019-02-08 Florian Weimer <fweimer@redhat.com>
3509 * include/bits/unistd_ext.h: Remove file.
3510 * posix/bits/unistd_ext.h: Move to ...
3511 * sysdeps/generic/bits/unistd_ext.h: ... here.
3513 2019-02-08 Florian Weimer <fweimer@redhat.com>
3515 * include/bits/unistd_ext.h: New file.
3517 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3519 * time/tst-strftime2.c: Use array_length macros instead of magic
3522 2019-02-08 Florian Weimer <fweimer@redhat.com>
3525 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3527 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3528 locking if the new do_locking argument is true.
3529 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3530 __run_fork_handlers.
3532 2019-02-08 Florian Weimer <fweimer@redhat.com>
3535 Linux: Add gettid system call wrapper.
3536 * posix/Makefile (headers): Add bits/unistd_ext.h.
3537 * posix/bits/unistd_ext.h: New file.
3538 * posix/unistd.h: Include it.
3539 * manual/process.texi (Process Identification): Document gettid.
3540 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3541 tst-gettid, tst-gettid-kill.
3542 (tst-gettid): Link with $(shared-thread-library).
3543 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3544 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3545 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3546 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3547 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3548 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3550 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3552 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3553 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3555 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3557 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3559 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3561 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3563 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3565 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3567 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3568 (GLIBC_2.30): Likewise.
3569 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3570 (GLIBC_2.30): Likewise.
3571 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3572 (GLIBC_2.30): Likewise.
3573 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3574 (GLIBC_2.30): Likewise.
3575 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3578 (GLIBC_2.30): Likewise.
3579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3580 (GLIBC_2.30): Likewise.
3581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3582 (GLIBC_2.30): Likewise.
3583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3584 (GLIBC_2.30): Likewise.
3585 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3587 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3589 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3591 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3592 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3594 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3596 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3598 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3600 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3602 2019-02-08 Florian Weimer <fweimer@redhat.com>
3604 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3605 compatibility symbols.
3607 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
3610 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3611 Add compiler barriers and comments.
3613 2019-02-07 Florian Weimer <fweimer@redhat.com>
3615 * include/array_length.h (array_length): Do not use a statement
3616 expression and _Static_assert, so that array_length can be used at
3617 file scope and as a constant expression.
3619 2019-02-07 Florian Weimer <fweimer@redhat.com>
3621 * support/xdlfcn.h (xdlmopen): Declare.
3622 * support/xdlmopen.c: New file.
3623 * support/Makefile (libsupport-routines): Add xdlmopen.
3625 2019-02-06 Joseph Myers <joseph@codesourcery.com>
3627 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3628 before return type, without separate inline.
3629 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3630 * elf/dl-tunables.h (tunable_is_name): Likewise.
3631 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3632 (do_set_top_pad): Likewise.
3633 (do_set_mmap_threshold): Likewise.
3634 (do_set_mmaps_max): Likewise.
3635 (do_set_mallopt_check): Likewise.
3636 (do_set_perturb_byte): Likewise.
3637 (do_set_arena_test): Likewise.
3638 (do_set_arena_max): Likewise.
3639 (do_set_tcache_max): Likewise.
3640 (do_set_tcache_count): Likewise.
3641 (do_set_tcache_unsorted_limit): Likewise.
3642 * nis/nis_subr.c (count_dots): Likewise.
3643 * nptl/allocatestack.c (advise_stack_range): Likewise.
3644 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3646 (reduce_sincos): Likewise.
3647 (do_sincos): Likewise.
3648 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3649 (do_set_elision_enable): Likewise.
3650 (TUNABLE_CALLBACK_FNDECL): Likewise.
3652 2019-02-06 Florian Weimer <fweimer@redhat.com>
3654 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3655 (xdlsym): Use dlerror to detect a NULL symbol.
3657 2019-02-06 Florian Weimer <fweimer@redhat.com>
3659 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3661 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3663 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3665 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3667 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3669 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3670 __wmemcmp and weak alias to wmemcmp.
3672 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3675 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3676 TLS_TCB_AT_TP tls variant.
3677 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3678 Add alignment checks.
3679 * support/Makefile (libsupport-routines): Add xposix_memalign and
3681 * support/support.h: Add xposix_memalign.
3682 * support/xthread.h: Add xpthread_attr_setstack.
3683 * support/xposix_memalign.c: New File.
3684 * support/xpthread_attr_setstack.c: Likewise.
3686 2019-02-05 Florian Weimer <fweimer@redhat.com>
3689 arm: Use "nr" constraint for Systemtap probes, to avoid the
3690 compiler using memory operands for constants, due to the "o"
3691 alternative in the default "nor" constraint.
3692 * include/stap-probe.h [USE_STAP_PROBE]: Include
3693 <stap-probe-machine.h>
3694 * sysdeps/generic/stap-probe-machine.h: New file.
3695 * sysdeps/arm/stap-probe-machine.h: Likewise.
3697 2019-02-04 Joseph Myers <joseph@codesourcery.com>
3699 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3700 with 0, not tcache->entries[tc_idx].
3702 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3705 2019-02-04 Andreas Schwab <schwab@suse.de>
3709 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3710 looking up collating elements match against (wide) character
3711 sequence instead of name. Correct alignment adjustment.
3712 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3713 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3714 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3715 (LOCALES): Add cs_CZ.ISO-8859-2.
3716 * posix/tst-fnmatch4.c: New file.
3717 * posix/tst-fnmatch5.c: New file.
3718 * include/wchar.h (__wmemcmp): Declare.
3719 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3720 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3721 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3722 * sysdeps/s390/wmemcmp.c: Likewise.
3724 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3728 * NEWS: Updated for CVE-2019-7309.
3729 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3730 upper 32 bits of RDX register for x32. Use unsigned Jcc
3731 instructions, instead of signed.
3732 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3733 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3735 2019-02-04 Florian Weimer <fweimer@redhat.com>
3737 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3738 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3739 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3741 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3742 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3743 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3744 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3746 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3748 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3750 (posix_spawn_file_actions_addopen): Likewise.
3751 (posix_spawn_file_actions_addclose): Likewise.
3752 (posix_spawn_file_actions_adddup2): Likewise.
3753 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3755 (posix_spawn_file_actions_addfchdir_np): Likewise.
3757 2019-02-04 David Newall <glibc@davidnewall.com>
3759 elf: Implement --preload option for the dynamic linker.
3760 * elf/rtld.c (preloadarg): New variable.
3761 (handle_preload_list): Pass through “where” argument to
3763 (dl_main): Handle "--preload" and add second call to
3764 handle_preload_list.
3765 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3766 (tst-rtld-preload-OBJS): Set variable.
3767 (tst-rtld-preload.out): New target.
3768 * elf/tst-rtld-preload.sh: New file.
3770 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3772 * Makefile (testrun.sh): Exit in case of incorrect argument.
3774 2019-02-04 Florian Weimer <fweimer@redhat.com>
3776 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3779 2019-02-03 Florian Weimer <fweimer@redhat.com>
3781 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3782 implicit overflow checks.
3784 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3786 * stdlib/isomac.c: Include <unistd.h>.
3788 2019-02-03 Florian Weimer <fweimer@redhat.com>
3790 * include/time.h (__tzfile_default): Use int, not long int, for
3792 * time/tzfile.c (struct ttinfo): Change type of the offset member
3794 (__tzfile_read): Remove useless cast.
3795 (__tzfile_default): Adjust prototype.
3796 * time/tzset.c (tz_rule): Change type of the offset member to int.
3797 (parse_offset): Change the type of the sign variable to int.
3799 2019-02-03 Florian Weimer <fweimer@redhat.com>
3802 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3803 * libio/getchar.c (getchar): Likewise.
3804 * libio/getchar_u.c (getchar_unlocked): Likewise.
3805 * libio/getwchar.c (getwchar): Likewise.
3806 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3807 * libio/iogets.c (_IO_gets): Likewise.
3808 * libio/vscanf.c (_IO_vscanf): Likewise.
3809 * libio/vwscanf.c (__vwscanf): Likewise.
3810 * libio/tst-bz24153.c: New file.
3811 * libio/Makefile (tests): Add it.
3813 2019-02-02 Florian Weimer <fweimer@redhat.com>
3816 * manual/resource.texi (Basic Scheduling Functions): Add
3817 portability note. Change process to task throughout the section.
3818 Remove incorrect comment about sched_yield as it affects
3819 tasks/threads, not entire processes.
3820 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3821 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3823 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3825 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3826 * configure: Regenerated.
3827 * manual/install.texi (Tools for Compilation): Update minimum GCC
3829 * INSTALL: Regenerated.
3831 2019-02-01 Florian Weimer <fweimer@redhat.com>
3833 * support/support_test_compare_string.c
3834 (support_test_compare_string): Use "string" in error message.
3835 * support/tst-test_compare_string.c (do_test): Adjust.
3837 2019-02-01 Florian Weimer <fweimer@redhat.com>
3839 * support/support_format_address_family.c
3840 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3842 2019-02-01 Florian Weimer <fweimer@redhat.com>
3844 * manual/socket.texi (Internet Address Formats): Clarify the byte
3845 order of struct sockaddr_in, struct sockaddr_in6. Document
3846 sin6_flowinfo and sin6_scope_id.
3848 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3850 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3851 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3852 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3853 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3854 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3855 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3857 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3859 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3860 [!MEMCHR](MEMCHR): Set to __memchr.
3861 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3862 Add memchr_generic and memchr_nosimd.
3863 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3864 (__libc_ifunc_impl_list): Add memchr ifuncs.
3865 * sysdeps/aarch64/multiarch/memchr.c: New file.
3866 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3867 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3869 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3871 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3873 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3874 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3875 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3876 Add IS_EMAG check for ifunc dispatch.
3877 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3878 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3880 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3882 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3883 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3885 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3888 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
3890 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3892 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
3894 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3895 syscall-template file.
3897 2019-01-31 Carlos O'Donell <carlos@redhat.com>
3898 Torvald Riegel <triegel@redhat.com>
3899 Rik Prohaska <prohaska7@gmail.com>
3902 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3903 tst-rwlock-trywrlock-stall.
3904 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3905 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3906 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3907 Set __wrphase_fute to 1 only if we started the write phase.
3908 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3909 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3910 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3911 * support/xpthread_rwlock_destroy.c: New file.
3912 * support/xthread.h: Declare xpthread_rwlock_destroy.
3914 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3916 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3919 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3922 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3923 * libio/fileops.c (_IO_new_file_underflow): Likewise
3924 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3925 * libio/putchar.c (putchar): Likewise.
3926 * libio/putchar_u.c (putchar_unlocked): Likewise.
3927 * libio/putwchar.c (putchar): Likewise.
3928 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3929 * libio/tst-bz24051.c: New test.
3930 * libio/Makefile (tests): Add tst-bz24051
3932 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3935 regex: fix read overrun [BZ #24114]
3936 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3937 https://debbugs.gnu.org/34140
3938 * posix/regexec.c (proceed_next_node):
3939 Do not read past end of input buffer.
3941 2019-01-31 Florian Weimer <fweimer@redhat.com>
3944 * nss/nss_files/files-alias.c (get_next_alias): Handle
3945 continuation line without newline at the end.
3946 * nss/tst-nss-files-alias-truncated.c: New file.
3947 * nss/Makefile [$(build-shared)] (tests): Add
3948 tst-nss-files-alias-truncated.
3949 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3950 * support/namespace.h (struct support_chroot_configuration): Add
3952 (struct support_chroot): Add path_aliases member.
3953 * support/support_chroot.c (support_chroot_create): Handle
3955 (support_chroot_free): Free path_aliases.
3957 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3959 * version.h (RELEASE): Set to "development".
3960 (VERSION): Set to "2.29.9000".
3961 * NEWS: Add section for 2.30.
3963 * version.h (RELEASE): Set to "stable".
3964 (VERSION): Set to "2.29".
3965 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3967 * NEWS: Add the list of bugs fixed in 2.29.
3968 * manual/contrib.texi: Update contributors list with some more
3970 * manual/install.texi: Update latest versions of packages
3972 * INSTALL: Regenerated.
3974 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3976 * po/be.po: Update translations.
3977 * po/bg.po: Likewise.
3978 * po/ca.po: Likewise.
3979 * po/cs.po: Likewise.
3980 * po/da.po: Likewise.
3981 * po/de.po: Likewise.
3982 * po/el.po: Likewise.
3983 * po/eo.po: Likewise.
3984 * po/es.po: Likewise.
3985 * po/fi.po: Likewise.
3986 * po/fr.po: Likewise.
3987 * po/gl.po: Likewise.
3988 * po/hr.po: Likewise.
3989 * po/hu.po: Likewise.
3990 * po/ia.po: Likewise.
3991 * po/id.po: Likewise.
3992 * po/it.po: Likewise.
3993 * po/ja.po: Likewise.
3994 * po/ko.po: Likewise.
3995 * po/lt.po: Likewise.
3996 * po/nb.po: Likewise.
3997 * po/nl.po: Likewise.
3998 * po/pl.po: Likewise.
3999 * po/pt_BR.po: Likewise.
4000 * po/ru.po: Likewise.
4001 * po/rw.po: Likewise.
4002 * po/sk.po: Likewise.
4003 * po/sl.po: Likewise.
4004 * po/sv.po: Likewise.
4005 * po/tr.po: Likewise.
4006 * po/uk.po: Likewise.
4007 * po/vi.po: Likewise.
4008 * po/zh_CN.po: Likewise.
4009 * po/zh_TW.po: Likewise.
4011 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
4014 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
4015 of $f3 register on $y_is_neg path.
4017 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
4020 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
4021 sigaltstack.ss_flags.
4023 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
4026 * manual/time.texi (strftime): Document "%Ey".
4027 * time/strftime_l.c (__strftime_internal): Set the default width
4028 padding with zero of "%Ey" to 2.
4031 * manual/time.texi (strftime): Document "%EC" and "%EY".
4032 * time/Makefile (tests): Add tst-strftime2.
4033 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
4034 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
4035 override padding for "%Ey".
4036 If an optional flag ('_' or '-') is specified to "%EY", interpret the
4037 "%Ey" in the subformat as if decorated with that flag.
4038 * time/tst-strftime2.c: New file.
4040 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4042 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
4046 * elf/Makefile (tests): Add tst-audit13.
4047 (modules-names): Add tst-audit13mod1.
4048 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4050 * elf/rtld.c (dl_main): Handle invalid audit module version.
4051 * elf/tst-audit13.c: New file.
4052 * elf/tst-audit13mod1.c: Likewise.
4054 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4056 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
4057 returned by __hurd_at_flags.
4058 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
4059 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
4060 directly instead of __hurd_file_name_lookup.
4062 2019-01-21 Joseph Myers <joseph@codesourcery.com>
4064 * scripts/build-many-glibcs.py (Context.checkout): Default
4065 binutils version to 2.32 branch.
4067 2019-01-21 Florian Weimer <fweimer@redhat.com>
4071 resolv: Reject trailing characters in host names
4072 * include/arpa/inet.h (__inet_aton_exact): Declare.
4073 (inet_aton): Remove hidden prototype. No longer used internally.
4074 * nscd/gai.c (__inet_aton): Do not define.
4075 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
4076 * nss/digits_dots.c (__inet_aton): Likewise.
4077 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
4078 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
4079 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
4080 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
4081 (tst-resolv-trailing): Likewise.
4082 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
4084 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
4085 Make static. Add endp parameter.
4086 (__inet_aton_exact): New function.
4087 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
4088 (__inet_addr): Call inet_aton_end.
4089 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
4090 not just IPv6. Call __inet_aton_exact.
4091 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
4092 (tests): Make const. Add additional test cases with trailing
4094 (do_test): Use array_length.
4095 * resolv/tst-inet_aton_exact.c: New file.
4096 * resolv/tst-resolv-trailing.c: Likewise.
4097 * resolv/tst-resolv-nondecimal.c: Likewise.
4098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
4100 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4104 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
4105 Clear the upper 32 bits of RSI register.
4106 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
4107 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
4108 and tst-size_t-wcsnlen.
4109 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
4110 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
4112 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4116 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
4117 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4118 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4119 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
4120 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
4122 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4126 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
4127 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4128 * sysdeps/x86_64/strcmp.S: Likewise.
4129 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
4130 tst-size_t-strncmp and tst-size_t-wcsncmp.
4131 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
4132 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
4133 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
4135 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4139 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
4140 RDX_LP for length. Clear the upper 32 bits of RDX register.
4141 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
4142 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
4143 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
4144 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
4146 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4150 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
4151 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
4152 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
4153 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
4155 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4159 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
4160 length. Clear the upper 32 bits of RDX register.
4161 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4162 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4164 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4166 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
4168 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
4170 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4174 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
4175 length. Clear the upper 32 bits of RDX register.
4176 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4177 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4178 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
4180 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
4181 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
4183 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4187 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
4188 upper 32 bits of RDX register.
4189 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
4190 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
4192 * sysdeps/x86_64/x32/test-size_t.h: New file.
4193 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
4194 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
4196 2019-01-18 Florian Weimer <fweimer@redhat.com>
4199 resolv: Do not send queries for non-host-names in nss_dns.
4200 * resolv/nss_dns/dns-host.c (check_name): New function.
4201 (_nss_dns_gethostbyname2_r): Use it.
4202 (_nss_dns_gethostbyname_r): Likewise.
4203 (_nss_dns_gethostbyname4_r): Likewise.
4205 2019-01-21 Florian Weimer <fweimer@redhat.com>
4207 * resolv/inet_addr.c: Reformat to GNU style.
4208 (__inet_addr, __inet_aton): Update comment.
4210 2019-01-18 Florian Weimer <fweimer@redhat.com>
4212 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
4213 ("malloc: Use current (C11-style) atomics for fastbin access").
4214 This commit introduces a substantial performance regression on
4216 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
4217 (REMOVE_FB): Define.
4218 (_int_malloc): Use it and reindent.
4219 (_int_free): Use CAS loop with
4220 catomic_compare_and_exchange_val_rel.
4221 (malloc_consolidate): Use atomic_exchange_acq.
4224 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
4226 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
4228 (LDFLAGS-tst-minsigstksz-2): Likewise.
4229 (LDFLAGS-tst-minsigstksz-3): Likewise.
4230 (LDFLAGS-tst-minsigstksz-3a): Likewise.
4231 (LDFLAGS-tst-minsigstksz-4): Likewise.
4233 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
4235 * manual/time.texi (strftime): Fix the wording to "alternative" rather
4238 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
4240 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
4242 2019-01-16 Zack Weinberg <zackw@panix.com>
4244 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
4245 (xget_sigstack_location): New test support functions.
4246 * support/xsigstack.c: New file, implementing them.
4247 * support/tst-xsigstack.c: New test for them.
4248 * support/Makefile: Update.
4250 * signal/tst-minsigstksz-1.c
4251 * signal/tst-minsigstksz-2.c
4252 * signal/tst-minsigstksz-3.c
4253 * signal/tst-minsigstksz-3a.c
4254 * signal/tst-minsigstksz-4.c: New tests.
4255 * signal/Makefile: Run them.
4257 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4259 * po/libc.pot: Regenerate.
4261 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4263 * math/libm-test-fma.inc (fma_test_data): Set
4264 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
4266 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4268 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
4269 (do_test): Changed __vector __int128_t to __vector unsigned int.
4271 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4273 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4274 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
4275 stpcpy-avx2 and stpncpy-avx2.
4276 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
4277 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
4278 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
4280 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
4281 ifunc-strcpy.h}: rename header for a more generic name.
4282 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
4283 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
4284 AVX unaligned load is fast and vzeroupper is preferred.
4285 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
4286 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
4287 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
4288 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
4289 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
4290 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
4292 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
4294 * argp/argp-help.c: Fix typo in comment.
4295 * misc/sys/cdefs.h: Likewise.
4296 * posix/regexec.c (sift_states_iter_mb): Likewise.
4297 * socket/sockatmark.c: Likewise.
4298 * socket/sys/socket.h: Likewise.
4299 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4300 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4301 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4302 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4303 * sysdeps/unix/sockatmark.c: Likewise.
4304 * time/strptime_l.c: Likewise.
4306 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4308 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
4309 missing space after the cast of "_NL_CURRENT".
4311 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4313 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
4314 ifdef to fix read of VSCR.
4315 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4316 tst-ucontext-ppc64-vscr.c to test list.
4317 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4319 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4321 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4324 2019-01-09 Jim Wilson <jimw@sifive.com>
4326 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4328 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4330 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4331 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4332 __memcpy_falkor for ares.
4333 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4335 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4338 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4341 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4342 4_FP_W_TYPEs are used for IEEE quad precision.
4343 * soft-fp/extendhftf2.c: Likewise.
4344 * soft-fp/extendsftf2.c: Likewise.
4345 * soft-fp/extendxftf2.c: Likewise.
4346 * soft-fp/trunctfdf2.c: Likewise.
4347 * soft-fp/trunctfhf2.c: Likewise.
4348 * soft-fp/trunctfsf2.c: Likewise.
4349 * soft-fp/trunctfxf2.c: Likewise.
4350 * sysdeps/alpha/ots_cvttx.c: Likewise.
4351 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4352 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4353 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4354 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4355 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4356 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4357 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4358 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4359 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4360 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4361 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4362 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4363 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4364 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4365 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4366 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4367 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4369 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4372 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4373 code with -fmath-errno.
4374 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4375 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4376 * string/test-strerror-errno.c: New file.
4378 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4381 * localedata/locales/en_US (date_fmt): Add, set to
4382 "%a %d %b %Y %r %Z".
4384 2019-01-07 Florian Weimer <fweimer@redhat.com>
4387 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4388 instead of @var{errno}.
4389 (Parsing of Integers): Likewise.
4390 (Parsing of Floats): Likewise.
4391 * manual/filesys.texi (Working with Directory Trees): Likewise.
4392 (Temporary Files): Likewise.
4393 * manual/job.texi (Terminal Access Functions): Likewise.
4394 * manual/llio.texi (Synchronizing I/O): Likewise.
4395 * manual/math.texi (SVID Random): Likewise.
4396 * manual/message.texi (The catgets Functions): Likewise.
4397 (Translation with gettext): Likewise.
4398 (Locating gettext catalog): Likewise.
4399 (Charset conversion in gettext): Likewise.
4400 * manual/nss.texi (NSS Module Function Internals): Likewise.
4401 * manual/search.texi (Hash Search Function): Likewise.
4402 * manual/setjmp.texi (System V contexts): Likewise.
4403 * manual/time.texi (Sleeping): Likewise.
4404 * manual/users.texi (Lookup User): Likewise.
4405 (Lookup Group): Likewise.
4407 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4409 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4412 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
4415 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4416 __builtin_unreachable for default case in switch.
4417 (__ieee754_yn): Likewise.
4418 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4419 (__ieee754_ynl): Likewise.
4420 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4421 (__ieee754_ynl): Likewise.
4422 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4423 (__ieee754_ynl): Likewise.
4425 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4427 * manual/maint.texi: Use @{ and @}.
4429 2019-01-04 Florian Weimer <fweimer@redhat.com>
4431 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4433 (do_in_chroot_1): Call it.
4435 Improve error reporting in case it is not possible to create a
4436 collision for the PTY name required by the test.
4438 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4440 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4441 lll_wait_tid with timeout.
4442 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4443 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4444 futex_reltimed_wait_cancelable for cancelabla mode.
4445 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4446 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4448 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4449 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4450 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4451 SYSCALL_CANCEL_NCS): New macro.
4452 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4453 (lll_timedwait_tid): Remove macro.
4454 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4456 (lll_timedwait_tid): Likewise.
4457 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4459 (lll_timedwait_tid): Likewise.
4460 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4462 (lll_timedwait_tid): Likewise.
4463 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4464 Use INTERNAL_SYSCALL_CANCEL.
4465 * sysdeps/unix/sysv/linux/futex-internal.h
4466 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4467 instead of __pthread_{enable,disable}_asynccancel.
4468 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4469 (lll_futex_wait_cancel): New macro.
4471 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4472 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4474 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4475 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4477 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4478 in backtrace analysis.
4479 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4481 (tf_send): Likewise.
4483 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4484 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4485 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4486 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4487 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4488 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4489 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4490 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4491 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4492 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4493 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4494 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4496 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4497 tst-cancel-wrappers.sh.
4498 (generated): Remove tst-cancel-wrappers.out.
4499 (tst-cancel-wrappers.out): Remove rule.
4500 * nptl/tst-cancel-wrappers.sh: Remove file.
4502 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4504 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4505 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4508 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4511 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4512 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4513 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4514 close-on-exec reset for adddup2 file action.
4515 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4517 2019-01-03 Zack Weinberg <zackw@panix.com>
4519 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4520 parameter. Only use deprecated scanf when __USE_GNU is defined
4521 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4522 than 201103L, whichever is relevant for the language being compiled.
4524 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4525 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4526 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4527 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4528 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4532 * libio/iovswscanf.c
4537 * stdio-common/fscanf.c
4538 * stdio-common/scanf.c
4539 * stdio-common/vfscanf.c
4540 * stdio-common/vfwscanf.c
4541 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4542 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4543 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4544 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4545 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4546 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4547 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4548 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4549 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4550 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4551 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4552 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4553 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4554 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4555 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4557 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4558 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4559 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4561 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4562 with a preprocessor macro.
4564 * stdio-common/bug21.c, stdio-common/scanf14.c:
4565 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4566 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4567 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4568 to xscanf, xfscanf, xsscanf.
4570 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4571 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4572 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4573 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4575 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4576 override feature selection macros or provide definitions of u_char etc.
4577 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4578 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4579 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4582 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4585 bits/termios-misc.h.
4586 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4587 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4588 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4589 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4590 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4591 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4593 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4594 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4595 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4596 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4597 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4598 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4600 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4601 (sysdep_headers): Add termios-misc.h.
4603 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4604 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4605 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4607 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4609 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4610 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4611 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4612 TCSAFLUSH): Move to termios-tcflow.h.
4613 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4614 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4615 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4616 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4618 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4620 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4621 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4622 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4623 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4624 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4625 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4626 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4627 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4629 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4630 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4631 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4632 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4634 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4636 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4637 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4638 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4639 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4640 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4642 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4643 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4644 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4645 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4648 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4650 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4651 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4652 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4653 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4654 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4655 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4656 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4657 __MAX_BAUD): Move to termios-baud.h.
4658 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4659 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4660 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4661 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4662 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4664 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4666 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4667 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4668 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4669 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4670 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4671 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4673 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4674 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4676 [USE_MISC] (XTABS): Likewise.
4677 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4678 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4679 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4680 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4682 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4684 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4685 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4686 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4687 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4688 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4689 IUTF8): Move to termios-c_iflag.h.
4690 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4691 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4692 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4693 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4695 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4697 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4698 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4699 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4700 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4701 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4702 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4703 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4704 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4705 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4706 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4707 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4708 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4710 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4711 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4712 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4713 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4716 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4718 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4720 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4722 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4724 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4726 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4727 _HAVE_C_OSPEED): Define.
4728 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4729 _HAVE_C_OSPEED): Likewise.
4730 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4731 _HAVE_C_OSPEED): Likewise.
4732 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4733 (cfsetospeed): Check for define value instead of existence.
4734 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4735 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4736 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4737 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4738 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4741 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4743 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4744 (TIOCSER_TEMT): Likewise.
4745 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4746 (TEOCSER_TEMT): Likewise.
4748 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
4751 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4753 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4755 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4757 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4759 * sysdeps/htl/pt-barrierattr-setpshared.c
4760 (pthread_barrierattr_setpshared): Add stub warning.
4761 * sysdeps/htl/pt-condattr-setpshared.c
4762 (pthread_condattr_setpshared): Likewise.
4763 * sysdeps/htl/pt-mutexattr-setpshared.c
4764 (pthread_mutexattr_setpshared): Likewise.
4765 * sysdeps/htl/pt-rwlockattr-setpshared.c
4766 (pthread_rwlockattr_setpshared): Likewise.
4767 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4768 (pthread_mutexattr_setpshared): Likewise.
4770 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4772 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4773 constants to match with Linux 4.20.
4775 * sysdeps/mips/mips32/libm-test-ulps: Update.
4776 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4778 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4781 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4782 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4783 than __typeof (...) for the a_ptr variable.
4785 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4787 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4788 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4789 * libio/Makefile (tests): Add tst-sprintf-ub and
4791 (CFLAGS-tst-sprintf-ub.c): New variable.
4792 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4793 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4794 destination buffer and check for overflows in fortified mode.
4795 * libio/libioP.h (PRINTF_CHK): New macro.
4796 * libio/tst-sprintf-chk-ub.c: New file.
4797 * libio/tst-sprintf-ub.c: Likewise.
4799 2019-01-02 Florian Weimer <fweimer@redhat.com>
4802 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4805 2019-01-02 Florian Weimer <fweimer@redhat.com>
4807 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4809 2019-01-01 Joseph Myers <joseph@codesourcery.com>
4811 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4814 * sysdeps/unix/sysv/linux/netpacket/packet.h
4815 (PACKET_IGNORE_OUTGOING): New macro.
4817 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4820 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4822 (riscv_flush_icache): New syscall.
4824 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4825 trailing whitespace removed.
4826 * scripts/config.guess: Update to version 2019-01-01.
4827 * scripts/config.sub: Update to version 2019-01-01.
4828 * scripts/move-if-change: Update from gnulib.
4830 * NEWS: Update copyright dates.
4831 * catgets/gencat.c (print_version): Likewise.
4832 * csu/version.c (banner): Likewise.
4833 * debug/catchsegv.sh: Likewise.
4834 * debug/pcprofiledump.c (print_version): Likewise.
4835 * debug/xtrace.sh (do_version): Likewise.
4836 * elf/ldconfig.c (print_version): Likewise.
4837 * elf/ldd.bash.in: Likewise.
4838 * elf/pldd.c (print_version): Likewise.
4839 * elf/sotruss.sh: Likewise.
4840 * elf/sprof.c (print_version): Likewise.
4841 * iconv/iconv_prog.c (print_version): Likewise.
4842 * iconv/iconvconfig.c (print_version): Likewise.
4843 * locale/programs/locale.c (print_version): Likewise.
4844 * locale/programs/localedef.c (print_version): Likewise.
4845 * login/programs/pt_chown.c (print_version): Likewise.
4846 * malloc/memusage.sh (do_version): Likewise.
4847 * malloc/memusagestat.c (print_version): Likewise.
4848 * malloc/mtrace.pl: Likewise.
4849 * manual/libc.texinfo: Likewise.
4850 * nptl/version.c (banner): Likewise.
4851 * nscd/nscd.c (print_version): Likewise.
4852 * nss/getent.c (print_version): Likewise.
4853 * nss/makedb.c (print_version): Likewise.
4854 * posix/getconf.c (main): Likewise.
4855 * scripts/test-installation.pl: Likewise.
4856 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4858 * All files with FSF copyright notices: Update copyright dates
4859 using scripts/update-copyrights.
4860 * locale/programs/charmap-kw.h: Regenerated.
4861 * locale/programs/locfile-kw.h: Likewise.
4863 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4865 * timezone/zdump.c: Update from tzcode 2018i.
4866 * timezone/zic.c: Likewise.
4868 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4870 regex: improve Gnulib port to AIX
4871 From the glibc point of view, this removes duplicate macro
4872 definitions and is obviously safe.
4873 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4874 * posix/regex_internal.h:
4875 (__attribute__, __attribute_warn_unused_result__):
4876 Remove; already defined elsewhere.
4878 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
4881 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4882 copying operation. (ncopies had the wrong type, resulting in an
4883 integer wraparound and too few elements being copied.)
4885 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4888 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4889 <asm/syscalls.h> exists with __has_include__ before including it.
4891 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4893 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4896 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
4898 * hurd/lookup-retry: Include <unistd.h>.
4899 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4900 Release it on return. Handle "pid" magical lookup retry.
4902 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4905 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4906 (t_fmt_ampm): Likewise.
4907 * localedata/locales/aa_ER (t_fmt): Likewise.
4908 (t_fmt_ampm): Likewise.
4909 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4910 (t_fmt_ampm): Likewise.
4911 * localedata/locales/aa_ET (t_fmt): Likewise.
4912 (t_fmt_ampm): Likewise.
4913 * localedata/locales/am_ET (t_fmt): Likewise.
4914 (t_fmt_ampm): Likewise.
4915 * localedata/locales/byn_ER (t_fmt): Likewise.
4916 (t_fmt_ampm): Likewise.
4917 * localedata/locales/om_ET (t_fmt): Likewise.
4918 (t_fmt_ampm): Likewise.
4919 * localedata/locales/sid_ET (t_fmt): Likewise.
4920 (t_fmt_ampm): Likewise.
4921 * localedata/locales/so_DJ (t_fmt): Likewise.
4922 (t_fmt_ampm): Likewise.
4923 * localedata/locales/so_ET (t_fmt): Likewise.
4924 (t_fmt_ampm): Likewise.
4925 * localedata/locales/so_SO (t_fmt): Likewise.
4926 (t_fmt_ampm): Likewise.
4927 * localedata/locales/ti_ER (t_fmt): Likewise.
4928 (t_fmt_ampm): Likewise.
4929 * localedata/locales/ti_ET (t_fmt): Likewise.
4930 (t_fmt_ampm): Likewise.
4931 * localedata/locales/tig_ER (t_fmt): Likewise.
4932 (t_fmt_ampm): Likewise.
4933 * localedata/locales/wal_ET (t_fmt): Likewise.
4934 (t_fmt_ampm): Likewise.
4936 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4937 * localedata/locales/ar_IN (t_fmt): Likewise.
4938 * localedata/locales/bhb_IN (t_fmt): Likewise.
4939 * localedata/locales/bho_IN (t_fmt): Likewise.
4940 * localedata/locales/bi_VU (t_fmt): Likewise.
4941 * localedata/locales/bn_BD (t_fmt): Likewise.
4942 * localedata/locales/bn_IN (t_fmt): Likewise.
4943 * localedata/locales/brx_IN (t_fmt): Likewise.
4944 * localedata/locales/doi_IN (t_fmt): Likewise.
4945 * localedata/locales/en_HK (t_fmt): Likewise.
4946 (t_fmt_ampm): Likewise.
4947 * localedata/locales/en_IN (t_fmt): Likewise.
4948 * localedata/locales/en_PH (t_fmt): Likewise.
4949 * localedata/locales/gu_IN (t_fmt): Likewise.
4950 * localedata/locales/hi_IN (t_fmt): Likewise.
4951 * localedata/locales/hif_FJ (t_fmt): Likewise.
4952 * localedata/locales/hne_IN (t_fmt): Likewise.
4953 * localedata/locales/kn_IN (t_fmt): Likewise.
4954 * localedata/locales/kok_IN (t_fmt): Likewise.
4955 * localedata/locales/ks_IN (t_fmt): Likewise.
4956 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4957 * localedata/locales/mag_IN (t_fmt): Likewise.
4958 * localedata/locales/mai_IN (t_fmt): Likewise.
4959 * localedata/locales/mjw_IN (t_fmt): Likewise.
4960 * localedata/locales/ml_IN (t_fmt): Likewise.
4961 * localedata/locales/mni_IN (t_fmt): Likewise.
4962 * localedata/locales/mr_IN (t_fmt): Likewise.
4963 * localedata/locales/ms_MY (t_fmt): Likewise.
4964 * localedata/locales/pa_IN (t_fmt): Likewise.
4965 * localedata/locales/raj_IN (t_fmt): Likewise.
4966 * localedata/locales/sa_IN (t_fmt): Likewise.
4967 * localedata/locales/sat_IN (t_fmt): Likewise.
4968 * localedata/locales/sd_IN (t_fmt): Likewise.
4969 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4970 * localedata/locales/tcy_IN (t_fmt): Likewise.
4971 * localedata/locales/the_NP (t_fmt): Likewise.
4972 * localedata/locales/to_TO (t_fmt): Likewise.
4973 * localedata/locales/ur_IN (t_fmt): Likewise.
4975 * localedata/locales/hif_FJ (d_t_fmt): Set to
4976 "%A %d %b %Y %I:%M:%S %p".
4977 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4979 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4980 * localedata/locales/ar_BH (t_fmt): Likewise.
4981 * localedata/locales/ar_DZ (t_fmt): Likewise.
4982 * localedata/locales/ar_EG (t_fmt): Likewise.
4983 * localedata/locales/ar_IQ (t_fmt): Likewise.
4984 * localedata/locales/ar_JO (t_fmt): Likewise.
4985 * localedata/locales/ar_KW (t_fmt): Likewise.
4986 * localedata/locales/ar_LB (t_fmt): Likewise.
4987 * localedata/locales/ar_LY (t_fmt): Likewise.
4988 * localedata/locales/ar_OM (t_fmt): Likewise.
4989 * localedata/locales/ar_QA (t_fmt): Likewise.
4990 * localedata/locales/ar_SD (t_fmt): Likewise.
4991 * localedata/locales/ar_SS (t_fmt): Likewise.
4992 * localedata/locales/ar_SY (t_fmt): Likewise.
4993 * localedata/locales/ar_TN (t_fmt): Likewise.
4994 * localedata/locales/ar_YE (t_fmt): Likewise.
4996 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4997 (t_fmt_ampm): Likewise.
4998 * localedata/locales/gez_ET (t_fmt): Likewise.
4999 (t_fmt_ampm): Likewise.
5001 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
5002 (t_fmt_ampm): Likewise.
5003 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
5005 * localedata/locales/zh_HK (t_fmt):
5006 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
5008 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
5009 because this locale does not use the 12-hour clock.
5010 (t_fmt): Set to "%Z %H:%M:%S".
5011 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
5013 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
5014 because this locale does not use the 12-hour clock.
5015 (t_fmt): Set to "%H:%M:%S %Z".
5016 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
5018 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
5019 because this locale does not use the 12-hour clock.
5020 (t_fmt): Set to "%T".
5021 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
5022 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
5024 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
5025 because this locale does not use the 12-hour clock.
5026 (t_fmt): Set to "%H:%M:%S %Z".
5027 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
5029 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
5030 because this locale does not use the 12-hour clock.
5031 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
5032 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
5034 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5038 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
5039 (t_fmt_ampm): Likewise.
5040 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
5041 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
5042 (d_fmt): Set to "%-d.%-m.%y".
5044 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5046 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
5047 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
5048 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
5050 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5051 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
5052 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
5054 * support/blob_repeat.c (check_mul_overflow_size_t,
5055 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
5057 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
5059 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
5061 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
5063 regex: simplify Gnulib port
5064 This simplifies the code, by removing stuff intended for porting
5065 to Gnulib but no longer needed there.
5066 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
5067 uses of libc_hidden_def, weak_alias.
5068 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
5069 _Restrict_ except for public-facing headers.
5070 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
5071 Remove; already defined elsewhere.
5072 * posix/regex.c, posix/regex_internal.h:
5073 Use __GNUC_PREREQ instead of rolling our own.
5074 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
5076 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
5078 * benchtests/bench-strlen.c (generic_strlen): New function.
5079 (memchr_strlen): New function.
5081 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5083 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
5084 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
5085 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
5087 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5089 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5091 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5093 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
5094 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
5095 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
5096 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
5097 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
5098 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
5099 <sysdeps/ieee754/flt-32/s_sincosf.c>.
5101 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5104 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
5105 PLT reference in libc.so.
5106 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
5107 _Q_lltoq and _Q_qtod PLT references in libc.so.
5109 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
5111 * benchtests/bench-memchr.c: Cleanup defines.
5112 * benchtests/bench-memcmp.c: Likewise.
5113 * benchtests/bench-memset.c: Likewise.
5114 * benchtests/bench-memset-large.c: Likewise.
5115 * benchtests/bench-memset-walk.c: Likewise.
5116 * benchtests/bench-stpcpy.c: Likewise.
5117 * benchtests/bench-stpncpy.c: Likewise.
5118 * benchtests/bench-strcat.c: Likewise.
5119 * benchtests/bench-strchr.c: Likewise.
5120 * benchtests/bench-strcmp.c: Likewise.
5121 * benchtests/bench-strcpy.c: Likewise.
5122 * benchtests/bench-strcspn.c: Likewise.
5123 * benchtests/bench-string.h: Likewise.
5124 * benchtests/bench-strlen.c: Likewise.
5125 * benchtests/bench-strncat.c: Likewise.
5126 * benchtests/bench-strncmp.c: Likewise.
5127 * benchtests/bench-strncpy.c: Likewise.
5128 * benchtests/bench-strnlen.c: Likewise.
5129 * benchtests/bench-strpbrk.c: Likewise.
5130 * benchtests/bench-strrchr.c: Likewise.
5131 * benchtests/bench-strspn.c: Likewise.
5133 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5135 * stdlib/longlong.h: Update from GCC.
5138 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
5139 * configure: Regenerated.
5140 * manual/install.texi (Tools for Compilation): Update minimum GCC
5142 * INSTALL: Regenerated.
5144 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
5146 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
5148 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
5150 * malloc/malloc.c (mremap_chunk): Additional checks.
5152 2018-12-21 Mao Han <han_mao@c-sky.com>
5154 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
5155 * scripts/build-many-glibcs.py: Add C-SKY targets.
5156 * sysdeps/csky/Implies: New file.
5157 * sysdeps/csky/Makefile: Likewise.
5158 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
5159 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
5160 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
5161 * sysdeps/csky/abiv2/memcmp.S: Likewise.
5162 * sysdeps/csky/abiv2/memcpy.S: Likewise.
5163 * sysdeps/csky/abiv2/memmove.S: Likewise.
5164 * sysdeps/csky/abiv2/memset.S: Likewise.
5165 * sysdeps/csky/abiv2/setjmp.S: Likewise.
5166 * sysdeps/csky/abiv2/start.S: Likewise.
5167 * sysdeps/csky/abiv2/strcmp.S: Likewise.
5168 * sysdeps/csky/abiv2/strcpy.S: Likewise.
5169 * sysdeps/csky/abiv2/strlen.S: Likewise.
5170 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
5171 * sysdeps/csky/abort-instr.h: Likewise.
5172 * sysdeps/csky/atomic-machine.h: Likewise.
5173 * sysdeps/csky/bits/endian.h: Likewise.
5174 * sysdeps/csky/bits/fenv.h: Likewise.
5175 * sysdeps/csky/bits/link.h: Likewise.
5176 * sysdeps/csky/bits/setjmp.h: Likewise.
5177 * sysdeps/csky/bsd-_setjmp.S: Likewise.
5178 * sysdeps/csky/bsd-setjmp.S: Likewise.
5179 * sysdeps/csky/configure: Likewise.
5180 * sysdeps/csky/configure.ac: Likewise.
5181 * sysdeps/csky/dl-machine.h: Likewise.
5182 * sysdeps/csky/dl-procinfo.c: Likewise.
5183 * sysdeps/csky/dl-procinfo.h: Likewise.
5184 * sysdeps/csky/dl-sysdep.h: Likewise.
5185 * sysdeps/csky/dl-tls.h: Likewise.
5186 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
5187 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
5188 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
5189 * sysdeps/csky/fpu/fegetenv.c: Likewise.
5190 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
5191 * sysdeps/csky/fpu/fegetmode.c: Likewise.
5192 * sysdeps/csky/fpu/fegetround.c: Likewise.
5193 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
5194 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
5195 * sysdeps/csky/fpu/fenv_private.h: Likewise.
5196 * sysdeps/csky/fpu/fesetenv.c: Likewise.
5197 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
5198 * sysdeps/csky/fpu/fesetmode.c: Likewise.
5199 * sysdeps/csky/fpu/fesetround.c: Likewise.
5200 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
5201 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
5202 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
5203 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
5204 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
5205 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
5206 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
5207 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
5208 * sysdeps/csky/fpu_control.h: Likewise.
5209 * sysdeps/csky/gccframe.h: Likewise.
5210 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
5211 * sysdeps/csky/ldsodefs.h: Likewise.
5212 * sysdeps/csky/libc-tls.c: Likewise.
5213 * sysdeps/csky/linkmap.h: Likewise.
5214 * sysdeps/csky/machine-gmon.h: Likewise.
5215 * sysdeps/csky/memusage.h: Likewise.
5216 * sysdeps/csky/nofpu/Implies: Likewise.
5217 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
5218 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
5219 * sysdeps/csky/nptl/Makefile: Likewise.
5220 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
5221 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
5222 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
5223 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
5224 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
5225 * sysdeps/csky/nptl/tls.h: Likewise.
5226 * sysdeps/csky/preconfigure: Likewise.
5227 * sysdeps/csky/sfp-machine.h: Likewise.
5228 * sysdeps/csky/sotruss-lib.c: Likewise.
5229 * sysdeps/csky/stackinfo.h: Likewise.
5230 * sysdeps/csky/sysdep.h: Likewise.
5231 * sysdeps/csky/tininess.h: Likewise.
5232 * sysdeps/csky/tst-audit.h: Likewise.
5233 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
5234 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
5235 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
5236 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
5237 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5238 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
5239 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5240 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
5241 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
5242 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
5243 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
5244 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
5245 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
5246 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
5247 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
5248 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
5249 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
5250 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
5251 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
5252 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
5253 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
5254 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
5255 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
5256 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
5257 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
5258 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
5259 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
5260 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
5261 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
5262 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
5263 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
5264 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
5265 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
5266 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
5267 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
5268 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
5269 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
5270 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
5271 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
5272 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
5273 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
5274 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
5275 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
5276 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
5278 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5280 * include/time.h (__difftime64): Add.
5281 * time/difftime.c (subtract): convert to 64-bit time.
5282 * time/difftime.c (__difftime64): Add.
5283 * time/difftime.c (__difftime): Wrap around __difftime64.
5285 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
5287 * manual/examples/add.c: Remove redundant "if not".
5288 * manual/examples/argp-ex1.c: Likewise.
5289 * manual/examples/argp-ex2.c: Likewise.
5290 * manual/examples/argp-ex3.c: Likewise.
5291 * manual/examples/argp-ex4.c: Likewise.
5292 * manual/examples/atexit.c: Likewise.
5293 * manual/examples/db.c: Likewise.
5294 * manual/examples/dir.c: Likewise.
5295 * manual/examples/dir2.c: Likewise.
5296 * manual/examples/execinfo.c: Likewise.
5297 * manual/examples/filecli.c: Likewise.
5298 * manual/examples/filesrv.c: Likewise.
5299 * manual/examples/fmtmsgexpl.c: Likewise.
5300 * manual/examples/genpass.c: Likewise.
5301 * manual/examples/inetcli.c: Likewise.
5302 * manual/examples/inetsrv.c: Likewise.
5303 * manual/examples/isockad.c: Likewise.
5304 * manual/examples/longopt.c: Likewise.
5305 * manual/examples/memopen.c: Likewise.
5306 * manual/examples/memstrm.c: Likewise.
5307 * manual/examples/mkdirent.c: Likewise.
5308 * manual/examples/mkfsock.c: Likewise.
5309 * manual/examples/mkisock.c: Likewise.
5310 * manual/examples/mygetpass.c: Likewise.
5311 * manual/examples/pipe.c: Likewise.
5312 * manual/examples/popen.c: Likewise.
5313 * manual/examples/rprintf.c: Likewise.
5314 * manual/examples/search.c: Likewise.
5315 * manual/examples/select.c: Likewise.
5316 * manual/examples/setjmp.c: Likewise.
5317 * manual/examples/sigh1.c: Likewise.
5318 * manual/examples/sigusr.c: Likewise.
5319 * manual/examples/stpcpy.c: Likewise.
5320 * manual/examples/strdupa.c: Likewise.
5321 * manual/examples/strftim.c: Likewise.
5322 * manual/examples/subopt.c: Likewise.
5323 * manual/examples/swapcontext.c: Likewise.
5324 * manual/examples/termios.c: Likewise.
5325 * manual/examples/testopt.c: Likewise.
5326 * manual/examples/testpass.c: Likewise.
5327 * manual/examples/timeval_subtract.c: Likewise.
5329 2018-12-19 Joseph Myers <joseph@codesourcery.com>
5331 * sysdeps/x86/fpu/math_private.h: New file.
5332 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5334 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5339 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5341 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5342 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5343 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5344 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5346 (_dl_show_auxv): Give a special treatment to
5347 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5348 and AT_L3_CACHEGEOMETRY.
5349 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5350 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5351 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5352 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5354 2018-12-19 Andreas Schwab <schwab@suse.de>
5356 * nscd/connections.c (check_use): Don't abort on invalid len.
5358 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5360 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5361 values in the 64bit value cases.
5363 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5369 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5375 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5378 (__gmtime64_r): Add.
5380 (__gmtime64_r): Add.
5381 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5387 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5390 (__localtime64_r): Add.
5392 (__localtime64_r): Add.
5393 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5395 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5397 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5398 kernel_sigction definition.
5400 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5402 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5404 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5405 __syscall_rt_sigaction.
5406 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5407 (kernel_sigaction): Use Linux generic defintion.
5409 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5410 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5411 (__syscall_rt_sigaction): Remove implementation.
5412 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5414 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5415 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5416 INTERNAL_SYSCALL): Remove definitions.
5417 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5418 action and signal set size.
5419 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5420 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5422 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5423 James Clarke <jrtc27@jrtc27.com>
5426 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5427 Define if SA_RESTORER is defined.
5428 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5429 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5431 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5432 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5434 (HAS_SA_RESTORER): Define.
5435 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5436 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5437 (HAS_SA_RESTORER): Define.
5438 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5439 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5440 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5441 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5442 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5444 2018-12-18 Joseph Myers <joseph@codesourcery.com>
5446 * sysdeps/unix/sysv/linux/kernel-features.h
5447 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5448 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5449 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5450 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5451 (__ASSUME_ST_INO_64_BIT): Likewise.
5452 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5453 <kernel-features.h>.
5454 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5455 Remove conditional code.
5456 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5457 <kernel-features.h>.
5458 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5459 Remove conditional code.
5460 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5461 <kernel-features.h>.
5462 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5463 Remove conditional code.
5464 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5465 <kernel-features.h>.
5466 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5467 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5469 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5471 * sysdeps/s390/multiarch/ifunc-resolve.h
5472 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5473 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5474 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5475 Delete macro definition.
5476 (s390_libc_ifunc_init): Rename to
5477 s390_libc_ifunc_expr_stfle_init.
5478 * sysdeps/s390/bzero: Use
5479 s390_libc_ifunc_expr_stfle_init instead of
5480 s390_libc_ifunc_init.
5481 * sysdeps/s390/memcmp.c: Likewise.
5482 * sysdeps/s390/memcpy.c: Likewise.
5483 * sysdeps/s390/mempcpy.c: Likewise.
5484 * sysdeps/s390/memset.c: Likewise.
5486 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5488 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5489 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5491 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5493 * sysdeps/s390/multiarch/Makefile
5494 (sysdep_routines): Remove wmemcmp variants.
5495 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5496 * sysdeps/s390/multiarch/ifunc-impl-list.c
5497 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5498 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5499 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5500 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5501 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5502 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5503 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5504 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5506 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5508 * sysdeps/s390/multiarch/Makefile
5509 (sysdep_routines): Remove wmemset variants.
5510 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5511 * sysdeps/s390/multiarch/ifunc-impl-list.c
5512 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5513 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5514 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5515 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5516 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5517 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5518 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5519 * sysdeps/s390/ifunc-wmemset.h: New file.
5521 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5523 * sysdeps/s390/multiarch/Makefile
5524 (sysdep_routines): Remove wmemchr variants.
5525 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5526 * sysdeps/s390/multiarch/ifunc-impl-list.c
5527 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5528 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5529 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5530 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5531 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5532 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5533 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5534 * sysdeps/s390/ifunc-wmemchr.h: New file.
5536 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5538 * sysdeps/s390/multiarch/Makefile
5539 (sysdep_routines): Remove wcscspn variants.
5540 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5541 * sysdeps/s390/multiarch/ifunc-impl-list.c
5542 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5543 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5544 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5545 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5546 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5547 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5548 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5549 * sysdeps/s390/ifunc-wcscspn.h: New file.
5551 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5553 * sysdeps/s390/multiarch/Makefile
5554 (sysdep_routines): Remove wcspbrk variants.
5555 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5556 * sysdeps/s390/multiarch/ifunc-impl-list.c
5557 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5558 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5559 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5560 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5561 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5562 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5563 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5564 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5566 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5568 * sysdeps/s390/multiarch/Makefile
5569 (sysdep_routines): Remove wcsspn variants.
5570 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5571 * sysdeps/s390/multiarch/ifunc-impl-list.c
5572 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5573 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5574 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5575 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5576 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5577 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5578 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5579 * sysdeps/s390/ifunc-wcsspn.h: New file.
5581 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5583 * sysdeps/s390/multiarch/Makefile
5584 (sysdep_routines): Remove wcsrchr variants.
5585 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5586 * sysdeps/s390/multiarch/ifunc-impl-list.c
5587 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5588 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5589 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5590 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5591 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5592 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5593 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5594 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5596 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5598 * sysdeps/s390/multiarch/Makefile
5599 (sysdep_routines): Remove wcschrnul variants.
5600 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5601 * sysdeps/s390/multiarch/ifunc-impl-list.c
5602 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5603 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5604 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5605 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5606 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5607 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5608 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5609 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5611 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5613 * sysdeps/s390/multiarch/Makefile
5614 (sysdep_routines): Remove wcschr variants.
5615 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5616 * sysdeps/s390/multiarch/ifunc-impl-list.c
5617 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5618 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5619 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5620 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5621 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5622 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5623 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5624 * sysdeps/s390/ifunc-wcschr.h: New file.
5626 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5628 * sysdeps/s390/multiarch/Makefile
5629 (sysdep_routines): Remove wcsncmp variants.
5630 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5631 * sysdeps/s390/multiarch/ifunc-impl-list.c
5632 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5633 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5634 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5635 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5636 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5637 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5638 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5639 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5641 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5643 * sysdeps/s390/multiarch/Makefile
5644 (sysdep_routines): Remove wcscmp variants.
5645 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5646 * sysdeps/s390/multiarch/ifunc-impl-list.c
5647 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5648 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5649 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5650 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5651 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5652 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5653 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5654 * sysdeps/s390/ifunc-wcscmp.h: New file.
5656 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5658 * sysdeps/s390/multiarch/Makefile
5659 (sysdep_routines): Remove wcsncat variants.
5660 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5661 * sysdeps/s390/multiarch/ifunc-impl-list.c
5662 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5663 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5664 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5665 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5666 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5667 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5668 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5669 * sysdeps/s390/ifunc-wcsncat.h: New file.
5671 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5673 * sysdeps/s390/multiarch/Makefile
5674 (sysdep_routines): Remove wcscat variants.
5675 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5676 * sysdeps/s390/multiarch/ifunc-impl-list.c
5677 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5678 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5679 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5680 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5681 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5682 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5683 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5684 * sysdeps/s390/ifunc-wcscat.h: New file.
5686 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5688 * sysdeps/s390/multiarch/Makefile
5689 (sysdep_routines): Remove wcpncpy variants.
5690 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5691 * sysdeps/s390/multiarch/ifunc-impl-list.c
5692 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5693 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5694 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5695 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5696 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5697 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5698 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5699 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5701 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5703 * sysdeps/s390/multiarch/Makefile
5704 (sysdep_routines): Remove wcsncpy variants.
5705 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5706 * sysdeps/s390/multiarch/ifunc-impl-list.c
5707 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5708 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5709 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5710 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5711 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5712 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5713 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5714 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5716 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5718 * sysdeps/s390/multiarch/Makefile
5719 (sysdep_routines): Remove wcpcpy variants.
5720 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5721 * sysdeps/s390/multiarch/ifunc-impl-list.c
5722 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5723 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5724 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5725 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5726 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5727 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5728 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5729 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5731 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5733 * sysdeps/s390/multiarch/Makefile
5734 (sysdep_routines): Remove wcscpy variants.
5735 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5736 * sysdeps/s390/multiarch/ifunc-impl-list.c
5737 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5738 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5739 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5740 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5741 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5742 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5743 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5744 * sysdeps/s390/ifunc-wcscpy.h: New file.
5746 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5748 * sysdeps/s390/multiarch/Makefile
5749 (sysdep_routines): Remove wcsnlen variants.
5750 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5751 * sysdeps/s390/multiarch/ifunc-impl-list.c
5752 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5753 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5754 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5755 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5756 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5757 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5758 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5759 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5761 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5763 * sysdeps/s390/multiarch/Makefile
5764 (sysdep_routines): Remove wcslen variants.
5765 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5766 * sysdeps/s390/multiarch/ifunc-impl-list.c
5767 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5768 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5769 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5770 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5771 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5772 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5773 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5774 * sysdeps/s390/ifunc-wcslen.h: New file.
5776 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5778 * sysdeps/s390/multiarch/Makefile
5779 (sysdep_routines): Remove memrchr variants.
5780 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5781 * sysdeps/s390/multiarch/ifunc-impl-list.c
5782 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5783 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5784 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5785 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5786 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5787 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5788 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5789 * sysdeps/s390/ifunc-memrchr.h: New file.
5791 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5793 * sysdeps/s390/multiarch/Makefile
5794 (sysdep_routines): Remove memccpy variants.
5795 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5796 * sysdeps/s390/multiarch/ifunc-impl-list.c
5797 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5798 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5799 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5800 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5801 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5802 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5803 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5804 * sysdeps/s390/ifunc-memccpy.h: New file.
5806 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5808 * sysdeps/s390/multiarch/Makefile
5809 (sysdep_routines): Remove rawmemchr variants.
5810 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5811 * sysdeps/s390/multiarch/ifunc-impl-list.c
5812 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5813 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5814 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5815 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5816 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5817 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5818 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5819 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5821 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5823 * sysdeps/s390/multiarch/Makefile
5824 (sysdep_routines): Remove memchr variants.
5825 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5826 * sysdeps/s390/multiarch/ifunc-impl-list.c
5827 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5828 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5829 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5830 * sysdeps/s390/multiarch/memchr.c: Move to ...
5831 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5832 * sysdeps/s390/ifunc-memchr.h: New file.
5833 * sysdeps/s390/s390-64/memchr.S: Move to ...
5834 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5835 for 31/64bit and ifunc handling.
5836 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5837 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5838 * sysdeps/s390/s390-32/memchr.S: Likewise.
5840 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5842 * sysdeps/s390/multiarch/Makefile
5843 (sysdep_routines): Remove strcspn variants.
5844 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5845 * sysdeps/s390/multiarch/ifunc-impl-list.c
5846 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5847 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5848 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5849 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5850 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5851 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5852 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5853 * sysdeps/s390/ifunc-strcspn.h: New file.
5855 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5857 * sysdeps/s390/multiarch/Makefile
5858 (sysdep_routines): Remove strpbrk variants.
5859 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5860 * sysdeps/s390/multiarch/ifunc-impl-list.c
5861 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5862 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5863 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5864 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5865 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5866 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5867 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5868 * sysdeps/s390/ifunc-strpbrk.h: New file.
5870 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5872 * sysdeps/s390/multiarch/Makefile
5873 (sysdep_routines): Remove strspn variants.
5874 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5875 * sysdeps/s390/multiarch/ifunc-impl-list.c
5876 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5877 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5878 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5879 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5880 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5881 * sysdeps/s390/multiarch/strspn.c: Move to ...
5882 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5883 * sysdeps/s390/ifunc-strspn.h: New file.
5885 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5887 * sysdeps/s390/multiarch/Makefile
5888 (sysdep_routines): Remove strrchr variants.
5889 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5890 * sysdeps/s390/multiarch/ifunc-impl-list.c
5891 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5892 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5893 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5894 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5895 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5896 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5897 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5898 * sysdeps/s390/ifunc-strrchr.h: New file.
5900 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5902 * sysdeps/s390/multiarch/Makefile
5903 (sysdep_routines): Remove strchrnul variants.
5904 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5905 * sysdeps/s390/multiarch/ifunc-impl-list.c
5906 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5907 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5908 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5909 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5910 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5911 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5912 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5913 * sysdeps/s390/ifunc-strchrnul.h: New file.
5915 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5917 * sysdeps/s390/multiarch/Makefile
5918 (sysdep_routines): Remove strchr variants.
5919 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5920 * sysdeps/s390/multiarch/ifunc-impl-list.c
5921 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5922 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5923 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5924 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5925 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5926 * sysdeps/s390/multiarch/strchr.c: Move to ...
5927 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5928 * sysdeps/s390/ifunc-strchr.h: New file.
5930 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5932 * sysdeps/s390/multiarch/Makefile
5933 (sysdep_routines): Remove strncmp variants.
5934 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5935 * sysdeps/s390/multiarch/ifunc-impl-list.c
5936 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5937 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5938 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5939 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5940 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5941 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5942 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5943 * sysdeps/s390/ifunc-strncmp.h: New file.
5945 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5947 * sysdeps/s390/multiarch/Makefile
5948 (sysdep_routines): Remove strcmp variants.
5949 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5950 * sysdeps/s390/multiarch/ifunc-impl-list.c
5951 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5952 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5953 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5954 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5955 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5956 * sysdeps/s390/ifunc-strcmp.h: New file.
5957 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5958 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5959 for 31/64bit and ifunc handling.
5960 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5961 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5962 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5964 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5966 * sysdeps/s390/multiarch/Makefile
5967 (sysdep_routines): Remove strncat variants.
5968 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5969 * sysdeps/s390/multiarch/ifunc-impl-list.c
5970 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5971 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5972 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5973 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5974 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5975 * sysdeps/s390/multiarch/strncat.c: Move to ...
5976 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5977 * sysdeps/s390/ifunc-strncat.h: New file.
5979 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5981 * sysdeps/s390/multiarch/Makefile
5982 (sysdep_routines): Remove strcat variants.
5983 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5984 * sysdeps/s390/multiarch/ifunc-impl-list.c
5985 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5986 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5987 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5988 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5989 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5990 * sysdeps/s390/multiarch/strcat.c: Move to ...
5991 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5992 * sysdeps/s390/ifunc-strcat.h: New file.
5994 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5996 * sysdeps/s390/multiarch/Makefile
5997 (sysdep_routines): Remove stpncpy variants.
5998 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5999 * sysdeps/s390/multiarch/ifunc-impl-list.c
6000 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
6001 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
6002 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
6003 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
6004 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
6005 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
6006 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
6007 * sysdeps/s390/ifunc-stpncpy.h: New file.
6009 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6011 * sysdeps/s390/multiarch/Makefile
6012 (sysdep_routines): Remove strncpy variants.
6013 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
6014 * sysdeps/s390/multiarch/ifunc-impl-list.c
6015 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
6016 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
6017 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
6018 * sysdeps/s390/multiarch/strncpy.c: Move to ...
6019 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
6020 * sysdeps/s390/ifunc-strncpy.h: New file.
6021 * sysdeps/s390/s390-64/strncpy.S: Move to ...
6022 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
6023 and adjust ifunc handling.
6024 * sysdeps/s390/s390-32/strncpy.S: Move to ...
6025 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
6026 and adjust ifunc handling.
6027 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
6028 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6030 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6032 * sysdeps/s390/multiarch/Makefile
6033 (sysdep_routines): Remove stpcpy variants.
6034 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
6035 * sysdeps/s390/multiarch/ifunc-impl-list.c
6036 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
6037 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
6038 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
6039 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
6040 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
6041 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
6042 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
6043 * sysdeps/s390/ifunc-stpcpy.h: New file.
6045 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6047 * sysdeps/s390/multiarch/Makefile
6048 (sysdep_routines): Remove strcpy variants.
6049 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
6050 * sysdeps/s390/multiarch/ifunc-impl-list.c
6051 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
6052 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
6053 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
6054 * sysdeps/s390/multiarch/strcpy.c: Move to ...
6055 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
6056 * sysdeps/s390/ifunc-strcpy.h: New file.
6057 * sysdeps/s390/s390-64/strcpy.S: Move to ...
6058 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
6059 for 31/64bit and ifunc handling.
6060 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
6061 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6062 * sysdeps/s390/s390-32/strcpy.S: Likewise.
6064 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6066 * sysdeps/s390/multiarch/Makefile
6067 (sysdep_routines): Remove strnlen variants.
6068 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
6069 * sysdeps/s390/multiarch/ifunc-impl-list.c
6070 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
6071 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
6072 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
6073 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
6074 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
6075 * sysdeps/s390/multiarch/strnlen.c: Move to ...
6076 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
6077 * sysdeps/s390/ifunc-strnlen.h: New file.
6079 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6081 * sysdeps/s390/multiarch/Makefile
6082 (sysdep_routines): Remove strlen variants.
6083 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
6084 * sysdeps/s390/multiarch/ifunc-impl-list.c
6085 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
6086 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
6087 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
6088 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
6089 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
6090 * sysdeps/s390/multiarch/strlen.c: Move to ...
6091 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
6092 * sysdeps/s390/ifunc-strlen.h: New file.
6094 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6096 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
6097 * sysdeps/s390/multiarch/ifunc-impl-list.c
6098 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
6099 * sysdeps/s390/ifunc-memmem.h: New file.
6100 * sysdeps/s390/memmem.c: Likewise.
6101 * sysdeps/s390/memmem-c.c: Likewise.
6102 * sysdeps/s390/memmem-vx.c: Likewise.
6104 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6106 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
6107 * sysdeps/s390/multiarch/ifunc-impl-list.c
6108 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
6109 * sysdeps/s390/ifunc-strstr.h: New file.
6110 * sysdeps/s390/strstr.c: Likewise.
6111 * sysdeps/s390/strstr-c.c: Likewise.
6112 * sysdeps/s390/strstr-vx.c: Likewise.
6114 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6116 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
6117 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
6118 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
6119 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
6121 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
6122 * sysdeps/s390/memmove-c.c: New file.
6123 * sysdeps/s390/memmove.c: Likewise.
6124 * sysdeps/s390/multiarch/ifunc-impl-list.c
6125 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
6127 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6129 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
6130 * sysdeps/s390/configure.ac: Add check for z13 support.
6131 * sysdeps/s390/configure: Regenerated.
6133 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6135 * sysdeps/s390/memcopy.h: New file.
6137 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6139 * sysdeps/s390/s390-32/bcopy.S: Remove.
6140 * sysdeps/s390/s390-64/bcopy.S: Likewise.
6142 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6144 * sysdeps/s390/ifunc-memcpy.h: New File.
6145 * sysdeps/s390/memcpy.S: Move to ...
6146 * sysdeps/s390/memcpy-z900.S ... here.
6147 Move implementations from memcpy-s390x.s to here.
6148 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
6149 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6150 Remove memcpy/mempcpy variants.
6151 * sysdeps/s390/Makefile (sysdep_routines):
6152 Add memcpy/mempcpy variants.
6153 * sysdeps/s390/multiarch/ifunc-impl-list.c
6154 (__libc_ifunc_impl_list): Adjust ifunc variants for
6156 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
6158 * sysdeps/s390/memcpy.c: ... here.
6159 Adjust ifunc variants for memcpy.
6160 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
6161 * sysdeps/s390/mempcpy.c: ... here.
6162 Adjust ifunc variants for mempcpy.
6163 * sysdeps/s390/mempcpy.S: Delete file.
6165 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6167 * sysdeps/s390/s390-64/memcpy.S: Move to ...
6168 * sysdeps/s390/memcpy.S: ... here.
6169 Adjust to be usable for 31/64bit.
6170 * sysdeps/s390/s390-32/memcpy.S: Delete File.
6171 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
6172 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
6173 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6174 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
6175 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
6176 Adjust to be usable for 31/64bit.
6177 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
6178 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
6179 * sysdeps/s390/multiarch/memcpy.c: ... here.
6180 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
6182 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6184 * sysdeps/s390/ifunc-memcmp.h: New File.
6185 * sysdeps/s390/memcmp.S: Move to ...
6186 * sysdeps/s390/memcmp-z900.S ... here.
6187 Move implementations from memcmp-s390x.s to here.
6188 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
6189 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6190 Remove memcmp variants.
6191 * sysdeps/s390/Makefile (sysdep_routines):
6192 Add memcmp variants.
6193 * sysdeps/s390/multiarch/ifunc-impl-list.c
6194 (__libc_ifunc_impl_list): Adjust ifunc variants for
6196 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
6198 * sysdeps/s390/memcmp.c: ... here.
6199 Adjust ifunc variants for memcmp.
6201 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6203 * sysdeps/s390/s390-64/memcmp.S: Move to ...
6204 * sysdeps/s390/memcmp.S: ... here.
6205 Adjust to be usable for 31/64bit.
6206 * sysdeps/s390/s390-32/memcmp.S: Delete File.
6207 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
6208 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6210 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6211 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
6212 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
6213 Adjust to be usable for 31/64bit.
6214 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
6215 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
6216 * sysdeps/s390/multiarch/memcmp.c: ... here.
6217 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
6219 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6221 * sysdeps/s390/s390-32/bzero.S: Delete file.
6222 * sysdeps/s390/s390-64/bzero.S: Likewise.
6223 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
6224 * sysdeps/s390/bzero.c: New file.
6225 * sysdeps/s390/memset-z900.S: Add bzero entry points.
6226 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
6227 * sysdeps/s390/multiarch/ifunc-impl-list.c
6228 (__libc_ifunc_impl_list): Add bzero ifunc variants.
6230 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6232 * sysdeps/s390/ifunc-memset.h: New File.
6233 * sysdeps/s390/memset.S: Move to ...
6234 * sysdeps/s390/memset-z900.S ... here.
6235 Move implementations from memset-s390x.s to here.
6236 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
6237 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6238 Remove memset variants.
6239 * sysdeps/s390/Makefile (sysdep_routines):
6240 Add memset variants.
6241 * sysdeps/s390/multiarch/ifunc-impl-list.c
6242 (__libc_ifunc_impl_list): Adjust ifunc variants for
6244 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
6246 * sysdeps/s390/memset.c: ... here.
6247 Adjust ifunc variants for memset.
6249 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6251 * sysdeps/s390/s390-64/memset.S: Move to ...
6252 * sysdeps/s390/memset.S: ... here.
6253 Adjust to be usable for 31/64bit.
6254 * sysdeps/s390/s390-32/memset.S: Delete File.
6255 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
6256 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6258 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6259 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
6260 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
6261 Adjust to be usable for 31/64bit.
6262 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
6263 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
6264 * sysdeps/s390/multiarch/memset.c: ... here.
6265 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
6267 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6269 * sysdeps/s390/multiarch/ifunc-resolve.h
6270 (s390_libc_ifunc_init, s390_libc_ifunc,
6271 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
6273 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6275 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
6276 * sysdeps/s390/configure.ac: Add check for z10 support.
6277 * sysdeps/s390/configure: Regenerated.
6279 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
6281 * sysdeps/i386/atomic-machine.h: Merged with ...
6282 * sysdeps/x86_64/atomic-machine.h: To ...
6283 * sysdeps/x86/atomic-machine.h: This. New file.
6285 2018-12-18 Florian Weimer <fweimer@redhat.com>
6287 Rewrite locale/gen-translit.pl in Python.
6288 * locale/Makefile (generated): Add C-translit.h.
6289 (before-compile): Add $(objpfx)C-translit.h.
6290 (C-translit.h): Move to $(objpfx). Create target directory.
6291 Build using Python script.
6292 * locale/gen-translit.py: New file.
6293 * locale/gen-translit.pl: Remove file.
6294 * locale/C-translit.h.in: Change comment character to '#' for
6295 easier parsing without a C preprocessor.
6296 * locale/C-translit.h: Remove generated file.
6297 * manual/install.texi (Tools for Compilation): Do not mention
6299 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6300 Remove locale/C-translit.h.
6301 * scripts/update-copyrights: Likewise.
6302 * INSTALL: Regenerate.
6304 2018-12-18 Florian Weimer <fweimer@redhat.com>
6307 * localedata/locales/bi_VU: Remove executable bit from file.
6309 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6312 (__localtime64): Add.
6313 * manual/maint.texi: Document Y2038 symbol handling.
6315 (__localtime64): Add.
6316 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6318 2018-12-17 Joseph Myers <joseph@codesourcery.com>
6320 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6323 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6324 to allow extra macros from first or second sources.
6325 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6326 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6327 (tests-special): Add $(objpfx)tst-mman-consts.out.
6328 ($(objpfx)tst-mman-consts.out): New makefile target.
6330 2018-12-17 Mao Han <han_mao@c-sky.com>
6332 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6333 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6334 without stat64 system call support.
6335 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6336 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6337 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6338 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6339 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6340 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6341 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6342 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6343 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6344 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6345 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6347 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6349 regex: fix storage-exhaustion error
6351 * posix/regexec.c (get_subexp):
6352 Do not continue if storage is exhausted.
6354 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
6356 regex: fix heap-use-after-free error
6358 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6359 https://debbugs.gnu.org/32592
6360 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6361 call extend_buffers which reallocates the re_string_t internal buffer.
6362 Local variable 'buf' was not updated in such case, resulting in
6364 * posix/regexec.c (get_subexp): Update 'buf' after call to
6367 2018-12-15 Florian Weimer <fweimer@redhat.com>
6369 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6370 (minimum_stride_size): Use it.
6371 (support_blob_repeat_allocate): Likewise.
6373 2018-12-14 Joseph Myers <joseph@codesourcery.com>
6375 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6380 2018-12-14 Florian Weimer <fweimer@redhat.com>
6382 * manual/process.texi (Process Creation Concepts): Remove
6383 documentation of process (ID) lifetime. List more process
6384 creation functions. Reference Process Identification section.
6385 (Process Identification): Add information about process ID
6386 lifetime. Describe Linux thread/task IDs.
6387 * manual/signal.texi (Signaling Another Process): Mention that the
6388 signal is always sent to the process.
6390 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6392 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6393 and tst-ldbl-efgcvt.
6394 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6395 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6396 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6397 (fcvt_tests, output_error, output_r_error, do_test): Use the
6398 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6399 select the type of floating-point variables and arguments; to
6400 produce extra tests for double and conversion specifiers for
6401 printf; and to set the names of called functions.
6402 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6403 in tst-efgcvt-template.c.
6404 * misc/tst-ldbl-efgcvt.c: Likewise.
6406 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
6408 * nss/Makefile (tst-nss-test3.out): New rule.
6410 2018-12-13 Joseph Myers <joseph@codesourcery.com>
6412 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6415 2018-12-13 fanjinke <fanjinke@hygon.cn>
6417 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6420 2018-12-13 Andreas Schwab <schwab@suse.de>
6423 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
6424 (__pthread_rwlock_rdlock_full): Update expected value for
6425 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6426 * nptl/tst-rwlock-pwn.c: New file.
6427 * nptl/Makefile (tests): Add tst-rwlock-pwn.
6429 2018-12-12 Joseph Myers <joseph@codesourcery.com>
6431 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6434 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6436 * benchtests/scripts/compare_bench.py (do_compare): write to
6437 stderr in casestat is not present.
6438 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6439 stderr in case timings field is not present. Also string showing
6440 the output filename goes into the stderr.
6442 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6444 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6445 and ZeroDivisorError exceptions.
6446 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6447 argument to loop through user provided statistics.
6448 * benchtests/scripts/compare_bench.py (main): Include the --stats
6451 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6453 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6456 2018-12-12 Florian Weimer <fweimer@redhat.com>
6458 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6459 clause to copyright header.
6461 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6464 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6465 registers saved in the stack frame.
6466 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6467 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6469 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6471 * include/bits/monetary-ldbl.h: New file.
6472 * include/bits/printf-ldbl.h: Likewise.
6473 * include/bits/stdio-ldbl.h: Likewise.
6474 * include/bits/stdlib-ldbl.h: Likewise.
6475 * include/bits/syslog-ldbl.h: Likewise.
6476 * include/bits/wchar-ldbl.h: Likewise.
6478 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6480 * libio/libio.h: Remove redirection for _IO_vfprintf.
6482 2018-12-11 Andreas Schwab <schwab@suse.de>
6484 * Makerules: Remove all references to abilist-pattern.
6485 (update-all-abi): Simplify find expression.
6487 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6490 * math/auto-libm-test-in: Add new test case.
6491 * math/auto-libm-test-out-pow: Regenerated.
6492 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6494 2018-12-10 DJ Delorie <dj@redhat.com>
6497 * support/test-container.c: Move postclean step to before we
6500 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6502 * scripts/gen-as-const.py (main): Handle --python option.
6503 * scripts/gen-py-const.awk: Remove.
6504 * Makerules (py-const-script): Use gen-as-const.py.
6505 ($(py-const)): Likewise.
6506 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6507 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6508 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6509 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6510 ~PTHREAD_MUTEX_NO_ELISION_NP.
6511 * manual/README.pretty-printers: Update reference to
6514 * scripts/glibcextract.py: New file.
6515 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6516 or tempfile. Import glibcexctract.
6517 (compute_c_consts): Remove. Moved to glibcextract.py.
6518 (gen_test): Update reference to compute_c_consts.
6520 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6521 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6522 * sysdeps/unix/sysv/linux/Makefile
6523 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6524 Redirect stderr as well as stdout.
6526 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6529 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
6530 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6531 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
6532 ALWAYS_USE_VSYSCALL.
6533 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
6534 ALWAYS_USE_VSYSCALL.
6535 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6536 ALWAYS_USE_VSYSCALL.
6538 2018-12-10 Florian Weimer <fweimer@redhat.com>
6541 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6542 offset instead of count for clarity. Fix typo in comment.
6543 (__old_getdents64): Keep track of previous offset. Use it to call
6545 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6546 that d_off is never zero.
6548 2018-12-10 Andreas Schwab <schwab@suse.de>
6550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6551 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6553 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6554 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6556 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6558 * timezone/private.h: Update from tzcode 2018g.
6559 * timezone/tzfile.h: Likewise.
6560 * timezone/tzselect.ksh: Likewise.
6561 * timezone/zdump.c: Likewise.
6562 * timezone/zic.c: Likewise.
6564 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6567 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6568 (do_test): Adjust buffer size and fix format.
6570 2018-12-07 DJ Delorie <dj@redhat.com>
6573 * malloc/tst-tcfree3.c: New.
6574 * malloc/Makefile: Add it.
6576 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6578 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6580 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6582 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6583 used as a mask for the mode argument of __vfscanf_internal and
6584 __vfwscanf_internal.
6585 * stdio-common/vfscanf-internal.c
6586 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6587 (__strtof128_internal): Define to __wcstof128_internal.
6588 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6589 __strtof128_internal or __wcstof128_internal when the format of
6590 long double is the same as _Float128.
6592 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6594 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6595 * posix/confstr.c (confstr): Rename to __confstr.
6596 (__confstr): Add hidden def.
6597 (confstr): Add weak alias for __confstr.
6598 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6601 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6603 * NEWS: Mention getcpu.
6604 * include/sched.h (__getcpu): New libc_hidden_proto.
6605 * manual/resource.texi: Document getcpu.
6606 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6607 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6608 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6609 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6610 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6611 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6612 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6613 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6614 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6615 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6616 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6617 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6618 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6620 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6621 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6622 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6631 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6632 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6633 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6634 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6635 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6636 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6637 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6638 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6639 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6640 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6641 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6644 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6646 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6648 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6650 2018-12-07 Florian Weimer <fweimer@redhat.com>
6653 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6654 * posix/Versions (GLIBC_2.29): Export
6655 posix_spawn_file_actions_addfchdir_np.
6656 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6657 * posix/spawn_faction_destroy.c
6658 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6659 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6660 and the field action.fchdir_action.
6661 * posix/tst-spawn-chdir.c (add_chdir): New function.
6662 (do_test): Add do_fchdir loop. Call add_chdir.
6663 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6664 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6665 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6666 posix_spawn_file_actions_addfchdir_np.
6667 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6669 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6671 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6672 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6674 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6676 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6678 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6680 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6682 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6684 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6685 (GLIBC_2.29): Likewise.
6686 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6687 (GLIBC_2.29): Likewise.
6688 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6689 (GLIBC_2.29): Likewise.
6690 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6691 (GLIBC_2.29): Likewise.
6692 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6695 (GLIBC_2.29): Likewise.
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6697 (GLIBC_2.29): Likewise.
6698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6699 (GLIBC_2.29): Likewise.
6700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6701 (GLIBC_2.29): Likewise.
6702 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6704 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6706 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6708 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6709 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6711 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6713 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6715 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6718 2018-12-06 Joseph Myers <joseph@codesourcery.com>
6720 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6721 trailing whitespace removed.
6722 * scripts/config.guess: Update to version 2018-11-28.
6723 * scripts/config.sub: Update to version 2018-11-28.
6724 * scripts/install-sh: Update to version 2018-03-11.20.
6725 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6726 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6728 2018-12-07 Florian Weimer <fweimer@redhat.com>
6732 * inet/tst-if_index-long.c: New file.
6733 * inet/Makefile (tests): Add tst-if_index-long.
6735 2018-12-07 Florian Weimer <fweimer@redhat.com>
6737 * support/check.h (support_record_failure_is_failed): Declare.
6738 * support/descriptors.h: New file.
6739 * support/support_descriptors.c: Likewise.
6740 * support/tst-support_descriptors.c: Likewise.
6741 * support/support_record_failure.c
6742 (support_record_failure_is_failed): New function.
6743 * support/Makefile (libsupport-routines): Add support_descriptors.
6744 (tests): Add tst-support_descriptors.
6746 2018-12-05 Zack Weinberg <zackw@panix.com>
6747 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6749 * stdio-common/vfprintf-internal.c
6750 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6751 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6752 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6753 and __no_long_double.
6754 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6755 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6756 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6757 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6758 and __nldbl_*syslog* functions.
6759 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6760 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6761 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6762 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6763 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6764 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6765 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6766 (__nldbl_vwprintf, __nldbl_wprintf):
6767 Directly call the appropriate __v*printf_internal routine, passing
6768 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6770 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6771 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6772 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6773 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6774 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6775 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6776 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6777 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6778 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6779 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6780 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6781 (__nldbl_syslog, __nldbl_vsyslog):
6782 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6783 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6785 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6788 2018-12-05 Zack Weinberg <zackw@panix.com>
6789 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6792 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6793 Moved here from debug/vsprintf_chk.c.
6794 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6795 and completion logic for the strfile to match exactly what
6796 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6797 _IO_str_init_static_internal instead of maxlen-1.
6798 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6799 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6800 __vsprintf_internal.
6802 * debug/vsprintf_chk.c (__vsprintf_chk)
6803 * debug/sprintf_chk.c (__sprintf_chk):
6804 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6805 'flags' argument is positive, and slen as maxlen. No need to lock
6806 the FILE and/or construct a temporary FILE. Minimize and normalize
6807 header inclusions and variable names. Do not libc_hidden_def anything.
6809 * debug/asprintf_chk.c (__asprintf_chk)
6810 * debug/dprintf_chk.c (__dprintf_chk)
6811 * debug/fprintf_chk.c (__fprintf_chk)
6812 * debug/fwprintf_chk.c (__fwprintf_chk)
6813 * debug/printf_chk.c (__printf_chk)
6814 * debug/snprintf_chk.c (__snprintf_chk)
6815 * debug/swprintf_chk.c (__swprintf_chk)
6816 * debug/vasprintf_chk.c (__vasprintf_chk)
6817 * debug/vdprintf_chk.c (__vdprintf_chk)
6818 * debug/vfprintf_chk.c (__vfprintf_chk)
6819 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6820 * debug/vprintf_chk.c (__vprintf_chk)
6821 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6822 * debug/vswprintf_chk.c (__vswprintf_chk)
6823 * debug/vwprintf_chk.c (__vwprintf_chk)
6824 * debug/wprintf_chk.c (__wprintf_chk):
6825 Directly call the corresponding vxxprintf_internal function, passing
6826 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6827 the FILE and/or construct a temporary FILE. Minimize and normalize
6828 header inclusions and variable names. Do not libc_hidden_def anything.
6830 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6831 __obstack_vprintf_internal.
6832 (__obstack_vprintf_chk): Convert into a wrapper that calls
6833 __obstack_vprintf_internal (these two functions already had the
6834 same code) and move to new file...
6835 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6837 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6838 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6839 * debug/Makefile (routines): Add vobprintf_chk.
6841 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6842 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6843 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6844 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6845 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6846 (__nldbl___obstack_vfprintf_chk):
6847 Directly call the corresponding vxxprintf_internal function,
6848 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6849 duplicate comparison of slen with 0 or maxlen from the corresponding
6850 non-__nldbl function.
6852 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6853 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6854 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6855 Remove libc_hidden_proto.
6857 * stdio-common/vfprintf-internal.c
6858 (__vfprintf_internal, __vfwprintf_internal):
6859 Do not check _IO_FLAGS2_FORTIFY.
6860 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6861 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6862 a comment explaining why it has the maxlen argument.
6863 (_IO_acquire_lock_clear_flags2_fct): Remove.
6864 (_IO_acquire_lock_clear_flags2): Remove.
6865 (_IO_release_lock): Remove conditional statement which will
6867 (_IO_acquire_lock): Remove variable which is now unused.
6868 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6869 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6871 * stdio-common/Makefile (tests): Add tst-bz11319 and
6872 tst-bz11319-fortify2.
6873 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6874 * stdio-common/tst-bz11319-fortify2.c: New file.
6875 * stdio-common/tst-bz11319.c: Likewise.
6877 2018-12-05 Zack Weinberg <zackw@panix.com>
6878 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6880 * misc/syslog.c: Include libioP.h, not iolibio.h.
6881 (__vsyslog_internal): New function with the former body of
6882 __vsyslog_chk; takes mode_flags argument same as
6883 __v*printf_internal. Call __vfprintf_internal directly.
6885 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6886 Remove libc_hidden_def.
6887 (__syslog, __syslog_chk): Use __vsyslog_internal.
6888 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6890 * include/sys/syslog.h: Add multiple inclusion guard.
6891 Add prototype for __vsyslog_internal.
6892 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6894 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6895 Use __vsyslog_internal.
6897 2018-12-05 Zack Weinberg <zackw@panix.com>
6898 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6900 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6901 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6902 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6904 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6905 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6907 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6908 Include wctype.h here if COMPILE_WPRINTF is defined.
6909 Define __vfprintf_internal or __vfwprintf_internal, depending
6911 Temporarily, on entry to this function, update mode_flags
6912 according to the environmental settings corresponding to
6913 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6914 Throughout, check mode_flags instead of __ldbl_is_dbl and
6915 _IO_FLAGS2_FORTIFY on the destination FILE.
6916 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6917 Include vfprintf-internal.c. Don't include wctype.h.
6918 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6919 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6921 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6922 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6924 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6926 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6927 and add mode_flags argument; use __vfprintf_internal.
6928 (__vdprintf): New function. Alias vdprintf to this.
6929 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6930 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6931 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6932 (__obstack_printf): Use __obstack_printf_internal.
6933 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6934 public aliases __vsnprintf and vsnprintf.
6935 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6937 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6938 public aliases _IO_vsprintf and vsprintf.
6939 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6940 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6941 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6942 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6943 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6945 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6946 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6947 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6948 * stdio-common/printf.c: Use __vfprintf_internal.
6950 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6951 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6952 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6954 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6955 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6956 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6957 __vfwprintf_internal.
6959 * libio/libio.h: Remove libc_hidden_proto and declaration for
6961 Remove declaration of _IO_vfwprintf.
6962 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6964 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6966 * include/stdio.h: Add prototype for __vasprintf.
6967 (__vsnprintf): Remove declaration, because there are no more
6969 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6970 declaration, because there are no more internal calls.
6972 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6973 __vsnprintf_internal, instead of _IO_vsnprintf.
6974 * argp/argp-help.c (__argp_error, __argp_failure): Use
6975 __vasprintf_internal, instead of _IO_vasprintf.
6976 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6977 redefine, because there are no more internal calls.
6979 2018-12-05 Zack Weinberg <zackw@panix.com>
6980 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6982 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6983 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6984 Include libio/strfile.h instead of libioP.h.
6985 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6986 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6987 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6988 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6989 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6990 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6991 necessary. Do not set __no_long_double. Normalize variable names.
6992 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6993 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6994 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6995 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6996 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6997 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6998 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6999 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
7000 Do not set __no_long_double. Normalize variable names.
7002 2018-12-05 Zack Weinberg <zackw@panix.com>
7003 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7005 * stdio-common/isoc99_scanf.c
7006 * stdio-common/isoc99_fscanf.c
7007 * stdio-common/isoc99_sscanf.c
7008 * stdio-common/isoc99_vscanf.c
7009 * stdio-common/isoc99_vfscanf.c
7010 * stdio-common/isoc99_vsscanf.c
7011 * wcsmbs/isoc99_wscanf.c
7012 * wcsmbs/isoc99_fwscanf.c
7013 * wcsmbs/isoc99_swscanf.c
7014 * wcsmbs/isoc99_vwscanf.c
7015 * wcsmbs/isoc99_vfwscanf.c
7016 * wcsmbs/isoc99_vswscanf.c:
7017 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
7018 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
7019 No need to lock and unlock the FILE passed to that function.
7021 * stdio-common/vfscanf-internal.c
7022 (__vfscanf_internal, __vfwscanf_internal):
7023 Don't look at _IO_FLAGS2_SCANF_STD.
7024 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
7025 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
7026 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
7028 2018-12-05 Zack Weinberg <zackw@panix.com>
7029 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7031 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
7032 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
7033 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
7034 * libio/strfile.h: Add multiple inclusion guard.
7035 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
7037 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
7038 consistency with the other version of this file.
7039 (ldbl_compat_symbol): New macro.
7040 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
7043 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
7044 Define __vfscanf_internal or __vfwscanf_internal, depending on
7045 COMPILE_WSCANF; don't define any other public symbols.
7046 Remove errval and code to set errp.
7047 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
7048 as the mode_flags argument.
7049 (encode_error, conv_error, input_error): Don't set errval.
7050 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
7051 Include vfscanf-internal.c.
7052 * stdio-common/vfscanf.c: New file defining the public entry
7053 point vfscanf, which calls __vfscanf_internal.
7054 * stdio-common/vfwscanf.c: New file defining the public entry
7055 point vfwscanf, which calls __vfwscanf_internal.
7057 * stdio-common/iovfscanf.c: New file.
7058 * stdio-common/iovfwscanf.c: Likewise.
7060 * stdio-common/Makefile (routines): Add vfscanf-internal,
7061 vfwscanf-internal, iovfscanf, iovfwscanf.
7062 * stdio-common/Versions: Mention GLIBC_2.29, so that
7063 it can be used in SHLIB_COMPAT expressions.
7064 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
7065 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
7066 Call __vfscanf_internal, instead of _IO_vfscanf.
7067 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
7069 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
7072 * libio/iovsscanf.c: Clean up includes, when possible. Use
7073 _IO_strfile_read or _IO_strfile_readw, when needed. Call
7074 __vfscanf_internal or __vfwscanf_internal directly.
7075 * libio/iovswscanf.c: Likewise.
7076 * libio/swscanf.c: Likewise.
7077 * libio/vscanf.c: Likewise.
7078 * libio/vwscanf.c: Likewise.
7079 * libio/wscanf.c: Likewise.
7080 * stdio-common/isoc99_fscanf.c: Likewise.
7081 * stdio-common/isoc99_scanf.c: Likewise.
7082 * stdio-common/isoc99_sscanf.c: Likewise.
7083 * stdio-common/isoc99_vfscanf.c: Likewise.
7084 * stdio-common/isoc99_vscanf.c: Likewise.
7085 * stdio-common/isoc99_vsscanf.c: Likewise.
7086 * stdio-common/scanf.c: Likewise.
7087 * stdio-common/sscanf.c: Likewise.
7088 * wcsmbs/isoc99_fwscanf.c: Likewise.
7089 * wcsmbs/isoc99_swscanf.c: Likewise.
7090 * wcsmbs/isoc99_vfwscanf.c: Likewise.
7091 * wcsmbs/isoc99_vswscanf.c: Likewise.
7092 * wcsmbs/isoc99_vwscanf.c: Likewise.
7093 * wcsmbs/isoc99_wscanf.c: Likewise.
7095 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
7098 (__tz_compute): Replace time_t with __time64_t.
7099 (__tz_convert): Replace time_t* with __time64_t.
7100 (__offtime): Replace time_t* with __time64_t.
7102 (__gmtime_r): Adjust call to __tz_convert.
7105 (__localtime_r): Likewise.
7106 (localtime): Likewise.
7107 * time/offtime.c: Replace time_t with __time64_t.
7108 * time/tzset.c: Likewise.
7110 2018-12-04 Joseph Myers <joseph@codesourcery.com>
7112 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
7113 dynamic linker unless [$(run-built-tests) = yes].
7115 2018-12-03 DJ Delorie <dj@delorie.com>
7117 * support/test-container.c (check_for_unshare_hints): New.
7118 (main): Call it if unshare fails. Add support for "su" scriptlet
7121 2018-12-03 Joseph Myers <joseph@codesourcery.com>
7123 * scripts/gen-as-const.py (compute_c_consts): Take an argument
7124 'START' to indicate that start text should be output.
7125 (gen_test): Likewise.
7126 (main): Generate 'START' for first symbol or '--' line, or at end
7127 of input if not previously generated.
7129 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
7132 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
7133 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
7134 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
7135 ALWAYS_USE_VSYSCALL.
7137 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7140 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
7143 2018-12-03 Carlos O'Donell <carlos@redhat.com>
7146 * locale/programs/localedef.c: Declare boolean hard_links default true.
7147 (options): Add --no-hard-links option.
7148 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
7149 * locale/programs/localedef.h: Declare prototype for hard_links.
7150 * locale/programs/locfile.c (write_locale_data): Don't use hard
7151 links if hard_links is false.
7153 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
7155 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
7157 (__cache_sysconf): Likewise.
7158 (init_cacheinfo): Likewise.
7159 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
7160 populate COMMON_CPUID_INDEX_80000007 and
7161 COMMON_CPUID_INDEX_80000008.
7162 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
7163 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
7164 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
7165 (init_cpu_features): Use _Static_assert on
7166 index_arch_Fast_Unaligned_Load.
7167 __get_cpuid_registers and __get_arch_feature. Updated for
7168 cpu_features_basic. Set stepping in cpu_features.
7169 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
7170 (FEATURE_INDEX_2): New.
7171 (FEATURE_INDEX_MAX): Changed to enum.
7172 (COMMON_CPUID_INDEX_D_ECX_1): New.
7173 (COMMON_CPUID_INDEX_80000007): Likewise.
7174 (COMMON_CPUID_INDEX_80000008): Likewise.
7175 (cpuid_registers): Likewise.
7176 (cpu_features_basic): Likewise.
7177 (CPU_FEATURE_USABLE): Likewise.
7178 (bit_arch_XXX_Usable): Likewise.
7179 (cpu_features): Use cpuid_registers and cpu_features_basic.
7180 (bit_arch_XXX): Reweritten.
7181 (bit_cpu_XXX): Likewise.
7182 (index_cpu_XXX): Likewise.
7183 (reg_XXX): Likewise.
7184 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
7186 (CHECK_CPU_FEATURE): New.
7187 (CHECK_CPU_FEATURE_USABLE): Likewise.
7188 (cpu_kinds): Likewise.
7189 (do_test): Print vendor, family, model and stepping. Check
7190 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
7191 (TEST_FUNCTION): Removed.
7192 Include <support/test-driver.c> instead of
7193 "../../test-skeleton.c".
7194 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
7195 Check POPCNT instead of POPCOUNT.
7196 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
7198 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7200 * scripts/gen-as-const.py (main): Avoid emitting empty line when
7201 there is no element in `consts'.
7203 2018-12-01 Florian Weimer <fweimer@redhat.com>
7205 * support/support_capture_subprocess.c
7206 (support_capture_subprocess): Check that pipe descriptors have
7207 expected values. Close original pipe descriptors in subprocess.
7209 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7212 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
7213 attr with __pthread_default_barrierattr.
7214 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
7215 attr with __pthread_default_condattr.
7216 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
7217 attr with __pthread_default_mutexattr.
7218 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
7219 attr with __pthread_default_rwlockattr.
7221 2018-12-01 Kemi Wang <kemi.wang@intel.com>
7223 * manual/tunables.texi (POSIX Thread Tunables): New node.
7224 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
7225 * nptl/nptl-init.c: Include pthread_mutex_conf.h
7226 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
7227 __pthread_tunables_init.
7228 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
7229 (max_adaptive_count): Define.
7230 * nptl/pthread_mutex_conf.c: New file.
7231 * nptl/pthread_mutex_conf.h: New file.
7232 * sysdeps/generic/adaptive_spin_count.h: New file.
7233 * sysdeps/nptl/dl-tunables.list: New file.
7234 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7235 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
7236 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
7239 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7242 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
7243 * stdlib/on_exit.c (__on_exit): Likewise.
7244 * stdlib/Makefile (tests): Add tst-bz20544.
7245 * stdlib/tst-bz20544.c: New test.
7247 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
7250 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
7251 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
7254 2018-11-30 Florian Weimer <fweimer@redhat.com>
7256 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
7257 Extend error logging.
7258 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
7261 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7263 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
7264 __sigismember instead of sigismember.
7265 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
7266 cancel_handler): New definitions.
7267 (do_system): Use posix_spawn instead of fork and execl and remove
7269 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
7270 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
7271 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
7272 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7273 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7274 * sysdeps/unix/sysv/linux/system.c: Likewise.
7278 * NEWS: Add new semantic for atfork with popen and system.
7279 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
7282 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7285 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
7286 modification order when accessing reloc_result->addr.
7287 * include/link.h (reloc_result): Add field init.
7288 * nptl/Makefile (tests): Add tst-audit-threads.
7289 (modules-names): Add tst-audit-threads-mod1 and
7290 tst-audit-threads-mod2.
7291 Add rules to build tst-audit-threads.
7292 * nptl/tst-audit-threads-mod1.c: New file.
7293 * nptl/tst-audit-threads-mod2.c: Likewise.
7294 * nptl/tst-audit-threads.c: Likewise.
7295 * nptl/tst-audit-threads.h: Likewise.
7297 2018-11-30 Joseph Myers <joseph@codesourcery.com>
7299 * scripts/gen-as-const.py: New file.
7300 * scripts/gen-as-const.awk: Remove.
7301 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
7303 ($(objpfx)test-as-const-%.c): Likewise.
7305 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7307 * elf/dl-exception.c: Include <_itoa.h>.
7309 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7311 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
7312 returned by __f_setlk.
7314 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7315 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7317 * elf/Makefile (tests-internal): Add tst-create_format1.
7318 * elf/dl-exception.c (_dl_exception_create_format): Support
7320 * elf/tst-create_format1.c: New file.
7322 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7324 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7325 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7327 * argp/argp-help.c (__argp_failure): Likewise.
7329 2018-11-29 Mao Han <han_mao@c-sky.com>
7331 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7332 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7333 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7334 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7335 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7336 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7337 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7338 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7339 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7340 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7341 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7342 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7343 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7344 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7345 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7346 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7347 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7348 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7349 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7350 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7351 (R_CKCORE_TLS_TPOFF32): New defines.
7353 2018-11-29 Florian Weimer <fweimer@redhat.com>
7355 * posix/Makefile (before-compile): Remove testcases.h and
7357 (generated): Add testcases.h and ptestcases.h.
7358 (testcases.h, ptestcases.h): Move to $(objpfx).
7359 (runtests.o): Add dependency on testcases.h.
7360 (runptests.o): Add dependency on ptestcases.h.
7361 * posix/testcases.h, posix/ptestcases.h: Remove files.
7362 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7363 not touch posix/testcases.h and posix/ptestcases.h.
7365 2018-11-28 Florian Weimer <fweimer@redhat.com>
7367 support: Add signal support to support_capture_subprocess_check.
7368 * support/capture_subprocess.h (support_capture_subprocess_check):
7369 Adjust comment and rename parameter.
7370 * support/support_capture_subprocess_check.c
7371 (print_actual_status): New function.
7372 (support_capture_subprocess_check): Support negative
7373 status_or_signal. Call print_actual_status.
7374 * support/tst-support_capture_subprocess.c (do_test): Call
7375 support_capture_subprocess_check.
7376 * libio/tst-vtables-common.c (termination_status)
7377 (init_termination_status): Remove.
7378 (check_for_termination): Adjust support_capture_subprocess_check
7380 (do_test): Remove call to init_termination_status.
7382 2018-11-28 Joseph Myers <joseph@codesourcery.com>
7384 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7385 source directory instead of a copy.
7386 (CommandList.create_copy_dir): Remove.
7388 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
7390 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7392 2018-11-28 Florian Weimer <fweimer@redhat.com>
7394 * support/support.h (support_quote_string): Do not use str
7397 2018-11-27 Joseph Myers <joseph@codesourcery.com>
7399 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7400 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7402 2018-11-27 Florian Weimer <fweimer@redhat.com>
7404 * support/support.h (support_quote_string): Declare.
7405 * support/support_quote_string.c: New file.
7406 * support/tst-support_quote_string.c: Likewise.
7407 * support/Makefile (libsupport-routines): Add
7408 support_quote_string.
7409 (tests): Add tst-support_quote_string.
7411 2018-11-27 Florian Weimer <fweimer@redhat.com>
7415 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7416 descriptor leak in case of ENODEV error.
7418 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7421 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7422 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7423 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7425 2018-11-26 Carlos O'Donell <carlos@redhat.com>
7427 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7428 Error for unknown lines.
7430 2018-11-26 Joseph Myers <joseph@codesourcery.com>
7432 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7433 Touch additional files.
7435 2018-11-26 Florian Weimer <fweimer@redhat.com>
7438 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7441 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7444 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7445 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7446 SHARED. Include sysdep.h.
7447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7448 ALWAYS_USE_VSYSCALL.
7449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7450 ALWAYS_USE_VSYSCALL.
7452 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7455 * nptl/Makefile (tests-static): Add tst-cond11-static.
7457 * nptl/tst-cond11-static.c: New File.
7458 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7459 tst-affinity-static.
7461 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7463 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7464 (USE_VSYSCALL): Likewise.
7465 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7466 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7468 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7473 2018-11-23 Joseph Myers <joseph@codesourcery.com>
7476 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7477 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7480 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7482 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7483 (tst-cet-legacy-1a-ARGS): New.
7484 ($(objpfx)tst-cet-legacy-1a): New target.
7485 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7487 2018-11-22 Joseph Myers <joseph@codesourcery.com>
7489 * conform/conformtest.py (CompileSubTest.__init__): Set
7490 self.run_early to False.
7491 (ExecuteSubTest.__init__): Likewise.
7492 (HeaderTests.run): Try running all non-optional, non-XFAILed
7493 compilation tests in a single execution of the compiler.
7495 * conform/conformtest.py (CompileSubTest): New class.
7496 (ExecuteSubTest): Likewise.
7497 (ElementTest.run): Rename to gen_subtests. Append tests to
7498 self.subtests instead of running them.
7499 (ConstantTest.run): Likewise.
7500 (SymbolTest.run): Likewise.
7501 (TypeTest.run): Likewise.
7502 (TagTest.run): Likewise.
7503 (FunctionTest.run): Likewise.
7504 (VariableTest.run): Likewise.
7505 (MacroFunctionTest.run): Likewise.
7506 (MacroStrTest.run): Likewise.
7507 (HeaderTests.handle_test_line): Generate subtests for tests.
7508 (HeaderTests.run): Run subtests for tests.
7510 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7512 * math/Versions (GLIBC_2.29): Add pow.
7513 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7515 * math/w_pow.c: New file.
7516 * sysdeps/i386/fpu/w_pow.c: New file.
7517 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7518 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7519 and add necessary aliases.
7520 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7521 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7522 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7523 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7524 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7525 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7526 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7527 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7528 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7529 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7530 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7531 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7532 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7533 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7534 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7539 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7540 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7541 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7542 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7543 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7544 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7545 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7546 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7548 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7549 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7550 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7552 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7554 * math/Versions (GLIBC_2.29): Add log2.
7555 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7557 * math/w_log2.c: New file.
7558 * sysdeps/i386/fpu/w_log2.c: New file.
7559 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7560 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7561 and add necessary aliases.
7562 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7563 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7564 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7565 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7566 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7567 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7568 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7569 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7570 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7571 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7572 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7573 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7574 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7575 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7576 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7581 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7582 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7583 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7584 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7585 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7586 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7587 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7589 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7591 * math/Versions (GLIBC_2.29): Add log.
7592 * math/w_log_compat.c (__log_compat): Change to versioned compat
7594 * math/w_log.c: New file.
7595 * sysdeps/i386/fpu/w_log.c: New file.
7596 * sysdeps/ia64/fpu/e_log.S: Update.
7597 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7598 and add necessary aliases.
7599 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7600 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7601 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7602 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7603 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7604 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7605 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7606 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7607 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7608 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7609 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7610 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7611 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7612 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7613 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7618 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7619 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7620 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7621 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7622 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7623 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7624 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7625 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7627 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7628 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7629 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7630 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7632 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7634 * math/Versions (GLIBC_2.29): Add exp and exp2.
7635 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7636 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7637 * math/w_exp_compat.c (__exp_compat): Likewise.
7638 * math/w_exp.c: New file.
7639 * math/w_exp2.c: New file.
7640 * sysdeps/i386/fpu/w_exp.c: New file.
7641 * sysdeps/i386/fpu/w_exp2.c: New file.
7642 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7643 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7644 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7645 and add necessary aliases.
7646 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7647 and add necessary aliases.
7648 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7649 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7650 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7651 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7652 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7653 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7654 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7655 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7656 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7657 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7658 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7659 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7660 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7661 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7662 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7663 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7664 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7669 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7670 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7671 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7672 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7673 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7674 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7675 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7676 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7677 (__ieee754_exp): Rename to __exp.
7678 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7679 (__ieee754_exp): Rename to __exp.
7680 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7681 (__ieee754_exp): Rename to __exp.
7682 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7684 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7686 2018-11-20 DJ Delorie <dj@redhat.com>
7688 * malloc/malloc.c (tcache_entry): Add key field.
7689 (tcache_put): Set it.
7690 (tcache_get): Likewise.
7691 (_int_free): Check for double free in tcache.
7692 * malloc/tst-tcfree1.c: New.
7693 * malloc/tst-tcfree2.c: New.
7694 * malloc/Makefile: Run the new tests.
7695 * manual/probes.texi: Document memory_tcache_double_free probe.
7697 * dlfcn/dlerror.c (check_free): Prevent double frees.
7699 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7701 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7703 2018-11-20 Joseph Myers <joseph@codesourcery.com>
7705 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7706 in tests. Use names for format arguments.
7707 (ConstantTest.run): Likewise.
7708 (SymbolTest.run): Likewise.
7709 (TypeTest.run): Likewise.
7710 (TagTest.run): Likewise.
7711 (FunctionTest.run): Likewise.
7712 (VariableTest.run): Likewise.
7713 (MacroFunctionTest.run): Likewise.
7714 (MacroStrTest.run): Likewise.
7715 (HeaderTests.__init__): Set self.num_tests.
7716 (HeaderTests.handle_test_line): Set test.num. Increment
7719 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7721 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7722 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7725 2018-11-19 Mao Han <han_mao@c-sky.com>
7727 * scripts/config.guess: Update to version 2018-08-29.
7728 * scripts/config.sub: Update to version 2018-08-29.
7730 2018-11-19 Florian Weimer <fweimer@redhat.com>
7732 support: Print timestamps in timeout handler.
7733 * support/support_test_main.c (print_timestamp): New function.
7734 (signal_handler): Use it to print the termination time and the
7735 time of the last write to standard output.
7737 2018-11-16 Zack Weinberg <zackw@panix.com>
7738 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7740 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7741 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7743 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7744 and add flags argument. Check flags instead of __ldbl_is_dbl when
7745 deciding whether to set is_long_double.
7746 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7747 passing zero for flags argument.
7748 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7750 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7751 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7752 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7753 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7754 variable names. Remove libc_hidden_def/libc_hidden_proto from
7755 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7756 longer called from within the library.
7757 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7758 for __nldbl___vstrfmon_l, declare it explicitly.
7760 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7762 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7764 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7766 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7767 F_SETLK64, F_SETLKW64, respectively.
7768 * sysdeps/mach/hurd/f_setlk.c: New file.
7769 * sysdeps/mach/hurd/f_setlk.h: New file.
7770 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7772 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7773 (__libc_fcntl): Move non-flock operations to...
7774 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7775 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7777 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7779 mktime: DEBUG_MKTIME cleanup
7780 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7781 And it’s no longer needed now that glibc and Gnulib both have
7782 their own testing mechanisms for mktime.
7783 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7785 mktime: fix non-EOVERFLOW errno handling
7787 mktime was not properly reporting failures when the underlying
7788 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7789 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7790 The problem could happen on non-glibc platforms, with Gnulib.
7791 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7792 (tm_diff): ... this simpler function, which does not change errno.
7793 All callers changed to deal with errno themselves.
7794 (ranged_convert, __mktime_internal): Return failure immediately if
7795 the underlying function reports any failure other than EOVERFLOW.
7796 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7799 mktime: fix bug with Y2038 DST transition
7801 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7802 mishandle a DST transition that jumps over the Y2038 boundary.
7803 No such DST transitions are known so this is only a theoretical
7804 bug, but we might as well do things right.
7806 mktime: make more room for overflow
7808 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7809 This is so that we can add tm_diff results to a previous guess,
7810 which will be useful in a later patch.
7812 mktime: simplify offset guess
7814 * time/mktime.c (__mktime_internal): Omit excess precision.
7816 mktime: new test for mktime failure
7818 Based on a test suggested by Albert Aribaud in:
7819 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7820 * time/Makefile (tests): Add bug-mktime4.
7821 * time/bug-mktime4.c: New file.
7823 mktime: fix EOVERFLOW bug
7825 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7826 Include libc-config.h, not config.h, for __set_errno.
7827 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7829 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7831 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7832 __attribute_copy__ to copy attributes from name. Drop static qualifier
7833 to avoid warnings about leaf attribute not having effect on static
7836 2018-11-13 Florian Weimer <fweimer@redhat.com>
7838 * malloc/malloc.c (fastbin_push_entry): New function.
7839 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7840 (REMOVE_FB): Remove macro.
7841 (_int_malloc): Use fastbin_pop_entry and reindent.
7842 (_int_free): Use fastbin_push_entry.
7843 (malloc_consolidate): Use atomic_exchange_acquire.
7845 2018-11-13 Joseph Myers <joseph@codesourcery.com>
7847 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7848 alias attribute, not with strong_alias.
7850 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7851 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7852 with additional parameter thread.
7853 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7854 in terms of __hidden_ver2.
7855 (hidden_tls_def): New macro.
7856 (libc_hidden_tls_def): Likewise.
7857 (rtld_hidden_tls_def): Likewise.
7858 (libm_hidden_tls_def): Likewise.
7859 (libmvec_hidden_tls_def): Likewise.
7860 (libresolv_hidden_tls_def): Likewise.
7861 (librt_hidden_tls_def): Likewise.
7862 (libdl_hidden_tls_def): Likewise.
7863 (libnss_files_hidden_tls_def): Likewise.
7864 (libnsl_hidden_tls_def): Likewise.
7865 (libnss_nisplus_hidden_tls_def): Likewise.
7866 (libutil_hidden_tls_def): Likewise.
7867 (libutil_hidden_tls_def): Likweise.
7868 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7869 libc_hidden_tls_def.
7870 (__sim_disabled_exceptions_thread): Likewise.
7871 (__sim_round_mode_thread): Likewise.
7873 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7874 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7875 copy attributes from name.
7877 2018-11-12 Joseph Myers <joseph@codesourcery.com>
7879 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7880 Use __attribute_copy__ to copy attributes from name.
7882 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7883 with __hidden_ver1 call.
7884 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7885 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7886 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7887 (__cosf): Do not declare here.
7888 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7889 (__sincosf): Do not declare here.
7890 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7891 (__sinf): Do not declare here.
7893 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7894 (__BIG_ENDIAN): Likewise.
7895 (__BYTE_ORDER): Likewise.
7896 (strong_alias): Likewise.
7897 (_strong_alias): Likewise.
7899 2018-11-12 Florian Weimer <fweimer@redhat.com>
7901 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7902 function. Move after the definition of in_smallbin_range. Do not
7903 use __builtin_expect for paths that lead to a noreturn function.
7904 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7905 because it is unclear whether this is in fact an unlikely
7907 (_int_malloc, _int_free): Adjust.
7908 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7910 * malloc/arena.c (heap_trim): Likewise.
7912 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7914 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7915 it, free it if needed.
7916 (reauthenticate): Test and use ccwdir.
7917 (child_init_port): In non-resetids case, test and use ccwdir.
7918 (child_chdir): New nested function to set ccwdir.
7919 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7920 * hurd/hurd/port.h (_hurd_port_move): New function.
7921 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7922 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
7923 * hurd/Versions (_hurd_port_move): Export function.
7924 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7926 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7927 of dtablesize for allocating dtable_cloexec.
7929 2018-11-09 Martin Sebor <msebor@redhat.com>
7931 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7932 it's already defined.
7933 (_strong_alias): Use __attribute_copy__.
7934 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7935 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7936 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7937 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7938 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7939 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7940 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7941 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7942 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7943 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7944 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7945 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7946 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7947 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7948 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7949 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7950 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7951 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7952 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7954 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7956 * misc/tst-efgcvt.c: Include support/check.h and
7957 support/test-driver.c. Do not include test-skeleton.c.
7958 (error_count): Remove.
7959 (output_error): Replace increments to error_count with calls to
7960 support_record_failure.
7961 (output_r_error): Likewise.
7962 (special): Likewise.
7963 (do_test): Unconditionally return zero.
7964 (TEST_FUNCTION): Remove.
7966 2018-11-09 Joseph Myers <joseph@codesourcery.com>
7968 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7970 ($(linknamespace-header-tests)): Likewise.
7972 * conform/conformtest.py: New file.
7973 * conform/conformtest.pl: Remove.
7974 * conform/GlibcConform.pm: Likewise.
7975 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7976 (KEYWORDS_C99): Likewise.
7977 (KEYWORDS): Likewise.
7978 * conform/Makefile ($(conformtest-header-tests)): Use
7979 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7980 option. Use --header instead of --headers.
7981 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7983 * conform/data/spawn.h-data: Likewise.
7984 * conform/data/fcntl.h-data (openat): Add space after function
7986 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7987 (wcscasecmp_l): Likewise.
7988 * conform/data/termios.h-data (c_cc): Add space after element
7991 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7993 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7994 instead of manually comparing and reporting mismatching strings.
7995 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7996 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7998 2018-11-08 Joseph Myers <joseph@codesourcery.com>
8000 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
8001 __ASSUME_SOCKETCALL.
8002 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8003 (__ASSUME_SOCKETCALL): Remove.
8004 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8005 (__ASSUME_SOCKETCALL): Likewise.
8006 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8007 (__ASSUME_SOCKETCALL): Likewise.
8008 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8009 (__ASSUME_SOCKETCALL): Likewise.
8010 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8011 (__ASSUME_SOCKETCALL): Likewise.
8012 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8013 (__ASSUME_SOCKETCALL): Likewise.
8014 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8015 (__ASSUME_SOCKETCALL): Likewise.
8017 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
8020 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
8021 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
8022 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
8023 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
8024 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
8027 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
8030 * resolv/tst-resolv-network.c: Add test for getnetbyname.
8032 2018-11-07 Joseph Myers <joseph@codesourcery.com>
8035 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8036 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8037 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8038 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8040 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8042 * support/support_test_compare_string.c
8043 (support_test_compare_string): Fix printf format.
8045 2018-11-07 Florian Weimer <fweimer@redhat.com>
8047 Implement TEST_COMPARE_STRING.
8048 * support/check.h (TEST_COMPARE_STRING): Define.
8049 (support_test_compare_string): Declare.
8050 * support/Makefile (libsupport-routines): Add
8051 support_test_compare_string.
8052 (tests): Add tst-test_compare_string.
8053 * support/support_test_compare_string.c: New file.
8054 * support/tst-test_compare_string.c: Likewise.
8056 2018-11-07 Andreas Schwab <schwab@suse.de>
8059 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
8060 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
8063 2018-11-06 Joseph Myers <joseph@codesourcery.com>
8066 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8067 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
8068 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
8069 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
8072 2018-11-06 Florian Weimer <fweimer@redhat.com>
8075 * posix/Makefile (routines): Add spawn_faction_addchdir.
8076 (tests): Add tst-spawn-chdir.
8077 * posix/Versions (GLIBC_2.29): Add
8078 posix_spawn_file_actions_addchdir_np.
8079 * posix/spawn_faction_addchdir.c: New file.
8080 * posix/spawn_faction_destroy.c
8081 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
8082 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
8083 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
8085 * posix/tst-spawn-chdir.c: New file.
8086 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
8087 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8088 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8089 posix_spawn_file_actions_addchdir_np.
8090 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8092 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8094 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8095 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8097 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8099 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8101 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8103 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8105 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8107 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8108 (GLIBC_2.29): Likewise.
8109 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8110 (GLIBC_2.29): Likewise.
8111 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8112 (GLIBC_2.29): Likewise.
8113 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8114 (GLIBC_2.29): Likewise.
8115 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8118 (GLIBC_2.29): Likewise.
8119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8120 (GLIBC_2.29): Likewise.
8121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8122 (GLIBC_2.29): Likewise.
8123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8124 (GLIBC_2.29): Likewise.
8125 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8127 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8129 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8131 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8132 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8134 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8136 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8138 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8141 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8143 * misc/Makefile (tests): Add tst-ldbl-error.
8144 * misc/tst-ldbl-error.c: New file.
8146 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8148 * misc/Makefile (tests): Add tst-ldbl-warn.
8149 * misc/tst-ldbl-warn.c: New file.
8151 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8153 * argp/Makefile (tests): Add tst-ldbl-argp.
8154 * argp/tst-ldbl-argp.c: New file.
8156 2018-11-05 Arjun Shankar <arjun@redhat.com>
8158 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
8159 __gconv_path_elem and call __gconv_get_path unconditionally.
8161 2018-11-05 Andreas Schwab <schwab@suse.de>
8164 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
8165 creating the first helper thread failed.
8167 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8169 * sysdeps/mach/hurd/msync.c: New file.
8171 2018-11-02 Florian Weimer <fweimer@redhat.com>
8173 * support/shell-container.c (copy_func): Call
8174 support_copy_file_range instead of copy_file_range to support
8175 cross-device copies.
8177 2018-11-02 Florian Weimer <fweimer@redhat.com>
8179 * support/test-container.c: Include <libc-pointer-arith.h> for
8182 2018-11-01 Zong Li <zong@andestech.com>
8184 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
8185 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
8186 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
8187 (__FP_FRAC_SET_8): Add implementation for RV32 use.
8189 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
8190 variable to avoid overlap arguments.
8192 2018-11-01 Joseph Myers <joseph@codesourcery.com>
8194 * posix/bug-regex22.c (main): Use puts with distinct error
8195 messages for unexpected success of re_compile_pattern, not printf
8196 with NULL argument to %s.
8198 * stdio-common/bug22.c: Include <libc-diag.h>.
8199 (do_test): Disable -Wformat-overflow= warnings around fprintf
8200 calls outputting more than INT_MAX characters.
8201 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
8202 around printf call with NULL %s argument.
8205 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
8206 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
8208 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8209 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8210 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8211 (__ASSUME_SENDTO_SYSCALL): Likewise.
8212 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8213 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
8215 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8216 (__ASSUME_CONNECT_SYSCALL): Likewise.
8217 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8218 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8219 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
8221 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
8223 [__LINUX_KERNEL_VERSION >= 0x040400]
8224 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8225 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
8228 (setsockopt): Likewise.
8230 2018-11-01 Fredrik Noring <noring@nocrew.org>
8232 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
8233 with the ISA override.
8235 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
8237 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
8240 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8242 * manual/errno.texi (EIEIO): Document how translators should
8243 translate the error message.
8244 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
8245 printing trailing whitespaces refused by git.
8246 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
8247 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8248 * hurd/Makefile (user-interfaces): Add pci.
8250 2018-10-30 Joseph Myers <joseph@codesourcery.com>
8252 * conform/linknamespace.py: New file.
8253 * conform/linknamespace.pl: Remove file.
8254 * conform/Makefile ($(linknamespace-header-tests)): Use
8255 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
8258 2018-10-30 Florian Weimer <fweimer@redhat.com>
8260 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
8263 2018-10-30 Florian Weimer <fweimer@redhat.com>
8265 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
8267 2018-10-30 Florian Weimer <fweimer@redhat.com>
8269 * stdlib/tst-strtod-overflow.c (do_test): Switch to
8270 support_blob_repeat.
8272 2018-10-30 Florian Weimer <fweimer@redhat.com>
8274 Avoid spurious test failures in stdlib/test-bz22786.
8275 * support/Makefile (libsupport-routines): Add blob_repeat.
8276 (tests): Add tst-support_blob_repeat.
8277 * support/blob_repeat.h: New file.
8278 * support/blob_repeat.c: Likewise.
8279 * support/tst-support_blob_repeat.c: Likewise.
8280 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
8281 support_blob_repeat_allocate.
8283 2018-10-30 Andreas Schwab <schwab@suse.de>
8286 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
8287 Don't use tail call.
8288 * elf/tst-unwind-main.c: New file.
8289 * elf/Makefile (tests): Add tst-unwind-main.
8290 (CFLAGS-tst-unwind-main.c): Define.
8292 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
8295 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
8297 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
8299 2018-10-29 Joseph Myers <joseph@codesourcery.com>
8301 * conform/glibcconform.py: Do not import shutil.
8302 (list_exported_functions): Use tempfile.TemporaryDirectory instead
8305 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
8306 critic_missing for versions before 3.4.
8307 * configure: Regenerated.
8308 * manual/install.texi (Tools for Compilation): Document
8309 requirement for Python to build glibc.
8310 * INSTALL: Regenerated.
8311 * Rules [PYTHON]: Make code unconditional.
8312 * benchtests/Makefile [PYTHON]: Likewise.
8313 * conform/Makefile [PYTHON]: Likewise.
8314 * manual/Makefile [PYTHON]: Likewise.
8315 * math/Makefile [PYTHON]: Likewise.
8317 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8319 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
8320 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
8321 answer to interrupt_operation, return EIEIO instead of EINTR.
8322 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8323 _hurd_intr_rpc_msg_about_to global point to start of controlled
8324 assembly snippet. Make it check canceled flag.
8325 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8326 the _hurd_intr_rpc_msg_about_to point.
8327 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8328 issue, remove cancel flag check.
8330 2018-10-26 Joseph Myers <joseph@codesourcery.com>
8332 * scripts/build-many-glibcs.py: Remove compatibility for missing
8333 os.cpu_count and re.fullmatch.
8335 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8338 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8339 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8340 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8342 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8344 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8347 2018-10-25 Florian Weimer <fweimer@redhat.com>
8351 XFAIL siginfo_t si_band conform test on sparc64.
8352 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8353 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8354 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8355 (conformtest-xfail-conds): Add sparc64-linux.
8356 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8358 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8360 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8362 * elf/elf.h (NT_MIPS_DSP): New macro.
8363 (NT_MIPS_FP_MODE): Likewise.
8365 2018-10-25 Zong Li <zong@andestech.com>
8367 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8368 name by adding the file extension (.so).
8370 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8372 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8373 (test-xfail-ISO11/threads.h/linknamespace,
8374 test-xfail-ISO11/threads.h/conform): Add.
8376 2018-10-24 Joseph Myers <joseph@codesourcery.com>
8378 * math/gen-libm-test.py: Import os.
8379 (ALL_FLOATS_MANUAL): New constant.
8380 (ALL_FLOATS_SUFFIX): Likewise.
8381 (Ulps.all_functions): New function.
8382 (real_all_ulps): Likewise.
8383 (generate_err_table_sub): Likewise.
8384 (generate_err_table): Likewise.
8385 (main): Handle -s and -m options.
8386 * manual/libm-err-tab.pl: Remove.
8387 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8388 instead of libm-err-tab.pl.
8389 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8391 * manual/install.texi (Tools for Compilation): Document
8392 requirement for Python to build manual.
8393 * INSTALL: Regenerated.
8395 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8397 * bits/time64.h: New file.
8398 * include/time.h: Replace internal_time_t with __time64_t.
8399 * posix/bits/types (__time64_t): Add.
8400 * stdlib/Makefile: Add bits/time64.h to includes.
8401 * time/tzfile.c: Replace internal_time_t with __time64_t.
8403 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8405 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8406 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8407 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8408 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8409 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8411 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8412 * posix/spawn_faction_addclose.c
8413 (__posix_spawn_file_actions_addclose): Add hidden definition.
8414 * posix/spawn_faction_adddup2.c
8415 (__posix_spawn_file_actions_adddup2): Likewise.
8416 * posix/spawn_faction_destroy.c
8417 (__posix_spawn_file_actions_destroy): Likewise.
8418 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8420 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8421 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8422 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8424 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8425 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8428 2018-10-24 Andreas Schwab <schwab@suse.de>
8431 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8433 * elf/cache.c (print_cache): Likewise.
8435 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8437 * bits/timesize.h: New file.
8438 * stdlib/Makefile (headers): Add bits/timesize.h.
8439 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8440 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8441 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8442 (__SEM_PAD_AFTER_TIME): Likewise.
8443 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8444 (__SHM_PAD_AFTER_TIME): Likewise.
8445 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8446 (__MSQ_PAD_BEFORE_TIME): Likewise.
8447 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8448 (__SEM_PAD_BEFORE_TIME): Likewise.
8449 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8450 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8451 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
8452 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8453 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8454 (__MSQ_PAD_BEFORE_TIME): Likewise.
8455 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8456 (__SEM_PAD_BEFORE_TIME): Likewise.
8457 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8458 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8459 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8460 (__MSQ_PAD_BEFORE_TIME): Likewise.
8461 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8462 (__SEM_PAD_BEFORE_TIME): Likewise.
8463 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8464 (__SHM_PAD_BEFORE_TIME): Likewise.
8465 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8466 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8467 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8469 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8471 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8472 USE_RDTSCP is defined.
8473 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8474 USE_RDTSCP is defined.
8476 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8478 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8482 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8483 independently of other flags.
8485 2018-10-23 Florian Weimer <fweimer@redhat.com>
8487 * time/tst-mktime2.c (N_STRINGS): Remove.
8488 (set_timezone): New function.
8489 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8490 (mktime_test1): Report localtime failure and check errno value.
8492 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8493 (do_test): Remove alarm call. Use set_timezone and array_length.
8495 2018-10-23 Andreas Schwab <schwab@suse.de>
8497 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8498 (__start_context): Use END instead of PSEUDO_END.
8500 2018-10-22 Joseph Myers <joseph@codesourcery.com>
8502 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8505 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8509 * wcsmbs/c32rtomb.c: New file.
8510 * wcsmbs/mbrtoc32.c: Likewise.
8511 * wcsmbs/tst-c32-state.c: Likewise.
8512 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8513 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8514 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8515 (tests): Add tst-c32-state.
8516 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8519 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8521 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8522 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8524 2018-10-19 Joseph Myers <joseph@codesourcery.com>
8527 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8528 pair and return 0 in that case, and use saved character to
8529 interpret following character.
8530 * wcsmbs/tst-c16-surrogate.c: New file.
8531 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8532 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8533 Depend on $(gen-locales)
8535 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8538 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8539 (struct siginfo_t): Use correct type for si_band.
8541 2018-10-19 Florian Weimer <fweimer@redhat.com>
8544 * resource/bits/types/struct_rusage.h (struct rusage): Update
8545 comment on struct. Remove extraneous field comment.
8547 2018-10-18 David S. Miller <davem@davemloft.net>
8549 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8550 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8551 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8552 sysdep_routines in subdir elf.
8553 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8554 version for __vdso_clock_gettime.
8555 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8557 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8558 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8560 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8562 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8564 * sysdeps/i386/init-arch.h: Removed.
8565 * sysdeps/i386/i586/init-arch.h: Likewise.
8566 * sysdeps/i386/i686/init-arch.h: Likewise.
8567 * sysdeps/i386/i686/hp-timing.h: Likewise.
8568 * sysdeps/x86_64/hp-timing.h: Likewise.
8569 * sysdeps/i386/isa.h: New file.
8570 * sysdeps/i386/i586/isa.h: Likewise.
8571 * sysdeps/i386/i686/isa.h: Likewise.
8572 * sysdeps/x86_64/isa.h: Likewise.
8573 * sysdeps/x86/hp-timing.h: New file.
8574 * sysdeps/x86/init-arch.h: Include <isa.h>.
8576 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8578 * math/libm-test-pow.inc (pow_test_data): Do not allow
8579 divide-by-zero exception for pow(+/- 0, -Inf).
8581 2018-10-17 Zack Weinberg <zackw@panix.com>
8583 * manual/job.texi (Job Control is Optional): Remove node, as
8584 job control has not been optional in quite some time.
8585 (Job Control): Mention briefly that systems older than
8586 POSIX.1-2001 might not support job control.
8587 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8588 defined on systems conforming to POSIX.1-2001.
8590 2018-10-17 Arjun Shankar <arjun@redhat.com>
8593 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8595 * (__gconv_read_conf): Mark function static.
8596 * (once): New static variable.
8597 * (__gconv_load_conf): New function.
8598 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8599 * iconv/gconv_db.c (once): Remove static variable.
8600 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8602 * (__gconv_find_transform): Likewise.
8603 * iconv/tst-iconv-mt.c: New test.
8604 * iconv/Makefile: Add tst-iconv_mt.
8606 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8610 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8611 (shmatt_t): Define as __syscall_ulong_t.
8612 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8613 and [__SHM_PAD_AFTER_TIME].
8614 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8615 Define shm_segsz and associated padding based on
8616 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8617 Use __syscall_ulong_t instead of unsigned long int.
8618 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8620 [__USE_MISC] (struct shm_info): Likewise.
8621 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8622 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8623 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8624 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8625 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8626 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8627 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8628 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8629 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8630 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8631 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8635 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8636 (SHMLBA): Remove macro.
8637 (__getpagesize): Remove function declaration.
8638 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8640 (SHMLBA): Remove macro.
8641 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8643 (SHMLBA): Remove macro.
8644 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8646 (SHMLBA): Remove macro.
8647 (__getpagesize): Remove function declaration.
8648 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8650 (SHMLBA): Remove macro.
8651 (__getshmlba): Remove function declaration.
8652 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8653 (SHMLBA): Remove macro.
8654 (__getpagesize): Remove function declaration.
8655 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8656 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8657 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8658 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8659 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8660 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8661 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8662 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8663 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8664 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8666 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
8669 * nptl/tst-mutex10.c: New File.
8670 * nptl/Makefile (tests): Add tst-mutex10.
8671 (tst-mutex10-ENV): New variable.
8672 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8673 Ensure that elision path is used if elision is available.
8674 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8676 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8678 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8679 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8680 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8681 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8683 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8684 (__pthread_mutex_cond_lock_adjust): Likewise.
8685 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8687 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8688 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8689 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8690 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8692 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8693 Use atomic_load_relaxed and atomic_store_relaxed.
8694 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8695 Use atomic_store_relaxed.
8697 2018-10-17 Andreas Schwab <schwab@suse.de>
8699 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8700 * crypt/badsalttest.c (TIMEOUT): Likewise.
8701 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8702 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8703 * io/test-lfs.c (TIMEOUT): Likewise.
8704 * libio/tst-atime.c (TIMEOUT): Likewise.
8705 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8706 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8707 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8708 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8709 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8710 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8711 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8712 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8713 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8714 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8715 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8716 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8717 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8718 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8719 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8720 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8721 * nptl/tst-once2.c (TIMEOUT): Likewise.
8722 * nptl/tst-once3.c (TIMEOUT): Likewise.
8723 * nptl/tst-once4.c (TIMEOUT): Likewise.
8724 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8725 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8726 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8727 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8728 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8729 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8730 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8731 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8732 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8733 * posix/tst-chmod.c (TIMEOUT): Likewise.
8734 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8735 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8736 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8737 * posix/tst-regex2.c (TIMEOUT): Likewise.
8738 * posix/tst-waitid.c (TIMEOUT): Likewise.
8739 * rt/tst-aio.c (TIMEOUT): Likewise.
8740 * rt/tst-aio10.c (TIMEOUT): Likewise.
8741 * rt/tst-aio4.c (TIMEOUT): Likewise.
8742 * rt/tst-aio5.c (TIMEOUT): Likewise.
8743 * rt/tst-aio6.c (TIMEOUT): Likewise.
8744 * rt/tst-aio64.c (TIMEOUT): Likewise.
8745 * rt/tst-aio7.c (TIMEOUT): Likewise.
8746 * rt/tst-aio9.c (TIMEOUT): Likewise.
8747 * rt/tst-clock.c (TIMEOUT): Likewise.
8748 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8749 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8750 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8751 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8752 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8753 * rt/tst-timer4.c (TIMEOUT): Likewise.
8754 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8755 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8756 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8757 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8758 * time/tst-ftime.c (TIMEOUT): Likewise.
8759 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8761 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
8763 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8764 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8767 2018-10-15 Joseph Myers <joseph@codesourcery.com>
8769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8771 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8772 instead of <bits/wordsize.h>.
8773 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8774 and [__SEM_PAD_AFTER_TIME].
8775 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8776 __syscall_ulong_t instead of unsigned long int.
8777 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8778 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8779 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8780 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8781 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8782 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8783 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8784 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8785 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8786 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8787 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8789 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8791 regex: simplify by using intprops.h
8793 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8794 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8795 intprops.h defines them.
8797 regex: __builtin_expect → __glibc_unlikely
8799 This refactoring was prompted by a problem when the regex code is
8800 used as part of Gnulib and when the builder’s compiler does not grok
8801 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8802 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8803 Although this refactoring does not fix the problem directly,
8804 we might as well have Gawk use the now-preferred glibc style for when
8805 __builtin_expect is unavailable.
8806 * posix/regex_internal.h (BE): Remove.
8807 All uses replaced by __glibc_unlikely or __glibc_likely.
8809 2018-10-11 Joseph Myers <joseph@codesourcery.com>
8811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8813 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8814 instead of <bits/wordsize.h>.
8815 (msgqnum_t): Define as __syscall_ulong_t.
8816 (msglen_t): Likewise.
8817 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8818 and [__MSQ_PAD_AFTER_TIME].
8819 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8820 __syscall_ulong_t instead of unsigned long int.
8821 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8822 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8823 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8824 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8825 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8826 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8827 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8828 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8829 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8830 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8831 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8833 2018-10-10 Joseph Myers <joseph@codesourcery.com>
8835 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8836 (struct shmid_ds): Condition padding after time fields on
8838 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8839 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8840 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8842 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8843 (struct semid_ds): Condition padding after time fields on
8845 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8846 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8847 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8848 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8850 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8851 (struct msqid_ds): Condition padding after time fields on
8853 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8854 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8855 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8856 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8858 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8860 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8862 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8864 * libio/tst-readline.c (TIMEOUT): Define.
8866 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8868 mktime fix for Gnulib + coreutils
8870 This fix affects only Gnulib. Problem discovered when
8871 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8873 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8874 Do not define since it is not used. Defining an unused static
8875 function prompts a warning from GCC when Coreutils is configured
8876 with --enable-gcc-warnings.
8878 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8880 * benchtests/scripts/compare_bench.py (main): set float type on
8883 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8886 * localedata/locales/kl_GL (mon): Update, the relative case.
8887 (alt_mon): Add, fill with month names in the nominative case.
8888 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8889 (d_fmt): Set to "%b %d %Y".
8891 2018-10-04 Joseph Myers <joseph@codesourcery.com>
8893 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8894 <bits/mman-linux.h>.
8895 (PROT_READ): Don't define here.
8896 (PROT_WRITE): Likewise.
8897 (PROT_EXEC): Likewise.
8898 (PROT_NONE): Likewise.
8899 (PROT_GROWSDOWN): Likewise.
8900 (PROT_GROWSUP): Likewise.
8901 (MAP_SHARED): Likewise.
8902 (MAP_PRIVATE): Likewise.
8903 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8904 [__USE_MISC] (MAP_FILE): Likewise.
8905 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8906 [__USE_MISC] (MAP_ANON): Likewise.
8907 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8908 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8909 (MCL_CURRENT): Likewise.
8910 (MCL_FUTURE): Likewise.
8911 (MCL_ONFAULT): Likewise.
8912 [__USE_MISC] (MADV_NORMAL): Likewise.
8913 [__USE_MISC] (MADV_RANDOM): Likewise.
8914 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8915 [__USE_MISC] (MADV_WILLNEED): Likewise.
8916 [__USE_MISC] (MADV_DONTNEED): Likewise.
8917 [__USE_MISC] (MADV_FREE): Likewise.
8918 [__USE_MISC] (MADV_REMOVE): Likewise.
8919 [__USE_MISC] (MADV_DONTFORK): Likewise.
8920 [__USE_MISC] (MADV_DOFORK): Likewise.
8921 [__USE_MISC] (MADV_HWPOISON): Likewise.
8922 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8923 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8924 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8925 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8926 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8927 (__MAP_ANONYMOUS): New macro.
8928 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8929 <bits/mman-linux.h> inclusion.
8930 (MAP_FIXED): Likewise.
8931 (MS_SYNC): Likewise.
8932 (MS_ASYNC): Likewise.
8933 (MS_INVALIDATE): Likewise.
8934 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8935 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8936 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8937 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8938 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8939 [__USE_MISC] (MADV_DODUMP): Likewise.
8940 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8941 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8944 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8946 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8947 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8948 Add test-nldbl-redirect.
8949 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8950 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8951 $(objpfx)libnldbl_nonshared.a.
8953 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
8955 * support/support.h (support_objdir_elf_ldso): New variable.
8956 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8957 * support/Makefile (CFLAGS-support_paths.c): Add definition
8958 for OBJDIR_ELF_LDSO_PATH.
8959 * support/test-container.c (main): Search for the ld.so
8960 which is also used by the testsuite.
8962 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8965 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8966 should be "sap" rather than "sab".
8967 (day): Fix spelling of Sunday, should be "sapaat" rather than
8970 2018-10-02 Joseph Myers <joseph@codesourcery.com>
8972 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8974 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8977 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8978 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8979 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8981 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8983 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8985 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8987 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8989 (CFLAGS-elision-unlock.c): Likewise.
8990 (CFLAGS-elision-timed.c): Likewise.
8991 (CFLAGS-elision-trylock.c): Likewise.
8992 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8994 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8997 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8998 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8999 new fd_to_filename interface.
9000 * libio/freopen64.c (freopen64): Likewise.
9001 * libio/tst-memstream.h: New file.
9002 * libio/tst-memstream4.c: Likewise.
9003 * libio/tst-wmemstream4.c: Likewise.
9004 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
9005 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
9006 and remove internal dynamic allocation.
9008 2018-10-01 Joseph Myers <joseph@codesourcery.com>
9010 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
9011 (MREMAP_MAYMOVE): Do not define here.
9012 [__USE_GNU] (MREMAP_FIXED): Likewise.
9013 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
9014 (MREMAP_MAYMOVE): Define here instead.
9015 [__USE_GNU] (MREMAP_FIXED): Likewise.
9016 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
9017 (MREMAP_MAYMOVE): Remove.
9018 [__USE_GNU] (MREMAP_FIXED): Likewise.
9020 2018-09-28 Joseph Myers <joseph@codesourcery.com>
9022 * math/fromfp.h: Do not include <math_private.h>.
9023 * math/s_cacosh_template.c: Likewise.
9024 * math/s_casin_template.c: Likewise.
9025 * math/s_casinh_template.c: Likewise.
9026 * math/s_ccos_template.c: Likewise.
9027 * math/s_cproj_template.c: Likewise.
9028 * math/s_fdim_template.c: Likewise.
9029 * math/s_fmaxmag_template.c: Likewise.
9030 * math/s_fminmag_template.c: Likewise.
9031 * math/s_iseqsig_template.c: Likewise.
9032 * math/s_ldexp_template.c: Likewise.
9033 * math/s_nextdown_template.c: Likewise.
9034 * math/w_log1p_template.c: Likewise.
9035 * math/w_scalbln_template.c: Likewise.
9036 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9037 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9038 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9039 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9040 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
9041 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
9042 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
9043 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
9044 * sysdeps/i386/fpu/s_atanl.c: Likewise.
9045 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
9046 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9047 * sysdeps/i386/fpu/s_fdim.c: Likewise.
9048 * sysdeps/i386/fpu/s_logbl.c: Likewise.
9049 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9050 * sysdeps/i386/fpu/s_significandl.c: Likewise.
9051 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
9052 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
9053 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9054 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9055 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9056 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9057 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9058 * sysdeps/ieee754/k_standardf.c: Likewise.
9059 * sysdeps/ieee754/k_standardl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9061 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9062 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9064 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9068 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9069 * sysdeps/ieee754/s_signgam.c: Likewise.
9070 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9071 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
9072 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
9073 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9074 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9075 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9076 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9077 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9078 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9079 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9080 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9081 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9082 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9083 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9084 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9085 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9086 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9087 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9088 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9089 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9090 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9091 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9092 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9093 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9094 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9095 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9096 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9097 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9098 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9099 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9100 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9101 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9102 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9103 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9104 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9105 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9106 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
9108 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9110 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
9113 * sysdeps/i386/dl-cet.c: Removed.
9114 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
9116 (_dl_runtime_profile_shstk): Likewise.
9117 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
9118 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
9120 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9123 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
9124 do_test_with_invalid_iov): New tests.
9125 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
9126 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
9127 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
9129 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9130 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9131 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9133 2018-09-27 Joseph Myers <joseph@codesourcery.com>
9135 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9136 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
9137 (MATH_REDIRECT_BINARY_ARGS): New macro.
9138 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9139 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
9140 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
9142 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9144 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
9145 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9146 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9147 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9148 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
9153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
9155 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
9156 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
9157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
9159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
9161 * sysdeps/generic/math_private_calls.h
9162 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
9163 Do not declare and define as an inline function.
9164 * math/divtc3.c (__divtc3): Use copysign functions instead of
9165 __copysign variants.
9166 * math/multc3.c (__multc3): Likewise.
9167 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
9168 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
9169 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9170 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9172 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9173 (__ieee754_yn): Likewise.
9174 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9175 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
9176 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9177 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9178 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
9180 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9181 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9183 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9185 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9187 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9188 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9190 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9191 (__ieee754_ynf): Likewise.
9192 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9193 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9194 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9195 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9197 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9198 (__ieee754_ynl): Likewise.
9199 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9200 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9201 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9203 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9204 (__ieee754_ynl): Likewise.
9205 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
9206 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9207 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9208 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9210 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9212 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
9213 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9214 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
9215 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9216 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9218 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9219 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
9220 using MATH_REDIRECT.
9221 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
9223 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
9224 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9225 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9226 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
9227 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9228 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9229 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
9231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
9232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
9233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
9234 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9235 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9236 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9237 (round): Redirect to __round.
9238 (__roundl): Call round instead of __round.
9239 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
9241 [_ARCH_PWR5X] (__roundf): Likewise.
9242 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
9243 functions instead of __round variants.
9244 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9245 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9247 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9249 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9251 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
9252 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
9254 (__ieee754_expl): Call roundl instead of __roundl.
9256 2018-09-27 Andreas Schwab <schwab@suse.de>
9259 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
9260 (do_test): Make st1 static.
9262 2018-09-26 Andreas Schwab <schwab@suse.de>
9265 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
9266 * elf/Makefile (tests): Add tst-unwind-ctor.
9267 (modules-names): Add tst-unwind-ctor-lib.
9268 ($(objpfx)tst-unwind-ctor): Depend on
9269 $(objpfx)tst-unwind-ctor-lib.so.
9271 2018-09-26 Joseph Myers <joseph@codesourcery.com>
9273 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
9274 file. Most contents moved from ....
9275 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
9276 and include <bits/mman-map-flags-generic.h>.
9277 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9278 (sysdep_headers): Add bits/mman-map-flags-generic.h.
9279 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
9280 <bits/mman-map-flags-generic.h>.
9281 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
9282 macros defined in <bits/mman-map-flags-generic.h>.
9283 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
9284 <bits/mman-map-flags-generic.h>.
9285 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
9286 defined in <bits/mman-map-flags-generic.h>.
9288 2018-09-26 Andreas Schwab <schwab@suse.de>
9290 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
9293 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
9294 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9295 Fangrui Song <maskray@google.com>
9298 * config.make.in (have-textrel_ifunc): New define.
9299 * configure.ac: Add check if linker supports textrel relocation with
9301 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
9303 (CFLAGS-tst-ifunc-textrel.c): New rule.
9304 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
9305 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
9306 * elf/tst-ifunc-textrel.c: New file.
9308 2018-09-25 Joseph Myers <joseph@codesourcery.com>
9310 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9311 <bits/procfs-prregset.h>.
9312 (prgregset_t): Define using __prgregset_t.
9313 (prfpregset_t): Define using __prfpregset_t.
9314 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9315 (sysdep_headers): Add bits/procfs-prregset.h.
9316 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9317 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9318 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9319 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9321 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9322 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9323 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9325 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9326 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9327 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9328 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9329 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9330 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9331 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9332 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9333 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9334 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9335 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9336 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9337 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9338 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9339 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9340 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9341 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9342 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9343 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9344 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9345 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9346 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9347 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9348 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9350 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9351 AArch64 version. Include <bits/procfs.h>.
9352 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9353 (sysdep_headers): Add bits/procfs.h.
9354 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9355 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9356 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9357 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9358 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9359 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9360 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9361 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9362 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9363 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9364 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9365 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9366 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9367 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9368 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9369 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9370 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9372 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9374 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9377 2018-09-25 Arjun Shankar <arjun@redhat.com>
9379 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9380 (__gconv_max_path_elem_len): Likewise.
9381 (__gconv_nmodules): Likewise.
9382 (__gconv_get_path): Likewise.
9383 (path_elem): Move to ...
9384 * iconv/gconv_conf.c: ... here.
9385 (__gconv_get_path): Mark function static.
9386 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9387 * iconv/gconv_open.c: ... here.
9389 2018-09-24 Andreas Schwab <schwab@suse.de>
9391 * scripts/haveversions.awk: New file.
9392 * Makerules ($(common-objpfx)Versions.def)
9393 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9394 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9396 * Makeconfig ($(common-objpfx)Versions.def)
9397 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9398 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9400 ($(common-objpfx)Versions.mk): New rule. Include it.
9401 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9402 Emit error if build-obsolete-nsl = yes.
9403 * manual/install.texi (Configuring and compiling): Describe
9404 --enable-obsolete-nsl as unavaiable after version 2.28.
9405 * INSTALL: Regenerate.
9407 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9409 * NEWS: Add note about new TLE support on powerpc64le.
9410 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9411 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9413 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9414 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9415 * sysdeps/powerpc/powerpc32/sysdep.h,
9416 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9417 ABORT_TRANSACTION): Remove macros.
9418 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9419 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9420 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9422 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9423 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9425 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9427 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9430 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9431 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9432 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9433 which is the same as in it_IT.
9434 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9435 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9437 2018-09-20 Joseph Myers <joseph@codesourcery.com>
9439 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9440 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9441 using MATH_REDIRECT.
9442 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9444 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9445 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9446 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9447 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9448 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9449 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9454 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9455 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9456 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9457 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9458 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9459 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9460 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9461 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9462 (ceil): Redirect to __ceil.
9463 (floor): Redirect to __floor.
9464 (trunc): Redirect to __trunc.
9465 (__truncl): Call trunc instead of __trunc.
9466 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9468 [_ARCH_PWR5X] (__truncf): Likewise.
9469 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9470 trunc functions instead of __trunc variants.
9471 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9473 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9475 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9477 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9480 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9481 [__i586__ || __pentium__].
9482 [__i486__]: Handle explicitly.
9483 (HAS_CPUID): Define to 1 if above macros are undefined.
9484 (HAS_I586): Likewise.
9485 (HAS_I686): Likewise.
9487 2018-09-20 Florian Weimer <fweimer@redhat.com>
9489 * misc/tst-gethostid.c: New file.
9490 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9491 (tst-gethostid): Link with -ldl.
9493 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9495 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9496 value from gethostbyname_r.
9498 2018-09-19 Carlos O'Donell <carlos@redhat.com>
9500 * stdlib/tst-setcontext9.c (f1): Rename to...
9502 (f1b): New function implementing lower half of f1 in alternate stack.
9504 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9506 Fix mktime localtime offset confusion
9508 * include/time.h (__mktime_internal): The localtime offset is now
9509 of type long int instead of time_t. This is the longstanding type
9510 in glibc, and it is more than enough to represent difference
9511 between localtime and gmtime even if it is 32 bits and time_t is
9512 64. Changing it now will let us avoid an unnecessary change when
9513 time_t is widened to 64 bits on 32-bit platforms.
9514 * time/mktime-internal.h (mktime_offset_t): Now long int.
9516 Merge mktime, timegm from upstream Gnulib
9517 [BZ #23603][BZ #16346]
9518 This fixes some obscure problems with integer overflow.
9519 Although it looks scary, it is almost all a byte-for-byte copy
9520 from Gnulib, and the Gnulib code has been tested reasonably well.
9521 * include/intprops.h: New file, copied from Gnulib.
9522 * include/verify.h, time/mktime-internal.h:
9523 New tiny files, simplified from Gnulib.
9524 * time/mktime.c: Copy from Gnulib. This has the following changes:
9525 Do not include config.h if DEBUG_MKTIME is nonzero.
9526 Include stdbool.h, intprops.h, verify.h.
9527 Include string.h only if needed.
9528 Include stdlib.h on MS-Windows.
9529 Include mktime-internal.h.
9530 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9531 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9532 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9533 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9534 simplify later conditionals; default the others to zero. Use
9535 these conditionals to express only the code needed on the current
9536 platform. In uses of these conditionals, explicitly spell out how
9537 _LIBC affects things, so it’s easier to review from a glibc
9539 (WRAPV): Remove; no longer needed now that we have
9540 systematic overflow checking.
9541 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9542 compartmentalize tzset issues. Move system-dependent tzsettish
9543 code here from mktime.
9544 (verify): Remove; now done by verify.h. All uses changed.
9545 (long_int): Use a more-conservative definition, to avoid
9547 (SHR): Remove, replacing with ...
9548 (shr): New function, which means we needn’t worry about side
9549 effects in args, and conversion analysis is simpler.
9550 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9551 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9552 (time_t_avg, time_t_add_ok): Remove.
9553 (mktime_min, mktime_max): New constants.
9554 (leapyear, isdst_differ): Use bool for booleans.
9555 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9556 Use long_int, not time_t, for mktime differences.
9557 (long_int_avg): New function, replacing time_t_avg.
9558 INT_ADD_WRAPV replaces time_t_add_ok.
9559 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9561 (convert_time): New function.
9562 (ranged_convert): Use it.
9563 (__mktime_internal): Last arg now points to mktime_offset_t, not
9564 time_t. All uses changed. This is a no-op on glibc, where
9565 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9566 offset guess. Directly check for integer overflow instead of
9567 using a heuristic that works only 99.9...% of the time.
9568 Access *OFFSET only once, to avoid an unlikely race if the
9569 compiler delays a load and if this cascades into a signed integer
9571 (mktime): Move tzsettish code to my_tzset, and move
9572 localtime_offset to within mktime so that it doesn’t
9573 need a separate ifdef.
9574 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9575 instead of localtime.
9576 * time/timegm.c: Copy from Gnulib. This has the following changes:
9577 Include mktime-internal.h.
9578 [!_LIBC]: Include config.h and time.h. Do not include
9579 timegm.h or time_r.h. Make __mktime_internal a macro,
9580 and include mktime-internal.h to get its declaration.
9581 (timegm): Temporary is now mktime_offset_t, not time_t.
9582 This affects only Gnulib.
9584 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9587 * string/test-strstr.c (pr23637): New function.
9588 (test_main): Add tests with longer needles.
9589 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9590 * string/strstr.c (AVAILABLE): Likewise.
9592 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9594 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9596 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9598 * NEWS: Mention pow improvements.
9599 * math/Makefile (type-double-routines): Add e_pow_log_data.
9600 * sysdeps/generic/math_private.h (__exp1): Remove.
9601 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9602 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9603 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9605 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9606 (exp_inline): Remove.
9607 (__ieee754_exp): Only single double input is handled.
9608 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9609 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9610 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9611 (__pow_log_data): Define.
9612 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9613 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9614 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9615 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9617 (CFLAGS-e_pow-fma4.c): Likewise.
9619 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9621 Simplify tzfile fstat failure code
9623 * time/tzfile.c (__tzfile_read): Simplify slightly.
9625 Fix tzfile low-memory assertion failure
9627 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9628 when registering time zone abbreviations.
9630 2018-09-18 Joseph Myers <joseph@codesourcery.com>
9632 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9633 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9634 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9635 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9636 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9637 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9638 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9639 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9640 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9642 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9644 (__ceill): Call ceil instead of __ceil.
9645 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9647 (__floorl): Call floor instead of __floor.
9649 2018-09-17 Joseph Myers <joseph@codesourcery.com>
9651 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9652 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9653 using MATH_REDIRECT.
9654 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9656 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9657 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9658 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9659 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9660 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9661 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9662 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9663 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9668 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9669 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9670 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9671 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9672 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9673 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9674 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9676 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9677 functions instead of __ceil variants.
9678 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9679 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9681 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9683 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9684 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9686 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9687 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9690 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9692 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9693 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9694 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9695 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9696 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9697 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9698 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9699 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9700 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9701 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9702 (ILL_BADIADDR): Remove constant.
9703 (TRAP_BRANCH): Likewise.
9704 (TRAP_HWBKPT): Likewise.
9706 2018-09-14 Joseph Myers <joseph@codesourcery.com>
9709 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9710 Remove [_MIPS_SIM = _ABIN32] conditional case.
9711 (struct elf_prpsinfo): Likewise.
9714 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9715 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9716 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9718 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9719 elf_prpsinfo): Likewise.
9720 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9721 elf_prpsinfo): Likewise.
9722 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9725 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9726 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9727 using MATH_REDIRECT.
9728 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9730 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9731 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9732 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9733 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9734 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9735 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9736 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9737 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9738 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9739 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9740 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9741 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9742 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9743 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9744 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9745 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9746 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9747 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9748 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9751 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9752 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9753 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9754 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9755 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9756 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9758 * math/e_scalbf.c (invalid_fn): Likewise.
9759 * math/e_scalbl.c (invalid_fn): Likewise.
9760 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9762 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9764 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9765 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9766 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9768 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9770 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9772 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9773 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9775 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9776 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9778 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9779 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9780 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9781 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9782 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9783 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9784 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9785 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9786 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9787 && !NO_MATH_REDIRECT] (floor): Likewise.
9788 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9790 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9791 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9792 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9793 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9794 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9795 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9796 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9797 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9802 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9803 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9804 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9806 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9807 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9808 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9810 [_ARCH_PWR5X] (__floorf): Likewise.
9811 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9813 [__SSE4_1__] (__floorf): Likewise.
9814 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9815 instead of __floor variants.
9816 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9817 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9818 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9819 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9820 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9821 * math/w_tgamma_compat.c (__tgamma): Likewise.
9822 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9823 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9824 * math/w_tgammal_compat.c (__tgammal): Likewise.
9825 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9826 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9828 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9829 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9830 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9831 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9833 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9834 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9836 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9837 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9839 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9840 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9842 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9843 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9844 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9845 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9846 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9847 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9849 2018-09-12 Joseph Myers <joseph@codesourcery.com>
9851 * elf/Makefile (modules-names-tests): New variable.
9853 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9855 * NEWS: Mention log2 improvements.
9856 * math/Makefile (type-double-routines): Add e_log2_data.
9857 * sysdeps/i386/fpu/e_log2_data.c: New file.
9858 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9859 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9860 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9861 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9862 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9863 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9865 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9867 * NEWS: Mention log improvement.
9868 * math/Makefile (type-double-routines): Add e_log_data.
9869 * sysdeps/i386/fpu/e_log_data.c: New file.
9870 * sysdeps/ia64/fpu/e_log_data.c: New file.
9871 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9872 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9873 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9874 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9875 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9876 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9878 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9879 Xuepeng Guo <xuepeng.guo@intel.com>
9882 * sysdeps/i386/start.S: Include <sysdep.h>
9883 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9884 enabled. Add cfi_undefined (eip).
9886 2018-09-11 Joseph Myers <joseph@codesourcery.com>
9888 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9890 (EXTRACT_WORDS64): Likewise.
9891 (INSERT_WORDS64): Likewise.
9892 (GET_FLOAT_WORD): Likewise.
9893 (SET_FLOAT_WORD): Likewise.
9895 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9897 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9898 build, but not for second build if --full-gcc. Use
9899 --enable-languages=all for second build if --full-gcc.
9900 (get_parser): Add --full-gcc option.
9901 (main): Update call to Context.
9903 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9906 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9907 Single Quotation Mark).
9908 (thousands_sep): Likewise.
9909 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9910 * localedata/locales/it_IT (thousands_sep): Use ".".
9911 (grouping): Use "3;3".
9913 2018-09-10 Joseph Myers <joseph@codesourcery.com>
9915 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9916 x86_64 and i686 configs using --enable-obsolete-rpc
9917 --enable-obsolete-nsl.
9919 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9921 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9923 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9925 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9926 Increment size of new_argv by one.
9928 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9931 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9932 * localedata/locales/ar_IN (d_fmt): Likewise.
9933 * localedata/locales/bhb_IN (d_fmt): Likewise.
9934 * localedata/locales/bho_IN (d_fmt): Likewise.
9935 * localedata/locales/bn_BD (d_fmt): Likewise.
9936 * localedata/locales/bn_IN (d_fmt): Likewise.
9937 * localedata/locales/doi_IN (d_fmt): Likewise.
9938 * localedata/locales/gu_IN (d_fmt): Likewise.
9939 * localedata/locales/hi_IN (d_fmt): Likewise.
9940 * localedata/locales/hne_IN (d_fmt): Likewise.
9941 * localedata/locales/kn_IN (d_fmt): Likewise.
9942 * localedata/locales/mag_IN (d_fmt): Likewise.
9943 * localedata/locales/mai_IN (d_fmt): Likewise.
9944 * localedata/locales/mjw_IN (d_fmt): Likewise.
9945 * localedata/locales/ml_IN (d_fmt): Likewise.
9946 * localedata/locales/mni_IN (d_fmt): Likewise.
9947 * localedata/locales/mr_IN (d_fmt): Likewise.
9948 * localedata/locales/pa_IN (d_fmt): Likewise.
9949 * localedata/locales/raj_IN (d_fmt): Likewise.
9950 * localedata/locales/sat_IN (d_fmt): Likewise.
9951 * localedata/locales/sd_IN (d_fmt): Likewise.
9952 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9953 * localedata/locales/ta_IN (d_fmt): Likewise.
9954 * localedata/locales/ta_LK (d_fmt): Likewise.
9955 * localedata/locales/tcy_IN (d_fmt): Likewise.
9956 * localedata/locales/ur_IN (d_fmt): Likewise.
9958 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9959 * localedata/locales/ks_IN (d_fmt): Likewise.
9960 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9962 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9963 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9964 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9965 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9967 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9969 * NEWS: Mention exp and exp2 improvements.
9970 * math/Makefile (libm-support): Remove t_exp.
9971 (type-double-routines): Add math_err and e_exp_data.
9972 * sysdeps/aarch64/libm-test-ulps: Update.
9973 * sysdeps/arm/libm-test-ulps: Update.
9974 * sysdeps/i386/fpu/e_exp_data.c: New file.
9975 * sysdeps/i386/fpu/math_err.c: New file.
9976 * sysdeps/i386/fpu/t_exp.c: Remove.
9977 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9978 * sysdeps/ia64/fpu/math_err.c: New file.
9979 * sysdeps/ia64/fpu/t_exp.c: Remove.
9980 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9981 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9982 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9983 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9984 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9985 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9986 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9987 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9988 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9989 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9990 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9991 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9992 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9993 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9997 2018-09-05 Joseph Myers <joseph@codesourcery.com>
9999 * sysdeps/alpha/fpu/math_private.h: Remove.
10001 * sysdeps/generic/math_private.h
10002 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
10003 Move this inline function ....
10004 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
10005 * include/math.h [!_ISOMAC]: To here....
10007 2018-09-04 Joseph Myers <joseph@codesourcery.com>
10009 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
10011 [!FE_HAVE_ROUNDING_MODES]: And this code ....
10012 * include/fenv.h [!_ISOMAC]: ... to here.
10013 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
10014 (feraiseexcept): Likewise.
10015 * math/fromfp.h: Do not include <fenv_private.h>.
10016 * math/s_cexp_template.c: Likewise.
10017 * math/s_csin_template.c: Likewise.
10018 * math/s_csinh_template.c: Likewise.
10019 * math/s_ctan_template.c: Likewise.
10020 * math/s_ctanh_template.c: Likewise.
10021 * math/s_iseqsig_template.c: Likewise.
10022 * math/w_acos_compat.c: Likewise.
10023 * math/w_acosf_compat.c: Likewise.
10024 * math/w_acosl_compat.c: Likewise.
10025 * math/w_asin_compat.c: Likewise.
10026 * math/w_asinf_compat.c: Likewise.
10027 * math/w_asinl_compat.c: Likewise.
10028 * math/w_j0_compat.c: Likewise.
10029 * math/w_j0f_compat.c: Likewise.
10030 * math/w_j0l_compat.c: Likewise.
10031 * math/w_j1_compat.c: Likewise.
10032 * math/w_j1f_compat.c: Likewise.
10033 * math/w_j1l_compat.c: Likewise.
10034 * math/w_jn_compat.c: Likewise.
10035 * math/w_jnf_compat.c: Likewise.
10036 * math/w_log10_compat.c: Likewise.
10037 * math/w_log10f_compat.c: Likewise.
10038 * math/w_log10l_compat.c: Likewise.
10039 * math/w_log2_compat.c: Likewise.
10040 * math/w_log2f_compat.c: Likewise.
10041 * math/w_log2l_compat.c: Likewise.
10042 * math/w_log_compat.c: Likewise.
10043 * math/w_logf_compat.c: Likewise.
10044 * math/w_logl_compat.c: Likewise.
10045 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10046 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10047 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10048 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10049 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10050 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10051 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10052 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10053 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10054 * sysdeps/ieee754/k_standardl.c: Likewise.
10055 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10056 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10057 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10058 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10059 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10060 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10061 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10062 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10063 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10064 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10065 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10066 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10067 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10068 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10069 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10070 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10071 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10072 * math/w_ilogb_template.c: Include <fenv.h> instead of
10074 * math/w_llogb_template.c: Likewise.
10075 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10076 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10078 2018-09-03 Joseph Myers <joseph@codesourcery.com>
10080 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
10081 * math/fromfp.h: Include <fenv_private.h>.
10082 * math/math-narrow.h: Likewise.
10083 * math/s_cexp_template.c: Likewise.
10084 * math/s_csin_template.c: Likewise.
10085 * math/s_csinh_template.c: Likewise.
10086 * math/s_ctan_template.c: Likewise.
10087 * math/s_ctanh_template.c: Likewise.
10088 * math/s_iseqsig_template.c: Likewise.
10089 * math/w_acos_compat.c: Likewise.
10090 * math/w_acosf_compat.c: Likewise.
10091 * math/w_acosl_compat.c: Likewise.
10092 * math/w_asin_compat.c: Likewise.
10093 * math/w_asinf_compat.c: Likewise.
10094 * math/w_asinl_compat.c: Likewise.
10095 * math/w_ilogb_template.c: Likewise.
10096 * math/w_j0_compat.c: Likewise.
10097 * math/w_j0f_compat.c: Likewise.
10098 * math/w_j0l_compat.c: Likewise.
10099 * math/w_j1_compat.c: Likewise.
10100 * math/w_j1f_compat.c: Likewise.
10101 * math/w_j1l_compat.c: Likewise.
10102 * math/w_jn_compat.c: Likewise.
10103 * math/w_jnf_compat.c: Likewise.
10104 * math/w_llogb_template.c: Likewise.
10105 * math/w_log10_compat.c: Likewise.
10106 * math/w_log10f_compat.c: Likewise.
10107 * math/w_log10l_compat.c: Likewise.
10108 * math/w_log2_compat.c: Likewise.
10109 * math/w_log2f_compat.c: Likewise.
10110 * math/w_log2l_compat.c: Likewise.
10111 * math/w_log_compat.c: Likewise.
10112 * math/w_logf_compat.c: Likewise.
10113 * math/w_logl_compat.c: Likewise.
10114 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10115 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10116 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10117 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10118 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10119 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10120 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10121 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10122 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10123 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10124 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10125 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10126 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
10127 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10128 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10129 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10130 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10131 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10132 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10133 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10134 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10135 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10136 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10137 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10138 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10139 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10140 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10141 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10142 * sysdeps/ieee754/float128/float128_private.h: Likewise.
10143 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10144 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10145 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10146 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10147 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10148 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10149 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10150 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10151 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10152 * sysdeps/ieee754/k_standardl.c: Likewise.
10153 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10154 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10155 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10156 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10157 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10158 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10159 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10160 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10161 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10162 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10163 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10164 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10165 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10166 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10167 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10168 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10169 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10170 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10171 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10172 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10173 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10174 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10175 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10176 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10177 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10178 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10179 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10180 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10181 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10182 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10183 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10184 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10185 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10186 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10187 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10188 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10189 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10190 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10191 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10192 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10193 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10194 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10195 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10196 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10197 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10198 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10199 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10200 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10201 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10202 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10203 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10204 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10205 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10206 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10207 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10208 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10209 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10210 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10211 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10212 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10213 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10214 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10215 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10216 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10217 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10218 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10219 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10220 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10221 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10222 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10223 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10225 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10228 * include/stdio.h (__libc_fatal): Mention newline in comment.
10229 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
10230 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
10231 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10232 * nss/nsswitch.c (__nss_next2): Likewise.
10233 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
10234 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
10235 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
10236 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10237 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
10238 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
10239 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
10240 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
10241 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
10242 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
10243 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
10244 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10245 (__netlink_assert_response): Likewise.
10247 2018-08-31 Joseph Myers <joseph@codesourcery.com>
10249 * conform/glibcconform.py: New file.
10250 * conform/list-header-symbols.py: Likewise.
10251 * conform/list-header-symbols.pl: Remove.
10252 * conform/Makefile (tests-special): Only add linknamespace tests
10254 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
10256 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
10259 * support/Makefile (libsupport-routines): Add
10260 support_copy_file_range and xcopy_file_range.
10261 * support/support.h: Include <sys/types.h>.
10262 (support_copy_file_range): New prototype.
10263 * support/support_copy_file_range.c: New file. Copied and
10264 modified from io/copy_file_range-compat.c.
10265 * support/test-container.c (copy_one_file): Call xcopy_file_rang
10266 instead of copy_file_range.
10267 * support/xcopy_file_range.c: New file.
10268 * support/xunistd.h (xcopy_file_range): New prototype.
10270 2018-08-30 Carlos O'Donell <carlos@redhat.com>
10272 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
10273 xpthread_create and xpthread_join.
10275 2018-08-30 Florian Weimer <fweimer@redhat.com>
10277 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
10279 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
10281 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
10284 2018-08-29 Joseph Myers <joseph@codesourcery.com>
10286 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
10287 and minus_oflow as non-finite.
10289 2018-08-28 Joseph Myers <joseph@codesourcery.com>
10291 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
10292 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
10293 moved to fenv_private.h except for ...
10294 (TOINT_INTRINSICS): Kept in math_private.h.
10295 (roundtoint): Likewise.
10296 (converttoint): Likewise.
10297 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
10298 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10299 * sysdeps/arm/math_private.h: Remove.
10300 * sysdeps/generic/fenv_private.h: New file. Contents moved from
10302 * sysdeps/generic/math_private.h: ... this file. Include
10303 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
10304 Include <fenv_private.h>. Remove functions and macros moved to
10306 * sysdeps/i386/fpu/math_private.h: Remove.
10307 * sysdeps/mips/math_private.h: Move to ....
10308 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
10309 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
10310 [__mips_hard_float] conditional. Include next <fenv_private.h>.
10311 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
10312 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10313 * sysdeps/powerpc/fpu/math_private.h: Do not include
10315 * sysdeps/riscv/rvf/math_private.h: Move to ....
10316 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10317 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10319 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10320 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10321 * sysdeps/sparc/fpu/math_private.h: Remove.
10322 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10323 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10324 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10326 * sysdeps/x86_64/fpu/math_private.h: Do not include
10327 <sysdeps/i386/fpu/fenv_private.h>.
10329 2018-08-28 Florian Weimer <fweimer@redhat.com>
10332 * posix/tst-regcomp-truncated.c: New file.
10333 * posix/Makefile (tests): Add it.
10334 (tst-regcomp-truncated.out): Depend on generated locales.
10336 2018-08-28 Florian Weimer <fweimer@redhat.com>
10338 * support/test-container.c (main): Treat unshare failure with
10339 EPERM as an unsupported test.
10341 2018-08-28 Florian Weimer <fweimer@redhat.com>
10344 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10345 * nscd/netgroupcache.c
10346 (addgetnetgrentX): Add tofreep parameter. Do not free
10347 heap-allocated buffer.
10348 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10349 (addgetnetgrentX_ignore): New function.
10350 (addgetnetgrent): Call it.
10351 (readdgetnetgrent): Likewise.
10353 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10355 * string/memmem.c: Use memcmp for first match.
10357 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10360 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10362 2018-08-27 DJ Delorie <dj@redhat.com>
10364 * support/Makefile (others): Don't list programs explicitly as a
10365 dependency of "others".
10367 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10369 * sysdeps/generic/math-tests-trap-force.h: New file.
10370 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10371 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10372 * sysdeps/powerpc/math-tests.h: Remove file.
10373 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10375 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10376 Torvald Riegel <triegel@redhat.com>
10379 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10380 Update r to include the set wake-request flag if waiters are
10381 remaining after spinning.
10383 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10385 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10387 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10390 regex: fix uninitialized memory access
10391 I introduced this bug into gnulib in commit
10392 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10393 eventually it was merged into glibc. The bug was found by
10394 project-repo <bugs@feusi.co> and reported here:
10395 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10396 Diagnosis and draft fix reported by Assaf Gordon here:
10397 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10398 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10399 * posix/regex_internal.c (build_wcs_upper_buffer):
10400 Fix bug when mbrtowc returns 0.
10402 2018-08-24 Carlos O'Donell <carlos@redhat.com>
10404 * po/be.po: Update translation.
10406 2018-08-24 DJ Delorie <dj@delorie.com>
10408 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10411 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10414 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10415 create temporary files in source tree.
10417 2018-08-24 Joseph Myers <joseph@codesourcery.com>
10419 * sysdeps/generic/math-tests-trap.h: New file.
10420 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10421 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10422 * sysdeps/aarch64/math-tests.h: Remove file.
10423 * sysdeps/arm/math-tests.h: Likewise.
10424 * sysdeps/riscv/math-tests.h: Likewise.
10425 * sysdeps/aarch64/math-tests-trap.h: New file.
10426 * sysdeps/arm/math-tests-trap.h: Likewise.
10427 * sysdeps/riscv/math-tests-trap.h: Likewise.
10429 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10431 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10432 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10433 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10434 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10435 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10436 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10437 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10438 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10439 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10440 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10441 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10442 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10443 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10444 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10445 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10446 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10447 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10448 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10450 2018-08-23 Joseph Myers <joseph@codesourcery.com>
10452 * sysdeps/generic/math-tests-exceptions.h: New file.
10453 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10454 (EXCEPTION_TESTS_float): Do not define here.
10455 (EXCEPTION_TESTS_double): Likewise.
10456 (EXCEPTION_TESTS_long_double): Likewise.
10457 (EXCEPTION_TESTS_float128): Likewise.
10458 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10460 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10461 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10462 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10463 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10464 * sysdeps/mips/math-tests.h: Likewise.
10465 * sysdeps/nios2/math-tests.h: Likewise.
10466 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10467 (EXCEPTION_TESTS_float): Do not define here.
10468 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10469 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10470 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10472 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10474 * NEWS: Move optimized sinf entry to 2.29.
10476 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10478 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10480 2018-08-22 DJ Delorie <dj@redhat.com>
10482 * Makefile (testroot.pristine): New rules to initialize the
10483 test-in-container "testroot".
10484 * Makerules (all-testsuite): Add tests-container.
10485 * Rules (tests-expected): Add tests-container.
10486 (binaries-all-tests): Likewise.
10487 (tests-container): New, run these tests in the testroot container.
10488 * support/Makefile (others): Add *-container, support_paths.c,
10489 xmkdirp, and links-dso-program.
10490 * support/links-dso-program-c.c: New.
10491 * support/links-dso-program.cc: New.
10492 * support/test-container.c: New.
10493 * support/shell-container.c: New.
10494 * support/echo-container.c: New.
10495 * support/true-container.c: New.
10496 * support/xmkdirp.c: New.
10497 * support/xsymlink.c: New.
10498 * support/support_paths.c: New.
10499 * support/support.h: Add support paths prototypes.
10500 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10502 * nss/tst-nss-test3.c: Convert to test-in-container.
10503 * nss/tst-nss-test3.root/: New.
10505 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10507 regex: port Gnulib code to z/OS POSIX environment
10508 Problem reported by Arnold Robbins in:
10509 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10510 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10513 2018-08-22 Joseph Myers <joseph@codesourcery.com>
10515 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10516 (ROUNDING_TESTS_double): Remove.
10517 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10518 (ROUNDING_TESTS_double): Remove.
10519 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10520 (ROUNDING_TESTS_double): Remove.
10521 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10522 (ROUNDING_TESTS_float): Remove.
10523 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10524 (ROUNDING_TESTS_float): Remove.
10525 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10526 (ROUNDING_TESTS_float): Remove.
10527 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10528 !TEST_MATHVEC here.
10529 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10530 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10532 * sysdeps/generic/math-tests-rounding.h: New file.
10533 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10534 (ROUNDING_TESTS_float): Do not define here.
10535 (ROUNDING_TESTS_double): Likewise.
10536 (ROUNDING_TESTS_long_double): Likewise.
10537 (ROUNDING_TESTS_float128): Likewise.
10538 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10539 (ROUNDING_TESTS_double): Undefine before defining.
10540 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10541 (ROUNDING_TESTS_double): Undefine before defining.
10542 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10543 (ROUNDING_TESTS_double): Undefine before defining.
10544 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10545 (ROUNDING_TESTS_float): Undefine before defining.
10546 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10547 (ROUNDING_TESTS_float): Undefine before defining.
10548 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10549 (ROUNDING_TESTS_float): Undefine before defining.
10550 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10551 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10553 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10554 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10555 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10556 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10557 (ROUNDING_TESTS_float): Do not define here.
10558 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10559 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10560 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10561 (ROUNDING_TESTS_float): Likewise.
10562 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10563 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10564 * sysdeps/mips/math-tests.h [__mips_soft_float]
10565 (ROUNDING_TESTS_float): Likewise.
10566 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10567 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10568 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10569 (ROUNDING_TESTS_double): Likewise.
10570 (ROUNDING_TESTS_long_double): Likewise.
10572 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
10574 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10575 (PF_XDP): New macro.
10576 (AF_XDP): New macro.
10577 (SOL_XDP): New macro.
10579 2018-08-21 Joseph Myers <joseph@codesourcery.com>
10581 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10582 (TCP_INQ): Likewise.
10583 (TCP_CM_INQ): Likewise.
10584 (TCP_REPAIR_ON): Likewise.
10585 (TCP_REPAIR_OFF): Likewise.
10586 (TCP_REPAIR_OFF_NO_WP): Likewise.
10587 (struct tcp_zerocopy_receive): New type.
10589 2018-08-21 Florian Weimer <fweimer@redhat.com>
10591 * support/support.h (support_descriptor_supports_holes): Declare.
10592 * support/Makefile (libsupport-routines): Add
10593 support_descriptor_supports_holes.
10594 * support/support_descriptor_supports_holes.c: New file.
10595 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10596 and stop testing if holes are not supported.
10597 * io/test-lfs.c (do_prepare): Likewise.
10598 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10600 * timezone/tst-tzset.c (create_tz_file): Likewise.
10601 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10603 (do_prepare): Set it.
10604 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10606 2018-08-21 Florian Weimer <fweimer@redhat.com>
10609 * Makeconfig (+cflags): Do not sort (and deduplicate).
10611 2018-08-21 Florian Weimer <fweimer@redhat.com>
10613 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10614 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10616 2018-08-20 Florian Weimer <fweimer@redhat.com>
10618 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10619 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10621 2018-08-20 Joseph Myers <joseph@codesourcery.com>
10623 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10624 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10625 and ssi_arch members.
10627 * elf/elf.c (NT_VMCOREDD): New macro.
10628 (AT_MINSIGSTKSZ): Likewise.
10630 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10632 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10633 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10634 s_cosf-ppc64 and s_cosf-power8.
10635 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10636 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10637 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10638 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10645 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10646 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10648 2018-08-17 Florian Weimer <fweimer@redhat.com>
10650 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10652 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10654 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10656 2018-08-16 Florian Weimer <fweimer@redhat.com>
10658 * configure.ac: Add --with-nonshared-cflags option.
10659 * config.make.in (extra-nonshared-cflags): Set variable.
10660 * Makeconfig (CFLAGS-.oS): Use it.
10661 * manual/install.texi (Configuring and compiling): Document
10662 --with-nonshared-cflags.
10663 * configure: Regenerate.
10664 * INSTALL: Likewise.
10666 2018-08-16 Florian Weimer <fweimer@redhat.com>
10668 * Makeconfig (ASFLAGS): Always append required assembler flags.
10670 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
10672 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10673 (malloc_consolidate): Likewise.
10675 2018-08-16 Pochang Chen <johnchen902@gmail.com>
10677 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10679 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10681 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10684 * benchtests/bench-strlen.c: Print performance numbers in json.
10686 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10688 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10689 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10690 only for little endian.
10691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10692 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10693 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10694 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10695 Add check for little endian.
10696 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10697 (__strcmp_power9): Add check for little endian.
10698 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10699 Add check for little endian.
10700 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10701 (__strncmp_power9): Add check for little endian.
10702 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10703 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10704 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10705 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10706 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10708 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10710 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10711 [!STRLEN](STRLEN): Set to __strlen.
10712 * sysdeps/aarch64/multiarch/strlen.c: New file.
10713 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10714 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10715 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10716 (__libc_ifunc_impl_list): Add strlen.
10717 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10718 strlen_generic and strlen_asimd.
10720 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10722 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10723 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10724 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10726 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10728 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10730 2018-08-14 Florian Weimer <fweimer@redhat.com>
10733 * include/stdio.h (__vfxprintf): Declare.
10734 * stdio-common/fxprintf.c (__vfxprintf): New function.
10735 (__fxprintf): Call it.
10736 * misc/err.c (convert_and_print): Remove function.
10737 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10738 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10739 * misc/Makefile (tests): Add tst-warn-wide.
10740 * misc/tst-warn-wide.c: New file.
10742 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10743 Szabolcs Nagy <szabolcs.nagy@arm.com>
10745 * NEWS: Mention sinf, cosf, sincosf.
10746 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10747 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10748 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10749 constants rather than including generic sincosf.h.
10750 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10751 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10752 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10753 (reduced_cos): Remove.
10754 (sinf_poly): New function.
10755 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10757 2018-08-14 Florian Weimer <fweimer@redhat.com>
10761 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10762 processing, bail out if no room, and close the stream before
10764 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10765 (tst-nss-files-alias-leak): Link with libdl.
10766 (tst-nss-files-alias-leak.out): Depend on nss_files.
10768 * nss/tst-nss-files-alias-leak.c: New file.
10770 2018-08-14 Florian Weimer <fweimer@redhat.com>
10772 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10773 server_user, stat_user.
10775 2018-08-13 Joseph Myers <joseph@codesourcery.com>
10777 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10779 (io_pgetevents): New syscall.
10782 * manual/install.texi (Configuring and compiling): Do not list
10783 tools used for testing pretty printers here.
10784 (Tools for Compilation): List Python, PExpect and GDB here.
10785 Update descriptions of uses of Perl and Python.
10786 * INSTALL: Regenerate.
10788 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10791 2018-08-13 Florian Weimer <fweimer@redhat.com>
10793 * misc/error.c (error): Add missing va_end call.
10794 (error_at_line): Likewise.
10796 2018-08-13 Florian Weimer <fweimer@redhat.com>
10798 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10800 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10802 * benchtests/scripts/benchout.schema.json (properties): Add
10805 * benchtests/bench-skeleton.c (main): Add duration and
10806 iterations attributes.
10808 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10810 regex: Gnulib unibyte RRI uses bytes not chars
10811 Adjust the non-glibc code to agree with what Gawk needs for
10812 rational range interpretation (RRI) for regular expression ranges.
10813 In unibyte locales, Gawk wants ranges to use the underlying byte
10814 rather than the character code point. This change does not affect
10816 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10817 In unibyte locales, use the byte value rather than
10818 running it through btowc.
10820 2018-08-10 Joseph Myers <joseph@codesourcery.com>
10822 * sysdeps/generic/math-tests-snan.h: New file.
10823 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10824 (SNAN_TESTS_float): Do not define here.
10825 (SNAN_TESTS_double): Likewise.
10826 (SNAN_TESTS_long_double): Likewise.
10827 (SNAN_TESTS_float128): Likewise.
10828 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10829 * sysdeps/i386/fpu/math-tests.h: Remove file.
10830 * sysdeps/ia64/math-tests-snan.h: New file.
10831 * sysdeps/ia64/math-tests.h: Remove file.
10832 * sysdeps/x86/math-tests.h: Likewise.
10833 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10835 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10836 Szabolcs Nagy <szabolcs.nagy@arm.com>
10838 * math/Makefile: Add s_sincosf_data.c.
10839 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10840 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10841 (sincosf_poly): Likewise.
10842 (reduce_small): Likewise.
10843 (reduce_large): Likewise.
10844 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10845 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10846 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10847 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10849 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10850 Szabolcs Nagy <szabolcs.nagy@arm.com>
10852 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10853 (converttoint): Use lround.
10854 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10855 document the semantics when TOINT_INTRINSICS is set.
10856 (converttoint): Likewise.
10857 (TOINT_RINT): Remove.
10858 (TOINT_SHIFT): Remove.
10859 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10862 2018-08-10 Florian Weimer <fweimer@redhat.com>
10865 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10867 (__old_getdents64): Use getdents64. Convert entries without
10869 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10870 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10871 tst-readdir64-compat.
10873 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10875 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10878 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10880 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10881 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10882 code to s390x-mcount.h and #include it.
10883 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10884 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10887 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10889 * stdlib/Versions: Remove __fentry__.
10890 * sysdeps/i386/Versions: Add __fentry__.
10891 * sysdeps/x86_64/Versions: Add __fentry__.
10893 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10895 * sysdeps/s390/Makefile: Register the new tests.
10896 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10897 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10898 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10899 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10900 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10901 * sysdeps/s390/tst-dl-runtime.c: New file.
10903 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10905 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10908 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10910 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10913 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10915 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10918 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10920 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10923 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10925 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10926 Use symbolic offsets for stack variables.
10928 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10930 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10931 Use symbolic offsets for stack variables.
10933 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10935 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10936 Use symbolic offsets for stack variables.
10938 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10940 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10941 Use symbolic offsets for stack variables.
10943 2018-08-09 Joseph Myers <joseph@codesourcery.com>
10945 * math/gen-libm-test.py: New file.
10946 * math/gen-libm-test.pl: Remove.
10947 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10948 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10950 ($(libm-test-c-noauto-obj)): Likewise.
10951 ($(libm-test-c-auto-obj)): Likewise.
10952 ($(libm-test-c-narrow-obj)): Likewise.
10953 (regen-ulps): Likewise.
10954 * math/README.libm-test: Update references to gen-libm-test.pl.
10955 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10956 referencing gen-libm-test.pl.
10957 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10958 * math/libm-test-support.c: Likewise.
10959 * math/libm-test-support.h: Likewise.
10960 * sysdeps/generic/libm-test-ulps: Likewise.
10962 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10964 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10967 2018-08-08 Joseph Myers <joseph@codesourcery.com>
10969 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10970 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10972 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10974 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10976 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10977 __pthread_setspecific): Add hidden proto.
10978 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10979 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
10981 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10983 * benchtests/bench-string.h (buf1_size, buf2_size): New
10985 (init_sizes): New function.
10986 (test_init): Use it.
10987 (alloc_buf, exit_error): New functions.
10988 (alloc_bufs): Use ALLOC_BUF.
10989 (realloc_bufs): Remove.
10990 * benchtests/bench-memcmp.c (do_test): Adjust.
10991 * benchtests/bench-memset-large.c (do_test): Likewise.
10992 * benchtests/bench-memset-walk.c (do_test): Likewise.
10993 * benchtests/bench-memset.c (do_test): Likewise.
10994 * benchtests/bench-strncmp.c (do_test): Likewise.
10996 2018-08-06 Andreas Schwab <schwab@suse.de>
10998 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10999 of CONST_THREAD_AREA.
11001 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
11003 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
11004 (STATE_SAVE_MASK): Likewise.
11005 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
11006 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
11007 (STATE_SAVE_MASK): Likewise.
11008 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
11009 instead of <cpu-features.h>.
11011 2018-08-03 DJ Delorie <dj@redhat.com>
11013 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
11014 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
11016 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
11018 2018-08-03 Joseph Myers <joseph@codesourcery.com>
11020 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
11021 after TEST_* calls.
11022 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
11023 * math/libm-test-logb.inc (logb_test_data): Likewise.
11025 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
11027 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
11028 * string/strstr.c (AVAILABLE): Likewise.
11030 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11032 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
11034 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
11035 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
11036 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
11038 2018-08-03 Carlos O'Donell <carlos@redhat.com>
11040 * po/be.po: Update translation.
11042 * po/be.po: Update translation.
11044 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11046 * sysdeps/x86/cpu-features-offsets.sym
11047 (rtld_global_ro_offsetof): Removed.
11048 (CPU_FEATURES_SIZE): Likewise.
11049 (CPUID_OFFSET): Likewise.
11050 (CPUID_SIZE): Likewise.
11051 (CPUID_EAX_OFFSET): Likewise.
11052 (CPUID_EBX_OFFSET): Likewise.
11053 (CPUID_ECX_OFFSET): Likewise.
11054 (CPUID_EDX_OFFSET): Likewise.
11055 (FAMILY_OFFSET): Likewise.
11056 (MODEL_OFFSET): Likewise.
11057 (FEATURE_OFFSET): Likewise.
11058 (FEATURE_SIZ): Likewise.
11059 (COMMON_CPUID_INDEX_1): Likewise.
11060 (COMMON_CPUID_INDEX_7): Likewise.
11061 (FEATURE_INDEX_1): Likewise.
11062 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
11064 2018-08-02 Carlos O'Donell <carlos@redhat.com>
11066 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
11067 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
11068 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
11069 (install-locales): Depend on install-locale-archive.
11070 (install-locale-archive): Define.
11071 (install-locale-files): Define.
11072 (build-one-locale): Define macro.
11073 * manual/install.texi (Running make install): Document.
11074 * manual/INSTALL: Regenerate.
11076 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
11078 * benchtests/scripts/compare_strings.py: Import traceback.
11079 (parse_file): Pretty-print error.
11081 * NEWS: Mention the change.
11082 * elf/dl-tunables.list: Rename tune namespace to cpu.
11083 * sysdeps/powerpc/dl-tunables.list: Likewise.
11084 * sysdeps/x86/dl-tunables.list: Likewise.
11085 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
11087 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
11088 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
11089 * manual/README.tunables: Likewise.
11090 * manual/tunables.texi: Likewise.
11091 * sysdeps/powerpc/cpu-features.c: Likewise.
11092 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
11093 (init_cpu_features): Likewise.
11094 * sysdeps/x86/cpu-features.c: Likewise.
11095 * sysdeps/x86/cpu-features.h: Likewise.
11096 * sysdeps/x86/cpu-tunables.c: Likewise.
11097 * sysdeps/x86_64/Makefile: Likewise.
11098 * sysdeps/x86/dl-cet.c: Likewise.
11100 2018-08-02 Joseph Myers <joseph@codesourcery.com>
11103 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
11104 [__mips_hard_float].
11105 (FE_UNDERFLOW): Likewise.
11106 (FE_OVERFLOW): Likewise.
11107 (FE_DIVBYZERO): Likewise.
11108 (FE_INVALID): Likewise.
11109 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
11110 (FE_TOWARDZERO): Define only if [__mips_hard_float].
11111 (FE_UPWARD): Likewise.
11112 (FE_DOWNWARD): Likewise.
11113 (__FE_UNDEFINED): Define if [!__mips_hard_float]
11114 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
11115 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
11116 [__mips_hard_float].
11117 (FP_ROUNDMODE): Likewise.
11118 (FP_RND_NEAREST): Likewise.
11119 (FP_RND_ZERO): Likewise.
11120 (FP_RND_PINF): Likewise.
11121 (FP_RND_MINF): Likewise.
11122 (FP_EX_INVALID): Likewise.
11123 (FP_EX_OVERFLOW): Likewise.
11124 (FP_EX_UNDERFLOW): Likewise.
11125 (FP_EX_DIVZERO): Likewise.
11126 (FP_EX_INEXACT): Likewise.
11127 (FP_INIT_ROUNDMODE): Likewise.
11128 * sysdeps/mips/nofpu/fesetenv.c: New file.
11129 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
11131 2018-08-01 Joseph Myers <joseph@codesourcery.com>
11133 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
11134 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
11135 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
11136 conditional on [FE_UPWARD].
11138 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
11140 regex: fix memory leak in Gnulib
11141 Problem and fix reported by Assaf Gordon in:
11142 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
11143 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
11144 range_ends members too, as they are defined in 'struct
11145 re_charset_t' even if not _LIBC. This affects only Gnulib.
11147 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
11149 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
11151 (get_common_indices): This.
11152 (init_cpu_features): Updated.
11154 2018-08-01 Joseph Myers <joseph@codesourcery.com>
11156 * sysdeps/generic/math-tests-snan-payload.h: New file.
11157 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
11158 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
11159 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
11160 * sysdeps/generic/math-tests.h: Include
11161 <math-tests-snan-payload.h>.
11162 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11163 * sysdeps/hppa/math-tests.h: Remove file.
11164 * sysdeps/mips/math-tests.h [!__mips_nan2008]
11165 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11166 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
11169 * sysdeps/generic/math-tests-snan-cast.h: New file.
11170 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
11171 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
11172 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
11173 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
11175 2018-08-01 Carlos O'Donel <carlos@redhat.com>
11177 * version.h (RELEASE): Set to "development".
11178 (VERSION): Set to "2.28.9000".
11179 * NEWS (2.29): New section.
11181 * version.h (RELEASE): Set to "stable".
11182 (VERSION): Set to "2.28".
11183 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
11184 * NEWS: Add the list of bugs fixed in 2.28.
11186 * po/ca.po: Update to latest version.
11187 * po/cs.po: Likewise
11188 * po/da.po: Likewise
11189 * po/el.po: Likewise
11190 * po/eo.po: Likewise
11191 * po/es.po: Likewise
11192 * po/fi.po: Likewise
11193 * po/fr.po: Likewise
11194 * po/gl.po: Likewise
11195 * po/hu.po: Likewise
11196 * po/ia.po: Likewise
11197 * po/id.po: Likewise
11198 * po/it.po: Likewise
11199 * po/ja.po: Likewise
11200 * po/ko.po: Likewise
11201 * po/lt.po: Likewise
11202 * po/nb.po: Likewise
11203 * po/nl.po: Likewise
11204 * po/pt_BR.po: Likewise
11205 * po/ru.po: Likewise
11206 * po/rw.po: Likewise
11207 * po/sk.po: Likewise
11208 * po/sl.po: Likewise
11209 * po/tr.po: Likewise
11210 * po/zh_CN.po: Likewise
11211 * po/zh_TW.po: Likewise
11213 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11215 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
11217 (init): ... before initializing libpthread.
11219 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
11220 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
11221 (__mach_setup_tls): ... new function.
11222 (mach_setup_tls): New alias.
11223 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
11224 __mach_setup_thread.
11225 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
11226 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
11227 * mach/Versions [libc] (mach_setup_tls): Add symbol.
11228 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
11230 2018-07-31 Carlos O'Donell <carlos@redhat.com>
11232 * manual/install.texi: Update versions.
11233 * INSTALL: Regenerate.
11235 * manual/contrib.texi (Contributors): Update contributions.
11237 2018-07-31 Carlos O'Donell <carlos@redhat.com>
11239 * po/be.po: Update translations.
11241 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11243 * sysdeps/sh/libm-test-ulps: Update.
11245 2018-07-30 Carlos O'Donell <carlos@redhat.com>
11247 * po/bg.po: Update translations.
11248 * po/de.po: Likewise.
11249 * po/hr.po: Likewise.
11250 * po/pt_BR.po: Likewise.
11251 * po/sv.po: Likewise.
11252 * po/vi.po: Likewise.
11254 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11257 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11258 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
11259 (CFLAGS-tst-cet-property-1.o): New.
11260 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
11261 ($(objpfx)tst-cet-property-2): Likewise.
11262 ($(objpfx)tst-cet-property-2.out): Likewise.
11263 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
11264 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
11265 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
11266 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
11267 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
11269 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11272 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
11274 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11276 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
11277 __sbrk): Do not set attribute_hidden.
11278 * sysdeps/mach/hurd/not-errno.h: New file.
11279 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11280 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
11282 2018-07-27 Carlos O'Donell <carlos@redhat.com>
11284 * po/uk.po: Update translations.
11285 * po/cs.po: Likewise.
11286 * po/pl.po: Likewise.
11288 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
11290 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
11291 parse beyond the note end.
11293 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11295 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
11296 kernel does not support OFD locks.
11297 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
11299 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11301 * sysdeps/mach/hurd/Versions (libc): Make __access and
11302 __access_noerrno external so they can override the ld symbols.
11303 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
11304 __writev, __open64, __access_noerrno extern so they can be overrided.
11305 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
11306 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11308 2018-07-26 Carlos O'Donell <carlos@redhat.com>
11310 * po/libc.pot: Regenerate.
11312 2018-07-26 Joseph Myers <joseph@codesourcery.com>
11314 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11316 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11319 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11321 (init_cpu_features): Call get_extended_indices for both Intel
11323 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11324 Remove "for AMD" comment.
11326 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11329 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11330 COMMON_CPUID_INDEX_80000001.
11332 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
11334 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11335 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11337 2018-07-26 Florian Weimer <fweimer@redhat.com>
11339 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11340 aliases for symbols not in the implementation namespace.
11342 2018-07-25 Carlos O'Donell <carlos@redhat.com>
11345 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11346 lowercase in LATIN script.
11347 * localedata/Makefile (test-input): Add en_US.UTF-8.
11348 * localedata/en_US.UTF-8.in: New file.
11349 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11350 and restore old tests.
11351 * posix/tst-regexloc.c (do_test): Add back range expression test.
11353 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11355 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11357 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11359 * nptl/threads.h: Move to ...
11360 * sysdeps/nptl/threads.h: ... here.
11361 * sysdeps/hurd/stdc-predef.h: New file.
11363 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11365 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11366 tst-cet-setcontext-1 if CET is enabled.
11367 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11368 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11370 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11372 * include/threads.h: Move to ...
11373 * sysdeps/nptl/threads.h: ... here.
11374 * sysdeps/htl/threads.h: New file.
11375 * conform/Makefile (linknamespace-libs-ISO11): Use
11376 static-thread-library instead of linking libpthread.
11377 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11379 2018-07-25 Florian Weimer <fweimer@redhat.com>
11381 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11382 nanoseconds into seconds.
11383 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11384 (do_test): Likewise.
11385 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11386 (do_test): Likewise. Avoid nanosecond overflow and spurious
11387 timeouts due to system load.
11388 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11389 (child_wait): Increment it.
11390 (do_test): Wait as long as necessary until all expected threads
11393 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11394 H.J. Lu <hongjiu.lu@intel.com>
11396 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11398 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11399 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11400 (__push___start_context): New.
11401 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11403 (__getcontext): Record the current shadow stack base. Save the
11404 caller's shadow stack pointer and base.
11405 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11406 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11407 (__push___start_context): New prototype.
11408 (__makecontext): Call __push___start_context to allocate a new
11409 shadow stack, push __start_context onto the new stack as well
11410 as the new shadow stack.
11411 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11413 (__setcontext): Restore the target shadow stack.
11414 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11416 (__swapcontext): Record the current shadow stack base. Save
11417 the caller's shadow stack pointer and base. Restore the target
11419 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11420 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11421 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11423 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11425 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11426 tst-setcontext8 and tst-setcontext9.
11427 * stdlib/tst-setcontext6.c: New file.
11428 * stdlib/tst-setcontext7.c: Likewise.
11429 * stdlib/tst-setcontext8.c: Likewise.
11430 * stdlib/tst-setcontext9.c: Likewise.
11432 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11434 * stdlib/Makefile ((tests): Add tst-setcontext5.
11435 * stdlib/tst-setcontext5.c: New file.
11437 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11439 * stdlib/Makefile (tests): Add tst-setcontext4.
11440 * stdlib/tst-setcontext4.c: New file.
11442 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11444 * stdlib/Makefile (tests): Add tst-swapcontext1.
11445 * stdlib/tst-swapcontext1.c: New test.
11447 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11449 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11450 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11451 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11452 and tst-cet-legacy-4c.
11453 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11454 and tst-cet-legacy-mod-4.
11455 (CFLAGS-tst-cet-legacy-2.c): New.
11456 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11457 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11458 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11459 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11460 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11461 ($(objpfx)tst-cet-legacy-1): Likewise.
11462 ($(objpfx)tst-cet-legacy-2): Likewise.
11463 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11464 ($(objpfx)tst-cet-legacy-2a): Likewise.
11465 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11466 ($(objpfx)tst-cet-legacy-4): Likewise.
11467 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11468 ($(objpfx)tst-cet-legacy-4a): Likewise.
11469 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11470 (tst-cet-legacy-4a-ENV): Likewise.
11471 ($(objpfx)tst-cet-legacy-4b): Likewise.
11472 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11473 (tst-cet-legacy-4b-ENV): Likewise.
11474 ($(objpfx)tst-cet-legacy-4c): Likewise.
11475 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11476 (tst-cet-legacy-4c-ENV): Likewise.
11477 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11478 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11479 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11480 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11481 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11482 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11483 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11484 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11485 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11486 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11487 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11489 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11491 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11492 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11494 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11495 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11498 2018-07-25 Andreas Schwab <schwab@suse.de>
11501 * locale/weightwc.h (findidx): Handle the case where usrc is a
11502 prefix of cp but one character too short.
11504 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11506 * NEWS: Add ISO C threads addition.
11508 2018-07-24 Florian Weimer <fweimer@redhat.com>
11510 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11511 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11512 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11515 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11517 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11518 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11519 <sys/prctl.h> and <asm/prctl.h>.
11520 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11521 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11523 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11524 ARCH_CET_LEGACY_BITMAP.
11525 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11526 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11527 * sysdeps/x86/libc-start.c: Include <startup.h>.
11529 2018-07-24 Florian Weimer <fweimer@redhat.com>
11531 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11532 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11534 2018-07-24 Rical Jasan <rj@2c3t.io>
11535 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11536 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11539 * manual/debug.texi: Update adjacent chapter name.
11540 * manual/probes.texi: Likewise.
11541 * manual/threads.texi (ISO C Threads): New section.
11542 (POSIX Threads): Convert to a section.
11544 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11545 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11548 * nptl/Makefile (tests): Add new test files.
11549 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11550 * nptl/tst-cnd-basic.c: Likewise.
11551 * nptl/tst-cnd-broadcast.c: Likewise.
11552 * nptl/tst-cnd-timedwait.c: Likewise.
11553 * nptl/tst-mtx-basic.c: Likewise.
11554 * nptl/tst-mtx-recursive.c: Likewise.
11555 * nptl/tst-mtx-timedlock.c: Likewise.
11556 * nptl/tst-mtx-trylock.c: Likewise.
11557 * nptl/tst-thrd-basic.c: Likewise.
11558 * nptl/tst-thrd-detach.c: Likewise.
11559 * nptl/tst-thrd-sleep.c: Likewise.
11560 * nptl/tst-tss-basic.c: Likewise.
11562 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11565 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11566 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11568 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11569 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11570 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11571 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11572 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11573 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11574 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11575 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11576 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11577 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11578 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11579 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11587 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11588 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11589 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11590 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11591 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11592 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11593 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11594 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11595 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11596 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11597 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11598 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11599 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11601 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11602 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11603 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11604 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11605 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11606 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11607 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11608 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11609 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11610 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11611 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11612 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11619 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11620 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11621 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11622 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11623 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11624 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11625 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11626 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11629 * conform/data/threads.h-data (thread_local): New macro.
11630 (TSS_DTOR_ITERATIONS): Likewise.
11632 (tss_dtor_t): Likewise.
11633 (tss_create): New function.
11634 (tss_get): Likewise.
11635 (tss_set): Likewise.
11636 (tss_delete): Likewise.
11637 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11638 tss_get, and tss_set objects.
11639 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11640 * nptl/tss_create.c: New file.
11641 * nptl/tss_delete.c: Likewise.
11642 * nptl/tss_get.c: Likewise.
11643 * nptl/tss_set.c: Likewise.
11644 * sysdeps/nptl/threads.h (thread_local): New define.
11645 (TSS_DTOR_ITERATIONS): Likewise.
11646 (tss_t): New typedef.
11647 (tss_dtor_t): Likewise.
11648 (tss_create): New prototype.
11649 (tss_get): Likewise.
11650 (tss_set): Likewise.
11651 (tss_delete): Likewise.
11654 * conform/data/threads.h-data (cnd_t): New type.
11655 (cnd_init): New function.
11656 (cnd_signal): Likewise.
11657 (cnd_broadcast): Likewise.
11658 (cnd_wait): Likewise.
11659 (cnd_timedwait): Likewise.
11660 (cnd_destroy): Likewise.
11661 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11662 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11664 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11665 * nptl/cnd_broadcast.c: New file.
11666 * nptl/cnd_destroy.c: Likewise.
11667 * nptl/cnd_init.c: Likewise.
11668 * nptl/cnd_signal.c: Likewise.
11669 * nptl/cnd_timedwait.c: Likewise.
11670 * nptl/cnd_wait.c: Likewise.
11671 * sysdeps/nptl/threads.h (cnd_t): New type.
11672 (cnd_init): New prototype.
11673 (cnd_signa): Likewise.
11674 (cnd_broadcast): Likewise.
11675 (cnd_wait): Likewise.
11676 (cnd_timedwait): Likewise.
11677 (cnd_destroy): Likewise.
11680 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11681 (once_flag): New type.
11682 (call_once): New function.
11683 * nptl/Makefile (libpthread-routines): Add call_once object.
11684 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11685 * nptl/call_once.c: New file.
11686 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11687 (once_flag): New type.
11688 (call_once): New prototype.
11691 * conform/data/threads.h-data (mtx_plain): New constant.
11692 (mtx_recursive): Likewise.
11693 (mtx_timed): Likewise.
11695 (mtx_init): New function.
11696 (mtx_lock): Likewise.
11697 (mtx_timedlock): Likewise.
11698 (mtx_trylock): Likewise.
11699 (mtx_unlock): Likewise.
11700 (mtx_destroy): Likewise.
11701 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11702 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11703 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11704 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11705 * nptl/mtx_destroy.c: New file.
11706 * nptl/mtx_init.c: Likewise.
11707 * nptl/mtx_lock.c: Likewise.
11708 * nptl/mtx_timedlock.c: Likewise.
11709 * nptl/mtx_trylock.c: Likewise.
11710 * nptl/mtx_unlock.c: Likewise.
11711 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11712 (mtx_recursive): Likewise.
11713 (mtx_timed): Likewise.
11715 (mtx_init): New prototype.
11716 (mtx_lock): Likewise.
11717 (mtx_timedlock): Likewise.
11718 (mtx_trylock): Likewise.
11719 (mtx_unlock): Likewise.
11720 (mtx_destroy): Likewise.
11723 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11724 (linknamespace-libs-ISO11): Add libpthread.a.
11725 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11727 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11728 * nptl/Makefile (headers): Add threads.h.
11729 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11730 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11732 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11733 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11734 thrd_join, thrd_sleep, and thrd_yield symbols.
11735 * nptl/descr.h (struct pthread): Add c11 field.
11736 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11737 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11738 routine with expected function prototype.
11739 (__pthread_create_2_1): Add C11 threads check based on attribute
11741 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11742 * nptl/thrd_create.c: New file.
11743 * nptl/thrd_current.c: Likewise.
11744 * nptl/thrd_detach.c: Likewise.
11745 * nptl/thrd_equal.c: Likewise.
11746 * nptl/thrd_exit.c: Likewise.
11747 * nptl/thrd_join.c: Likewise.
11748 * nptl/thrd_priv.h: Likewise.
11749 * nptl/thrd_sleep.c: Likewise.
11750 * nptl/thrd_yield.c: Likewise.
11751 * include/threads.h: Likewise.
11753 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11755 * bits/indirect-return.h: New file.
11756 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11757 * sysdeps/x86/bits/indirect-return.h: Likewise.
11758 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11759 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11760 (swapcontext): Add __INDIRECT_RETURN.
11761 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11762 (prepare_test_buffer): Use it.
11764 2018-07-24 Andreas Schwab <schwab@suse.de>
11767 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11768 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11770 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11772 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11773 Redefine if shadow stack is enabled.
11774 (SYSCALL_ERROR_LABEL): Likewise.
11775 (__vfork): Pop shadow stack and jump back to to caller directly
11776 when shadow stack is in use.
11777 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11778 Redefine if shadow stack is enabled.
11779 (SYSCALL_ERROR_LABEL): Likewise.
11780 (__vfork): Pop shadow stack and jump back to to caller directly
11781 when shadow stack is in use.
11783 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11785 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11788 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11791 2018-07-20 Joseph Myers <joseph@codesourcery.com>
11793 * scripts/build-many-glibcs.py (Context.checkout): Default
11794 binutils version to 2.31 branch.
11796 2018-07-20 Zong Li <zong@andestech.com>
11798 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11799 URL of gcc's tarball.
11801 2018-07-20 Florian Weimer <fweimer@redhat.com>
11804 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11805 not compare an extra byte after the end of the weights.
11807 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11809 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11811 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11813 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11814 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
11815 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11816 list of libraries whose stack executability is expected.
11817 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11818 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11820 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11821 libc.so libpthread.so.
11823 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11825 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11827 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11829 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11831 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
11833 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11835 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11836 library to improve command line parsing.
11837 (__main__): make schema file as optional parameter (--schema),
11838 defaulting to benchtests/scripts/benchout.schema.json.
11839 (main): move out of the parsing stuff to __main_ and leave it
11840 only as caller of main comparison functions.
11842 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11844 * NEWS: Add a note for Intel CET status.
11845 * manual/install.texi: Likewise.
11846 * INSTALL: Regenerated.
11848 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11851 * localedata/locales/oc_FR (mon): Rename to...
11852 (alt_mon): This, then update October (typo fix).
11853 (mon): New content (genitive case, month names preceded by
11857 * localedata/locales/oc_FR (abday): Update all items.
11858 (day): Update Wednesday and Saturday (typo fixes).
11859 (abmon): Update all items, except May.
11860 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11861 (LC_IDENTIFICATION): Bump the revision number and date.
11862 Keep the "category" entries in alphabetic order.
11863 (LC_ADDRESS): Remove no longer needed comment.
11864 (LC_COLLATE): Use “copy "ca_ES"”.
11865 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11868 2018-07-18 Joseph Myers <joseph@codesourcery.com>
11870 * grp/tst_fgetgrent.c: Include <unistd.h>.
11871 (main): Use mkstemp instead of tmpnam.
11872 * io/test-utime.c (main): Likewise.
11873 * posix/annexc.c (macrofile): Change to modifiable array.
11874 (main): Remove macrofile here.
11875 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11877 (check_header): Do not remove macrofile here.
11878 * posix/bug-getopt1.c: Include <stdlib.h>.
11879 (do_test): Use mkstemp instead of tmpnam.
11880 * posix/bug-getopt2.c: Include <stdlib.h>.
11881 (do_test): Use mkstemp instead of tmpnam.
11882 * posix/bug-getopt3.c: Include <stdlib.h>.
11883 (do_test): Use mkstemp instead of tmpnam.
11884 * posix/bug-getopt4.c: Include <stdlib.h>.
11885 (do_test): Use mkstemp instead of tmpnam.
11886 * posix/bug-getopt5.c: Include <stdlib.h>.
11887 (do_test): Use mkstemp instead of tmpnam.
11888 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11889 (main): Use mkstemp instead of tmpnam.
11890 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11891 (main): Use mkstemp instead of tmpnam.
11892 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11893 (main): use mkstemp instead of tmpnam.
11894 * stdlib/isomac.c (macrofile): Change to modifiable array.
11895 (main): Remove macrofile here.
11896 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11898 (check_header): Do not remove macrofile here.
11900 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11902 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11903 glibc.tune.x86_shstk.
11905 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11907 * NEWS: Mention --enable-cet.
11908 * manual/install.texi: Document --enable-cet.
11909 * INSTALL: Regenerated.
11911 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11913 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11914 Add _CET_NOTRACK before indirect jump to jump table.
11916 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11918 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11919 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11922 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11924 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11925 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11928 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11930 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11931 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11934 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11936 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11937 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11940 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11942 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11943 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11945 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11947 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11949 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11950 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11953 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11955 * sysdeps/i386/i686/multiarch/memset-sse2.S
11956 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11959 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11961 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11962 indirect jump to jump table.
11964 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11966 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11967 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11969 (MEMCPY): Likewise.
11971 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11973 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11974 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11976 (MEMCPY): Likewise.
11978 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11980 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11981 _CET_NOTRACK before indirect jump to jump table.
11983 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11985 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11986 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11989 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11991 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11992 indirect jump to jump table.
11994 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11997 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11998 (LOCALES): Likewise.
11999 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
12000 * localedata/locales/sah_RU: New file.
12001 * localedata/sah_RU.UTF-8.in: New file.
12003 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12005 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
12007 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12008 _CET_ENDBR to indirect jump targets and adjust jump destination
12010 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
12012 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12013 _CET_ENDBR to indirect jump targets and adjust jump destination
12015 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
12017 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
12018 _CET_ENDBR to indirect jump targets and adjust jump destination
12021 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12023 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12026 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12028 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
12030 (_dl_tlsdesc_undefweak): Likewise.
12031 (_dl_tlsdesc_dynamic): Likewise.
12032 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
12033 (_dl_tlsdesc_resolve_rel): Likewise.
12034 (_dl_tlsdesc_resolve_rela): Likewise.
12035 (_dl_tlsdesc_resolve_hold): Likewise.
12036 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
12037 (_dl_tlsdesc_undefweak): Likewise.
12038 (_dl_tlsdesc_dynamic): Likewise.
12039 (_dl_tlsdesc_resolve_rela): Likewise.
12040 (_dl_tlsdesc_resolve_hold): Likewise.
12042 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12044 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
12046 * sysdeps/x86_64/crti.S (_init): Likewise.
12049 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
12052 * localedata/locales/os_RU (mon): Rename to...
12054 (mon): Import from CLDR (genitive case).
12056 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12058 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
12059 cet-tunables.h> when CET is enabled.
12061 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
12064 * configure.ac: Add --enable-cet.
12065 * configure: Regenerated.
12066 * elf/Makefille (all-built-dso): Add a comment.
12067 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
12068 Include <dl-prop.h>.
12069 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
12071 * elf/dl-open.c: Include <dl-prop.h>.
12072 (dl_open_worker): Call _dl_open_check.
12073 * elf/rtld.c: Include <dl-prop.h>.
12074 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
12076 * sysdeps/generic/dl-prop.h: New file.
12077 * sysdeps/i386/dl-cet.c: Likewise.
12078 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
12079 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
12080 * sysdeps/x86/cet-tunables.h: Likewise.
12081 * sysdeps/x86/check-cet.awk: Likewise.
12082 * sysdeps/x86/configure: Likewise.
12083 * sysdeps/x86/configure.ac: Likewise.
12084 * sysdeps/x86/dl-cet.c: Likewise.
12085 * sysdeps/x86/dl-procruntime.c: Likewise.
12086 * sysdeps/x86/dl-prop.h: Likewise.
12087 * sysdeps/x86/libc-start.h: Likewise.
12088 * sysdeps/x86/link_map.h: Likewise.
12089 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
12091 (_dl_runtime_profile): Likewise.
12092 (_dl_runtime_resolve_shstk): New.
12093 (_dl_runtime_profile_shstk): Likewise.
12094 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
12096 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
12097 (CFLAGS-.os): Likewise.
12098 (CFLAGS-.op): Likewise.
12099 (CFLAGS-.oS): Likewise.
12100 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
12102 (tests-special): Add $(objpfx)check-cet.out.
12103 (cet-built-dso): New.
12104 (+$(cet-built-dso:=.note)): Likewise.
12105 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
12106 ($(objpfx)check-cet.out): New.
12107 (generated): Add check-cet.out.
12108 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
12110 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
12111 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12112 (init_cpu_features): Call get_cet_status to check CET status
12113 and update dl_x86_feature_1 with CET status. Call
12114 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
12115 (set_x86_shstk). Disable and lock CET in libc.a.
12116 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
12117 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
12118 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12119 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
12120 (_CET_ENDBR): Define if not defined.
12121 (ENTRY): Add _CET_ENDBR.
12122 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
12124 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
12126 (_dl_runtime_profile): Likewise.
12128 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
12131 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
12132 restore r2 on longjmp.
12133 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
12135 Added rules to build test tst-setjmp-bug21895-static.
12136 Added module setjmp-bug21895 and rules to build a shared object from it.
12137 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
12138 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
12140 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
12142 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
12143 * benchtests/bench-strstr.c: Likewise.
12144 * string/memmem.c (FASTSEARCH): Define.
12145 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
12146 Add support for FASTSEARCH.
12147 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
12148 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
12149 (FASTSEARCH): Define.
12150 * string/test-strcasestr.c: Rename __strnlen to strnlen.
12151 * string/test-strstr.c: Likewise.
12153 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
12155 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
12156 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
12158 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12159 H.J. Lu <hongjiu.lu@intel.com>
12161 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
12162 (__longjmp): Restore shadow stack pointer if shadow stack is
12163 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12164 isn't defined for __longjmp_cancel.
12165 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
12166 (_setjmp): Save shadow stack pointer if shadow stack is enabled
12167 and SHADOW_STACK_POINTER_OFFSET is defined.
12168 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
12169 (setjmp): Save shadow stack pointer if shadow stack is enabled
12170 and SHADOW_STACK_POINTER_OFFSET is defined.
12171 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
12172 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12173 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12174 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
12176 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12177 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12178 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
12179 Remove jmp_buf-ssp.sym.
12180 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12182 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12183 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12184 * sysdeps/x86/Makefile (gen-as-const-headers): Add
12186 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
12187 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
12188 (__longjmp): Restore shadow stack pointer if shadow stack is
12189 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12190 isn't defined for __longjmp_cancel.
12191 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
12192 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12193 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12195 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
12198 * nptl/pthread_create.c: Include <tls-setup.h>.
12199 (__pthread_create_2_1): Call tls_setup_tcbhead.
12200 * sysdeps/generic/tls-setup.h: New file.
12201 * sysdeps/x86/nptl/tls-setup.h: Likewise.
12202 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
12203 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
12205 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
12207 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12208 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
12209 (X86_FEATURE_1_SHSTK): Likewise.
12210 (CET_ENABLED): Likewise.
12211 (IBT_ENABLED): Likewise.
12212 (SHSTK_ENABLED): Likewise.
12214 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
12217 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
12218 (LOCALES): Likewise.
12219 * localedata/dsb_DE.UTF-8.in: New file.
12220 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
12222 2018-07-12 Florian Weimer <fweimer@redhat.com>
12224 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
12225 __mprotect, not mprotect.
12227 2018-07-11 Florian Weimer <fweimer@redhat.com>
12229 * io/Makefile (headers): Add bits/statx.h.
12231 2018-07-10 Mike FABIAN <mfabian@redhat.com>
12233 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
12234 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
12236 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
12237 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
12240 2018-07-10 Florian Weimer <fweimer@redhat.com>
12242 * io/Makefile (routines): Add statx.
12243 (tests-internal): Add tst-statx.
12244 * io/Versions (GLIBC_2.28): Export statx.
12245 * io/bits/statx.h: New file.
12246 * io/sys/stat.h [__USE_GNU]: Include it.
12247 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
12248 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
12250 * io/statx.c: New file.
12251 * io/statx_generic.: Likewise.
12252 * io/tst-statx.: Likewise.
12253 * include/bits/statx.h: Likewise.
12254 * sysdeps/unix/sysv/linux/kernel-features.h
12255 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
12256 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12257 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
12258 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
12260 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12261 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
12262 * sysdeps/unix/sysv/linux/statx.c: New file.
12263 * manual/filesys.texi: Note that statx is undocumented.
12264 * sysdeps/**/libc*.abilist: Update.
12266 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12268 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
12269 a kernel issue which lead to test failure in some cases.
12271 2018-07-10 Florian Weimer <fweimer@redhat.com>
12274 * posix/regexec.c (check_node_accept_bytes): When comparing
12275 weights, do not compare an extra byte after the end of the
12278 2018-07-10 Florian Weimer <fweimer@redhat.com>
12280 * libio/readline.c: Fix copyright year.
12281 * libio/tst-readline.c Likewise.
12282 * nss/tst-nss-files-hosts-getent.c: Likewise.
12284 2018-07-06 Florian Weimer <fweimer@redhat.com>
12287 * nss/nss_files/files-XXX.c (internal_getent): Use
12288 __libc_readline_unlocked. Seek back to the start of the line if
12289 parsing failes with ERANGE.
12290 (get_contents_ret, get_contents): Remove.
12291 * nss/tst-nss-files-hosts-getent.c: New file.
12292 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
12293 (tst-nss-files-hosts-getent): Link with -ldl.
12295 2018-07-06 Florian Weimer <fweimer@redhat.com>
12297 * include/stdio.h (__libc_readline_unlocked): Declare.
12298 (__ftello64, __fseeko64): Declare aliases.
12299 * libio/readline.c: New file.
12300 * libio/tst-readline.c: Likewise.
12301 (routines): Add readline.
12302 (tests-internal): Add tst-readlime.
12303 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
12304 __libc_readline_unlocked.
12305 * libio/fseeko.c (__fseeko): Rename from fseeko.
12306 (fseeko): Add alias.
12307 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
12308 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
12309 (fseeko64): Add alias.
12310 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
12311 * libio/ftello64.c (__ftello64): Rename from ftello64.
12312 (ftello64): Add alias.
12314 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12316 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12319 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12321 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12322 Use dl_hwcap without masking.
12323 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12324 Remove HWCAP_CPUID.
12326 2018-07-06 Florian Weimer <fweimer@redhat.com>
12328 * conform/conformtest.pl (checknamespace): Escape literal braces
12329 in regular expressions.
12331 2018-07-06 Amit Pawar <amit.pawar@amd.com>
12333 * sysdeps/x86/cpu-features.c (get_common_indeces):
12334 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12335 * sysdeps/x86/cpu-features.c (init_cpu_features):
12336 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12338 2018-07-05 Florian Weimer <fweimer@redhat.com>
12340 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12342 (CFLAGS-elf-init.oS): Likewise.
12344 2018-07-05 Florian Weimer <fweimer@redhat.com>
12345 Carlos O'Donell <carlos@redhat.com>
12347 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12348 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12349 with stack protector enabled because there is no risk of infinite
12352 2018-07-05 Maciej W. Rozycki <macro@mips.com>
12356 * libc-abis (ABSOLUTE): New ABI.
12357 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12358 * NEWS: Mention the new ABI.
12360 2018-07-05 Florian Weimer <fweimer@redhat.com>
12363 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12364 (RENAME_WHITEOUT): Define.
12365 [__USE_GNU] (renameat2): Declare.
12366 * stdio-common/Makefile (routines): Add renameat2.
12367 (tests): Add tst-renameat2.
12368 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12369 * stdio-common/renameat2.c: New file.
12370 * stdio-common/tst-renameat2.c: Likewise.
12371 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12372 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12374 * sysdeps/unix/sysv/linux/kernel-features.h
12375 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12376 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12377 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12378 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12379 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12380 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12381 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12382 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12383 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12384 * include/stdio.h (__renameat): Add alias for renameat.
12385 * stdio-common/renameat.c (__renameat): Rename from renameat.
12386 Add hidden definition and alias.
12387 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12388 * sysdeps/mach/hurd/renameat.c: Likewise.
12389 * sysdeps/**/libc*.abilist: Add renameat2.
12391 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12393 * posix/bug-regex33.c: Fix build after regex sync.
12395 2018-07-04 Carlos O'Donell <carlos@redhat.com>
12398 * localedata/tst-langinfo-setlocale.c: New file.
12399 * localedata/tst-langinfo-setlocale-static.c: New file.
12400 * localedata/tst-langinfo-newlocale.c: New file.
12401 * localedata/tst-langinfo-newlocale-static.c: New file.
12402 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12403 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12404 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12405 (tests-static): Remove tst-langinfo-static. Add
12406 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12407 (tests-special): Remove $(objpfx)tst-langinfo.out,
12408 $(objpfx)tst-langinfo-static.out. Add
12409 $(objpfx)tst-langinfo-setlocale.out,
12410 $(objpfx)tst-langinfo-newlocale.out,
12411 $(objpfx)tst-langinfo-setlocale-static.out,
12412 $(objpfx)tst-langinfo-newlocale-static.out.
12413 ($(objpfx)tst-langinfo.out): Remove.
12414 ($(objpfx)tst-langinfo-static.out): Remove.
12415 ($(objpfx)tst-langinfo-newlocale.out): New target.
12416 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12417 (test-xfail-tst-langinfo-newlocale-static): Add.
12418 ($(objpfx)tst-langinfo-setlocale.out): New target.
12419 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12420 * localedata/tst-langinfo.c: Call test_locale.
12421 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12424 2018-07-04 Florian Weimer <fweimer@redhat.com>
12426 testrun.sh: Implement --tool=strace, --tool=valgrind
12427 * Makefile (testrun-script): Define variable.
12428 (testrun.sh): Use variable.
12429 * manual/install.texi (Tools for Compilation): make 4.0 or later
12431 * configure.ac: Check for make 4.0 or later.
12432 * INSTALL: Regenerate.
12433 * configure: Likewise.
12435 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12441 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12442 * posix/PCRE.tests: Remove invalid test.
12443 * posix/bug-regex28.c: Fix expected values for used syntax.
12444 * posix/bug-regex37.c: New file.
12445 * posix/bug-regex38.c: Likewise.
12446 * posix/regcomp.c: Sync with gnulib.
12447 * posix/regex.c: Likewise.
12448 * posix/regex.h: Likewise.
12449 * posix/regex_internal.c: Likewise.
12450 * posix/regex_internal.h: Likewise.
12451 * posix/regexec.c: Likewise.
12453 2018-06-26 Mike FABIAN <mfabian@redhat.com>
12456 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12457 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12458 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12459 * localedata/unicode-gen/PropList.txt: likewise.
12460 * localedata/unicode-gen/UnicodeData.txt: likewise.
12461 * localedata/charmaps/UTF-8: Regenerate.
12462 * localedata/locales/i18n_ctype: likewise.
12463 * localedata/locales/tr_TR: likewise.
12464 * localedata/locales/translit_circle: likewise.
12465 * localedata/locales/translit_cjk_compat: likewise.
12466 * localedata/locales/translit_combining: likewise.
12467 * localedata/locales/translit_compat: likewise.
12468 * localedata/locales/translit_font: likewise.
12469 * localedata/locales/translit_fraction: likewise.
12471 2018-07-03 Florian Weimer <fweimer@redhat.com>
12474 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12475 * stdio-common/tst-printf.sh: Adjust expected output.
12476 * LICENSES: Update.
12478 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12480 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12483 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12485 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12486 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12487 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12488 * stdio-common/tst-printfsz-islongdouble.c: New file.
12489 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12490 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12491 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12492 [subdir == stdio-common] (tests-internal): Add
12493 test-printf-size-ieee128, and test-printf-size-ibm128.
12494 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12495 (CFLAGS-test-printf-size-ibm128.c): New variables.
12496 [subdir == stdio-common] (tests-special): Add
12497 $(objpfx)test-printf-size-ieee128.out and
12498 $(objpfx)test-printf-size-ibm128.out.
12499 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12500 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12501 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12502 __printf_sizeieee128.
12503 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12505 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12507 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12510 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12512 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12513 (exp2f_inline): Likewise.
12514 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12515 (__math_uflowf): Likewise.
12516 (__math_may_uflowf): Likewise.
12517 (__math_divzerof): Likewise.
12518 (__math_invalidf): Likewise.
12519 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12520 (__math_oflowf): Likewise.
12521 (__math_uflowf): Likewise.
12522 (__math_may_uflowf): Likewise.
12523 (__math_divzerof): Likewise.
12524 (__math_invalidf): Likewise.
12526 2018-06-29 DJ Delorie <dj@redhat.com>
12527 Carlos O'Donell <carlos@redhat.com>
12530 * include/libc-symbols.h: Comment the freeres framework.
12531 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12532 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12533 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12534 * dlfcn/dlerror.c: Include libc-symbols.h
12535 (__dlerror_main_freeres): New function.
12536 * dlfcn/dlfreeres.c: New file.
12537 * dlfcn/sdlfreeres.c: New file.
12538 * include/dlfcn.h: Declare __dlerror_main_freeres.
12539 * malloc/set-freeres.c: Declare __libdl_freeres, and
12540 __libpthread_freeres.
12541 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12542 the releavant libraries are loaded.
12543 * malloc/thread-freeres.c: Add comments.
12544 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12545 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12546 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12547 (__free_stacks): Rename to...
12548 (free_stacks): ...this. Mark static.
12549 (queue_stack): Call free_stacks.
12550 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12551 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12552 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12553 ptr_freeres element from struct.
12554 (pthread_functions): Remove .ptr_freeres from struct initializer.
12555 [SHARED] (nptl_freeres): Remove.
12556 * nptl/nptlfreeres.c: New file.
12558 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12559 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12561 (__free_stacks): Rename to...
12562 (__nptl_stacks_freeres): ...this.
12563 (__shm_directory_freeres): Declare.
12564 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12565 (__nptl_unwind_freeres): ...this.
12566 * resolv/res-close.c: Add comment.
12567 * resolv/resolv_conf.c: Include libc-symbols.h.
12568 * string/strerror_l.c: Include libc-symbols.h.
12569 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12570 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12571 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12572 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12574 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12576 * stdlib/tst-strfmon_l.c: Add tests for long double.
12578 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
12581 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12582 * localedata/locales/dsb_DE: New file.
12584 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12587 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12589 (alt_mon): New entry, import from CLDR (nominative case).
12591 2018-06-29 Sylvain Lesage <severo@rednegra.net>
12594 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12596 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12598 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12599 Use vector registers.
12601 * sysdeps/aarch64/multiarch/memmove_falkor.S
12602 (__memcpy_falkor): Use vector registers.
12604 2018-06-29 Martin Sebor <msebor@redhat.com>
12606 * manual/stdio.texi (Customizing Printf): Mention interaction
12607 with GCC built-ins.
12609 2018-06-29 Maciej W. Rozycki <macro@mips.com>
12612 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12613 `st_value' is 0 if `st_shndx' is SHN_ABS.
12614 * elf/tst-absolute-zero.c: New file.
12615 * elf/tst-absolute-zero-lib.c: New file.
12616 * elf/tst-absolute-zero-lib.lds: New file.
12617 * elf/Makefile (tests): Add `tst-absolute-zero'.
12618 (modules-names): Add `tst-absolute-zero-lib'.
12619 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12620 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12621 ($(objpfx)tst-absolute-zero: New dependency.
12623 2018-06-29 Zack Weinberg <zackw@panix.com>
12625 * configure.ac: New command-line option --disable-crypt.
12626 Force --disable-nss-crypt when --disable-crypt is given, with a
12627 warning if it was explicitly enabled.
12628 * configure: Regenerate.
12629 * config.make.in: New boolean substitution variable $(build-crypt).
12630 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12631 when $(build-crypt).
12632 * manual/install.texi: Document --disable-crypt.
12633 * INSTALL: Regenerate.
12635 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12636 which is never set.
12637 * conform/Makefile: Only include libcrypt.a in
12638 linknamespace-libs-xsi and linknamespace-libs-XPG4
12639 when $(build-crypt).
12640 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12641 USE_CRYPT to 1 when $(build-crypt).
12642 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12643 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12644 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12646 2018-06-29 Zack Weinberg <zackw@panix.com>
12648 * crypt/crypt.h, posix/unistd.h: Update comments and
12649 prototypes for crypt and crypt_r.
12651 * manual/crypt.texi (Cryptographic Functions): New initial
12653 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12654 (Unpredictable Bytes): Improve initial exposition. Clarify error
12655 behavior of getentropy and getrandom.
12656 * manual/examples/genpass.c: Generate a salt using getentropy
12657 instead of the current time. Use hash $5$ (SHA-2-256).
12658 * manual/examples/testpass.c: Demonstrate validation against
12659 hashes generated with three different one-way functions.
12661 * manual/intro.texi: crypt.texi does not need an overview
12664 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12665 * manual/terminal.texi: Consistently refer to "passphrases"
12666 * instead of "passwords", and to the "user database" instead
12667 * of the "password database".
12668 * manual/users.texi: Similarly. Add notes about how actual
12669 passphrase hashes are now stored in the shadow database.
12670 Remove 20-year-old junk todo note.
12672 2018-06-29 Zack Weinberg <zackw@panix.com>
12674 * manual/crypt.texi: Use a normal top-level @node declaration.
12675 Move most of the introductory text to the 'crypt' section.
12676 Move the example programs below the @deftypefun for 'crypt_r'.
12677 Move the 'getpass' section...
12678 * manual/terminal.texi: ...here.
12680 2018-06-29 Zack Weinberg <zackw@panix.com>
12681 Florian Weimer <fweimer@redhat.com>
12683 * posix/unistd.h: Do not declare encrypt.
12684 (_XOPEN_CRYPT): Remove macro definition.
12685 (crypt): Declare only for _USE_MISC.
12686 * stdlib/stdlib.h: Do not declare setkey.
12687 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12688 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12690 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12691 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12692 into compat symbols. Don't define initial_perm if it's not
12694 * crypt/cert.c: Link explicitly with the expected versions for
12695 setkey and encrypt. If they are not available at all, mark
12696 the test as unsupported.
12698 * sunrpc/des_crypt.c: Unconditionally block linkage with
12699 cbc_crypt and ecb_crypt for new binaries.
12700 * sunrpc/des_soft.c: Unconditionally block linkage with
12701 des_setparity for new binaries.
12703 * manual/crypt.texi: Remove the entire "DES Encryption"
12704 section. Also remove the paragraph talking about FIPS 140-2
12705 from the introduction.
12706 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12707 of libgcrypt for "real" encryption, not DES.
12708 * manual/conf.texi (Constants for Sysconf): Mention that
12709 _XOPEN_CRYPT is no longer impelemented.
12711 * conform/data/unistd.h-data: Remove crypt function declaration.
12713 2018-06-29 Florian Weimer <fweimer@redhat.com>
12716 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12717 (disallow_malloc_check): Remove variable.
12718 (__malloc_check_init): Adjust.
12719 (malloc_set_state): Update comment.
12720 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12723 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12726 * localedata/locales/ast_ES (mon): Rename to...
12728 (mon): Import from CLDR (genitive case).
12730 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12731 Jakub Sitnicki <jkbs@redhat.com>
12734 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12735 on NLM_F_DUMP_INTR.
12737 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12739 * manual/llio.texi: Remove spurious space.
12741 2018-06-28 Florian Weimer <fweimer@redhat.com>
12744 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12747 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12749 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
12750 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
12751 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12752 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12753 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12754 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12755 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12757 2018-06-27 Maciej W. Rozycki <macro@mips.com>
12760 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12761 Copy and null-terminate entries that are not terminated, in
12762 addition to empty ones.
12764 2018-06-27 Florian Weimer <fweimer@redhat.com>
12767 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12768 (extend_alloca_account): Remove.
12769 * manual/stdio.texi (Variable Arguments Output): Update comment.
12771 2018-06-27 Joseph Myers <joseph@codesourcery.com>
12773 * nptl/sockperf.c: Remove file.
12775 2018-06-27 Florian Weimer <fweimer@redhat.com>
12778 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12779 scratch_buffer instead of extend_alloca.
12781 2018-06-27 Florian Weimer <fweimer@redhat.com>
12784 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12785 scratch_buffer instead of extend_alloca. Update comments.
12787 2018-06-27 Florian Weimer <fweimer@redhat.com>
12790 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12791 instead of extend_alloca.
12793 2018-06-26 Joseph Myers <joseph@codesourcery.com>
12796 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12797 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12799 * scripts/test-installation.pl: Put temporary files in build
12800 directory, not /tmp.
12801 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12802 (CFLAGS-bug4.c): Likewise.
12803 (CFLAGS-bug5.c): Likewise.
12804 (CFLAGS-test-fseek.c): Likewise.
12805 (CFLAGS-test-popen.c): Likewise.
12806 (CFLAGS-test_rdwr.c): Likewise.
12807 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12809 * stdio-common/bug4.c (main): Likewise.
12810 * stdio-common/bug5.c (main): Likewise.
12811 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12812 * stdio-common/test-popen.c (do_test): Likewise.
12813 * stdio-common/test_rdwr.c (main): Likewise.
12815 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
12817 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12818 (sem_open): Set sem.newsem.pad to zero for valgrind.
12820 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12823 * NEWS: Mention fcntl64 addition.
12824 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12825 * login/utmp_file.c: Likewise.
12826 * sysdeps/posix/fdopendir.c: Likewise.
12827 * sysdeps/posix/opendir.c: Likewise.
12828 * sysdeps/unix/pt-fcntl.c: Likewise.
12829 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12830 __fcntl64_nocancel_adjusted): New prototype.
12831 (__fcntl_nocancel_adjusted): Remove prototype.
12832 * io/Makefile (routines): Add fcntl64.
12833 (CFLAGS-fcntl64.c): New rule.
12834 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12835 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12836 * io/fcntl.h (fcntl64): Add prototype and redirect if
12837 __USE_FILE_OFFSET64 is defined.
12838 * io/fcntl64.c: New file.
12839 * manual/llio.text: Add a note for which commands fcntl acts a
12840 cancellation point.
12841 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12842 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12843 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12845 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12846 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12848 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12849 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12850 to __fcntl64_nocancel.
12851 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12852 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12853 to __fcntl64_nocancel.
12854 * sysdeps/generic/not-cancel.h: Likewise.
12855 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12856 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12857 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12858 (fcntl64): New symbol.
12859 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12860 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12861 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12864 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12865 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12866 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12867 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12868 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12869 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12870 fcntl64): Likewise.
12871 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12872 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12873 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12874 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12875 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12876 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12877 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12878 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12879 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12884 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12885 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12886 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12888 2018-06-26 Florian Weimer <fweimer@redhat.com>
12890 Run thread shutdown functions in an explicit order.
12891 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12893 (__libc_thread_freeres): Call thread shutdown functions
12895 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12896 * include/string.h (__strerror_thread_freeres): Declare.
12897 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12898 arena_thread_freeres. No longer static. Remove thread shutdown
12900 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12902 * resolv/res-close.c (__res_thread_freeres): Renamed from
12903 res_thread_freeres. No longer static. Remove thread shutdown
12905 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12906 * resolv/resolv_conf.c (freeres): Remove incorrect section
12907 attribute and use libc_freeres_fn.
12908 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12909 strerror_thread_freeres. No longer static. Remove thread
12910 shutdown hook registration.
12911 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12912 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12913 shutdown hook registration.
12914 * Makerules (shlib.lds): Do not provide section boundary symbols
12915 for __libc_thread_subfreeres.
12916 * manual/memory.texi (Basic Allocation): Update comment.
12918 2018-06-26 Florian Weimer <fweimer@redhat.com>
12920 Remove always-defined _RPC_THREAD_SAFE_ macro.
12921 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12922 Do not define _RPC_THREAD_SAFE_.
12923 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12925 * sunrpc/clnt_perr.c: Likewise.
12926 * sunrpc/clnt_raw.c: Likewise.
12927 * sunrpc/clnt_simp.c: Likewise.
12928 * sunrpc/key_call.c: Likewise.
12929 * sunrpc/rpc_common.c: Likewise.
12930 * sunrpc/rpc_main.c: Likewise.
12931 * sunrpc/rpc_thread.c: Likewise.
12932 * sunrpc/svc.c: Likewise.
12933 * sunrpc/svc_raw.c: Likewise.
12934 * sunrpc/svc_simple.c: Likewise.
12935 * sumrpc/svcauth_des.c: Likewise.
12937 2018-06-26 Florian Weimer <fweimer@redhat.com>
12939 * libio/Makefile (tests-internal): Add tst-vtables,
12940 tst-vtables-interposed.
12941 * libio/tst-vtables.c: New file.
12942 * libio/tst-vtables-common.c: Likewise.
12943 * libio/tst-vtables-interposed.c: Likewise.
12945 2018-06-26 Florian Weimer <fweimer@redhat.com>
12947 * support/support_test_main.c (support_test_main): Only call
12948 setvbuf if not disables.
12949 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12950 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12952 2018-06-26 Florian Weimer <fweimer@redhat.com>
12955 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12957 2018-06-25 Florian Weimer <fweimer@redhat.com>
12960 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12961 Use struct scratch_buffer instead of extend_alloca.
12963 2018-06-25 Florian Weimer <fweimer@redhat.com>
12966 * nss/getent.c (initgroups_keys): Use dynarray instead of
12969 2018-06-25 Florian Weimer <fweimer@redhat.com>
12972 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12973 Use struct scratch_buffer instead of extend_alloca.
12975 2018-06-25 Florian Weimer <fweimer@redhat.com>
12978 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12979 back to malloc directly, without stack allocations.
12981 2018-06-25 Florian Weimer <fweimer@redhat.com>
12984 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12987 2018-06-25 Florian Weimer <fweimer@redhat.com>
12990 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12992 * nscd/hstcache.c (addhstbyX): Likewise.
12993 * nscd/pwdcache.c (addpwbyX): Likewise.
12994 * nscd/servicescache.c (addservbyX): Likewise.
12996 2018-06-25 Florian Weimer <fweimer@redhat.com>
12999 * nscd/connections.c (read_cmdline): New function.
13000 (restart): Use it. Update comment.
13002 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13005 * localedata/locales/csb_PL (mon): Rename to...
13007 (abmon): Rename to...
13008 (ab_alt_mon): This.
13009 (mon): Add with proper genitive forms, copy from Wikipedia.
13012 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13015 * localedata/locales/csb_PL (mon): Fix typos:
13016 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
13017 (yesstr): Add, value is "jo".
13018 (nostr): Add, value is "nié".
13020 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13022 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
13023 all log1p and significand functions on m680x0.
13024 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
13025 of s_significand.c..
13026 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13027 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
13028 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
13029 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
13030 s_log1p.c and include it..
13032 2018-06-21 Vincent Chen <vincentc@andestech.com>
13034 * elf/elf.h (R_NDS32_NONE): New define.
13035 (R_NDS32_32_RELA): Likewise.
13036 (R_NDS32_COPY): Likewise.
13037 (R_NDS32_GLOB_DAT): Likewise.
13038 (R_NDS32_JUMP_SLOT): Likewise.
13039 (R_NDS32_RELATIVE): Likewise.
13040 (R_NDS32_TLS_TPOFF): Likewise.
13041 (R_NDS32_TLS_DESC): Likewise.
13043 2018-06-21 Mark Wielaard <mark@klomp.org>
13045 * elf/elf.h (R_BPF_MAP_FD): Removed.
13046 (R_BPF_64_64, R_BPF_64_32): New.
13048 2018-06-21 Florian Weimer <fweimer@redhat.com>
13051 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
13052 Renamed from libc_feholdsetround_ctx.
13053 (default_libc_feresetround_ctx): Renamed from
13054 libc_feresetround_ctx.
13055 (default_libc_feholdsetround_noex_ctx): Renamed from
13056 libc_feholdsetround_noex_ctx.
13057 (default_libc_feresetround_noex_ctx): Renamed from
13058 libc_feresetround_noex_ctx.
13059 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
13060 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
13061 forwardning to the old implementations under the new names.
13062 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
13063 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
13064 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
13065 (libc_feresetround_ctx): Forward to default implements for i386
13066 and MATH_SET_BOTH_ROUNDING_MODES.
13067 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
13068 Add -DMATH_SET_BOTH_ROUNDING_MODES.
13070 2018-06-20 Joseph Myers <joseph@codesourcery.com>
13072 * string/tst-cmp.c: Include <libc-diag.h>.
13073 (strncmp_max): Disable -Wstringop-overflow= around call to
13075 (strncasecmp_max): Disable -Wstringop-overflow= around call to
13078 * string/bug-strpbrk1.c: Include <libc-diag.h>.
13079 (main): Disable -Wunused-value around call to strpbrk.
13080 * string/bug-strspn1.c: Include <libc-diag.h>.
13081 (main): Disable -Wunused-value around call to strspn.
13083 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13084 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13086 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
13087 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
13089 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13091 * math/Makefile (libm-calls): Move s_significandF to...
13092 (gen-libm-calls): ... here.
13093 * math/s_significand_template.c: New file.
13094 * math/s_significand.c: Removed.
13095 * math/s_significandf.c: Removed.
13096 * math/s_significandl.c: Removed.
13097 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
13098 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
13100 * math/e_exp2_template.c (declare_mgen_finite_alias,
13101 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
13102 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
13103 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
13105 2018-06-20 Florian Weimer <fweimer@redhat.com>
13107 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
13109 2018-06-19 Joseph Myers <joseph@codesourcery.com>
13112 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
13113 floating-point number to strtod functions rather than possibly
13114 negating result of those functions.
13115 * stdio-common/tst-scanf-round.c: New file.
13116 * stdio-common/Makefile (tests): Add tst-scanf-round.
13117 ($(objpfx)tst-scanf-round): Depend on $(libm).
13119 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13121 * sysdeps/mach/hurd/localplt.data: Move to...
13122 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
13123 R_386_GLOB_DAT like on Linux i386.
13125 2018-06-18 Joseph Myers <joseph@codesourcery.com>
13127 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
13128 (SHM_STAT_ANY): New macro.
13129 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
13130 (SHM_STAT_ANY): Likewise.
13131 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
13132 (SHM_STAT_ANY): Likewise.
13133 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
13134 (SHM_STAT_ANY): Likewise.
13135 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
13136 (SHM_STAT_ANY): Likewise.
13137 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
13138 (SHM_STAT_ANY): Likewise.
13139 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
13140 (SHM_STAT_ANY): Likewise.
13141 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
13142 (SHM_STAT_ANY): Likewise.
13143 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
13144 (SHM_STAT_ANY): Likewise.
13145 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
13146 (SHM_STAT_ANY): Likewise.
13147 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
13148 (SHM_STAT_ANY): Likewise.
13149 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
13150 (SHM_STAT_ANY): Likewise.
13152 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
13153 (SEM_STAT_ANY): New macro.
13154 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
13155 (SEM_STAT_ANY): Likewise.
13156 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
13157 (SEM_STAT_ANY): Likewise.
13158 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
13159 (SEM_STAT_ANY): Likewise.
13160 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
13161 (SEM_STAT_ANY): Likewise.
13162 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
13163 (SEM_STAT_ANY): Likewise.
13164 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
13165 (SEM_STAT_ANY): Likewise.
13166 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
13167 (SEM_STAT_ANY): Likewise.
13168 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
13169 (SEM_STAT_ANY): Likewise.
13170 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
13171 (SEM_STAT_ANY): Likewise.
13173 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
13174 (MSG_STAT_ANY): New macro.
13175 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
13176 (MSG_STAT_ANY): Likewise.
13177 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
13178 (MSG_STAT_ANY): Likewise.
13179 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
13180 (MSG_STAT_ANY): Likewise.
13181 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
13182 (MSG_STAT_ANY): Likewise.
13183 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
13184 (MSG_STAT_ANY): Likewise.
13185 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
13186 (MSG_STAT_ANY): Likewise.
13187 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
13188 (MSG_STAT_ANY): Likewise.
13189 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
13190 (MSG_STAT_ANY): Likewise.
13191 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
13192 (MSG_STAT_ANY): Likewise.
13194 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13195 (MAP_TYPE): Change value to 0x2b.
13197 2018-06-18 Florian Weimer <fweimer@redhat.com>
13200 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
13201 socket with SOCK_CLOEXEC.
13203 2018-06-18 Joseph Myers <joseph@codesourcery.com>
13206 * sysdeps/powerpc/powerpc64/le/Makefile
13207 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
13208 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
13209 (gnulib-tests): Also add $(f128-loader-link) for
13210 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
13212 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
13214 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
13215 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
13217 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
13218 (sendfile64): New strong alias.
13219 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
13220 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
13221 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
13222 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
13224 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
13225 ___pthread_get_cleanup_stack.
13226 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
13227 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
13228 * mach/shortcut.awk: Make syscall stubs include
13229 <mach-shortcuts-hidden.h> and add hidden definition.
13230 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
13231 (__mach_msg): Add hidden prototype.
13232 * mach/msg.c: Include <mach.h>.
13233 (__mach_msg): Add hidden definition.
13234 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
13235 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
13236 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
13237 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
13238 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
13239 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
13240 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
13241 prototype and definition.
13242 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
13243 hidden target for _hurd_self_sigstate.
13245 2018-06-15 Joseph Myers <joseph@codesourcery.com>
13248 * stdlib/tst-strtod-nan-sign-main.c: New file.
13249 * stdlib/tst-strtod-nan-sign.c: Likewise.
13250 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
13251 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
13252 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
13253 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
13254 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
13256 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
13259 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
13262 2018-06-14 Florian Weimer <fweimer@redhat.com>
13265 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
13266 that the result stays within the ISO-8859-1 range.
13267 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
13268 characters are defined in IBM273.
13270 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
13272 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
13273 __mach_task_self): Remove attribute_hidden.
13275 2018-06-14 Joseph Myers <joseph@codesourcery.com>
13277 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
13278 ignore -Wrestrict for one test.
13280 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
13281 Szabolcs Nagy <szabolcs.nagy@arm.com>
13283 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
13285 2018-06-14 Florian Weimer <fweimer@redhat.com>
13287 * scripts/update-abilist.sh: Accept empty list of files to patch.
13289 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13291 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
13292 test-xfail-check-abi-libmachuser): Add.
13293 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
13294 __libc_read and __libc_write to __read and __write.
13295 * sysdeps/hurd/include/hurd/port.h: New file.
13296 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
13297 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
13298 __thread_switch, __evc_wait): Move declarations to...
13299 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
13301 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
13302 use PLT to call _hurd_self_sigstate.
13304 2018-06-13 Joseph Myers <joseph@codesourcery.com>
13307 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
13308 MAX_EXP as overflowing.
13309 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
13311 (round_str): Output also whether result overflows in each rounding
13313 * stdlib/tst-strtod-round-data: Add more tests.
13314 * stdlib/tst-strtod-round-data.h: Regenerated.
13315 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13316 (TEST): Handle extra arguments for overflow flags.
13317 (struct test_overflow): New type.
13318 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13319 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13320 (test_in_one_mode): Take argument with overflow information.
13321 (do_test): Update calls to test_in_one_mode.
13323 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13325 * elf/dl-load (_dl_dst_substitute): Correct comment.
13326 (_dl_dst_count): Likewise.
13328 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13329 lll_futex_timed_wait.
13331 2018-06-12 Joseph Myers <joseph@codesourcery.com>
13334 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13336 * math/test-nan-const.c: New file.
13337 * math/Makefile (tests): Add test-nan-const.
13338 (CFLAGS-test-nan-const.c): New variable.
13340 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13342 * benchtests/scripts/compare_strings.py (process_results): Add
13343 funcs argument. Compare only functions which are selected.
13344 (main): Check if base function is among selected functions.
13345 Pass selected functions to process_results.
13346 (__main__): Add -f/--functions argument.
13348 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13349 Hongbo Zhang <hongbo.zhang@linaro.org>
13351 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13352 __memcpy_falkor for phecda core.
13353 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13354 __memmove_falkor for phecda core.
13355 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13356 __memset_falkor for phecda core.
13357 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13359 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13360 macro to identify phecda core.
13362 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13363 Andreas Schwab <schwab@suse.de>
13364 Dmitry V. Levin <ldv@altlinux.org>
13365 Florian Weimer <fweimer@redhat.com>
13372 * elf/dl-dst.h: Remove DL_DST_COUNT.
13373 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13374 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13375 (is_dst): Comment. Support ELF gABI.
13376 (_dl_dst_count): Comment. Simplify and count DSTs.
13377 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13378 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13381 2018-06-12 Zack Weinberg <zackw@panix.com>
13383 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13384 * sysdeps/unix/sysv/linux/dl-sysdep.c
13385 Include not-cancel.h. Use __close_nocancel instead of __close,
13386 __open64_nocancel instead of __open, __read_nocancel instead of
13387 __libc_read, and __write_nocancel instead of __libc_write.
13389 * csu/check_fds.c (check_one_fd)
13390 * sysdeps/posix/fdopendir.c (__fdopendir)
13391 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
13392 instead of __fcntl and/or __libc_fcntl.
13394 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13395 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
13396 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
13397 Use __open64_nocancel instead of __open_nocancel.
13399 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13400 hidden_proto declarations to the end and issue them if either
13401 IS_IN(libc) or IS_IN(rtld).
13402 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13403 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13404 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13405 read_nocancel, waitpid_nocancel, write_nocancel.
13407 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13408 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13409 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
13411 * nptl/pt-fcntl.c: New file.
13412 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13413 (libpthread-routines): Add pt-fcntl.
13414 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13415 (__libc_fcntl): Remove attribute_hidden.
13416 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13417 __fcntl_nocancel_adjusted, not fcntl_common.
13418 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
13419 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13420 to fcntl_nocancel.c.
13421 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13424 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13426 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13427 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13428 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13429 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13430 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13431 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13432 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13433 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13434 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13435 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13436 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13437 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13438 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13439 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13440 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13441 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13442 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13443 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13444 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13445 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13447 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13448 libpthread-routines.
13449 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13452 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13453 __libc_read, and __write instead of __libc_write. Define
13454 __open64 in addition to __open.
13456 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13460 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13461 to _private_tm[3] and add __glibc_reserved2.
13462 Add _Static_assert of offset of __private_ss == 0x30.
13463 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13464 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13466 2018-06-12 Florian Weimer <fweimer@redhat.com>
13468 x86: Make strncmp usable from rtld.
13469 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13470 __strncmp_ia32 if in libc (and not in rtld).
13471 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13472 strncmp if not in libc (and not to __strncmp_sse2).
13474 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13477 * localedata/locales/gd_GB (mon): Rename to...
13479 (mon): Import from CLDR (genitive case).
13480 * localedata/locales/hsb_DE (mon): Rename to...
13482 (mon): Import from CLDR (genitive case).
13483 * localedata/locales/wa_BE (mon): Rename to...
13485 (mon): Add, fill with the proper genitive forms, but CLDR data
13486 is incomplete; completed according to the comments in this file.
13487 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13489 * localedata/locales/wa_BE (country_name): Reword
13490 "Beljike" -> "Beldjike".
13492 2018-06-11 Joseph Myers <joseph@codesourcery.com>
13495 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13496 cases of non-finite arguments.
13497 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13499 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
13502 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13504 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13507 * include/unistd.h (__execvpex): New prototype.
13508 * posix/Makefile (tests): Add tst-spawn4.
13509 (tests-internal): Add tst-spawn4-compat.
13510 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13511 * posix/tst-spawn4-compat.c: New file.
13512 * posix/tst-spawn4.c: Likewise.
13513 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13514 binaries as shell scripts.
13515 * sysdeps/posix/spawni.c (__spawni): Likewise.
13517 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13520 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13521 ($(all-built-dso:=.dynsym): New target.
13522 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13523 ($(objpfx)check-initfini.out): New target.
13524 (generated): Add check-initfini.out.
13525 * scripts/check-initfini.awk: New file.
13526 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13528 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13530 * sysdeps/arm/crti.S (_init): Mark as hidden.
13532 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13534 * sysdeps/i386/crti.S (_init): Mark as hidden.
13536 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13538 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13540 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13542 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13544 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13546 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13548 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13550 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13552 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13554 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13556 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13558 * sysdeps/sh/crti.S (_init): Mark as hidden.
13560 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13562 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13565 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13567 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13568 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13569 and TF redirection to KFtype and KF only when the default
13570 long double type is not the IEEE 128-bit floating point type.
13572 2018-06-05 Joseph Myers <joseph@codesourcery.com>
13574 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13576 (HWCAP_USCAT): Likewise.
13577 (HWCAP_ILRCPC): Likewise.
13578 (HWCAP_FLAGM): Likewise.
13579 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13581 (_dl_aarch64_cap_flags): Add new flag names.
13583 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13584 (MAP_FIXED_NOREPLACE): New macro.
13585 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13586 (MAP_FIXED_NOREPLACE): Likewise.
13587 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13588 (MAP_FIXED_NOREPLACE): Likewise.
13589 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13590 (MAP_FIXED_NOREPLACE): Likewise.
13591 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13592 (MAP_FIXED_NOREPLACE): Likewise.
13593 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13594 (MAP_FIXED_NOREPLACE): Likewise.
13595 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13596 (MAP_FIXED_NOREPLACE): Likewise.
13597 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13598 (MAP_FIXED_NOREPLACE): Likewise.
13599 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13600 (MAP_FIXED_NOREPLACE): Likewise.
13601 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13602 (MAP_FIXED_NOREPLACE): Likewise.
13603 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13604 (MAP_FIXED_NOREPLACE): Likewise.
13605 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13606 (MAP_FIXED_NOREPLACE): Likewise.
13607 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13608 (MAP_FIXED_NOREPLACE): Likewise.
13609 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13610 (MAP_FIXED_NOREPLACE): Likewise.
13611 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13612 (MAP_FIXED_NOREPLACE): Likewise.
13614 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13617 2018-06-04 Joseph Myers <joseph@codesourcery.com>
13619 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13622 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13624 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13626 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13628 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13630 * benchtests/scripts/compare_string.py: (process_results) Catch
13631 exception in non-existent base_func and catch exception in
13632 non-existent attribute.
13633 (parse_file) Catch exception if input file does not exist.
13635 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13637 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13638 options to avoid diff calculation and omit header, respectively.
13639 (main): process --no-diff and --no-header
13641 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13642 H.J. Lu <hongjiu.lu@intel.com>
13644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13645 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13647 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13648 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13649 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13650 and __wcsncmp_sse2.
13651 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13652 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13653 AVX unaligned load is fast and vzeroupper is preferred.
13654 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13655 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13656 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13657 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13658 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13659 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13660 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13661 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13662 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13663 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13666 2018-06-01 Florian Weimer <fweimer@redhat.com>
13668 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13669 configuring with --disable-multi-arch, building with
13670 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13673 2018-06-01 Florian Weimer <fweimer@redhat.com>
13675 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13676 results from building with “-march=x86-64 -mtune=generic
13677 -mfpmath=sse” and running on a Haswell-era CPU.
13679 2018-06-01 Joseph Myers <joseph@codesourcery.com>
13682 * soft-fp/sqrttf2.c: Remove file.
13683 * soft-fp/sqrtdf2.c: Move to ....
13684 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13686 (__sqrtdf2): Make conditional on
13687 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13689 * soft-fp/sqrtsf2.c: Move to ....
13690 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13692 (__sqrtsf2): Make conditional on
13693 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13695 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13696 (gcc-double-routines): Remove sqrtdf2.
13697 (gcc-quad-routines): Remove sqrttf2.
13698 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13699 Do not filter out sqrtsf2 and sqrtdf2.
13700 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13701 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13703 2018-06-01 Florian Weimer <fweimer@redhat.com>
13705 * sysdeps/generic/libcidn.abilist: Remove file.
13707 2018-06-01 Florian Weimer <fweimer@redhat.com>
13710 * libio/strfile.h (struct _IO_str_fields): Rename members to
13711 discourage their use and add comment.
13712 (_IO_STR_DYNAMIC): Remove unused macro.
13713 * libio/strops.c (_IO_str_init_static_internal): Do not use
13714 callback pointers. Call malloc and free.
13715 (_IO_str_overflow): Do not use callback pointers. Call malloc
13717 (enlarge_userbuf): Likewise.
13718 (_IO_str_finish): Call free.
13719 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13720 _allocate_buffer_unused.
13721 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13723 (enlarge_userbuf): Likewise.
13724 (_IO_wstr_finish): Call free.
13725 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13726 _allocate_buffer_unused, _free_buffer_unused.
13727 * libio/memstream.c (__open_memstream): Likewise.
13728 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13729 * libio/wmemstream.c (open_wmemstream): Likewise.
13731 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13733 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13736 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13738 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13739 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13740 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13742 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13744 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13746 2018-05-29 Florian Weimer <fweimer@redhat.com>
13748 * support/Makefile (libsupport-routines): Add
13749 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13750 xpthread_barrierattr_setpshared.
13751 * support/xpthread_barrierattr_destroy.c: New file.
13752 * support/xpthread_barrierattr_init.c: Likewise.
13753 * support/xpthread_barrierattr_setpshared.c: Likewise.
13755 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13758 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13759 _r_debug and update DT_DEBUG for debugger.
13761 2018-05-29 Florian Weimer <fweimer@redhat.com>
13763 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13764 (tst-strtod5i.out): Likewise.
13766 2018-05-25 Joseph Myers <joseph@codesourcery.com>
13768 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13769 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13770 (sparc64-quad-routines): New variable. Moved from ....
13771 [$(subdir) = soft-fp] (sysdep_routines): Add
13772 $(sparc64-quad-routines). Moved from ....
13773 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13774 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13775 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13777 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13778 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13779 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13780 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13781 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13782 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13783 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13784 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13785 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13786 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13787 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13788 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13789 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13790 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13791 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13792 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13793 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13794 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13795 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13796 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13797 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13798 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13799 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13800 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13801 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13802 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13803 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13804 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13805 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13806 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13807 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13808 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13809 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13810 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13811 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13812 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13813 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13814 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13815 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13816 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13817 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13818 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13819 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13820 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13821 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13822 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13823 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13824 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13825 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13826 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13827 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13828 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13829 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13830 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13831 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13832 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13833 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13834 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13836 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13837 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13838 (sparc32-quad-routines): New variable. Moved from ....
13839 [$(subdir) = soft-fp] (sysdep_routines): Add
13840 $(sparc32-quad-routines). Moved from ....
13841 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13842 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13844 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13845 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13846 * sysdeps/sparc/sparc32/q_add.c: ... here.
13847 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13848 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13849 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13850 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13851 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13852 * sysdeps/sparc/sparc32/q_div.c: ... here.
13853 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13854 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13855 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13856 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13857 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13858 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13859 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13860 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13861 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13862 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13863 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13864 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13865 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13866 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13867 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13868 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13869 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13870 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13871 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13872 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13873 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13874 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13875 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13876 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13877 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13878 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13879 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13880 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13881 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13882 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13883 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13884 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13885 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13886 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13887 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13888 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13889 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13890 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13891 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13892 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13893 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13894 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13895 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13896 * sysdeps/sparc/sparc32/q_util.c: ... here.
13897 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13898 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13899 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13900 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13902 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13903 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13905 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13906 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13907 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13908 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13910 2018-05-24 Joseph Myers <joseph@codesourcery.com>
13912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13916 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13917 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13919 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13922 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13925 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13927 * sysdeps/sh/Implies: Remove sh/soft-fp.
13928 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13929 * sysdeps/sh/sfp-machine.h: ... here.
13931 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13933 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13934 (__mempcpy_erms): Skip zero length.
13935 (__memmove_erms): Likewise.
13936 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13937 (__memset_erms): Likewise.
13939 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13941 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13942 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13943 Add functions moved from ....
13944 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13945 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13946 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13948 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13949 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13950 * sysdeps/alpha/e_sqrtl.c: ... here.
13951 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13952 * sysdeps/alpha/local-soft-fp.h: ... here.
13953 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13954 * sysdeps/alpha/ots_add.c: ... here.
13955 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13956 * sysdeps/alpha/ots_cmp.c: ... here.
13957 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13958 * sysdeps/alpha/ots_cmpe.c: ... here.
13959 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13960 * sysdeps/alpha/ots_cvtqux.c: ... here.
13961 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13962 * sysdeps/alpha/ots_cvtqx.c: ... here.
13963 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13964 * sysdeps/alpha/ots_cvttx.c: ... here.
13965 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13966 * sysdeps/alpha/ots_cvtxq.c: ... here.
13967 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13968 * sysdeps/alpha/ots_cvtxt.c: ... here.
13969 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13970 * sysdeps/alpha/ots_div.c: ... here.
13971 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13972 * sysdeps/alpha/ots_mul.c: ... here.
13973 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13974 * sysdeps/alpha/ots_nintxq.c: ... here.
13975 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13976 * sysdeps/alpha/ots_sub.c: ... here.
13977 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13978 * sysdeps/alpha/sfp-machine.h: ... here.
13980 2018-05-23 Florian Weimer <fweimer@redhat.com>
13988 Switch to extern IDNA implementation (libidn2).
13989 * libidn: Remove subdirectory.
13990 * LICENSES: Do not mention licensing conditions for the removed
13992 * config.h.in (HAVE_LIBIDN): Remove.
13993 * include/dlfcn.h (__libc_dlopen): Update comment.
13994 * include/idna.h: Remove file.
13995 * inet/Makefile (routines): Add idna.
13996 (tests-static, tests-internal): Add tst-idna_name_classify.
13997 (LOCALES): Generate locales for tests.
13998 (tst-idna_name_classify.out): Depend on generated locales.
13999 * inet/idna_name_classify.c: New file.
14000 * inet/tst-idna_name_classify.c: Likewise.
14001 * inet/net-internal.h (__idna_to_dns_encoding)
14002 (__idna_from_dns_encoding): Declare.
14003 * inet/net-internal.h (enum idna_name_classification): Define.
14004 (__idna_name_classify): Declare.
14005 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
14006 __idna_from_dns_encoding.
14007 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
14008 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
14009 name as a fallback in case of encoding errors.
14010 (getnameinfo): Use DEPRECATED_NI_IDN.
14011 * inet/idna.c: New file.
14012 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
14013 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
14014 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
14015 (modules-names): Add tst-no-libidn2.
14016 (extra-test-objs): Add tst-no-libidn2.os.
14017 (LDFLAGS-tst-no-libidn2.so): Set soname.
14018 (LOCALES): Set, and generate locales.
14019 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
14020 (tst-resolv-ai_idn-latin1): Likewise.
14021 (tst-resolv-ai_idn-nolibidn2): Likewise.
14022 (tst-resolv-ai_idn.out): Depend on locales.
14023 (tst-resolv-ai_idn-latin1.out): Depend on locales.
14024 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
14026 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
14027 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
14028 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
14029 * resolv/tst-resolv-ai_idn.c: New file.
14030 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
14031 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
14032 * resolv/tst-no-libidn2.c: Likewise.
14033 * support/support_format_addrinfo.c (format_ai_flags): Do not
14034 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
14035 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
14036 (gaih_inet): Call __idna_to_dns_encoding and
14037 __idna_from_dns_encoding, and use the original (punycode) name if
14038 __idna_from_dns_encoding fails due to an encoding error.
14039 (getaddrinfo): Use DEPRECATED_AI_IDN.
14040 * sysdeps/unix/inet/Subdirs (libidn): Remove.
14041 * sysdeps/unix/inet/configure: Remove file.
14042 * sysdeps/unix/inet/configure.ac: Likewise.
14044 2018-05-23 Florian Weimer <fweimer@redhat.com>
14046 Implement allocate_once.
14047 * include/allocate_once.h: New file.
14048 * misc/allocate_once.c: Likewise.
14049 * misc/tst-allocate_once.c: Likewise.
14050 * misc/Makefile (routines): Add allocate_once.
14051 (tests-internal): Add tst-allocate_once.
14052 (generated): Add tst-allocate_once.mtrace,
14053 tst-allocate_once-mem.out.
14054 (tests-special): Add tst-allocate_once-mem.out.
14055 (tst-allocate_once-ENV): Set MALLOC_TRACE.
14056 (tst-allocate_once-mem.out): Call mtrace.
14057 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
14059 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14062 * string/test-memcpy.c (do_test1): New function.
14063 (test_main): Call it.
14065 2018-05-23 Andreas Schwab <schwab@suse.de>
14069 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
14070 (L(preloop_large)): Save initial destination pointer in %r11 and
14071 use it instead of %rax after the loop.
14072 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
14074 2018-05-22 Joseph Myers <joseph@codesourcery.com>
14076 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
14077 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
14078 -I../soft-fp. Moved from ....
14079 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
14080 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
14081 * sysdeps/aarch64/e_sqrtl.c: ... here.
14082 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
14083 * sysdeps/aarch64/sfp-machine.h: ... here.
14085 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
14086 -Wmaybe-uninitialized around access to fq[0].
14087 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14091 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
14092 aliases for non-libc case of versioned symbols.
14093 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
14094 (llseek): Define as compat symbol if
14095 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
14097 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
14098 Make into a compat symbol, disabled for minimum symbol version
14099 GLIBC_2.28 and later.
14100 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
14102 2018-05-22 Florian Weimer <fweimer@redhat.com>
14104 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
14105 not add -mpreferred-stack-boundary=4.
14106 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
14107 (stack-align-test-flags): Likewise.
14108 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
14110 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
14111 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
14112 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
14113 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
14114 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
14115 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
14116 (CFLAGS-tst-align2.c): Likewise.
14118 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14120 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
14121 (index_arch_Prefer_FSRM): Likewise.
14122 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14123 Also check Prefer_FSRM.
14124 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
14125 Also return OPTIMIZE (erms) for Prefer_FSRM.
14127 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14129 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
14130 (index_cpu_FSRM): Likewise.
14131 (reg_FSRM): Likewise.
14133 2018-05-18 Joseph Myers <joseph@codesourcery.com>
14135 * math/gen-tgmath-tests.py: Import sys.
14136 (Tests.__init__): Initialize macros_seen.
14137 (Tests.add_tests): Add macro to macros_seen. Only generate tests
14138 if requested to do so for this macro.
14139 (Tests.add_all_tests): Take argument for macro for which to
14141 (Tests.check_macro_list): New function.
14142 (main): Handle check-list argument and argument specifying macro
14143 for which to generate tests.
14144 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
14145 [PYTHON] (tgmath3-macro-tests): Likewise.
14146 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
14147 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
14148 not test-tgmath3.c.
14149 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
14150 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
14152 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
14153 [PYTHON] ($(foreach
14154 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
14156 [PYTHON] (tests-special): Add
14157 $(objpfx)test-tgmath3-macro-list.out.
14158 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
14160 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
14161 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
14165 * time/tzset.c (SECSPERDAY): Cast to time_t.
14166 * time/tst-y2039.c: New file.
14167 * time/Makefile (tests): Add tst-y2039.
14169 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14171 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14172 (PREFETCH_ONE_SET): Remove duplicate line.
14174 2018-05-17 Florian Weimer <fweimer@redhat.com>
14176 * sysdeps/generic/math-type-macros-double.h: Include
14177 <math-nan-payload-double.h> after <libm-alias-double.h>.
14178 * sysdeps/generic/math-type-macros-float.h: Include
14179 <math-nan-payload-float.h> after <libm-alias-float.h>.
14180 * sysdeps/generic/math-type-macros-float128.h: Include
14181 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
14182 * sysdeps/generic/math-type-macros-ldouble.h: Include
14183 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
14185 2018-05-17 Andreas Schwab <schwab@suse.de>
14187 * resolv/res_send.c (__res_context_send): Don't set errno when
14188 returing error after malloc failure.
14190 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
14192 * nptl/allocatestack.c (allocate_stack): Remove the
14193 !__ASSUME_PRIVATE_FUTEX paths.
14194 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
14195 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14197 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
14198 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14199 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14200 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14201 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
14202 !__ASSUME_PRIVATE_FUTEX path.
14203 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
14204 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
14205 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14206 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
14207 !__ASSUME_PRIVATE_FUTEX macros.
14208 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14209 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14210 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14211 * sysdeps/unix/sysv/linux/kernel-features.h
14212 (__ASSUME_PRIVATE_FUTEX): Removed.
14214 2018-05-17 Joseph Myers <joseph@codesourcery.com>
14216 * math/Makefile (libm-narrow-fns): Add div.
14217 (libm-test-funcs-narrow): Likewise.
14218 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
14219 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
14220 * math/gen-auto-libm-tests.c (test_functions): Add div.
14221 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
14222 (NARROW_DIV_ROUND_TO_ODD): Likewise.
14223 (NARROW_DIV_TRIVIAL): Likewise.
14224 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
14226 (__ddivl): Likewise.
14227 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
14229 (CFLAGS-nldbl-ddiv.c): New variable.
14230 (CFLAGS-nldbl-fdiv.c): Likewise.
14231 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14233 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
14235 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
14236 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
14237 * math/auto-libm-test-in: Add tests of div.
14238 * math/auto-libm-test-out-narrow-div: New generated file.
14239 * math/libm-test-narrow-div.inc: New file.
14240 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
14241 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
14242 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
14243 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
14244 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
14245 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
14246 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
14247 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
14248 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
14249 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
14250 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
14251 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
14252 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
14253 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
14254 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
14255 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
14256 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
14257 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
14258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14259 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14260 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14261 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14262 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14263 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14264 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14265 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14266 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14267 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14268 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14269 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14270 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14271 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14276 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14277 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14278 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14279 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14280 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14281 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14282 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14283 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14285 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14288 * nscd/nscd-client.h (sendfileall): Remove prototype.
14289 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
14290 (handle_request): Use writeall instead of sendfileall.
14291 * nscd/aicache.c (addhstaiX): Likewise.
14292 * nscd/grpcache.c (cache_addgr): Likewise.
14293 * nscd/hstcache.c (cache_addhst): Likewise.
14294 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14295 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
14296 * nscd/pwdcache.c (cache_addpw): Likewise.
14297 * nscd/servicescache.c (cache_addserv): Likewise.
14298 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
14299 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
14300 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
14303 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
14305 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
14306 Include <string/strncat.c>.
14307 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
14309 (__GI___strncat): New hidden alias.
14311 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14313 * sysdeps/mips/mips32/libm-test-ulps: Update.
14314 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14316 2018-05-16 Florian Weimer <fweimer@redhat.com>
14318 * support/Makefile (libsupport-routines): Add support_quote_blob,
14319 support_test_compare_blob.
14320 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14321 * support/check.h (TEST_COMPARE_BLOB): Define.
14322 (support_test_compare_blob): Declare.
14323 * support/support.h (support_quote_blob): Declare.
14324 * support/support_quote_blob.c: New file.
14325 * support/support_test_compare_blob.c: Likewise.
14326 * support/tst-support_quote_blob.c: Likewise.
14327 * support/tst-test_compare_blob.c: Likewise.
14329 2018-05-16 Florian Weimer <fweimer@redhat.com>
14331 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14332 of <strtod_nan_double.h>.
14333 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14334 instead of SET_MANTISSA.
14335 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14336 of include <strtod_nan_float.h>.
14337 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14338 instead of <strtod_nan_ldouble.h>.
14339 * stdlib/strtod_nan_double.h: Move to ...
14340 * sysdeps/generic/math-nan-payload-double.h: ... here.
14341 (FLOAT): Remove definition.
14342 (SET_MANTISSA): Rename to ...
14343 (SET_NAN_PAYLOAD): ... this.
14344 * stdlib/strtod_nan_float.h: Move to ...
14345 * sysdeps/generic/math-nan-payload-float.h: ... here.
14346 (FLOAT): Remove definition.
14347 (SET_MANTISSA): Rename to ...
14348 (SET_NAN_PAYLOAD): ... this.
14349 * sysdeps/generic/math-type-macros-double.h: Include
14350 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14351 instead of <math-svid-compat.h>.
14352 * sysdeps/generic/math-type-macros-float.h: Include
14353 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14354 instead of <math-svid-compat.h>.
14355 * sysdeps/generic/math-type-macros-float128.h: Include
14356 <math-nan-payload-float128.h>.
14357 * sysdeps/generic/math-type-macros-ldouble.h: Include
14358 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14359 instead of <math-svid-compat.h>.
14360 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14361 check for definition.
14362 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14363 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14364 Include <ieee754_float128.h>.
14365 (FLOAT): Remove definition.
14366 (SET_MANTISSA): Rename to ...
14367 (SET_NAN_PAYLOAD): ... this.
14368 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14369 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14370 Do not include <float128_private.h>.
14371 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14372 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14373 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14374 (FLOAT): Remove definition.
14375 (SET_MANTISSA): Rename to ...
14376 (SET_NAN_PAYLOAD): ... this.
14377 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14378 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14379 (FLOAT): Remove definition.
14380 (SET_MANTISSA): Rename to ...
14381 (SET_NAN_PAYLOAD): ... this.
14382 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14383 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14384 (FLOAT): Remove definition.
14385 (SET_MANTISSA): Rename to ...
14386 (SET_NAN_PAYLOAD): ... this.
14387 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14388 of "../stdlib/strtod_nan_double.h".
14389 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14390 of "../stdlib/strtod_nan_float.h".
14391 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14392 instead of "../stdlib/strtod_nan_ldouble.h".
14393 * manual/arith.texi (Parsing of Floats): Adjust comment.
14395 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14397 * math/Makefile (libm-narrow-fns): Add mul.
14398 (libm-test-funcs-narrow): Likewise.
14399 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14400 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14401 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14402 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14403 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14404 (NARROW_MUL_TRIVIAL): Likewise.
14405 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14406 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14408 (__dmull): Likewise.
14409 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14411 (CFLAGS-nldbl-dmul.c): New variable.
14412 (CFLAGS-nldbl-fmul.c): Likewise.
14413 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14415 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14417 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14418 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14419 * math/auto-libm-test-in: Add tests of mul.
14420 * math/auto-libm-test-out-narrow-mul: New generated file.
14421 * math/libm-test-narrow-mul.inc: New file.
14422 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14423 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14424 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14425 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14426 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14427 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14428 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14429 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14430 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14431 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14432 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14433 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14434 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14435 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14436 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14437 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14438 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14439 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14441 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14442 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14443 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14444 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14445 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14446 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14447 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14448 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14449 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14450 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14451 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14452 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14453 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14458 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14459 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14460 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14461 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14462 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14463 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14464 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14465 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14467 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14469 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14470 with *%eax in call.
14472 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14474 * sysdeps/i386/ldsodefs.h: Removed.
14475 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14476 * sysdeps/x86/ldsodefs.h: This.
14477 (La_i86_regs): New.
14478 (La_i86_retval): Likewise.
14479 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14480 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14482 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14484 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14487 2018-05-13 Alan Modra <amodra@gmail.com>
14489 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14490 R_PARISC_TLS_DTPOFF32 reloc addend.
14492 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14494 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14495 * math/math.h: Restrict the prototype definition for the functions
14496 issignaling(_Float128) and iszero(_Float128); and template
14497 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14498 __HAVE_FLOAT128_UNLIKE_LDBL.
14499 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14500 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14501 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14502 __f128() constants; define the type _Float128 as long double;
14503 and reuse long double in __CFLOAT128.
14505 2018-05-11 Joseph Myers <joseph@codesourcery.com>
14507 * sysdeps/generic/math_private.h: Do not include
14509 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14511 * math/fromfp.h: Include <math-barriers.h>.
14512 * math/math-narrow.h: Likewise.
14513 * math/s_nextafter.c: Likewise.
14514 * math/s_nexttowardf.c: Likewise.
14515 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14516 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14517 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14518 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14519 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14520 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14521 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14523 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14524 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14525 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14526 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14527 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14528 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14529 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14530 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14531 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14532 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14533 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14534 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14535 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14536 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14537 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14538 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14539 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14540 * sysdeps/ieee754/k_standardl.c: Likewise.
14541 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14542 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14543 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14544 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14545 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14546 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14547 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14548 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14549 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14550 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14551 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14552 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14553 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14554 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14555 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14556 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14557 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14558 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14559 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14560 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14561 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14562 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14564 2018-05-11 Florian Weimer <fweimer@redhat.com>
14566 Use 64-bit epoch values in the time zone file parser.
14567 * include/time.h (internal_time_t): Define.
14568 (__tzfile_compute): Use it.
14569 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14571 (transitions): Switch to internal_time_t.
14572 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14574 (__tzfile_compute): Use internal_time_t for timer argument. Check
14575 for truncation before calling __offtime.
14577 2018-05-11 Florian Weimer <fweimer@redhat.com>
14580 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14581 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14583 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14584 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14585 export without --enable-obsolete-rpc.
14586 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14587 symbol. This should not have been exported, ever.
14589 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14592 * localedata/locales/gd_GB (abmon): Fix typo in May:
14593 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14595 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14597 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14598 Use multiple registers to copy data in loop tail.
14600 * sysdeps/aarch64/multiarch/memmove_falkor.S
14601 (__memmove_falkor): Use multiple registers to move data in
14604 2018-05-10 Joseph Myers <joseph@codesourcery.com>
14606 * math/math-underflow.h: New file.
14607 * sysdeps/generic/math_private.h: Do not include <float.h>.
14608 (fabs_tg): Remove macro. Moved to math-underflow.h.
14609 (min_of_type_f): Likewise.
14610 (min_of_type_): Likewise.
14611 (min_of_type_l): Likewise.
14612 (min_of_type_f128): Likewise.
14613 (min_of_type): Likewise.
14614 (math_check_force_underflow): Likewise.
14615 (math_check_force_underflow_nonneg): Likewise.
14616 (math_check_force_underflow_complex): Likewise.
14617 * math/e_exp2_template.c: Include <math-underflow.h>.
14618 * math/k_casinh_template.c: Likewise.
14619 * math/s_catan_template.c: Likewise.
14620 * math/s_catanh_template.c: Likewise.
14621 * math/s_ccosh_template.c: Likewise.
14622 * math/s_cexp_template.c: Likewise.
14623 * math/s_clog10_template.c: Likewise.
14624 * math/s_clog_template.c: Likewise.
14625 * math/s_csin_template.c: Likewise.
14626 * math/s_csinh_template.c: Likewise.
14627 * math/s_csqrt_template.c: Likewise.
14628 * math/s_ctan_template.c: Likewise.
14629 * math/s_ctanh_template.c: Likewise.
14630 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14631 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14632 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14633 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14634 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14635 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14636 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14637 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14638 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14639 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14640 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14641 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14642 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14643 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14644 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14645 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14646 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14647 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14648 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14649 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14650 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14651 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14652 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14653 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14654 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14655 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14656 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14657 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14658 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14659 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14660 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14661 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14662 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14663 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14664 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14665 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14666 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14667 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14668 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14669 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14670 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14671 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14672 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14673 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14674 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14675 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14676 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14677 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14678 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14679 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14680 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14681 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14682 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14683 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14684 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14685 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14686 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14687 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14688 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14689 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14690 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14691 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14692 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14693 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14694 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14695 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14696 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14697 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14698 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14699 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14700 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14701 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14702 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14703 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14704 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14705 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14706 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14707 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14708 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14709 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14710 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14711 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14712 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14713 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14715 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14717 * sysdeps/generic/math-barriers.h: New file.
14718 * sysdeps/generic/math_private.h [!math_opt_barrier]
14719 (math_opt_barrier): Move to math-barriers.h.
14720 [!math_opt_barrier] (math_force_eval): Likewise.
14721 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14722 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14724 (math_force_eval): Likewise.
14725 * sysdeps/alpha/fpu/math-barriers.h: New file.
14726 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14728 (math_force_eval): Likewise.
14729 * sysdeps/x86/fpu/math-barriers.h: New file.
14730 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14732 (math_force_eval): Likewise.
14733 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14734 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14735 multiple-include guard for rename.
14736 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14737 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14739 (math_force_eval): Likewise.
14741 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14745 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14747 * stdlib/Makefile (test-bz22786): New test.
14748 * stdlib/test-bz22786.c: New test.
14750 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14752 * include/math-narrow-eval.h: New file. Contents moved from ....
14753 * sysdeps/generic/math_private.h: ... here.
14754 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14755 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14756 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14757 * stdlib/strtod_l.c: Likewise.
14758 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14759 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14760 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14761 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14762 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14763 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14764 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14765 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14766 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14767 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14768 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14769 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14770 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14771 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14772 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14773 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14774 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14775 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14776 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14777 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14778 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14779 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14780 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14781 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14782 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14783 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14784 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14785 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14786 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14788 2018-05-08 Andreas Schwab <schwab@suse.de>
14790 * sysdeps/nptl/internaltypes.h: Fix comment.
14792 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14794 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14795 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14798 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14800 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14801 of I into loop header.
14802 * benchtests/bench-memmove-walk.c
14803 (test_main): Likewise.
14805 2018-05-07 Alexandre Oliva <oliva@gnu.org>
14808 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14809 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14811 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14814 * elf/dl-load.c (open_verify): Fix stack overflow.
14815 * elf/Makefile (tst-big-note): New test.
14816 * elf/tst-big-note-lib.S: New.
14817 * elf/tst-big-note.c: New.
14819 2018-05-04 Joseph Myers <joseph@codesourcery.com>
14821 * scripts/abilist.awk: Ignore absolute symbols.
14822 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14823 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14824 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14825 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14826 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14827 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14828 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14829 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14830 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14831 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14832 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14833 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14834 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14835 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14836 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14837 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14838 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14839 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14840 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14841 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14842 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14843 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14844 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14845 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14846 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14847 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14848 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14849 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14850 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14851 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14852 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14853 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14854 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14855 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14856 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14857 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14858 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14859 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14860 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14861 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14862 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14863 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14864 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14865 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14866 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14867 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14868 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14869 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14870 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14871 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14872 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14873 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14874 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14875 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14876 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14877 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14878 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14879 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14880 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14881 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14882 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14883 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14884 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14885 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14886 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14887 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14888 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14889 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14890 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14891 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14892 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14893 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14894 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14895 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14896 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14897 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14898 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14899 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14900 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14901 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14902 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14903 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14904 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14905 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14906 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14907 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14908 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14909 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14910 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14911 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14912 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14913 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14915 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14916 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14917 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14918 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14919 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14920 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14921 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14922 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14923 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14924 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14925 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14926 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14927 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14929 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14930 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14931 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14932 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14933 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14934 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14935 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14936 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14937 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14938 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14939 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14940 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14941 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14942 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14943 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14944 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14945 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14946 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14947 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14948 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14949 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14950 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14951 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14952 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14953 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14954 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14955 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14957 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14958 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14959 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14960 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14961 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14962 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14963 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14964 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14965 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14966 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14967 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14968 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14969 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14970 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14971 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14972 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14973 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14974 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14975 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14976 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14978 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14979 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14980 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14981 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14982 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14983 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14984 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14985 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14986 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14987 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14988 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14989 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14990 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14991 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14992 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14993 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14994 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14995 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14996 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14997 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14998 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14999 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15000 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
15001 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
15002 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
15003 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
15004 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
15005 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
15006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
15009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
15012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
15013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
15014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
15015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
15017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
15019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
15020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
15023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
15035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
15036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
15041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
15042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
15043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
15047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
15048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
15056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
15057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
15058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
15065 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15066 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
15068 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15069 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15070 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
15071 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15072 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15073 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15074 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
15075 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
15076 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15077 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
15078 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15079 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
15080 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
15081 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15083 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15084 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
15085 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
15086 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15087 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
15088 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15089 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
15090 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
15091 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
15092 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
15093 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
15094 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15096 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15097 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
15098 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
15099 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15100 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
15101 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15102 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
15103 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
15104 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
15105 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
15106 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
15107 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
15108 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
15109 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15110 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
15111 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
15112 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15113 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
15114 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15115 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
15116 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
15117 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
15118 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
15119 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
15120 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15122 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
15123 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15124 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
15125 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
15126 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15127 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
15128 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15129 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
15130 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
15131 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
15132 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
15133 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
15134 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15136 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
15137 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15138 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
15139 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
15140 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15141 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
15142 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15143 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
15144 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
15145 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
15146 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
15147 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
15148 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
15149 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
15150 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15151 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
15152 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
15153 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15154 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
15155 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15156 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
15157 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
15158 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
15159 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
15160 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15161 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
15162 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
15163 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
15164 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15165 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
15166 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
15167 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15168 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
15169 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15170 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
15171 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
15172 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
15173 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
15175 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15178 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
15179 Use atomic_load_acquire to load __tid.
15181 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15183 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
15184 Restore the pointer into %rdx, after syscall and use %rdx,
15185 instead of %rsi, to restore context.
15187 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15189 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
15190 Pop the pointer into %rdx after syscall and use %rdx, instead
15191 of %rsi, to restore context.
15193 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15195 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
15196 handlers after setjmp.
15197 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
15199 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
15200 <libc-pointer-arith.h>.
15201 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
15202 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
15203 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
15204 _JUMP_BUF_SIGSET_BITS_PER_WORD.
15205 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
15206 * sysdeps/x86/__longjmp_cancel.S: New file.
15207 * sysdeps/x86/longjmp.c: Likewise.
15208 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
15210 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15212 * NEWS: Add ustat.h deprecation entry.
15213 * bits/ustat.h: Remove file.
15214 * misc/sys/ustat.h: Likewise.
15215 * misc/ustat.h: Likewise.
15216 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
15217 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
15218 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
15219 compatibility mode.
15220 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
15221 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
15222 generic Linux implementation.
15224 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15226 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
15227 * math/w_expl_compat.c: Likewise.
15228 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
15230 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15232 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15234 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15236 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
15237 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
15238 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
15240 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
15241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15242 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15243 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
15244 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
15247 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15249 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
15251 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
15252 * math/w_asin_template.c: Likewise.
15253 * math/w_atanh_template.c: Likewise.
15255 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15257 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
15258 to powerpc/powerpc64/be for big-endian.
15259 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
15262 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
15263 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
15264 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
15265 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
15266 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15267 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
15268 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
15269 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
15270 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
15271 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15272 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
15273 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
15274 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
15275 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
15276 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
15277 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
15278 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
15279 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
15280 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
15281 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
15282 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
15283 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15284 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
15285 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
15286 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
15287 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15288 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
15289 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
15290 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
15291 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15292 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15293 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15295 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
15296 adjusted to imply powerpc64 and older processors on powerpc64/be.
15297 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
15298 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
15299 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
15300 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
15301 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
15302 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
15303 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
15304 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
15305 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
15306 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
15307 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
15308 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
15309 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
15310 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
15311 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
15312 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
15313 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
15314 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15315 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15316 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15317 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15318 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15319 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15320 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15321 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15322 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15323 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15324 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15325 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15326 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15327 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15329 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15330 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15331 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15332 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15334 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15335 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15336 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15337 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15339 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15340 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15341 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15342 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15343 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15344 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15345 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15346 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15347 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15348 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15349 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15351 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15352 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15353 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15354 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15355 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15356 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15357 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15358 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15359 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15360 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15361 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15363 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15364 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15365 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15366 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15367 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15368 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15369 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15370 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15371 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15372 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15373 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15374 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15376 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15377 and adjusted to imply olders processors.
15378 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15379 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15380 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15381 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15382 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15383 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15384 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15385 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15386 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15387 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15388 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15390 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15392 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15393 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15407 powerpc64 and adjusted.
15408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15413 2018-04-27 Joseph Myers <joseph@codesourcery.com>
15415 * sysdeps/tile: Remove.
15416 * sysdeps/unix/sysv/linux/tile: Likewise.
15417 * README (tilegx-*-linux-gnu): Remove from list of supported
15419 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15420 contribution of support for generic Linux kernel syscall
15422 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15423 tilegx configurations.
15424 (Config.install_linux_headers): Do not handle tile.
15425 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15427 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15428 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15429 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15430 conditional undefine and redefine.
15431 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15433 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15434 conditional undefine and redefine.
15436 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15438 * signal/tst-sigaction.c: New file to test BZ #23069.
15439 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15441 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15444 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15445 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15446 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15447 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15449 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15451 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15452 _DIRENT_MATCHES_DIRENT64 is not defined.
15453 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15454 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15456 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15457 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15459 2018-04-25 Joseph Myers <joseph@codesourcery.com>
15461 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15462 version to GCC 8 branch.
15464 2018-04-24 Joseph Myers <joseph@codesourcery.com>
15466 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15467 (check_no_hidden): Use type of original function when declaring
15470 * sysdeps/unix/sysv/linux/sys/ptrace.h
15471 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15472 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15473 (struct __ptrace_seccomp_metadata): New type.
15474 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15475 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15476 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15477 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15478 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15479 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15480 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15481 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15482 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15483 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15484 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15485 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15486 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15487 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15488 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15489 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15491 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15493 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15495 * dirent/versionsort.c (versionsort): Likewise.
15496 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15497 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15498 * dirent/versionsort64.c (versionsort64): Likewise.
15499 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15500 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15501 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15502 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15503 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15504 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15505 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15506 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15507 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15508 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15511 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15512 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15514 2018-04-23 Joseph Myers <joseph@codesourcery.com>
15516 * elf/elf.h (NT_PPC_PKEY): New macro.
15518 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
15521 * localedata/locales/hr_HR: fix thousands_sep and
15524 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15526 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15527 (XTABS): Define to TAB3.
15529 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15531 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15533 * dirent/scandir-tail-common.c: New file.
15534 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15535 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15536 * dirent/scandir.c: Use scandir-tail-common.c.
15537 * dirent/scandirat.c: Likewise.
15538 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15539 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15540 if _DIRENT_MATCHES_DIRENT64 is defined.
15541 * dirent/scandirat64.c (scandirat64): Likewise.
15542 * include/dirent.h (__scandir_tail): Only define iff
15543 _DIRENT_MATCHES_DIRENT64 is not defined.
15544 (__scandir64_tail): Define regardless.
15545 (__scandirat, scandirat64): Remove libc_hidden_proto.
15546 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15547 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15549 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15550 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15551 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15552 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15554 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15556 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15558 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15560 (_dl_aarch64_cap_flags): Add asimdfhm.
15562 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15564 * sysdeps/nios2/libm-test-ulps: Update.
15566 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15568 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15569 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15571 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15573 (_DIRENT_MATCHES_DIRENT64): Undef
15574 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15575 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15576 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15577 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15578 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15579 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15580 use getdents64 syscalls as base.
15581 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15582 symbol if required.
15583 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15584 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15585 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15586 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15587 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15588 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15589 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15590 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15591 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15592 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15593 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15595 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15597 * scripts/test_printers_common.py (init_test): Disable lock elision.
15599 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15601 * math/test-tgmath.c (count_double, count_float,
15602 count_ldouble, count_cdouble, count_cfloat,
15603 count_cldouble): Use volatile int.
15605 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15607 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15608 (conformtest-xfail-conds): Add i386-gnu.
15609 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
15611 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15612 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15613 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15614 msqid_ds.msg_lrpid): Likewise.
15615 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15617 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15618 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
15619 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15620 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15622 (struct statvfs64): Likewise.
15623 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15625 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15626 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15627 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15628 instead of wait_queue.
15629 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15630 instead of vm_area_struct.
15631 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15632 struct sched_param definition to it.
15633 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15634 * bits/types/struct_sched_param.h: New file.
15635 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15636 <bits/types/struct_sched_param.h> instead of <sched.h>.
15637 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
15638 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15639 generic version but include <bits/pthreadtypes.h> to make struct
15640 sigevent's sigev_notify_attributes field a pthread_attr_t*.
15641 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15643 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15644 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15645 [__USE_XOPEN] (OFDEL): New macro.
15646 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
15647 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
15648 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15650 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15651 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
15652 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15654 * sysdeps/i386/sys/ucontext.h: Likewise.
15655 * sysdeps/m68k/sys/ucontext.h: Likewise.
15656 * sysdeps/mips/sys/ucontext.h: Likewise.
15657 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
15658 * sysdeps/mach/hurd/i386/Makefile
15659 (test-xfail-POSIX/fcntl.h/conform): Add.
15660 (test-xfail-POSIX/signal.h/conform): Add.
15661 (test-xfail-POSIX/semaphore.h/conform): Add.
15662 (test-xfail-POSIX/regex.h/conform): Add.
15663 (test-xfail-POSIX/aio.h/conform): Add.
15664 (test-xfail-POSIX/mqueue.h/conform): Add.
15665 (test-xfail-POSIX/sys/types.h/conform): Add.
15666 (test-xfail-UNIX98/fcntl.h/conform): Add.
15667 (test-xfail-UNIX98/netdb.h/conform): Add.
15668 (test-xfail-UNIX98/signal.h/conform): Add.
15669 (test-xfail-UNIX98/semaphore.h/conform): Add.
15670 (test-xfail-UNIX98/regex.h/conform): Add.
15671 (test-xfail-UNIX98/aio.h/conform): Add.
15672 (test-xfail-UNIX98/ftw.h/conform): Add.
15673 (test-xfail-UNIX98/mqueue.h/conform): Add.
15674 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15675 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15676 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15677 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15678 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15679 (test-xfail-UNIX98/sys/types.h/conform): Add.
15680 (test-xfail-UNIX98/stdlib.h/conform): Add.
15681 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15682 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15683 (test-xfail-POSIX2008/netdb.h/conform): Add.
15684 (test-xfail-POSIX2008/signal.h/conform): Add.
15685 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15686 (test-xfail-POSIX2008/regex.h/conform): Add.
15687 (test-xfail-POSIX2008/aio.h/conform): Add.
15688 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15689 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15690 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15691 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15692 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15693 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15694 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15695 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15696 (test-xfail-XOPEN2K/signal.h/conform): Add.
15697 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15698 (test-xfail-XOPEN2K/regex.h/conform): Add.
15699 (test-xfail-XOPEN2K/aio.h/conform): Add.
15700 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15701 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15702 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15703 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15704 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15705 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15706 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15707 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15708 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15709 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15710 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15711 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15712 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15713 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15714 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15715 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15716 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15717 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15718 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15719 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15720 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15721 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15722 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15723 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15724 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15725 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
15726 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15728 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15729 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
15731 2018-04-18 Joseph Myers <joseph@codesourcery.com>
15733 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15734 --enable-obsolete for powerpc-linux-gnuspe.
15736 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15738 * conform/data/sys/un.h-data: Allow sun_ prefix.
15739 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
15741 * sysdeps/mach/include/mach.h: Likewise.
15742 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15743 * sysdeps/mach/include/mach_error.h: Likewise.
15745 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15747 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15748 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15749 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15750 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15752 2018-04-16 Andreas Schwab <schwab@suse.de>
15755 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15757 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15759 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15760 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15762 2018-04-12 DJ Delorie <dj@redhat.com>
15764 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15767 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15769 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15770 (struct kernel_sigaction): Use the same definition on 31bit as is used
15773 2018-04-09 Florian Weimer <fweimer@redhat.com>
15776 * resolv/res_send.c (send_dg): Use designated initializers instead
15777 of assignment to zero-initialize other fields of struct mmsghdr.
15779 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15781 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15782 __READDIR_ALIAS): Undefine after usage.
15783 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15784 __READDIR_R_ALIAS): Likewise.
15785 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15786 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15787 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15788 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15789 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15790 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15791 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15792 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15793 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15794 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15795 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15796 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15797 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15798 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15799 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15800 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15801 * sysdeps/unix/sysv/linux/readdir.c: New file.
15802 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15803 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15804 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15806 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15808 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15810 * manual/charset.texi (Converting a Character): Fix typo.
15812 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15816 * sysdeps/arm/libm-test-ulps: Update.
15818 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15819 as base implementation.
15820 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15821 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15822 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15823 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15824 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15825 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15826 remove unrequired definitions and update comments.
15827 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15828 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15829 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15830 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15831 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15832 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15833 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15834 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15835 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15836 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15837 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15838 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15839 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15840 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15841 and RESET_SA_RESTORER hooks.
15843 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15845 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15847 2018-04-05 Florian Weimer <fweimer@redhat.com>
15849 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15850 integer overflow, memory leak on error, and indeterminate errno
15851 value. Add a null wide character to terminate the result string.
15852 * manual/charset.texi (Converting a Character): Mention embedded
15853 null bytes in the mbrtowc input string. Explain what happens in
15854 the -2 result case. Do not claim that mbrtowc is simple or
15855 obvious to use. Adjust the description of the code example. Use
15856 @code, not @var, for concrete variables.
15858 2018-04-05 Florian Weimer <fweimer@redhat.com>
15860 * manual/examples/mbstouwcs.c: New file.
15861 * manual/charset.texi (Converting a Character): Include it.
15863 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15865 * include/dirent.h (dirfd): Add hidden proto.
15866 * dirent/dirfd.c (dirfd): Add hidden def.
15867 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15868 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
15870 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15872 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15873 sin, cos and sincos to 1 ULP.
15875 2018-04-04 Maciej W. Rozycki <macro@mips.com>
15878 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15880 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15881 * elf/tst-absolute-sym.c: New file.
15882 * elf/tst-absolute-sym-lib.c: New file.
15883 * elf/tst-absolute-sym-lib.lds: New file.
15884 * elf/Makefile (tests): Add `tst-absolute-sym'.
15885 (modules-names): Add `tst-absolute-sym-lib'.
15886 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15887 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15888 ($(objpfx)tst-absolute-sym): New dependency.
15891 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15893 (SYMBOL_ADDRESS): New macro.
15894 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15895 SYMBOL_ADDRESS for symbol address calculation.
15896 * elf/dl-runtime.c (_dl_fixup): Likewise.
15897 (_dl_profile_fixup): Likewise.
15898 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15899 * elf/rtld.c (dl_main): Likewise.
15900 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15901 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15902 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15903 (elf_machine_rela): Likewise.
15904 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15905 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15906 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15907 (elf_machine_rela): Likewise.
15908 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15909 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15910 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15911 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15913 (elf_machine_reloc): Likewise.
15914 (elf_machine_got_rel): Likewise.
15915 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15916 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15917 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15919 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15921 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15922 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15924 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15926 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15927 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15929 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15931 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15932 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15934 2018-04-04 Zack Weinberg <zackw@panix.com>
15936 * sysdeps/generic/internal-signals.h: Include signal.h,
15937 sigsetops.h, and stdbool.h.
15938 (__libc_signal_block_all): Actually block all signals.
15939 (__libc_signal_block_app): Likewise.
15940 (__libc_signal_restore_set): Actually restore the signal mask.
15942 2018-04-04 Florian Weimer <fweimer@redhat.com>
15944 inet: Actually build and run tst-deadline.
15945 * inet/Makefile (tests-internal): Add tst-deadline and do not
15946 overwrite the variable.
15947 (tests-static-internal): Remove variable.
15949 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15952 * bits/uio-ext.h (RWF_APPEND): New.
15953 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15954 * manual/llio.texi: Document RWF_APPEND.
15955 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15956 (RWF_SUPPORTED): Add RWF_APPEND.
15958 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15961 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15962 check for internal nptl signals.
15963 * nptl/sigaction.c (__sigaction): Likewise.
15964 * signal/sigaddset.c (sigaddset): Likewise.
15965 * signal/sigdelset.c (sigdelset): Likewise.
15966 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15967 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15969 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15970 to filter out internal nptl signals.
15971 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15972 also check realtime signals using standard macros.
15973 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15974 __is_internal_signal, __libc_signal_block_all,
15975 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15976 * sysdeps/nptl/sigfillset.c: Remove file.
15977 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15978 Change return to bool.
15979 (__clear_internal_signals): Remove SIGTIMER clean since it is
15980 equal to SIGCANEL on Linux.
15981 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15982 signal set was constructed using standard functions.
15984 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15986 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15987 ifname is too long.
15988 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15989 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
15990 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15992 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
15993 * signal/sigaddset.c: Include <sigsetopts.h>.
15994 * signal/sigdelset.c: Likewise.
15996 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15998 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
16000 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
16001 logic as sin and cos.
16003 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16005 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
16006 inputs. Return correct sign.
16007 (do_sincos): Remove small input check before do_sin, let do_sin set
16012 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16014 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
16015 (do_cos_slow): Likewise.
16016 (do_sin_slow): Likewise.
16017 (reduce_and_compute): Likewise.
16022 (sloww1): Likewise.
16023 (sloww2): Likewise.
16025 (bslow1): Likewise.
16026 (bslow2): Likewise.
16027 (cslow2): Likewise.
16029 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16031 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
16032 (do_cos): Remove corp parameter and calculations.
16033 (do_sin): Likewise.
16034 (do_sincos): Remove cor variable.
16035 (__sin): Use do_sincos for huge inputs.
16037 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16038 (reduce_and_compute_sincos): Remove unused function.
16040 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16042 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
16043 reduce_sincos, improve accuracy to 136 bits.
16044 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
16045 (__sin): Use improved reduction and simplified do_sincos calculation.
16047 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16049 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16051 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
16052 (do_sincos_2): Likewise.
16053 (__sin): Remove middle range reduction case.
16055 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
16058 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16060 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
16061 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
16064 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
16066 2018-04-03 Joseph Myers <joseph@codesourcery.com>
16068 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16071 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16073 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
16074 Remove definitions.
16075 (opendir_oflags): Use O_DIRECTORY regardless.
16076 (__opendir, __opendirat): Remove need_isdir_precheck usage.
16077 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
16079 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16081 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
16082 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
16084 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
16085 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
16086 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
16087 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
16088 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
16089 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
16091 * htl/Makefile: Bump licence to LGPL 2.1+.
16092 * htl/alloca_cutoff.c: Likewise.
16093 * htl/cthreads-compat.c: Likewise.
16094 * htl/lockfile.c: Likewise.
16095 * htl/pt-alloc.c: Likewise.
16096 * htl/pt-cancel.c: Likewise.
16097 * htl/pt-cleanup.c: Likewise.
16098 * htl/pt-create.c: Likewise.
16099 * htl/pt-dealloc.c: Likewise.
16100 * htl/pt-detach.c: Likewise.
16101 * htl/pt-exit.c: Likewise.
16102 * htl/pt-getattr.c: Likewise.
16103 * htl/pt-initialize.c: Likewise.
16104 * htl/pt-internal.h: Likewise.
16105 * htl/pt-join.c: Likewise.
16106 * htl/pt-self.c: Likewise.
16107 * htl/pt-setcancelstate.c: Likewise.
16108 * htl/pt-setcanceltype.c: Likewise.
16109 * htl/pt-sigmask.c: Likewise.
16110 * htl/pt-spin-inlines.c: Likewise.
16111 * htl/pt-testcancel.c: Likewise.
16112 * htl/pt-yield.c: Likewise.
16113 * htl/tests/test-1.c: Likewise.
16114 * htl/tests/test-10.c: Likewise.
16115 * htl/tests/test-11.c: Likewise.
16116 * htl/tests/test-12.c: Likewise.
16117 * htl/tests/test-13.c: Likewise.
16118 * htl/tests/test-14.c: Likewise.
16119 * htl/tests/test-15.c: Likewise.
16120 * htl/tests/test-16.c: Likewise.
16121 * htl/tests/test-17.c: Likewise.
16122 * htl/tests/test-2.c: Likewise.
16123 * htl/tests/test-3.c: Likewise.
16124 * htl/tests/test-4.c: Likewise.
16125 * htl/tests/test-5.c: Likewise.
16126 * htl/tests/test-6.c: Likewise.
16127 * htl/tests/test-7.c: Likewise.
16128 * htl/tests/test-8.c: Likewise.
16129 * htl/tests/test-9.c: Likewise.
16130 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
16131 * sysdeps/htl/bits/cancelation.h: Likewise.
16132 * sysdeps/htl/bits/pthread-np.h: Likewise.
16133 * sysdeps/htl/bits/pthread.h: Likewise.
16134 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
16135 * sysdeps/htl/bits/semaphore.h: Likewise.
16136 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
16137 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
16138 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
16139 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
16140 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
16141 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
16142 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
16143 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
16144 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
16145 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
16146 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
16147 * sysdeps/htl/old_pt-atfork.c: Likewise.
16148 * sysdeps/htl/pt-atfork.c: Likewise.
16149 * sysdeps/htl/pt-attr-destroy.c: Likewise.
16150 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
16151 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
16152 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
16153 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
16154 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
16155 * sysdeps/htl/pt-attr-getscope.c: Likewise.
16156 * sysdeps/htl/pt-attr-getstack.c: Likewise.
16157 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
16158 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
16159 * sysdeps/htl/pt-attr-init.c: Likewise.
16160 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
16161 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
16162 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
16163 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
16164 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
16165 * sysdeps/htl/pt-attr-setscope.c: Likewise.
16166 * sysdeps/htl/pt-attr-setstack.c: Likewise.
16167 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
16168 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
16169 * sysdeps/htl/pt-attr.c: Likewise.
16170 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
16171 * sysdeps/htl/pt-barrier-init.c: Likewise.
16172 * sysdeps/htl/pt-barrier-wait.c: Likewise.
16173 * sysdeps/htl/pt-barrier.c: Likewise.
16174 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
16175 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
16176 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
16177 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
16178 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
16179 * sysdeps/htl/pt-cond-destroy.c: Likewise.
16180 * sysdeps/htl/pt-cond-init.c: Likewise.
16181 * sysdeps/htl/pt-cond-signal.c: Likewise.
16182 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
16183 * sysdeps/htl/pt-cond-wait.c: Likewise.
16184 * sysdeps/htl/pt-cond.c: Likewise.
16185 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
16186 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
16187 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
16188 * sysdeps/htl/pt-condattr-init.c: Likewise.
16189 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
16190 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
16191 * sysdeps/htl/pt-destroy-specific.c: Likewise.
16192 * sysdeps/htl/pt-equal.c: Likewise.
16193 * sysdeps/htl/pt-getconcurrency.c: Likewise.
16194 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
16195 * sysdeps/htl/pt-getschedparam.c: Likewise.
16196 * sysdeps/htl/pt-getspecific.c: Likewise.
16197 * sysdeps/htl/pt-init-specific.c: Likewise.
16198 * sysdeps/htl/pt-key-create.c: Likewise.
16199 * sysdeps/htl/pt-key-delete.c: Likewise.
16200 * sysdeps/htl/pt-key.h: Likewise.
16201 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
16202 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
16203 * sysdeps/htl/pt-mutex-init.c: Likewise.
16204 * sysdeps/htl/pt-mutex-lock.c: Likewise.
16205 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
16206 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
16207 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
16208 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
16209 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
16210 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
16211 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
16212 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
16213 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
16214 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
16215 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
16216 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
16217 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
16218 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
16219 * sysdeps/htl/pt-mutexattr.c: Likewise.
16220 * sysdeps/htl/pt-once.c: Likewise.
16221 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
16222 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
16223 * sysdeps/htl/pt-rwlock-init.c: Likewise.
16224 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
16225 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
16226 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
16227 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
16228 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
16229 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
16230 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
16231 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
16232 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
16233 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
16234 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
16235 * sysdeps/htl/pt-setconcurrency.c: Likewise.
16236 * sysdeps/htl/pt-setschedparam.c: Likewise.
16237 * sysdeps/htl/pt-setschedprio.c: Likewise.
16238 * sysdeps/htl/pt-setspecific.c: Likewise.
16239 * sysdeps/htl/pt-spin.c: Likewise.
16240 * sysdeps/htl/pt-startup.c: Likewise.
16241 * sysdeps/htl/pthread.h: Likewise.
16242 * sysdeps/htl/sem-close.c: Likewise.
16243 * sysdeps/htl/sem-destroy.c: Likewise.
16244 * sysdeps/htl/sem-getvalue.c: Likewise.
16245 * sysdeps/htl/sem-init.c: Likewise.
16246 * sysdeps/htl/sem-open.c: Likewise.
16247 * sysdeps/htl/sem-post.c: Likewise.
16248 * sysdeps/htl/sem-timedwait.c: Likewise.
16249 * sysdeps/htl/sem-trywait.c: Likewise.
16250 * sysdeps/htl/sem-unlink.c: Likewise.
16251 * sysdeps/htl/sem-wait.c: Likewise.
16252 * sysdeps/hurd/htl/pt-kill.c: Likewise.
16253 * sysdeps/i386/htl/pt-machdep.h: Likewise.
16254 * sysdeps/mach/htl/pt-block.c: Likewise.
16255 * sysdeps/mach/htl/pt-spin.c: Likewise.
16256 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
16257 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
16258 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
16259 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
16260 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
16261 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
16262 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
16263 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
16264 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
16265 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
16266 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
16267 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
16268 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
16269 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
16270 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
16271 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
16272 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
16273 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
16274 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
16275 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
16276 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
16277 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
16278 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
16279 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
16280 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
16281 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
16282 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
16283 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
16284 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
16285 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
16286 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
16287 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
16288 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
16289 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
16290 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
16291 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
16292 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
16293 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
16294 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
16295 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
16296 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
16297 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
16298 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
16300 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
16301 * README: Remove the mention of out-of-tree patches needed for
16304 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
16305 (UTIME_NOW, UTIME_OMIT): Define macros.
16307 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
16308 instead of pthread_detach.
16309 (__cthread_fork): Call __pthread_create instead of pthread_create.
16310 (__cthread_keycreate): Call __pthread_key_create instead of
16311 pthread_key_create.
16312 (__cthread_getspecific): Call __pthread_getspecific instead of
16313 pthread_getspecific.
16314 (__cthread_setspecific): Call __pthread_setspecific instead of
16315 pthread_setspecific.
16316 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16317 __pthread_mutex_unlock instead of pthread_mutex_lock and
16318 pthread_mutex_unlock.
16319 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16320 ___pthread_get_cleanup_stack.
16321 (__pthread_get_cleanup_stack): New strong alias.
16322 * htl/pt-create.c: Include <pthreadP.h>.
16323 (entry_point): Call __pthread_exit instead of pthread_exit.
16324 (pthread_create): Rename to __pthread_create.
16325 (pthread_create): New strong alias.
16326 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16327 (pthread_detach): New strong alias.
16328 (__pthread_detach): Call __pthread_cond_broadcast instead of
16329 pthread_cond_broadcast.
16330 * htl/pt-exit.c: Include <pthreadP.h>.
16331 (__pthread_exit): Call __pthread_setcancelstate and
16332 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16333 __pthread_get_cleanup_stack.
16334 * htl/pt-testcancel.c: Include <pthreadP.h>.
16335 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16336 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16337 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16338 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16339 pthread_attr_getstacksize.
16340 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16341 Rename to __pthread_attr_getstackaddr.
16342 (pthread_attr_getstackaddr): New strong alias.
16343 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16344 Rename to __pthread_attr_getstacksize.
16345 (pthread_attr_getstacksize): New strong alias.
16346 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16347 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16348 (pthread_attr_setstack): New strong alias.
16349 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16350 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16351 pthread_attr_getstacksize, pthread_attr_setstacksize and
16352 pthread_attr_setstackaddr.
16353 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16354 Rename to __pthread_attr_setstackaddr.
16355 (pthread_attr_setstackaddr): New strong alias.
16356 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16357 Rename to __pthread_attr_setstacksize.
16358 (pthread_attr_setstacksize): New strong alias.
16359 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16360 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16362 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16363 (__pthread_key_create): New hidden def.
16364 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16365 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16366 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16367 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16368 __pthread_setspecific, __pthread_setcancelstate,
16369 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16370 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16371 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16373 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16374 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16375 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16376 (pthread_attr_setstackaddr): New strong alias.
16377 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16378 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16379 (pthread_attr_setstacksize): New strong alias.
16380 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16381 (call_exit): Call __pthread_exit instead of pthread_exit.
16382 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16383 (_pthread_mutex_init): New hidden definition.
16384 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16385 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16386 instead of pthread_attr_init and pthread_attr_setstack.
16388 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16389 __vm_deallocate instead of vm_allocate and vm_deallocate.
16390 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16392 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16394 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16396 * hurd/siginfo.c: Include <libioP.h>.
16397 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16398 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16400 * mach/devstream.c: Include <libioP.h>.
16401 (dealloc_ref): Call __mach_port_deallocate instead of
16402 mach_port_deallocate.
16403 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16404 Call __mach_port_deallocate instead of mach_port_deallocate.
16405 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16407 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16409 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16410 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16411 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16413 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16415 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16416 instead of sysconf.
16417 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16418 __clock_gettime instead of clock_gettime.
16419 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16420 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16421 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16422 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16423 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16425 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16426 __clock_gettime and __nanosleep instead of clock_gettime and
16428 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16429 __hurd_catch_signal.
16430 (hurd_catch_signal): New strong alias.
16431 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16432 __hurd_catch_signal instead of hurd_catch_signal.
16433 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16434 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16435 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16436 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16437 (_hurd_thread_sigstate): Add hidden def.
16438 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16440 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16441 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16442 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16443 __hurd_file_name_path_lookup.
16444 (hurd_file_name_path_lookup): New strong alias.
16445 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16446 hurd_file_name_path_lookup.
16447 * mach/errstring.c (mach_error_type): Add hidden def.
16448 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16449 * mach/mutex-init.c (__mutex_init): Add hidden def.
16450 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16451 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16452 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16453 * sysdeps/mach/hurd/getcwd.c
16454 (_hurd_canonicalize_directory_name_internal): Rename to
16455 __hurd_canonicalize_directory_name_internal.
16456 (_hurd_canonicalize_directory_name_internal): New strong alias.
16457 (__canonicalize_directory_name_internal, __getcwd): Call
16458 __hurd_canonicalize_directory_name_internal instead of
16459 _hurd_canonicalize_directory_name_internal.
16460 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16461 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16463 * sysdeps/hurd/include/hurd.h: New file.
16464 * sysdeps/hurd/include/hurd/fd.h: New file.
16465 * sysdeps/hurd/include/hurd/signal.h: New file.
16466 * sysdeps/mach/include/lock-intern.h: New file.
16467 * sysdeps/mach/include/mach.h: New file.
16468 * sysdeps/mach/include/mach/mig_support.h: New file.
16469 * sysdeps/mach/include/mach_error.h: New file.
16470 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16472 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16473 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16474 _HEADER_H_HIDDEN_DEF macro.
16475 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16476 _hurd_fd_error_signal): Add hidden prototype.
16477 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16479 * libio/iolibio.h (_IO_puts): New hidden prototype.
16480 * libio/ioputs.c (_IO_puts): New hidden def.
16481 * sysdeps/mach/hurd/localplt.data: New file.
16483 2018-04-02 Agustina Arzille <avarzille@riseup.net>
16484 Amos Jeffries <squid3@treenet.co.nz>
16485 David Michael <fedora.dm0@gmail.com>
16486 Marco Gerards <marco@gnu.org>
16487 Marcus Brinkmann <marcus@gnu.org>
16488 Neal H. Walfield <neal@gnu.org>
16489 Pino Toscano <toscano.pino@tiscali.it>
16490 Richard Braun <rbraun@sceen.net>
16491 Roland McGrath <roland@gnu.org>
16492 Samuel Thibault <samuel.thibault@ens-lyon.org>
16493 Thomas DiModica <ricinwich@yahoo.com>
16494 Thomas Schwinge <tschwinge@gnu.org>
16496 * htl: New directory.
16497 * sysdeps/htl: New directory.
16498 * sysdeps/hurd/htl: New directory.
16499 * sysdeps/i386/htl: New directory.
16500 * sysdeps/mach/htl: New directory.
16501 * sysdeps/mach/hurd/htl: New directory.
16502 * sysdeps/mach/hurd/i386/htl: New directory.
16503 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16504 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16505 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16507 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16509 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16510 signals in thread created for runing timers.
16512 2018-04-01 Florian Weimer <fweimer@redhat.com>
16514 * support/support_format_addrinfo.c (support_format_addrinfo):
16515 Include unknown error number in formatted result.
16517 2018-03-29 Florian Weimer <fweimer@redhat.com>
16519 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16522 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16524 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16525 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16526 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16527 (__ASSUME_CLONE_BACKWARDS): Define.
16529 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16532 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16533 early when linux sentinel value is set.
16535 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16537 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16539 2018-03-27 Andreas Schwab <schwab@suse.de>
16542 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16543 allocation of private copy of nsaddr_list fails.
16545 2018-03-26 Joseph Myers <joseph@codesourcery.com>
16548 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16549 * sysdeps/unix/sysv/linux/umount.c: ... here.
16550 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16551 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16552 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16553 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16555 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16556 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16558 2018-03-26 Andreas Schwab <schwab@suse.de>
16560 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16561 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16562 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16563 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16564 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16565 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16566 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16567 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16568 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16569 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16570 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16571 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16572 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16573 (R_RISCV_NUM): Define.
16575 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16577 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16578 TLS declaration of errno.
16579 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16581 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16582 (ARCH_SETUP_TLS): Likewise.
16583 * sysdeps/mach/hurd/libc-start.h: New file copied from
16584 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
16585 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16586 instead of __libc_setup_tls.
16587 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
16588 __libc_setup_tls before initializing libpthread and running _hurd_init
16589 which starts the signal thread.
16590 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16592 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16594 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16597 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16598 after it is defined.
16600 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16601 Max Horn <max@quendi.de>
16605 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16607 * string/test-memmove.c (do_test2): New testcase.
16609 2018-03-22 Joseph Myers <joseph@codesourcery.com>
16611 * sysdeps/generic/frame.h: Remove file.
16612 * sysdeps/arm/frame.h: Likewise.
16613 * sysdeps/hppa/frame.h: Likewise.
16614 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16616 (GET_FRAME): Likewise.
16617 (GET_STACK): Likewise.
16618 (CALL_SIGHANDLER): Likewise.
16619 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16621 (GET_FRAME): Likewise.
16622 (GET_STACK): Likewise.
16623 (CALL_SIGHANDLER): Likewise.
16624 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16625 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16626 (GET_FRAME): Likewise.
16627 (GET_STACK): Likewise.
16628 (CALL_SIGHANDLER): Likewise.
16629 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16630 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16631 (GET_FRAME): Likewise.
16632 (GET_STACK): Likewise.
16633 (ADVANCE_STACK_FRAME): Likewise.
16634 (CALL_SIGHANDLER): Likewise.
16635 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16636 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16637 (GET_FRAME): Likewise.
16638 (GET_STACK): Likewise.
16639 (CALL_SIGHANDLER): Likewise.
16640 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16641 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16642 (GET_FRAME): Likewise.
16643 (GET_STACK): Likewise.
16644 (CALL_SIGHANDLER): Likewise.
16645 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16646 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16647 (GET_FRAME): Likewise.
16648 (GET_STACK): Likewise.
16649 (CALL_SIGHANDLER): Likewise.
16650 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16651 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16652 (GET_FRAME): Likewise.
16653 (GET_STACK): Likewise.
16654 (CALL_SIGHANDLER): Likewise.
16655 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16656 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16657 (GET_FRAME): Likewise.
16658 (GET_STACK): Likewise.
16659 (CALL_SIGHANDLER): Likewise.
16660 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16661 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16662 (GET_FRAME): Likewise.
16663 (GET_STACK): Likewise.
16664 (CALL_SIGHANDLER): Likewise.
16665 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16666 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16667 (GET_FRAME): Likewise.
16668 (GET_STACK): Likewise.
16669 (CALL_SIGHANDLER): Likewise.
16670 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16671 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16672 (GET_FRAME): Likewise.
16673 (GET_STACK): Likewise.
16674 (CALL_SIGHANDLER): Likewise.
16675 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16676 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16677 (GET_FRAME): Likewise.
16678 (GET_STACK): Likewise.
16679 (CALL_SIGHANDLER): Likewise.
16680 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16681 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16682 (FIRST_FRAME_POINTER): Likewise.
16683 (ADVANCE_STACK_FRAME): Likewise.
16684 (GET_STACK): Likewise.
16685 (GET_FRAME): Likewise.
16686 (CALL_SIGHANDLER): Likewise.
16687 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16688 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16689 (ADVANCE_STACK_FRAME): Likewise.
16690 (GET_STACK): Likewise.
16691 (GET_FRAME): Likewise.
16692 (CALL_SIGHANDLER): Likewise.
16693 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16694 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16695 (GET_FRAME): Likewise.
16696 (GET_STACK): Likewise.
16697 (CALL_SIGHANDLER): Likewise.
16698 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16699 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16700 (GET_FRAME): Likewise.
16701 (GET_STACK): Likewise.
16702 (CALL_SIGHANDLER): Likewise.
16704 2018-03-21 Joseph Myers <joseph@codesourcery.com>
16706 * sysdeps/x86_64/backtrace.c: Move to ....
16707 * debug/backtrace.c: ... here.
16708 * sysdeps/aarch64/backtrace.c: Remove file.
16709 * sysdeps/alpha/backtrace.c: Likewise.
16710 * sysdeps/hppa/backtrace.c: Likewise.
16711 * sysdeps/ia64/backtrace.c: Likewise.
16712 * sysdeps/mips/backtrace.c: Likewise.
16713 * sysdeps/nios2/backtrace.c: Likewise.
16714 * sysdeps/riscv/backtrace.c: Likewise.
16715 * sysdeps/sh/backtrace.c: Likewise.
16716 * sysdeps/tile/backtrace.c: Likewise.
16718 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16721 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16724 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16727 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16728 possibly overflowing computations.
16730 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16732 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16733 values from Linux-specific section now that it is in the GNU section.
16734 * sysdeps/gnu/errlist.c: Regenerate.
16736 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16738 * math/Makefile (libm-narrow-fns): Add sub.
16739 (libm-test-funcs-narrow): Likewise.
16740 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16741 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16742 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16743 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16744 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16745 (NARROW_SUB_TRIVIAL): Likewise.
16746 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16748 (__dsubl): Likewise.
16749 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16751 (CFLAGS-nldbl-dsub.c): New variable.
16752 (CFLAGS-nldbl-fsub.c): Likewise.
16753 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16755 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16757 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16758 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16759 * math/auto-libm-test-in: Add tests of sub.
16760 * math/auto-libm-test-out-narrow-sub: New generated file.
16761 * math/libm-test-narrow-sub.inc: New file.
16762 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16763 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16764 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16765 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16766 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16767 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16773 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16776 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16777 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16778 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16779 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16781 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16782 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16783 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16784 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16785 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16786 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16787 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16788 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16789 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16790 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16791 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16792 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16793 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16798 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16799 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16800 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16801 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16802 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16803 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16804 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16805 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16806 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16807 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16809 2018-03-19 Joseph Myers <joseph@codesourcery.com>
16812 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16814 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16816 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16818 2018-03-18 Richard Braun <rbraun@sceen.net>
16820 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16823 2018-03-18 Agustina Arzille <avarzille@riseup.net>
16825 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16826 (__libc_cleanup_fct): Define function.
16827 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16828 __libc_cleanup_end): Rewrite implementation using
16829 __attribute__ ((__cleanup__)).
16830 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
16831 * hurd/Makefile (routines): Add hurdlock.
16832 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16834 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16835 * hurd/hurdpid.c: Include <lowlevellock.h>
16836 (_S_msg_proc_newids): Use lll_wait to synchronize.
16837 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16838 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16839 * mach/Makefile (lock-headers): Remove machine-lock.h.
16840 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16842 (__spin_lock_t): New type.
16843 (__SPIN_LOCK_INITIALIZER): New macro.
16844 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16845 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16846 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16847 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16848 (__mutex_init): Initialize with lll.
16849 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16850 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16852 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16853 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16854 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16855 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16856 (__setpgid): Use lll for synchronization.
16857 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16858 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16859 instead of <cthreads.h>.
16860 (_IO_lock_inexpensive): New macro
16861 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16862 (__libc_lock_self0): New declaration.
16863 (__libc_lock_owner_self): New macro.
16864 (__libc_key_t): Remove type.
16865 (_LIBC_LOCK_INITIALIZER): New macro.
16866 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16867 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16868 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16869 __libc_lock_define_initialized_recursive,
16870 __rtld_lock_define_initialized_recursive,
16871 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16872 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16873 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16874 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16875 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16876 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16877 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16879 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16880 * hurd/hurdlock.c: New file.
16881 * hurd/hurdlock.h: New file.
16882 * mach/lowlevellock.h: New file
16884 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16886 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
16887 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16888 when opening a symlink with O_NOFOLLOW.
16889 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16890 path when flags contains O_NOFOLLOW.
16891 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16892 if flags contains O_DIRECTORY and the result is a directory.
16893 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16894 oneself when the pointer given in D is nul (as set by ext2fs).
16895 * sysdeps/mach/hurd/mlockall.c: New file.
16896 * sysdeps/mach/hurd/munlockall.c: New file.
16898 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16900 * hurd/hurdsig.c: Include <pthread.h>.
16901 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16902 get the signal thread stack layout.
16903 * hurd/Makefile (headers): Remove threadvar.h.
16904 (inline-headers): Remove threadvar.h.
16905 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16906 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16907 __hurd_threadvar_max, __hurd_errno_location.
16908 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16909 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16910 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16911 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16912 unless TLS is not initialized yet, in which case we do not need a
16913 critical section yet anyway.
16914 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16916 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16918 (__hurd_threadvar_index): Remove enum.
16919 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16920 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16922 (__hurd_reply_port0): New variable declaration.
16923 (__hurd_local_reply_port): New macro.
16924 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16925 (interrupted_reply_port_location): Add thread_t parameter. Use it
16926 with THREAD_TCB to access thread-local variables.
16927 (_hurdsig_abort_rpcs): Pass ss->thread to
16928 interrupted_reply_port_location.
16929 (_hurd_internal_post_signal): Likewise.
16930 (_hurdsig_init): Use presence of cthread_fork instead of
16931 __hurd_threadvar_stack_mask to start signal thread by hand.
16932 Remove signal thread threadvar initialization.
16933 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16934 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16935 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16937 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16939 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16940 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16941 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16942 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16943 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16944 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16945 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16947 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16948 <hurd/threadvar.h>.
16949 [IS_IN(rtld)] (rtld_errno): New variable.
16950 [IS_IN(rtld)] (__errno_location): New weak function.
16951 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16952 * sysdeps/mach/hurd/errno.c: Remove file.
16953 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16954 (__fork): Remove THREADVAR_SPACE macro and its use.
16955 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16957 (init): Do not initialize threadvar.
16958 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16960 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16961 __hurd_local_reply_port instead of threadvar.
16962 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16963 _hurd_sigstate fields.
16964 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16965 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16966 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16967 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16968 instead of threadvar.
16969 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16970 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16971 (use_threadvar, global_reply_port): Remove variables.
16972 (__hurd_reply_port0): New variable.
16973 (__mig_get_reply_port): Use __hurd_local_reply_port and
16974 __hurd_reply_port0 instead of threadvar.
16975 (__mig_dealloc_reply_port): Likewise.
16976 (__mig_init): Do not initialize threadvar.
16977 * sysdeps/mach/hurd/profil.c: Fix comment.
16978 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16979 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16980 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16981 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16982 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16983 __cthread_setspecific.
16984 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16985 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16986 __cthread_t instead of cthread_fork, cthread_detach,
16987 pthread_getattr_np, pthread_attr_getstack.
16988 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16989 __cthread_keycreate.
16990 (cthread_getspecific): Rename to __cthread_getspecific.
16991 (cthread_setspecific): Rename to __cthread_setspecific.
16992 (__libc_getspecific): Use __cthread_getspecific instead of
16993 cthread_getspecific.
16994 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16995 __cthread_keycreate instead of cthread_keycreate.
16996 (__libc_setspecific): Use __cthread_setspecific instead of
16997 cthread_setspecific.
16998 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
17000 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
17001 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
17002 testing whether it is defined.
17004 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17006 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
17008 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
17009 * sysdeps/mach/i386/thread_state.h
17010 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
17012 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
17014 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
17016 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
17017 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
17019 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
17021 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
17022 descriptor instead of creating a new one.
17023 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
17025 * mach/setup-thread.c: Include <ldsodefs.h>.
17026 (__mach_setup_thread): Call _dl_allocate_tls, pass
17027 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
17028 MACHINE_THREAD_STATE_FLAVOR, before getting
17029 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
17030 MACHINE_THREAD_STATE_FLAVOR with the result.
17031 * hurd/hurdfault.c (_hurdsig_fault_init): Call
17032 MACHINE_THREAD_STATE_FIX_NEW.
17033 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
17034 too. Add original thread parameter.
17036 2018-03-16 Joseph Myers <joseph@codesourcery.com>
17038 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
17039 Remove inline function.
17041 * sysdeps/i386/fpu/libm-test-ulps: Update.
17042 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17044 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
17046 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
17049 2018-03-15 Joseph Myers <joseph@codesourcery.com>
17051 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
17052 (__sincos_code): Remove define and undefine.
17053 [__FAST_MATH__] (__sincos): Remove inline function.
17054 [__FAST_MATH__] (__sincosf): Remove inline function.
17055 [__FAST_MATH__] (__sincosl): Remove inline function.
17056 (__atan2l): Remove inline functions.
17057 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
17058 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
17060 (floor): Remove inline function.
17062 [__FAST_MATH__] (__ldexp_code): Remove macro.
17063 [__FAST_MATH__] (ldexp): Remove inline function.
17064 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
17065 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
17066 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
17067 [__USE_ISOC99] (__lrint_code): Remove macro.
17068 [__USE_ISOC99] (__llrint_code): Likewise.
17069 [__USE_ISOC99] (lrintf): Remove inline function.
17070 [__USE_ISOC99] (lrint): Likewise.
17071 [__USE_ISOC99] (lrintl): Likewise.
17072 [__USE_ISOC99] (llrint): Likewise.
17073 [__USE_ISOC99] (llrintf): Likewise.
17074 [__USE_ISOC99] (llrintl): Likewise.
17076 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17078 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
17079 (__ieee754_sqrtf): Remove.
17080 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
17081 (__ieee754_sqrtf): Remove.
17082 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
17083 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17084 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
17085 (__ieee754_sqrtf): Remove.
17086 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
17087 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
17090 (__ieee754_sqrt): Remove.
17091 (__ieee754_sqrtf): Remove.
17092 (__ieee754_sqrtl): Remove.
17093 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17094 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
17095 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
17096 (__ieee754_sqrtf): Remove.
17097 (__ieee754_sqrtl): Remove.
17099 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17101 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
17102 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17103 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17104 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
17105 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
17106 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17107 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17108 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17110 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
17111 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
17112 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17113 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17114 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
17115 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
17116 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17117 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17118 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17119 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17120 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
17121 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17122 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
17123 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
17124 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
17125 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17126 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17127 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17128 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
17129 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
17130 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17131 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17132 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
17133 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
17134 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
17135 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
17136 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17137 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17138 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
17139 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17140 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17141 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
17142 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17143 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
17144 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17145 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17146 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
17147 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
17148 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17149 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
17151 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17153 * include/math.h (sqrt): Declare with asm redirect.
17156 (sqrtf128): Likewise.
17157 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
17158 nonlib and libnldbl with -fmath-errno.
17159 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
17160 * math/w_sqrt_template.c: Likewise.
17161 * math/w_sqrtf_compat.c: Likewise.
17162 * math/w_sqrtl_compat.c: Likewise.
17163 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
17164 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
17165 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
17168 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17170 * benchtests/Makefile: Define _ISOMAC.
17171 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
17172 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
17173 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
17174 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
17175 * benchtests/bench-timing.h: Define attribute_hidden.
17177 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
17179 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
17182 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17185 * localedata/locales/cs_CZ (mon): Rename to...
17187 (mon): Import from CLDR (genitive case).
17189 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17192 * localedata/locales/el_CY (abmon): Rename to...
17193 (ab_alt_mon): This.
17194 (abmon): Import from CLDR (abbreviated genitive case).
17195 * localedata/locales/el_GR (abmon): Rename to...
17196 (ab_alt_mon): This.
17197 (abmon): Import from CLDR (abbreviated genitive case).
17199 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17202 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
17204 2018-03-15 Robert Buj <robert.buj@gmail.com>
17207 * localedata/locales/ca_ES (abmon): Rename to...
17208 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17209 (mon): Rename to...
17211 (abmon): Import from CLDR (genitive case, month names preceded by
17214 (abday): Synchronize with CLDR.
17215 (d_t_fmt): Likewise.
17219 (LC_TIME): Improve indentation.
17220 (LC_TELEPHONE): Likewise.
17221 (LC_NAME): Likewise.
17222 (LC_ADDRESS): Likewise.
17224 2018-03-14 Joseph Myers <joseph@codesourcery.com>
17226 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
17227 (lrintf): Remove definitions used only with old GCC.
17228 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
17229 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
17230 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
17231 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
17232 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
17233 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
17234 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
17235 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
17236 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
17237 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
17238 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
17239 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
17240 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
17241 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
17242 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
17243 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
17244 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
17245 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
17246 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
17247 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
17248 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
17249 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
17250 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
17251 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
17252 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
17253 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
17254 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
17255 [__FAST_MATH__] (__M_SQRT2): Remove macro.
17257 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17259 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
17260 instruction to unbreak builds with binutils 2.26 and older.
17262 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17264 * sysdeps/aarch64/strncmp.S (count): New macro.
17265 (strncmp): Store misaligned length in SRC1 in COUNT.
17266 (mutual_align): Adjust.
17267 (misaligned8): Load dword at a time when it is safe.
17269 2018-03-12 Zack Weinberg <zackw@panix.com>
17273 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
17274 if the _IO_EOF_SEEN bit is already set; update commentary.
17275 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
17276 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17278 * support/support_openpty.c, support/tty.h: New files.
17279 * support/Makefile (libsupport-routines): Add support_openpty.
17281 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
17283 * libio/Makefile (tests): Add tst-fgetc-after-eof.
17284 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
17286 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
17288 * po/pt_BR.po: Update translations.
17290 2018-03-12 David Michael <fedora.dm0@gmail.com>
17292 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
17293 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
17294 get a port to the startup server.
17296 2018-03-11 Zack Weinberg <zackw@panix.com>
17298 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
17299 before nldbl-compat.h.
17301 2018-03-10 Zack Weinberg <zackw@panix.com>
17303 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
17304 math.h or math_private.h.
17306 * sysdeps/alpha/fpu/s_isnan.c
17307 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
17308 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
17309 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
17310 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
17311 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
17312 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
17313 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
17314 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17315 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17318 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17319 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17320 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17321 Include math_private.h.
17323 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17324 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17325 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17326 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17327 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17328 * sysdeps/powerpc/power7/fpu/s_logb.c:
17329 Include math.h and math_private.h.
17331 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17332 uses of $at in .set noat / .set at.
17334 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17336 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17337 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17338 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17339 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17342 2018-03-09 Florian Weimer <fweimer@redhat.com>
17344 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17347 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17350 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17351 Add nop before __startcontext, add explaining comments.
17353 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17356 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17358 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17359 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17360 Do not build hardware transactional code for __SPE__.
17361 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17362 (__lll_trylock_elision): Likewise.
17363 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17364 (__lll_unlock_elision): Likewise.
17366 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
17367 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17368 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17369 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17370 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17371 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17372 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17373 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17374 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17375 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17376 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17377 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17378 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17379 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17380 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17381 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17382 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17383 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17384 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17385 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17386 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17387 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17388 (__ASSUME_CLONE_BACKWARDS): Define.
17389 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17390 __clone2 if __NR_clone2 is defined.
17391 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17392 (__ASSUME_CLONE_BACKWARDS): Likewise.
17393 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17394 (__ASSUME_CLONE_BACKWARDS): Likewise.
17395 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17396 (__ASSUME_CLONE2): Likewise.
17397 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17398 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17399 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17400 variants and the define architecture can use.
17401 (__ASSUME_CLONE_DEFAULT): Define as default.
17402 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17403 (__ASSUME_CLONE_BACKWARDS): Likewise.
17404 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17405 (__ASSUME_CLONE_BACKWARDS): Likewise.
17406 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17407 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17409 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17411 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17413 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17416 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17417 (do_test_limit): Likewise.
17419 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17420 for every implementation.
17421 (do_test): Likewise.
17423 * benchtests/bench-strncmp.c: Convert output to json.
17425 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17427 * io/futimens.c: Add missing start-of-file descriptive comment.
17428 * io/utime.c: Likewise.
17429 * misc/futimesat.c: Likewise.
17430 * misc/utimes.c: Likewise.
17431 * sysdeps/mach/hurd/futimesat.c: Likewise.
17432 * sysdeps/mach/hurd/utimes.c: Likewise.
17433 * sysdeps/posix/utime.c: Likewise.
17434 * sysdeps/posix/utimes.c: Likewise.
17435 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17436 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17437 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17438 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17440 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17442 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17444 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17445 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17446 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17447 (__futimens): Move implementation to...
17448 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17449 utime_tvalue_from_tspec): ... new helper functions.
17450 (hurd_futimens): New function.
17451 * sysdeps/mach/hurd/futimesat.c: New file.
17452 * sysdeps/mach/hurd/utimensat.c: New file.
17454 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17456 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17457 UTIME_OMIT): New macros.
17458 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17459 before reverting to converting time spec to time value and calling
17461 * sysdeps/mach/hurd/utime-helper.c: New file.
17462 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17463 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17464 reverting to utime_tvalue_from_tval and __file_utimes.
17465 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17466 (__lutimes): Just call hurd_futimens after lookup.
17467 * sysdeps/mach/hurd/utimes.c: Likewise.
17469 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17471 * bits/sigaction.h: Add include guard.
17472 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17473 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17474 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17475 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17476 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17477 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17478 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17479 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17480 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17482 2018-03-05 Joseph Myers <joseph@codesourcery.com>
17484 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17485 -Wmaybe-uninitialized for -Os.
17486 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17489 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17491 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17492 __INO_T_MATCHES_INO64_T is defined.
17493 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17494 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17496 * dirent/alphasort64.c: Likewise.
17497 * dirent/scandir.c: Likewise.
17498 * dirent/scandir64-tail.c: Likewise.
17499 * dirent/scandir64.c: Likewise.
17500 * dirent/scandirat.c: Likewise.
17501 * dirent/scandirat64.c: Likewise.
17502 * dirent/versionsort.c: Likewise.
17503 * dirent/versionsort64.c: Likewise.
17504 * include/dirent.h: Likewise.
17506 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17507 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17508 for socketpair endpoint.
17509 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17510 WRITE_BUFFER_SIZE as buffer size for sending socket.
17511 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17512 issue on system where send is implemented with sendto syscall.
17513 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17514 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17515 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17516 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17519 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17520 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17521 sa_restorer for vDSO case.
17522 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17524 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17526 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
17527 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17528 * hurd/hurd/ioctl.h: Include <mach/port.h>
17529 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
17530 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17531 <mach/mach_types.h> and <mach/message.h>.
17532 (headers): Move mach/param.h to bits/mach/param.h.
17533 * sysdeps/mach/i386/mach/param.h: Move file to ...
17534 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17535 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17537 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17538 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17539 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
17540 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17541 trivial, for C++ conformity.
17542 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
17543 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17544 Process mig output through $(migheadersed).
17545 * hurd/Makefile (migheadersed): Define variable.
17546 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17547 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17549 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17550 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17551 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17552 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17553 <bits/types/sigset_t.h>.
17554 [!defined __USE_GNU]: Do not #error out.
17555 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17556 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17557 Include <stddef.h> and <bits/types/sigset_t.h>
17558 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17559 instead of sighandler_t.
17560 * stdlib/errno.h (error_t): Move definition to...
17561 * bits/types/error_t.h: ... new header.
17562 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17563 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17564 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17565 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17566 * hurd/hurd.h: Include <bits/types/error_t.h>
17567 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17568 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17569 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17570 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17571 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17572 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
17573 * sysdeps/mach/hurd/futimens.c: New file.
17575 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17578 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17579 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17580 * nscd/gai.c (__nss_hosts_database): Readd definition.
17581 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17582 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17583 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17585 2018-03-02 Joseph Myers <joseph@codesourcery.com>
17587 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17588 (ifunc_one): Likewise.
17590 2018-03-01 DJ Delorie <dj@delorie.com>
17593 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17596 2018-03-01 Maciej W. Rozycki <macro@mips.com>
17598 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17599 `match_pid' parameter.
17600 (td_ta_thr_iter): Update accordingly.
17602 2018-03-01 Florian Weimer <fweimer@redhat.com>
17604 * nptl/Makefile (install-lib-ldscripts): Remove.
17605 (install): Remove rule.
17606 ($(inst_libdir)/libpthread.so): Likewise.
17608 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17611 * localedata/locales/an_ES: update month and day names,
17612 improve d_fmt, improve postal_fmt, add country_post,
17615 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17617 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17618 Ukrainian instead of Bulgarian.
17620 2018-03-01 Florian Weimer <fweimer@redhat.com>
17622 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17625 2018-03-01 Florian Weimer <fweimer@redhat.com>
17627 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17628 * nptl/Makefile (routines): Add pthread_atfork.
17629 (static-only-routines): Set to pthread_atfork.
17630 (libpthread-routines): Remove pthread_atfork.
17631 (libpthread-static-only-routines): Remove.
17632 (install): Update comment.
17633 (libpthread.so): Do not install libpthread_nonshared.a.
17634 (tests): Do not link with libpthread_nonshared.a.
17635 (generated): Remove libpthread_nonshared.a.
17636 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17637 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17638 with libpthread_nonshared.a.
17640 2018-02-28 Joseph Myers <joseph@codesourcery.com>
17643 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17644 (libc_feholdexcept_setroundf128): New macro.
17645 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17648 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17650 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17651 * include/inttypes.h: New file.
17653 2018-02-27 Joseph Myers <joseph@codesourcery.com>
17655 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17656 -Os in two more places.
17658 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17660 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17661 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17662 be sorted correctly at the moment because of a bug.
17664 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17666 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17667 treat ñ as a primary different character, sync the collation
17668 for Spanish with CLDR.
17669 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17670 * localedata/Makefile: Add new test files.
17671 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17672 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17674 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17675 * localedata/am_ET.UTF-8.in: New test file.
17676 * localedata/az_AZ.UTF-8.in: Likewise.
17677 * localedata/be_BY.UTF-8.in: Likewise.
17678 * localedata/ber_DZ.UTF-8.in: Likewise.
17679 * localedata/ber_MA.UTF-8.in: Likewise.
17680 * localedata/bg_BG.UTF-8.in: Likewise.
17681 * localedata/br_FR.UTF-8.in: Likewise.
17682 * localedata/cmn_TW.UTF-8.in: Likewise.
17683 * localedata/crh_UA.UTF-8.in: Likewise.
17684 * localedata/csb_PL.UTF-8.in: Likewise.
17685 * localedata/cv_RU.UTF-8.in: Likewise.
17686 * localedata/cy_GB.UTF-8.in: Likewise.
17687 * localedata/dz_BT.UTF-8.in: Likewise.
17688 * localedata/eo.UTF-8.in: Likewise.
17689 * localedata/es_ES.UTF-8.in: Likewise.
17690 * localedata/fa_IR.UTF-8.in: Likewise.
17691 * localedata/fi_FI.UTF-8.in: Likewise.
17692 * localedata/fil_PH.UTF-8.in: Likewise.
17693 * localedata/fur_IT.UTF-8.in: Likewise.
17694 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17695 * localedata/ha_NG.UTF-8.in: Likewise.
17696 * localedata/ig_NG.UTF-8.in: Likewise.
17697 * localedata/ik_CA.UTF-8.in: Likewise.
17698 * localedata/kk_KZ.UTF-8.in: Likewise.
17699 * localedata/ku_TR.UTF-8.in: Likewise.
17700 * localedata/ky_KG.UTF-8.in: Likewise.
17701 * localedata/ln_CD.UTF-8.in: Likewise.
17702 * localedata/mi_NZ.UTF-8.in: Likewise.
17703 * localedata/ml_IN.UTF-8.in: Likewise.
17704 * localedata/mn_MN.UTF-8.in: Likewise.
17705 * localedata/mr_IN.UTF-8.in: Likewise.
17706 * localedata/mt_MT.UTF-8.in: Likewise.
17707 * localedata/nb_NO.UTF-8.in: Likewise.
17708 * localedata/om_KE.UTF-8.in: Likewise.
17709 * localedata/os_RU.UTF-8.in: Likewise.
17710 * localedata/ps_AF.UTF-8.in: Likewise.
17711 * localedata/ro_RO.UTF-8.in: Likewise.
17712 * localedata/ru_RU.UTF-8.in: Likewise.
17713 * localedata/sc_IT.UTF-8.in: Likewise.
17714 * localedata/se_NO.UTF-8.in: Likewise.
17715 * localedata/sq_AL.UTF-8.in: Likewise.
17716 * localedata/sv_SE.UTF-8.in: Likewise.
17717 * localedata/szl_PL.UTF-8.in: Likewise.
17718 * localedata/tg_TJ.UTF-8.in: Likewise.
17719 * localedata/tk_TM.UTF-8.in: Likewise.
17720 * localedata/tt_RU.UTF-8.in: Likewise.
17721 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17722 * localedata/ug_CN.UTF-8.in: Likewise.
17723 * localedata/uz_UZ.UTF-8.in: Likewise.
17724 * localedata/vi_VN.UTF-8.in: Likewise.
17725 * localedata/yi_US.UTF-8.in: Likewise.
17726 * localedata/yo_NG.UTF-8.in: Likewise.
17727 * localedata/zh_CN.UTF-8.in: Likewise.
17728 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17729 file and fix bugs in the collation.
17730 * localedata/locales/az_AZ: Likewise.
17731 * localedata/locales/be_BY: Likewise.
17732 * localedata/locales/ber_DZ: Likewise.
17733 * localedata/locales/ber_MA: Likewise.
17734 * localedata/locales/bg_BG: Likewise.
17735 * localedata/locales/br_FR: Likewise.
17736 * localedata/locales/br_FR@euro: Likewise.
17737 * localedata/locales/ca_ES: Likewise.
17738 * localedata/locales/cns11643_stroke: Likewise.
17739 * localedata/locales/crh_UA: Likewise.
17740 * localedata/locales/cs_CZ: Likewise.
17741 * localedata/locales/csb_PL: Likewise.
17742 * localedata/locales/cv_RU: Likewise.
17743 * localedata/locales/cy_GB: Likewise.
17744 * localedata/locales/da_DK: Likewise.
17745 * localedata/locales/dz_BT: Likewise.
17746 * localedata/locales/en_CA: Likewise.
17747 * localedata/locales/eo: Likewise.
17748 * localedata/locales/es_CU: Likewise.
17749 * localedata/locales/es_EC: Likewise.
17750 * localedata/locales/es_ES: Likewise.
17751 * localedata/locales/es_US: Likewise.
17752 * localedata/locales/et_EE: Likewise.
17753 * localedata/locales/fa_IR: Likewise.
17754 * localedata/locales/fi_FI: Likewise.
17755 * localedata/locales/fil_PH: Likewise.
17756 * localedata/locales/fur_IT: Likewise.
17757 * localedata/locales/gez_ER@abegede: Likewise.
17758 * localedata/locales/ha_NG: Likewise.
17759 * localedata/locales/hr_HR: Likewise.
17760 * localedata/locales/hsb_DE: Likewise.
17761 * localedata/locales/hu_HU: Likewise.
17762 * localedata/locales/ig_NG: Likewise.
17763 * localedata/locales/ik_CA: Likewise.
17764 * localedata/locales/is_IS: Likewise.
17765 * localedata/locales/iso14651_t1_pinyin: Likewise.
17766 * localedata/locales/kk_KZ: Likewise.
17767 * localedata/locales/ku_TR: Likewise.
17768 * localedata/locales/ky_KG: Likewise.
17769 * localedata/locales/ln_CD: Likewise.
17770 * localedata/locales/lt_LT: Likewise.
17771 * localedata/locales/lv_LV: Likewise.
17772 * localedata/locales/mi_NZ: Likewise.
17773 * localedata/locales/ml_IN: Likewise.
17774 * localedata/locales/mn_MN: Likewise.
17775 * localedata/locales/mr_IN: Likewise.
17776 * localedata/locales/mt_MT: Likewise.
17777 * localedata/locales/nb_NO: Likewise.
17778 * localedata/locales/om_KE: Likewise.
17779 * localedata/locales/os_RU: Likewise.
17780 * localedata/locales/pl_PL: Likewise.
17781 * localedata/locales/ps_AF: Likewise.
17782 * localedata/locales/ro_RO: Likewise.
17783 * localedata/locales/ru_RU: Likewise.
17784 * localedata/locales/ru_UA: Likewise.
17785 * localedata/locales/sc_IT: Likewise.
17786 * localedata/locales/se_NO: Likewise.
17787 * localedata/locales/si_LK: Likewise.
17788 * localedata/locales/sq_AL: Likewise.
17789 * localedata/locales/sv_FI: Likewise.
17790 * localedata/locales/sv_FI@euro: Likewise.
17791 * localedata/locales/sv_SE: Likewise.
17792 * localedata/locales/szl_PL: Likewise.
17793 * localedata/locales/tg_TJ: Likewise.
17794 * localedata/locales/ti_ER: Likewise.
17795 * localedata/locales/tk_TM: Likewise.
17796 * localedata/locales/tl_PH: Likewise.
17797 * localedata/locales/tr_TR: Likewise.
17798 * localedata/locales/tt_RU: Likewise.
17799 * localedata/locales/tt_RU@iqtelif: Likewise.
17800 * localedata/locales/ug_CN: Likewise.
17801 * localedata/locales/uk_UA: Likewise.
17802 * localedata/locales/uz_UZ: Likewise.
17803 * localedata/locales/uz_UZ@cyrillic: Likewise.
17804 * localedata/locales/vi_VN: Likewise.
17805 * localedata/locales/yi_US: Likewise.
17806 * localedata/locales/yo_NG: Likewise.
17808 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17810 * gen-locales.mk: Make test files which contain @ modifiers in their
17812 * localedata/gen-locale.sh: Likewise.
17814 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17816 * posix/tst-fnmatch.input: Fix results for range expressions
17818 * posix/tst-regexloc.c: Do not use a range expression for
17819 de_DE.ISO-8859-1 locale.
17821 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17823 * posix/bug-regex5.c: Fix test case because with the new
17824 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17825 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17828 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17830 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17831 downloaded from ISO, the collation order of @-. and space has changed.
17832 Therefore, this test file needed to be adapted.
17833 * localedata/fr_CA.UTF-8.in: Likewise.
17834 * localedata/fr_FR.UTF-8.in: Likewise.
17835 * localedata/uk_UA.UTF-8.in: Likewise.
17837 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17839 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17840 order of ȥ in the new iso14651_t1_common file.
17841 * localedata/pl_PL.UTF-8.in: Likewise.
17843 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17845 * localedata/locales/iso14651_t1_common: Add sections for various
17846 scripts to the iso14651_t1_common file.
17848 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17850 * localedata/locales/iso14651_t1_common: Use the code point of a
17851 character in the fourth collation level instead of IGNORE for all
17852 entries which have IGNORE on all 4 levels.
17854 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17856 * localedata/locales/iso14651_t1_common: Add some convenient collation
17857 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17858 rules similar to those in CLDR.
17860 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17862 * localedata/locales/iso14651_t1_common: The new version of this
17863 file downloaded from ISO contained several syntax errors which
17864 are fixed by this patch.
17866 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17868 * localedata/locales/iso14651_t1_common: replace all <U.....>
17869 with <U000.....> because glibc understands only 4 digit or 8 digit
17871 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17873 * localedata/locales/iso14651_t1_common: Necessary changes
17874 to make the file downloaded from ISO usable by glibc.
17876 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17879 * localedata/locales/iso14651_t1_common: Update file to
17880 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17882 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17884 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17885 of <nptl/pthreadP.h>
17886 (thread_attr_compare): Move function to...
17887 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
17888 * sysdeps/nptl/timer_routines.h: ... new header.
17889 * sysdeps/mach/hurd/gai_misc.h: New file.
17891 2018-02-26 Joseph Myers <joseph@codesourcery.com>
17893 * string/strcoll_l.c: Include <libc-diag.h>.
17894 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17895 declarations of seq1 and seq2.
17898 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17899 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17901 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17905 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17906 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17907 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17908 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17909 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17910 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17912 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17914 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17915 macros used in __ptrace_request.
17917 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17920 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17922 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17923 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17924 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17927 2018-02-23 Joseph Myers <joseph@codesourcery.com>
17930 * ctype/ctype.c (tolower): Use libc_hidden_def.
17931 (toupper): Likewise.
17932 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17933 [!_ISOMAC] (toupper): Likewise.
17935 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17937 * localedata/Makefile: Remove --quiet argument when
17940 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17943 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17945 * localedata/locales/pt_PT (LC_TIME): likewise
17947 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17950 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17951 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17952 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17954 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17958 * nptl/Makefile (routines): Remove unregister-atfork.
17959 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17960 (fork_handler_alloc): Remove function.
17961 (fork_handlers, fork_handler_init): New variables.
17962 (__fork_lock): Rename to atfork_lock.
17963 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17964 to use a dynamic array to add/remove atfork handlers.
17965 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17966 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17967 Remove declaration.
17968 (fork_handler): Remove next, refcntr, and need_signal member.
17969 (__run_fork_handler_type): New enum.
17970 (__run_fork_handlers): New prototype.
17971 * nptl/register-atfork.c: Remove file.
17972 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17974 * sysdeps/nptl/nptl-signals.h: Move to ...
17975 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17977 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17978 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17979 unnecessary check for SIGTIMER.
17980 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17981 remove unnecessary removal of SIGTIMER.
17982 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17983 include-signals.h rename.
17984 * nptl/pthreadP.h: Likewise.
17985 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17986 __is_internal_signal instead of __nptl_is_internal_signal.
17988 2018-02-22 Andrew Waterman <andrew@sifive.com>
17991 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17992 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17993 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17994 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17996 2018-02-22 DJ Delorie <dj@delorie.com>
17998 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
18000 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
18002 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
18003 do_misaligned, not misaligned8.
18005 2018-02-22 Steve Ellcey <sellcey@cavium.com>
18007 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
18008 Add memcpy_thunderx2.
18009 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
18011 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
18012 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
18013 and IS_THUNDERX2PA checks.
18014 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
18015 Use macro to set name appropriately.
18016 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
18017 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
18018 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
18020 (IS_THUNDERX2): New macro.
18022 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
18024 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18026 2018-02-21 Zack Weinberg <zackw@panix.com>
18028 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
18029 Define here, unconditionally.
18030 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
18031 * libio/libioP.h: Remove #if 0 blocks.
18032 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
18033 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
18034 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
18036 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
18037 Assume weak_alias is always defined.
18039 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
18040 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
18041 Remove #if 0 and #ifdef TODO blocks.
18042 Assume text_set_element is always defined.
18044 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
18045 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
18046 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
18048 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
18049 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
18050 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
18051 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
18052 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
18053 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
18054 Reformat bit flags for _flags field to make occupancy clearer.
18056 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
18057 Keep definitions consistent with those in libio/libio.h.
18059 * libio/libio.h (_IO_file_flags): Remove macro.
18060 All uses changed to _flags.
18062 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
18063 (__HAVE_COLUMN, _IO_BE): Don't define.
18064 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
18065 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
18066 * libio/libioP.h (EOF): Don't define.
18067 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
18068 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
18069 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
18070 testing _IO_UNIFIED_JUMPTABLES.
18072 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
18073 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
18074 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
18075 (_IO_size_t): Delete; all uses changed to size_t.
18076 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
18077 (_IO_off_t): Delete; all uses changed to off_t.
18078 (_IO_off64_t): Delete; all uses changed to off64_t.
18079 (_IO_pid_t): Delete; all uses changed to pid_t.
18080 (_IO_uid_t): Delete; all uses changed to uid_t.
18081 (_IO_wint_t): Delete; all uses changed to wint_t.
18082 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
18083 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
18084 (_IO_cookie_io_functions_t): Delete; all uses changed to
18085 cookie_io_functions_t.
18086 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
18087 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
18088 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
18089 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
18091 * libio/iofopncook.c: Remove unnecessary forward declarations.
18092 * libio/iolibio.h: Correct outdated commentary.
18093 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
18094 * stdio-common/fxprintf.c (__fxprintf_nocancel):
18095 Remove unnecessary casts.
18096 * stdio-common/getline.c: Use _IO_getdelim directly.
18097 Don't redefine ssize_t.
18098 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
18099 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
18100 Remove outdated comments.
18101 * stdio-common/vfscanf.c: Don't redefine va_list.
18103 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
18104 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
18105 Remove preprocessor conditionals on _LIBC and __USE_GNU,
18106 which are always true, and __cplusplus, which is always false.
18108 2018-02-21 Joseph Myers <joseph@codesourcery.com>
18112 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
18113 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
18114 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
18115 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
18117 [!_ISOMAC] (putc_unlocked): Likewise.
18118 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
18119 define inline if [__USE_EXTERN_INLINES].
18120 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
18125 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
18126 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
18127 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
18128 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
18129 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
18131 * time/tzfile.c (__tzfile_read): Likewise.
18133 2018-02-21 Mike FABIAN <mfabian@redhat.com>
18136 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
18138 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
18140 * io/fcntl.h: Fix a typo in a comment.
18142 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
18145 * include/features.h: Add _ISOC11_SOURCE to test for whether to
18146 define _DEFAULT_SOURCE.
18147 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
18149 2018-02-21 Florian Weimer <fweimer@redhat.com>
18152 * elf/cache.c (save_cache): Call fsync on temporary file before
18154 (save_aux_cache): Call fdatasync on temporary file before renaming
18157 2018-02-21 Florian Weimer <fweimer@redhat.com>
18160 * include/caller.h: Remove file.
18161 * elf/dl-caller.c: Likewise.
18162 * elf/Makefile (dl-routines): Remove dl-caller.
18163 (shared-only-routines): Do not add dl-caller.
18164 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
18166 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
18168 (dl_open_worker): Do not call __check_caller.
18169 (_dl_open): Do not set caller_dl_open member.
18170 * elf/rtld.c (_rtld_global_ro): Do not initialize
18171 _dl_check_caller member.
18172 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
18173 _dl_check_caller member.
18174 (_dl_check_caller): Remove declaration.
18175 * sysdeps/unix/sysv/linux/dl-execstack.c
18176 (_dl_make_stack_executable): Do not call __check_caller.
18178 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18180 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
18181 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
18183 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
18185 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
18188 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
18191 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
18192 of 199606L, 200112L, and 200809L.
18193 (_XOPEN_SOURCE): Document special values of 600 and 700.
18194 (_ISOC11_SOURCE): Document macro.
18195 (_ATFILE_SOURCE): Likewise.
18196 (_FORTIFY_SOURCE): Likewise.
18198 2018-02-19 Joseph Myers <joseph@codesourcery.com>
18202 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
18203 and define as weak alias of __ferror_unlocked. Use
18205 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
18207 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
18208 function if [__USE_EXTERN_INLINES].
18209 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
18212 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
18215 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
18217 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18220 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
18221 the GLIBC_2.1 version.
18223 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18226 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
18227 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
18228 intl/tst-gettext-de.po from po/de.po by removing the
18229 POT-Creation-Date line.
18230 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
18232 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
18235 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18237 * mach/Makefile (headers): Add mach/param.h.
18238 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
18239 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
18240 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
18241 (__ptsname_r): Move implementation to...
18242 (__ptsname_internal): ... new function. Add filling the STP
18245 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
18247 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
18250 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
18252 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
18255 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18257 * nptl/Makefile (tst-mutex8-ENV): Delete.
18258 * nptl/tst-mutex8.c (check_type):
18259 Add runtime check if mutex will be elided.
18261 2018-02-15 Joseph Myers <joseph@codesourcery.com>
18265 * manual/install.texi (Configuring and compiling): Describe
18266 passing CC and CFLAGS on configure command line, not as
18267 environment variables. Use @code markup on those variables.
18268 Specify what options go in CC and what go in CFLAGS. Note the
18269 requirement to compile with optimization.
18270 * INSTALL: Regenerated.
18273 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
18274 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
18275 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
18276 __sigprocmask instead of sigprocmask.
18277 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
18279 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
18280 __sigsetjmp and sigprocmask.
18283 * include/argz.h (argz_next): Use libc_hidden_proto.
18284 (__argz_next): Likewise.
18285 * string-argz-next.c (__argz_next): Use libc_hidden_def.
18286 (argz_next): Use libc_hidden_weak.
18289 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
18291 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
18295 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
18297 * libio/iofputs.c (fputs): Use libc_hidden_weak.
18301 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
18302 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
18303 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
18304 (__feof_unlocked): New declaration, and inline function if
18305 [__USE_EXTERN_INLINES].
18306 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
18307 instead of feof_unlocked.
18308 * intl/localealias.c [_LIBC] (FEOF): Likewise.
18309 * nss/nsswitch.c (nss_parse_file): Likewise.
18310 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
18312 * time/getdate.c (__getdate_r): Likewise.
18313 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
18314 Define as macro to call __feof_unlocked.
18316 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18318 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18320 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18322 * math/Makefile: Remove mpexp.c and mplog.c
18323 * sysdeps/i386/fpu/mpexp.c: Delete file.
18324 * sysdeps/i386/fpu/mplog.c: Likewise.
18325 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18326 * sysdeps/ia64/fpu/mplog.c: Likewise.
18327 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18328 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18329 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18330 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18331 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18332 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18333 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18334 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18335 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18336 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18337 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18338 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18339 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18340 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18341 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18342 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18344 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18346 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18348 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18350 * sysdeps/sh/libm-test-ulps: Update.
18352 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18354 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18357 2018-02-12 Zack Weinberg <zackw@panix.com>
18360 * posix/sys/types.h: Don't include sys/sysmacros.h.
18361 * misc/sys/sysmacros.h: Remove the conditional deprecation
18362 warnings for the macros defined by this header.
18364 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18366 * manual/probes.texi: Remove slowexp probes.
18367 * math/Makefile: Remove slowexp.
18368 * sysdeps/generic/math_private.h (__slowexp): Remove.
18369 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18370 document error bounds.
18371 * sysdeps/i386/fpu/slowexp.c: Remove.
18372 * sysdeps/ia64/fpu/slowexp.c: Remove.
18373 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18374 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18375 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18376 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18377 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18378 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18379 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18380 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18381 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18382 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18383 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18385 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18388 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18389 * benchtests/pow-inputs: Update comment for slow path cases.
18390 * manual/probes.texi (slowpow_p10): Delete removed probe.
18391 (slowpow_p10): Likewise.
18392 * math/Makefile: Remove halfulp.c and slowpow.c.
18393 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18394 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18395 (__halfulp): Remove.
18396 (__slowpow): Remove.
18397 * sysdeps/i386/fpu/halfulp.c: Delete file.
18398 * sysdeps/i386/fpu/slowpow.c: Likewise.
18399 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18400 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18401 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18402 improve comments and add error analysis.
18403 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18404 (power1): Remove function:
18405 (log1): Remove error argument, add error analysis.
18406 (my_log2): Remove function.
18407 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18408 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18409 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18410 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18411 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18412 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18413 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18414 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18415 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18416 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18417 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18418 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18419 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18420 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18422 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18424 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18425 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18427 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18430 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18431 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18432 and PTRACE_SETHBPREGS.
18434 2018-02-10 Zack Weinberg <zackw@panix.com>
18437 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18439 * malloc/tst-malloc-stats-cancellation.c: New test case.
18440 * malloc/Makefile: Add new test case.
18442 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18444 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18446 2018-02-10 Joseph Myers <joseph@codesourcery.com>
18448 * math/Makefile (libm-narrow-fns): Add add.
18449 (libm-test-funcs-narrow): Likewise.
18450 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18451 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18452 * math/gen-auto-libm-tests.c (test_functions): Add add.
18453 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18454 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18455 (NARROW_ADD_TRIVIAL): Likewise.
18456 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18458 (__daddl): Likewise.
18459 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18461 (CFLAGS-nldbl-dadd.c): New variable.
18462 (CFLAGS-nldbl-fadd.c): Likewise.
18463 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18465 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18467 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18468 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18469 * math/auto-libm-test-in: Add tests of add.
18470 * math/auto-libm-test-out-narrow-add: New generated file.
18471 * math/libm-test-narrow-add.inc: New file.
18472 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18473 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18474 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18475 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18476 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18477 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18478 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18479 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18480 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18481 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18482 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18483 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18484 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18485 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18486 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18487 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18488 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18489 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18491 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18492 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18493 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18494 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18495 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18496 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18497 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18498 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18499 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18500 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18501 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18502 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18503 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18508 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18509 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18510 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18511 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18512 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18513 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18514 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18515 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18516 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18517 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18519 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18520 (f128-pairs): New variable.
18521 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18522 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18524 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18525 Also make tests add $(f128-loader-link) to gnulib-tests.
18527 2018-02-09 DJ Delorie <dj@redhat.com>
18530 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18531 64-bit ELF type for 64-bit ELF objects.
18533 2018-02-09 Joseph Myers <joseph@codesourcery.com>
18535 * math/libm-test-driver.c (snan_tests_arg): New variable.
18536 * math/libm-test-support.h (snan_tests_arg): New declaration.
18537 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18539 * math/Makefile (test-type-pairs): New variable.
18540 (test-type-pairs-f64xf128-yes): Likewise.
18541 (tests): Add test-narrow-macros.
18542 (libm-test-funcs-narrow): New variable.
18543 (libm-test-c-narrow): Likewise.
18544 (generated): Add $(libm-test-c-narrow).
18545 (libm-tests-base-narrow): New variable.
18546 (libm-tests-narrow): Likewise.
18547 (libm-tests): Add $(libm-tests-narrow).
18548 (libm-tests-for-type): Handle $(libm-tests-narrow).
18549 (libm-test-c-narrow-obj): New variable.
18550 ($(libm-test-c-narrow-obj)): New rule.
18551 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18552 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18553 $(o-iterator) to set dependencies and CFLAGS.
18554 * math/gen-auto-libm-tests.c: Document use for narrowing
18556 (output_for_one_input_case): Take argument NARROW.
18557 (generate_output): Likewise. Update call to
18558 output_for_one_input_case.
18559 (main): Take --narrow option. Update call to generate_output.
18560 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18561 (apply_lit): Update call to _apply_lit.
18562 (apply_arglit): New function.
18563 (parse_args): Handle "a" arguments.
18564 (parse_auto_input): Handle format names using ":".
18565 * math/README.libm-test: Document "a" parameter type.
18566 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18567 (ARG_TYPE_TRUE_MIN): Likewise.
18568 (ARG_TYPE_MAX): Likwise.
18569 (ARG_MIN_EXP): Likewise.
18570 (ARG_MAX_EXP): Likewise.
18571 (ARG_MANT_DIG): Likewise.
18572 (TEST_COND_arg_ibm128): Likewise.
18573 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18574 (TEST_COND_arg_fmt): New macro.
18575 (init_max_error): Update prototype.
18576 * math/libm-test-support.c (test_ibm128): New variable.
18577 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18578 instead of using [TEST_COND_ibm128] conditional.
18579 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18580 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18581 [TEST_NARROW] (TEST_MSG): New definition.
18582 (arg_plus_zero): New macro.
18583 (arg_minus_zero): Likewise.
18584 (arg_plus_infty): Likewise.
18585 (arg_minus_infty): Likewise.
18586 (arg_qnan_value_pl): Likewise.
18587 (arg_qnan_value): Likewise.
18588 (arg_snan_value_pl): Likewise.
18589 (arg_snan_value): Likewise.
18590 (arg_max_value): Likewise.
18591 (arg_min_value): Likewise.
18592 (arg_min_subnorm_value): Likewise.
18593 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18594 (RUN_TEST_LOOP_aa_f): New macro.
18595 (TEST_SUFF): New macro.
18596 (TEST_SUFF_STR): Likewise.
18597 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18598 (TEST_COND_any_ibm128): New macro.
18599 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18600 this_func. Update call to init_max_error.
18601 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18602 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18603 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18604 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18605 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18606 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18607 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18608 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18609 * math/test-math-vector.h (TEST_NARROW): Likewise.
18610 * math/test-arg-double.h: New file.
18611 * math/test-arg-float128.h: Likewise.
18612 * math/test-arg-float32x.h: Likewise.
18613 * math/test-arg-float64.h: Likewise.
18614 * math/test-arg-float64x.h: Likewise.
18615 * math/test-arg-ldouble.h: Likewise.
18616 * math/test-math-narrow.h: Likewise.
18617 * math/test-narrow-macros.c: Likewise.
18618 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18619 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18620 test-narrow-macros-ldbl-64.
18621 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18623 * math/bits/mathcalls-narrow.h: New file.
18624 * include/bits/mathcalls-narrow.h: Likewise.
18625 * math/math-narrow.h: Likewise.
18626 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18627 (__MATHCALL_NARROW_ARGS_2): Likewise.
18628 (__MATHCALL_NARROW_ARGS_3): Likewise.
18629 (__MATHCALL_NARROW_NORMAL): Likewise.
18630 (__MATHCALL_NARROW_REDIR): Likewise.
18631 (__MATHCALL_NARROW): Likewise.
18632 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18633 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18635 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18636 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18637 (libm-narrow-fns): New variable.
18638 (libm-narrow-types-basic): Likewise.
18639 (libm-narrow-types-ldouble-yes): Likewise.
18640 (libm-narrow-types-float128-yes): Likewise.
18641 (libm-narrow-types-float128-alias-yes): Likewise.
18642 (libm-narrow-types): Likewise.
18643 (libm-routines): Add narrowing functions.
18644 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18645 (libc_feholdexcept_setroundf128): New macro.
18646 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18647 * sysdeps/ieee754/float128/float128_private.h: Include
18648 <math/math-narrow.h>.
18649 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18650 Undefine and redefine.
18651 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18652 (libm_alias_float_ldouble): Undefine and redefine.
18653 (libm_alias_double_ldouble): Likewise.
18655 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18657 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18659 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18662 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
18664 * manual/creature.texi: Convert references to gcc.info to gcc.
18665 * manual/stdio.texi: Likewise.
18666 * manual/string.texi: Likewise.
18668 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18671 * posix/bits/types.h (__int_least8_t): New typedef.
18672 (__uint_least8_t): Likewise.
18673 (__int_least16_t): Likewise.
18674 (__uint_least16_t): Likewise.
18675 (__int_least32_t): Likewise.
18676 (__uint_least32_t): Likewise.
18677 (__int_least64_t): Likewise.
18678 (__uint_least64_t): Likewise.
18679 * sysdeps/generic/stdint.h (int_least8_t): Define using
18681 (int_least16_t): Define using __int_least16_t.
18682 (int_least32_t): Define using __int_least32_t.
18683 (int_least64_t): Define using __int_least64_t.
18684 (uint_least8_t): Define using __uint_least8_t.
18685 (uint_least16_t): Define using __uint_least16_t.
18686 (uint_least32_t): Define using __uint_least32_t.
18687 (uint_least64_t): Define using __uint_least64_t.
18688 * wcsmbs/uchar.h: Include <bits/types.h>.
18689 (char16_t): Define using __uint_least16_t conditional only on
18691 (char32_t): Define using __uint_least32_t conditional only on
18693 * wcsmbs/test-char-types.c: New file.
18694 * wcsmbs/Makefile (tests): Add test-char-types.
18696 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18699 2018-02-07 Zack Weinberg <zackw@panix.com>
18701 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18702 Delete all contents except for definitions of _G_HAVE_MMAP and
18703 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18704 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18705 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18708 * libio/libio.h: Don't include bits/_G_config.h here.
18709 Include stddef.h with __need_wchar_t defined. Include
18710 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18711 Define _IO_iconv_t here, directly.
18712 Don't define _IO_HAVE_ST_BLKSIZE.
18713 * libio/libioP.h: Include _G_config.h here. Move include of
18714 shlib-compat.h up with rest of includes. Simplify conditionals
18715 controlling definition of _IO_JUMPS_OFFSET.
18717 * csu/init.c: Remove always-true #if around entire file.
18718 Don't include stdio.h. Set _IO_stdin_used to hardwired
18719 constant 0x20001, and update commentary.
18720 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18721 Replace all uses of _G_va_list with __gnuc_va_list.
18722 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18723 instead of #if _IO_HAVE_ST_BLKSIZE.
18724 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18725 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18728 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18729 multiple-include guard to match.
18730 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18732 Remove preprocessor conditionals that are always true and/or
18733 redundant to other preprocessor conditionals in the same nest.
18734 Include shlib-compat.h unconditionally.
18735 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18736 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18737 defined after including stdio.h.
18738 Use __BEGIN_DECLS/__END_DECLS.
18740 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18741 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18742 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18744 2018-02-07 Zack Weinberg <zackw@panix.com>
18746 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18747 New single-type headers split from _G_config.h.
18748 * libio/bits/types/cookie_io_functions_t.h
18749 * libio/bits/types/struct_FILE.h
18750 New single-type headers split from libio.h.
18752 * libio/Makefile: Install the above new headers. Don't install
18753 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18755 * libio/_G_config.h, libio/libio.h: Delete file.
18757 * libio/bits/libio.h: Remove improper-inclusion guard.
18758 Include stdio.h and don't repeat anything that it does.
18759 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18760 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18761 __io_read_fn as cookie_read_function_t,
18762 __io_write_fn as cookie_write_function_t,
18763 __io_seek_fn as cookie_seek_function_t,
18764 __io_close_fn as cookie_close_function_t,
18765 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18766 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18767 here, in the "compatibility defines" section. Remove an #if 0
18768 block. Use the "body" macros from bits/types/struct_FILE.h to
18769 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18770 and _IO_ferror_unlocked.
18771 Move prototypes of __uflow and __overflow...
18773 * libio/stdio.h: ...here. Don't include bits/libio.h.
18774 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
18775 directly from stdarg.h. Include bits/types/__fpos_t.h,
18776 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18777 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18778 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18779 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18780 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18781 __ssize_t, not _IO_ssize_t. Unconditionally define
18782 BUFSIZ as 8192 and EOF as (-1).
18784 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18785 macros from bits/types/struct_FILE.h instead of _IO_* macros
18786 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18787 instead of _IO_ssize_t.
18788 * libio/bits/stdio2.h: Similarly.
18790 * libio/iolibio.h: Add multiple-include guard.
18791 Include bits/libio.h after stdio.h.
18792 * libio/libioP.h: Add multiple-include guard.
18793 Include stdio.h and bits/libio.h before iolibio.h.
18795 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
18796 * include/bits/types/cookie_io_functions_t.h
18797 * include/bits/types/struct_FILE.h: New wrappers.
18799 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
18800 Get definitions of _G_fpos_t and _G_fpos64_t from
18801 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18802 respectively. Remove improper-inclusion guards.
18804 * conform/data/stdio.h-data: Update expectations of va_list.
18805 * scripts/check-installed-headers.sh: Remove special case for
18806 libio.h and _G_config.h.
18808 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18812 * include/sys/sysmacros.h [!_ISOMAC]
18813 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18814 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18815 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18816 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18818 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18819 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18821 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18822 Undefine and redefine to add use __gnu_dev_ prefix.
18823 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18825 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18826 and define as hidden inline function.
18827 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18829 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18831 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18832 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18833 (gnu_dev_minor): Likewise.
18834 (gnu_dev_makedev): Likewise.
18835 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18837 * posix/wordexp.c (exec_comm_child): Likewise.
18838 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18839 instead of minor and __gnu_dev_major instead of major.
18840 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18841 __gnu_dev_major instead of major.
18842 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18843 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18844 instead of gnu_dev_minor.
18845 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18846 (SLAVE_P): Likewise.
18847 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18848 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18852 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18854 * locale/weightwc.h (findidx): Likewise.
18856 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18858 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18859 (slowlog_inexact): Likewise
18860 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18861 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18863 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18866 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18867 missing second underscore to parameter name.
18869 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18875 * bits/byteswap.h: Update file comment. Do not include
18876 <bits/byteswap-16.h>.
18877 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18879 (__bswap_16): Define as inline function.
18880 (__bswap_constant_32): Reformat definition.
18881 (__bswap_32): Always define as inline function, not macro, using
18882 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18883 otherwise __bswap_constant_32.
18884 (__bswap_constant_64): Reformat definition. Do not use
18885 __extension__ here.
18886 (__bswap_64): Always define as inline function, not macro. Use
18887 __extension__ on function definition. Use __builtin_bswap64 if
18888 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18889 * string/test-endian-file-scope.c: New file.
18890 * string/test-endian-sign-conversion.c: Likewise.
18891 * string/Makefile (headers): Remove bits/byteswap-16.h.
18892 (tests): Add test-endian-file-scope and
18893 test-endian-sign-conversion.
18894 (CFLAGS-test-endian-sign-conversion.c): New variable.
18895 * bits/byteswap-16.h: Remove file.
18896 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18897 * sysdeps/ia64/bits/byteswap.h: Likewise.
18898 * sysdeps/m68k/bits/byteswap.h: Likewise.
18899 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18900 * sysdeps/s390/bits/byteswap.h: Likewise.
18901 * sysdeps/tile/bits/byteswap.h: Likewise.
18902 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18903 * sysdeps/x86/bits/byteswap.h: Likewise.
18906 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18907 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18908 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18909 199901L] (__restrict): Define to restrict.
18912 * string/testcopy.c: Include <support/support.h>. Do not include
18913 <malloc.h>. Use <support/test-driver.c>.
18914 (main): Rename to do_test. Make static. Use xmalloc instead of
18918 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18919 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18920 (SSIZE_MAX): Define to INT_MAX.
18921 * posix/test-ssize-max.c: New file.
18922 * posix/Makefile (tests): Add test-ssize-max.
18925 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18926 <support/support.h>. Do not include <malloc.h>.
18927 (query_auxv): Use xmalloc instead of malloc.
18930 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18931 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18934 2018-02-06 Florian Weimer <fweimer@redhat.com>
18937 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18938 Use scratch_buffer instead of extend_alloca.
18940 2018-02-06 Zack Weinberg <zackw@panix.com>
18942 * libio/stdio.h: Don't define getc or putc as macros.
18943 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18944 not _IO_getc and _IO_putc.
18946 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18947 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18949 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18951 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18952 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18954 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18957 * elf/elf.h (NT_PRFPREG): New macro.
18958 (NT_S390_VXRS_LOW): Likewise.
18959 (NT_S390_VXRS_HIGH): Likewise.
18960 (NT_S390_GS_CB): Likewise.
18961 (NT_S390_GS_BC): Likewise.
18962 (NT_S390_RI_CB): Likewise.
18964 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18965 (MAP_SYNC): New macro.
18966 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18968 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18969 (MAP_SYNC): Likewise.
18970 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18971 (MAP_SYNC): Likewise.
18972 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18973 (MAP_SYNC): Likewise.
18974 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18975 (MAP_SYNC): Likewise.
18976 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18977 (MAP_SYNC): Likewise.
18978 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18979 (MAP_SYNC): Likewise.
18980 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18982 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18985 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18986 (MAP_SHARED_VALIDATE): New macro.
18987 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18988 (MAP_SHARED_VALIDATE): Likewise.
18990 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18992 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18993 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18994 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18996 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18998 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18999 (DT_NUM): Updated to 35.
19001 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19003 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
19004 __builtin_expect with __glibc_likely and __glibc_unlikely.
19005 (elf_machine_rela): Likewise.
19006 (elf_machine_lazy_rel): Likewise.
19008 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19010 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
19011 __builtin_expect with __glibc_likely and __glibc_unlikely.
19012 (elf_machine_lazy_rel): Likewise.
19014 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19017 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
19019 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
19021 2018-02-05 Andreas Schwab <schwab@suse.de>
19024 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
19027 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19029 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
19030 not check against PTHREAD_STACK_MIN.
19032 2018-02-02 Sean McKean <smckean83@gmail.com>
19035 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
19037 2018-02-02 Florian Weimer <fweimer@redhat.com>
19040 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
19041 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
19042 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
19043 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
19044 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
19045 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
19046 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
19047 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
19048 * manual/llio.texi (Scatter-Gather): Mention offset -1.
19049 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
19050 * misc/tst-preadvwritev2.c (do_test): Call it.
19051 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
19053 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
19055 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
19057 * benchtests/bench-memcmp.c: Print json instead of plain text.
19059 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
19062 2018-02-01 Joseph Myers <joseph@codesourcery.com>
19064 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19066 (s390_sthyi): New syscall.
19068 * sysdeps/generic/ldbl-classify-compat.h: New file.
19069 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
19070 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
19071 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
19072 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
19073 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
19074 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
19075 * sysdeps/ieee754/dbl-64/s_finite.c: Include
19076 <ldbl-classify-compat.h>.
19077 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19078 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
19079 <ldbl-classify-compat.h>.
19080 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19081 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
19082 <ldbl-classify-compat.h>.
19083 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19084 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
19085 <ldbl-classify-compat.h>.
19086 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19087 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
19088 <ldbl-classify-compat.h>.
19089 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19090 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
19091 <ldbl-classify-compat.h>.
19092 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19093 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
19094 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19095 * sysdeps/m68k/coldfire/math_private.h: Remove file.
19096 * sysdeps/microblaze/math_private.h: Likewise.
19097 * sysdeps/nios2/math_private.h: Likewise.
19098 * sysdeps/sh/math_private.h: Likewise.
19100 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
19101 * sysdeps/m68k/coldfire/math_private.h: ... here.
19102 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
19103 * sysdeps/tile/math_private.h: Likewise.
19104 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
19106 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
19109 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
19111 (libc_fetestexcept): Likewise.
19112 (libc_feupdateenv_test): Likewise.
19113 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
19114 (libc_fetestexcept): Likewise.
19115 (libc_feupdateenv_test): Likewise.
19116 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
19117 (libc_fetestexcept): Likewise.
19118 (libc_feupdateenv_test): Likewise.
19119 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
19120 (libc_fetestexcept): Likewise.
19121 (libc_feupdateenv_test): Likewise.
19123 * sysdeps/generic/math_private.h
19124 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
19125 New inline function.
19126 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
19129 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
19130 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
19131 * sysdeps/generic/math_private.h
19132 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
19134 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
19136 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
19138 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
19140 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
19142 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
19144 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
19145 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
19146 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
19147 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
19148 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
19149 (__fegetenv): Likewise.
19150 (fesetenv): Likewise.
19151 (__fesetenv): Likewise.
19152 (feupdateenv): Likewise.
19153 (__feupdateenv): Likewise.
19154 (fegetround): Likewise.
19155 (__fegetround): Likewise.
19156 (fesetround): Likewise.
19157 (__fesetround): Likewise.
19159 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
19160 (feraiseexcept): New macro.
19161 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
19162 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
19164 (__feraiseexcept): Likewise.
19165 (feclearexcept): Likewise.
19166 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
19167 (__feraiseexcept): Likewise.
19168 (feclearexcept): Likewise.
19169 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
19170 (__feraiseexcept): Likewise.
19171 (feclearexcept): Likewise.
19172 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
19173 (__feraiseexcept): Likewise.
19174 (feclearexcept): Likewise.
19175 (fetestexcept): Likewise.
19177 * sysdeps/m68k/coldfire/math-tests.h: New file.
19179 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
19180 * sysdeps/m68k/bits/fenv.h: ... here.
19181 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
19183 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
19185 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
19187 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
19189 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
19191 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
19193 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
19194 (__FE_UNDEFINED): New enum constant.
19195 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
19197 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
19199 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
19201 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
19202 to match generic bits/fenv.h.
19203 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
19206 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
19208 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
19209 * soft-fp/half.h (union _FP_UNION_H): Likewise.
19210 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
19211 * soft-fp/single.h (union _FP_UNION_S): Likewise.
19213 2018-02-01 Carlos O'Donell <carlos@redhat.com>
19214 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
19215 Joseph Myers <joseph@codesourcery.com>
19218 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
19219 (__log1p): Disable -Wmaybe-uninitialized for -Os around
19220 computation using c.
19221 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
19222 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
19223 computation using c.
19225 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19227 * version.h (RELEASE): Set to "development".
19228 (VERSION): Set to "2.27.9000".
19229 * NEWS (2.28): New section.
19231 * version.h (RELEASE): Set to "stable".
19232 (VERSION): Set to "2.27".
19233 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
19235 * NEWS: Add the list of bugs fixed in 2.27.
19237 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19239 * stdlib/test-atexit-race-common.c (do_test): Check stack size
19240 against PTHREAD_STACK_MIN.
19242 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19244 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
19246 (Rafal Luzynski, Andreas Schwab): Update.
19248 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
19251 * NEWS: List the languages which actually use the alternative
19252 months feature in this release. Also explain that "alt_mon" and
19253 "ab_alt_mon" are optional.
19255 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
19258 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
19260 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
19262 * manual/install.texi (Tools for Compilation): Update the newest
19263 versions of gcc, binutils, texinfo, gawk, bison, and sed.
19264 * INSTALL: Regenerated.
19266 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19268 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
19269 instead of __builtin_expect.
19271 2018-01-30 Florian Weimer <fweimer@redhat.com>
19273 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
19275 * nss/tst-nss-getpwent.c (do_test): Likewise.
19277 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
19280 * localedata/locales/hr_HR (mon): Rename to...
19282 (mon): Import from CLDR (genitive case).
19283 (d_t_fmt): Update the comment.
19285 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
19287 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
19288 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
19289 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
19291 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19293 * mach/Versions: Fix version when __mach_host_self_ was added.
19294 * hurd/Versions: Fix version when _hurd_exec_paths was added.
19295 * sysdeps/mach/hurd/i386/ld.abilist: New file.
19296 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
19297 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
19298 * sysdeps/mach/hurd/i386/libc.abilist: New file.
19299 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
19300 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
19301 * sysdeps/mach/hurd/i386/libm.abilist: New file.
19302 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
19303 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
19304 * sysdeps/mach/hurd/i386/librt.abilist: New file.
19305 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
19306 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
19307 || to respect codestyle.
19308 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
19309 (do_test_bz20181): Rename accordingly.
19310 * malloc/malloc.c: Include <assert.h>.
19311 (assert): Do not define.
19312 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
19313 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
19314 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
19315 * sysdeps/mach/hurd/hp-timing.h: New file.
19316 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
19318 2018-01-29 Darius Rad <darius@bluespec.com>
19320 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19322 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
19324 * sysdeps/init_array/crti.S (.section .init_array): Add
19325 PREINIT_FUNCTION when defined.
19326 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
19327 * config.h.in: Regenerate.
19328 * manual/platform.texi: Add RISC-V documenation for
19329 __riscv_flush_icache.
19330 * sysdeps/riscv/__longjmp.S: New file.
19331 * sysdeps/riscv/backtrace.c: Likewise.
19332 * sysdeps/riscv/bits/endian.h: Likewise.
19333 * sysdeps/riscv/bits/setjmp.h: Likewise.
19334 * sysdeps/riscv/bits/wordsize.h: Likewise.
19335 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19336 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19337 * sysdeps/riscv/dl-trampoline.S: Likewise.
19338 * sysdeps/riscv/gccframe.h: Likewise.
19339 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19340 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19341 * sysdeps/riscv/machine-gmon.h: Likewise.
19342 * sysdeps/riscv/memusage.h: Likewise.
19343 * sysdeps/riscv/setjmp.S: Likewise.
19344 * sysdeps/riscv/sys/asm.h: Likewise.
19345 * sysdeps/riscv/tls-macros.h: Likewise.
19346 * sysdeps/riscv/dl-tls.h: New file.
19347 * sysdeps/riscv/libc-tls.c: Likewise.
19348 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19349 * sysdeps/riscv/nptl/tls.h: Likewise.
19350 * sysdeps/riscv/stackinfo.h: Likewise.
19351 * sysdeps/riscv/bits/fenv.h: New file.
19352 * sysdeps/riscv/e_sqrtl.c: Likewise.
19353 * sysdeps/riscv/fpu_control.h: Likewise.
19354 * sysdeps/riscv/math-tests.h: Likewise.
19355 * sysdeps/riscv/nofpu/Implies: Likewise.
19356 * sysdeps/riscv/sfp-machine.h: Likewise.
19357 * sysdeps/riscv/tininess.h: Likewise.
19358 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19359 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19360 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19361 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19362 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19363 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19364 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19365 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19366 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19367 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19368 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19369 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19370 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19371 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19372 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19373 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19374 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19375 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19376 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19377 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19378 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19379 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19380 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19381 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19382 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19383 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19384 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19385 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19386 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19387 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19388 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19389 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19390 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19391 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19392 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19393 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19394 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19395 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19396 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19397 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19398 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19399 * sysdeps/riscv/rvf/math_private.h: Likewise.
19400 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19401 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19402 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19403 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19404 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19405 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19406 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19407 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19408 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19409 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19410 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19411 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19412 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19413 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19414 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19415 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
19416 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19417 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19418 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19419 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
19420 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19421 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19422 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19423 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19424 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19425 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19426 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19427 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19428 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
19429 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19430 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19431 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19432 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19433 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19434 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19435 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19436 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19437 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19438 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19439 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19440 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19441 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19442 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19443 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19444 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19445 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19446 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19447 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19448 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19449 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19450 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
19451 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19452 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19453 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
19454 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19455 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19456 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19457 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19458 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19459 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19460 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19461 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19462 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19463 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19464 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19465 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19466 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19467 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
19468 * sysdeps/riscv/Implies: New file.
19469 * sysdeps/riscv/Makefile: Likewise.
19470 * sysdeps/riscv/configure: Likewise.
19471 * sysdeps/riscv/configure.ac: Likewise.
19472 * sysdeps/riscv/nptl/Makefile: Likewise.
19473 * sysdeps/riscv/preconfigure: Likewise.
19474 * sysdeps/riscv/rv64/Implies-after: Likewise.
19475 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19476 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19477 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19478 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19479 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19480 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19481 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19482 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19483 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19484 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19485 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
19486 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19487 (Config): Likewise.
19489 2018-01-29 Florian Weimer <fweimer@redhat.com>
19492 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19493 libnsl_hidden_proto.
19494 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19495 libnsl_hidden_proto.
19496 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19497 * nis/Makefile (libnsl-routines): Add nss-default only for
19498 build-obsolete-nsl.
19499 * nis/nis_defaults.c (__nis_default_ttl): Add
19500 libnsl_hidden_nolink_def.
19501 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19503 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19504 * nis/ypclnt.c (yp_maplist): Likewise.
19506 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19508 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19509 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19511 2018-01-29 Joseph Myers <joseph@codesourcery.com>
19513 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19514 clean -dxfq for git updates when replacing sources.
19516 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19517 --disable-libcilkrts unconditionally, not just for the final GCC
19520 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19523 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19526 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19529 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19532 * localedata/locales/be_BY (mon): Rename to...
19533 (alt_mon): This, then synchronize with CLDR (nominative case).
19534 (abmon): Rename to...
19535 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19536 (mon): Import from CLDR (genitive case).
19538 * localedata/locales/be_BY@latin (mon): Rename to...
19540 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19542 * localedata/locales/be_BY@latin (lang_name): Reworded to
19543 "biełaruskaja mova".
19545 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19548 * localedata/locales/el_CY (mon): Renamed to...
19550 (mon): Import from CLDR (genitive case).
19551 * localedata/locales/el_GR: Likewise.
19553 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19556 * localedata/locales/ru_RU (mon): Rename to...
19558 (abmon): Rename to...
19559 (ab_alt_mon): This.
19560 (mon): Import from CLDR (genitive case).
19561 (abmon): Copy from the old content except the 5th month which is
19562 now in the genitive case, even when abbreviated.
19563 * localedata/locales/ru_UA: Likewise.
19564 * time/tst-strptime.c (day_tests): Add an actual example of
19565 a difference between %b and %Ob in Russian.
19567 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19569 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
19570 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19572 * resolv/res-close.c: Include <stdlib.h>.
19573 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19574 <sys/wait.h>, <time.h>, <sys/uio.h>.
19575 (NOT_CANCEL_H): Add inclusion guard.
19576 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
19577 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19578 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19580 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19581 vm_address_t * to ElfW(Addr) * for dl_main parameter.
19582 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19584 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19585 timer_ptr2id to cast struct timer_node * to void *.
19586 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19587 --disable-libcilkrts to gcc configure.
19588 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19589 and make them the default for now.
19590 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19591 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
19592 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19593 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19594 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19596 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19597 __task_terminate would ever return successfully.
19598 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19600 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19601 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
19602 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19603 critical section to make code simpler and avoid warning.
19604 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19605 critical section to make code simpler and avoid warning.
19606 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19607 const char * instead of char *.
19608 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19609 __hurd_file_name_split, hurd_file_name_split,
19610 __hurd_directory_name_split, hurd_directory_name_split,
19611 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19612 hurd_file_name_path_lookup): Make lookup function parameter take a
19613 const char *name instead of char *name.
19614 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19615 __hurd_directory_name_split): Likewise.
19616 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19617 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
19618 * sysdeps/mach/hurd/check_native.c: New file.
19619 * sysdeps/mach/hurd/check_pf.c: New file.
19620 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19621 (__freeifaddrs): Define macro to freeifaddrs.
19622 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19623 * sysdeps/mach/libmachuser.abilist: New file.
19624 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19625 (do_test_bz20181): Rename accordingly.
19626 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
19627 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19629 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19630 version only if __USE_EXTERN_INLINES is defined.
19631 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19632 __hurd_sockfail): Likewise.
19633 (_hurd_fd_get): Always declare functions, and provide inline versions
19634 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19635 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19636 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19637 _hurd_port_set): Always declare functions, and provide inline versions
19638 only if __USE_EXTERN_INLINES and _LIBC are defined and
19640 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19641 _hurd_critical_section_unlock): Likewise.
19642 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19643 * __hurd_threadvar_location): Likewise.
19644 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19645 _hurd_userlink_clear): Likewise.
19646 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19647 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19648 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19649 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19650 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19651 __spin_lock_locked): Likewise.
19652 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19653 __spin_lock_locked): Likewise.
19654 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19655 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19656 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19657 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19658 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
19659 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19660 _POSIX_NO_TRUNC): Define to 0.
19661 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19662 check size against PTHREAD_STACK_MIN.
19663 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19664 IS_IN(libpthread)]: Include <sigsetops.h>.
19665 * mach/Makefile (user-interfaces): Add mach/gnumach.
19666 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19667 * sysdeps/mach/configure (mach_interface_list): Regenerate.
19668 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19669 instead of invalid -1.
19670 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19671 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19672 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19675 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
19677 * hurd/fcntl-internal.h: New file.
19679 2018-01-27 James Clarke <jrtc27@jrtc27.com>
19681 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19683 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19685 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19688 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19689 Build only shared objects.
19691 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19693 * README: Update for hppa.
19695 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19697 * sysdeps/sparc/fpu/libm-test-ulps: Update
19698 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
19700 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19704 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19707 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19708 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19709 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19710 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19713 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19716 * bits/types/__cancel_jmp_buf_tag.h: New file.
19717 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19718 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19719 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19720 * nptl/Makefile (headers): Add
19721 bits/types/__cancel_jmp_buf_tag.h.
19722 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19723 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19724 * sysdeps/nptl/pthread.h: Include
19725 <bits/types/__cancel_jmp_buf_tag.h>.
19726 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19728 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19730 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19733 * localedata/locales/uk_UA (mon): Renamed to...
19735 (alt_digits): "0" removed and then renamed to...
19737 (date_fmt): Definition changed not to use the alternative
19740 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
19742 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19743 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19744 * elf/elf.h (EF_RISCV_RVC): New define.
19745 (EF_RISCV_FLOAT_ABI): Likewise.
19746 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19747 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19748 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19749 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19750 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19752 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19754 2018-01-25 Andreas Schwab <schwab@suse.de>
19756 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19758 * sysdeps/gnu/configure: Regenerate.
19759 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19760 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19762 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19763 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19764 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19765 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19766 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19768 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19770 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
19771 URL, and run autoconf, make it the default for now.
19773 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19775 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19776 soft-float ColdFire configuration.
19778 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19779 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19780 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19782 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19785 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19787 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19789 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19792 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19793 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19794 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19797 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19800 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19801 Rename to __reserved and add comment.
19802 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19803 Rename to __reserved.
19805 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19807 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19808 i686-gnu configurations.
19809 (Context.run_builds): Include mig, gnumach and hurd in components
19811 (Context.checkout): Add mig, gnumach and hurd to components.
19812 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19814 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19815 (Config.build): Install gnumach headers, build mig and install
19816 hurd headers for 'gnu' OS.
19817 (Config.install_gnumach_headers): New function.
19818 (Config.install_hurd_headers): Likewise.
19819 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19820 when building for 'gnu' OS.
19822 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
19824 * manual/tunables.texi (Hardware Capability Tunables): Fix
19827 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
19829 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19830 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19831 (ALTMON_11, ALTMON_12): Improve documentation.
19832 * manual/time.texi (strftime): Likewise.
19834 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19837 * localedata/locales/pl_PL: Alternative month names added,
19838 primary month names are genitive now.
19839 * time/tst-strptime.c (day_tests): Actually use a genitive case
19840 of a month name in Polish language.
19842 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19845 * manual/locale.texi: Document ALTMON_1..12 constants for
19846 nl_langinfo. Specify when to use ALTMON instead of MON.
19847 * manual/time.texi (strftime, strptime): Document GNU extension
19848 permitting O modifier with %B and %b. Specify when to use
19851 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19854 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19855 names, define them as the same as abbreviated month names explicitly.
19856 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19857 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19858 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19859 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19860 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19861 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19862 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19863 _NL_WABALTMON_12): New enum constants.
19864 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19865 wab_alt_mon, and ab_alt_mon_defined members.
19866 (time_output): Output ab_alt_mon and wab_alt_mon members.
19867 (time_read): Read them, initialize them as copies of abmon and wabmon
19868 respectively if they are missing, initialize ab_alt_mon_defined.
19869 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19870 * locale/programs/locfile-kw.h: Regenerate.
19871 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19872 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19874 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19875 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19876 (__strftime_internal): Handle %Ob and %Oh formats.
19877 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19878 (__strptime_internal): Handle %Ob and %Oh formats.
19879 * time/tst-strptime.c (day_tests): Add more tests to parse different
19880 forms of month names including the new %Ob format specifier.
19882 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19885 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19886 define them as the same as primary full month names explicitly.
19887 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19888 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19889 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19890 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19891 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19892 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19893 _NL_WALTMON_12): New enum constants.
19894 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19895 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19897 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19898 walt_mon, and alt_mon_defined members.
19899 (time_output): Output alt_mon and walt_mon members.
19900 (time_read): Read them, initialize them as copies of mon and wmon
19901 respectively if they are missing, initialize alt_mon_defined.
19902 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19903 * locale/programs/locfile-kw.h: Regenerate.
19904 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19905 * localedata/tst-langinfo.c (map): Add tests for the new constants
19906 ALTMON_1 .. ALTMON_12.
19907 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19909 * time/strftime_l.c (f_altmonth): New macro.
19910 (__strftime_internal): Handle %OB format.
19911 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19912 (__strptime_internal): Handle %OB format.
19913 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19914 of month names including the new %OB format specifier.
19916 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19919 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19920 from ABORT_TRANSACTION.
19921 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19922 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19923 ABORT_TRANSACTION_IMPL): Likewise.
19924 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19925 Linux code, but remove the code that aborts transactions.
19927 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19929 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19931 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19933 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19934 in date: "2004-14-09" should be "2004-09-14".
19935 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19936 "2003-15-09" should be "2003-09-15".
19938 2018-01-18 Arjun Shankar <arjun@redhat.com>
19944 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19946 (_int_memalign): check for integer overflow before calling
19948 * malloc/tst-malloc-too-large.c: New test.
19949 * malloc/Makefile: Add tst-malloc-too-large.
19951 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19953 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19954 in date: "2017-24-07" should be "2017-07-24".
19955 * localedata/locales/mai_IN: Likewise.
19956 * localedata/locales/mai_NP: Likewise.
19958 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19960 * po/ru.po: Update translations.
19962 2018-01-17 Joseph Myers <joseph@codesourcery.com>
19965 * sysdeps/hppa/backtrace.c: New file.
19967 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19970 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19971 align La_x86_64_retval to VEC_SIZE.
19973 2018-01-16 Joseph Myers <joseph@codesourcery.com>
19975 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19976 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19978 2018-01-16 Florian Weimer <fweimer@redhat.com>
19980 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19981 Move tst-thread-exit-clobber ...
19982 [$(CXX)] (tests-unsupported): ... to here.
19984 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19986 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19987 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19988 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19989 (_dl_aarch64_cap_flags): Update.
19990 (_DL_HWCAP_COUNT): Update.
19992 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19994 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19995 (_DL_HWCAP_LAST): Remove.
19996 (_DL_HWCAP_COUNT): Move to ...
19997 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19998 (_DL_HWCAP_COUNT): ... here.
20000 2018-01-16 Florian Weimer <fweimer@redhat.com>
20002 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
20003 mode with GNU extensions.
20005 2018-01-15 Alan Hayward <alan.hayward@arm.com>
20007 * elf/elf.h (NT_ARM_SVE): Define.
20009 2018-01-15 Florian Weimer <fweimer@redhat.com>
20012 * nptl/tst-minstack-throw.cc: New file.
20013 * nptl/Makefile (tests): Add tst-minstack-throw.
20014 (LDLIBS-tst-minstack-throw): Link with libstdc++.
20015 [!CXX] (tests-unsupported): Add tst-minstack-throw.
20017 2018-01-15 Joseph Myers <joseph@codesourcery.com>
20019 * scripts/build-many-glibcs.py (Context.checkout): Default
20020 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
20023 2018-01-13 Carlos O'Donell <carlos@redhat.com>
20026 * elf/elf.h (DF_1_STUB): Define.
20027 (DF_1_PIE): Define.
20029 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20032 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
20033 Do not add 0.5 to integer or out-of-range arguments.
20035 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20037 * po/bg.po: Update translations.
20038 * po/cs.po: Likewise.
20039 * po/de.po: Likewise.
20040 * po/ko.po: Likewise.
20041 * po/pl.po: Likewise.
20042 * po/sv.po: Likewise.
20043 * po/uk.po: Likewise.
20044 * po/vi.po: Likewise.
20046 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20048 * aarch64/start.S (_start): Use __wrap_main.
20049 (__wrap_main): New local symbol.
20051 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20055 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
20056 generic_getcwd if the path returned by getcwd syscall is not absolute.
20057 * io/tst-getcwd-abspath.c: New test.
20058 * io/Makefile (tests): Add tst-getcwd-abspath.
20060 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
20062 * malloc/malloc.c (malloc_consolidate): Add size check.
20064 2018-01-12 Florian Weimer <fweimer@redhat.com>
20066 * support/write_message.c (write_message): Preserve errno.
20067 * support/check.c (print_failure): Likewise.
20068 * support/support_test_verify_impl.c (support_test_verify_impl):
20070 * support/support_test_compare_failure.c
20071 (support_test_compare_failure): Likewise.
20073 2018-01-12 Florian Weimer <fweimer@redhat.com>
20076 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
20077 Prevent installation of libnsl.so.
20078 (libnsl-inhibit-o): Do not build (or install) static libraries.
20080 2018-01-12 Egmont Koblinger <egmont@gmail.com>
20083 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
20084 before the day number which may produce a double space.
20085 (date_fmt): Likewise.
20087 2018-01-12 Joseph Myers <joseph@codesourcery.com>
20089 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
20090 instead of fegetenv.
20092 2018-01-11 Joseph Myers <joseph@codesourcery.com>
20095 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
20096 comment to say exceptions are discarded.
20097 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
20099 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
20102 2018-01-11 Florian Weimer <fweimer@redhat.com>
20104 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
20107 2018-01-11 Florian Weimer <fweimer@redhat.com>
20110 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
20111 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
20113 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20116 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
20117 negative arguments in test for NaN or infinity argument.
20119 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
20121 * po/libc.pot: Regenerate.
20123 2018-01-10 Florian Weimer <fweimer@redhat.com>
20126 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
20127 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
20129 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20131 * hurd/hurd/fd.h: Include <fcntl.h>
20132 (__hurd_at_flags): New function.
20133 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
20134 with call to __hurd_at_flags.
20135 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
20136 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
20138 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
20139 (__access_noerrno): Use __faccessat_common instead of access_common.
20140 (__access): Likewise.
20141 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
20142 with a call to __faccessat.
20143 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
20144 (__faccessat_common): ... this. Move implementation of __access into it when
20145 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
20146 reauthenticate_cwdir_at helper to implement AT mechanism.
20147 (__faccessat_noerrno): New function, just calls __faccessat_common.
20148 (__faccessat): New function, just calls __faccessat_common.
20149 (faccessat): Define weak alias.
20151 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20154 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20155 (CFLAGS-s_fmaxmagl.c): New variable.
20156 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
20159 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
20160 long int for arguments of possibly overflowing addition or
20162 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20164 2018-01-09 Joseph Myers <joseph@codesourcery.com>
20167 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20168 (CFLAGS-e_remainderl.c): New variable.
20171 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
20173 (CFLAGS-s_cacoshl.c): Likewise.
20174 (CFLAGS-s_casinhl.c): Likewise.
20175 (CFLAGS-s_catanl.c): Likewise.
20176 (CFLAGS-s_catanhl.c): Likewise.
20177 (CFLAGS-s_cexpl.c): Likewise.
20178 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
20179 (CFLAGS-s_csinhl.c): Likewise.
20180 (CFLAGS-s_clogl.c): Likewise.
20181 (CFLAGS-s_clog10l.c): Likewise.
20182 (CFLAGS-s_csinl.c): Likewise.
20183 (CFLAGS-s_csqrtl.c): Likewise.
20185 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
20186 2017-01-09 Svante Signell <svante.signell@gmail.com>
20188 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
20189 (_hurd_exec_paths): New function.
20190 * hurd/hurd.h (_hurd_exec): Deprecate function.
20191 (_hurd_exec_paths): Declare function.
20192 * hurd/Versions: Export _hurd_exec_paths.
20193 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
20194 (__execve): Use __getcwd to build absolute path, and use
20195 _hurd_exec_paths instead of _hurd_exec.
20196 * sysdeps/mach/hurd/spawni.c: Likewise.
20197 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
20200 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
20202 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
20203 test instead of failing in case of ENOENT returned by posix_openpt.
20205 2018-01-08 Florian Weimer <fweimer@redhat.com>
20207 resolv: Support binary labels in test framework.
20208 * support/resolv_test.c (struct to_be_freed): Remove.
20209 (struct compressed_name): New.
20210 (allocate_compressed_name, ascii_tolower)
20211 (compare_compressed_name): New functions.
20212 (struct resolv_response_builder): Update type of
20213 compression_offsets for use with tsearch. Rempve to_be_freed.
20214 (response_push_pointer_to_free): Remove function.
20215 (resolv_response_add_name): Rewrite using struct compressed_name
20216 and tsearch instead of hsearch_r.
20217 (response_builder_allocate): Remove initialization of
20218 compression_offsets.
20219 (response_builder_free): Update for removal of to_be_freed. Use
20220 tdestroy instead of hdestroy_r.
20221 * resolv/Makefile (tests): Add tst-resolv-binary.
20222 (tst-resolv-binary): Link with -lresolv -lpthread.
20224 2018-01-08 Florian Weimer <fweimer@redhat.com>
20226 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
20227 time. Pass positive flag instead of negative flag to
20228 support_test_compare_failure.
20229 (support_test_compare_failure): Change negative parameter to
20231 * support/support_test_compare_failure.c (report)
20232 (support_test_compare_failure): Likewise.
20233 * support/tst-test_compare.c (return_ssize_t, return_int): New.
20234 (do_test): Check int/size_t, ssize_t/size_t comparisons.
20236 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
20239 * nptl/descr.h (stackblock, stackblock_size): Update comments.
20240 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
20241 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
20243 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20245 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
20247 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20248 Add s_sincosf-sse2 and s_sincosf-fma.
20249 (CFLAGS-s_sincosf-fma.c): New.
20250 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
20251 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
20252 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
20253 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
20254 __sincosf is defined.
20256 2018-01-08 Florian Weimer <fweimer@redhat.com>
20258 * nptl/tst-thread-exit-clobber.cc: New file.
20259 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
20261 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
20262 (tests): Add tst-thread-exit-clobber.
20263 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
20265 2018-01-08 Florian Weimer <fweimer@redhat.com>
20267 * support/check.h (support_static_assert): Define.
20268 (TEST_COMPARE): Use it.
20270 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
20272 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
20273 [!__RLIM_T_MATCHES_RLIM64_T]
20274 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
20275 __getrlimit64. Add libc_hidden_weak.
20277 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
20279 * elf/elf.h (R_RISCV_NONE): New define.
20280 (R_RISCV_32): Likewise.
20281 (R_RISCV_64): Likewise.
20282 (R_RISCV_RELATIVE): Likewise.
20283 (R_RISCV_COPY): Likewise.
20284 (R_RISCV_JUMP_SLOT): Likewise.
20285 (R_RISCV_TLS_DTPMOD32): Likewise.
20286 (R_RISCV_TLS_DTPMOD64): Likewise.
20287 (R_RISCV_TLS_DTPREL32): Likewise.
20288 (R_RISCV_TLS_DTPREL64): Likewise.
20289 (R_RISCV_TLS_TPREL32): Likewise.
20290 (R_RISCV_TLS_TPREL64): Likewise.
20291 * Makerules (make-link-multidir): Make directories before linking into
20293 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
20295 (VDSO_HASH_LINUX_4_15): Likewise.
20296 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
20297 in subdirectories of lib.
20298 * nptl/Makefile (/librt.so): Always depend on
20299 "$(shared-thread-library)".
20301 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20303 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
20304 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
20305 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
20307 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
20308 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20310 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
20311 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
20312 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
20313 * sysdeps/gnu/glob-lstat-compat.c: New file.
20314 * sysdeps/gnu/glob64-lstat-compat.c: New file.
20315 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
20317 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20319 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20320 Reserve 16 chars to reloc_addr before calling _itoa_word.
20322 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20325 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20326 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20328 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20329 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20331 * resource/tst-getrlimit.c: Add copyright header.
20333 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20334 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20336 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20337 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20338 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20339 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20341 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20342 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20343 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20344 RLIM64_INFINITY): Fix values to match the kernel ones.
20345 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20346 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20347 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20348 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20349 getrlimit64@@GLIBC_2_27.
20350 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20352 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20353 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20354 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20355 setrlimit, getrlimit64 and setrlimit64.
20357 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20360 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20361 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20363 2018-01-04 Joseph Myers <joseph@codesourcery.com>
20365 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20366 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20367 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20369 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20373 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20374 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20378 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20379 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20380 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20381 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20383 2018-01-04 Florian Weimer <fweimer@redhat.com>
20386 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20387 Align the stack before calling exit.
20388 * stdlib/tst-makecontext-align.c: New file.
20389 * stdlib/Makefile (tests): Add tst-makecontext-align.
20391 2018-01-04 Florian Weimer <fweimer@redhat.com>
20393 Add support for calling dlvsym from libc.so.
20394 * include/dlfcn.h (__libc_dlvsym): Declare.
20395 * elf/Makefile (tests-static-internal): Add
20396 tst-libc_dlvsym-static.
20397 (tests-internal): Add tst-libc_dlvsym.
20398 (modules-names): Add tst-libc_dlvsym-dso.
20399 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20400 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20401 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20402 object tst-libc_dlvsym-dso.so needs to be built before running
20404 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20405 * elf/Versions: Export __libc_dlvsym.
20406 * elf/dl-libc.c (struct do_dlvsym_args): New.
20407 (do_dlvsym, __libc_dlvsym): New functions.
20408 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20409 (_dl_open_hook2): New variable.
20410 (__libc_register_dl_open_hook): Set it.
20411 * elf/tst-libc_dlvsym-dso.c: New file.
20412 * elf/tst-libc_dlvsym-static.c: Likewise.
20413 * elf/tst-libc_dlvsym.c: Likewise.
20414 * elf/tst-libc_dlvsym.h: Likewise.
20416 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20418 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20419 include <sys/mount.h>.
20421 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20423 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20424 Add __NO_MATH_ERRNO__ check.
20426 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20428 * sysdeps/mips/mips32/libm-test-ulps: Update.
20429 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20431 2018-01-02 Florian Weimer <fweimer@redhat.com>
20433 * misc/tst-pselect.c: Add copyright header.
20435 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20437 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20439 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20441 (settrlimit): Rename into setrlimit.
20442 (__sttrlimit): Rename into __setrlimit.
20444 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20445 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20446 never defined in that case.
20448 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20450 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20452 * sysdeps/arm/libm-test-ulps: Update.
20454 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20455 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20457 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20459 * NEWS: Add cosf and sincosf to list of optimized functions.
20461 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20464 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20465 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20466 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20467 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20469 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20472 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20474 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20475 making a copy of it.
20477 2018-01-01 Joseph Myers <joseph@codesourcery.com>
20479 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20480 trailing whitespace removed.
20481 * scripts/config.guess: Update to version 2018-01-01.
20482 * scripts/config.sub: Update to version 2018-01-01.
20483 * scripts/move-if-change: Update from gnulib.
20485 * NEWS: Update copyright dates.
20486 * catgets/gencat.c (print_version): Likewise.
20487 * csu/version.c (banner): Likewise.
20488 * debug/catchsegv.sh: Likewise.
20489 * debug/pcprofiledump.c (print_version): Likewise.
20490 * debug/xtrace.sh (do_version): Likewise.
20491 * elf/ldconfig.c (print_version): Likewise.
20492 * elf/ldd.bash.in: Likewise.
20493 * elf/pldd.c (print_version): Likewise.
20494 * elf/sotruss.sh: Likewise.
20495 * elf/sprof.c (print_version): Likewise.
20496 * iconv/iconv_prog.c (print_version): Likewise.
20497 * iconv/iconvconfig.c (print_version): Likewise.
20498 * locale/programs/locale.c (print_version): Likewise.
20499 * locale/programs/localedef.c (print_version): Likewise.
20500 * login/programs/pt_chown.c (print_version): Likewise.
20501 * malloc/memusage.sh (do_version): Likewise.
20502 * malloc/memusagestat.c (print_version): Likewise.
20503 * malloc/mtrace.pl: Likewise.
20504 * manual/libc.texinfo: Likewise.
20505 * nptl/version.c (banner): Likewise.
20506 * nscd/nscd.c (print_version): Likewise.
20507 * nss/getent.c (print_version): Likewise.
20508 * nss/makedb.c (print_version): Likewise.
20509 * posix/getconf.c (main): Likewise.
20510 * scripts/test-installation.pl: Likewise.
20511 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20513 * All files with FSF copyright notices: Update copyright dates
20514 using scripts/update-copyrights.
20515 * locale/programs/charmap-kw.h: Regenerated.
20516 * locale/programs/locfile-kw.h: Likewise.
20518 2017-12-31 Zack Weinberg <zackw@panix.com>
20520 * libio/bits/libio-ldbl.h: Correct check for improper
20521 inclusion. Add own multiple include guard.
20523 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20524 Dmitry V. Levin <ldv@altlinux.org>
20528 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20529 string token expansion. Check for NULL pointer or empty string possibly
20530 returned by expand_dynamic_string_token.
20531 (decompose_rpath): Check for empty path after dynamic string
20534 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20537 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20539 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20540 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20541 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20542 and PTRACE_SYSCALL.
20543 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20544 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20545 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20546 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20547 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20548 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20550 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20551 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20552 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20553 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20554 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20555 bits/ptrace-shared.h.
20556 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20557 <bits/ptrace-shared.h>.
20558 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20559 __ptrace_peeksiginfo_flags, ptrace): Remove.
20560 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20561 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20562 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20563 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20564 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20566 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20569 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20570 end of the loop. Improve comments.
20572 2017-12-29 Zack Weinberg <zackw@panix.com>
20575 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20576 might be set on success.
20578 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20581 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20582 is unchanged on success.
20584 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20586 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20588 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20589 expand_dynamic_string_token): Likewise.
20590 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20593 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20596 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20597 is set and name contains ':', and all code depending on these checks.
20599 2017-12-24 Zack Weinberg <zackw@panix.com>
20601 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20602 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20604 * libio/libio.h: Rename the original version of this file to
20605 libio/bits/libio.h. Error out if not included by stdio.h or the
20607 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20608 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20609 if not included by bits/libio.h or the stub _G_config.h.
20610 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20611 sysdeps/unix/sysv/linux/bits. Error out if not included by
20612 bits/libio.h or the stub _G_config.h.
20613 * libio/stdio.h: Include bits/libio.h, not libio.h.
20614 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20615 well as libio.h and _G_config.h.
20617 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20618 * libio/strfile.h, stdio-common/vfscanf.c
20619 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20620 Include stdio.h, not _G_config.h nor libio.h.
20621 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20622 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20624 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20626 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20629 * stdlib/getrandom.c (getrandom): Fix comment.
20630 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20632 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
20635 * manual/arith.texi (strtoul): Fix a typo.
20638 * manual/arith.texi (finite): Fix the description of the return
20641 2017-12-22 Eric Blake <ebb9@byu.net>
20643 Avoid gcc warnings on cygwin
20644 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20645 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20646 Avoid unused variable.
20648 2017-12-22 Florian Weimer <fweimer@redhat.com>
20650 * io/Makefile (routines): Add copy_file_range.
20651 (tests): Add tst-copy_file_range.
20652 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20653 * io/Versions (GLIBC_2.27): Export copy_file_range.
20654 * io/copy_file_range-compat.c: New file.
20655 * io/copy_file_range.c: Likewise.
20656 * io/tst-copy_file_range-compat.c: Likewise.
20657 * io/tst-copy_file_range.c: Likewise.
20658 * manual/llio.texi (Copying File Data): New section.
20659 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20660 * support/Makefile (libsupport-routines): Add support-xfstat,
20661 xftruncate, xlseek.
20662 * support/support-xfstat.c: New file.
20663 * support/xftruncate.c: Likewise.
20664 * support/xlseek.c: Likewise.
20665 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20666 * sysdeps/unix/sysv/linux/**.abilist: Update.
20667 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20669 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20671 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20672 disable-multi-arch variant to aarch64-linux-gnu.
20674 2017-12-20 Joseph Myers <joseph@codesourcery.com>
20676 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20677 trailing whitespace removed.
20678 * scripts/config.guess: Update to version 2017-12-17.
20679 * scripts/config.sub: Update to version 2017-11-23.
20680 * scripts/install-sh: Update to version 2017-09-23.17.
20681 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20683 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20685 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20686 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20687 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20688 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20689 * sysdeps/tile/crtn.S: Likewise.
20690 * sysdeps/tile/dl-start.S (_start): Likewise.
20691 * sysdeps/tile/dl-trampoline.S: Likewise.
20692 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20693 * sysdeps/tile/start.S (_start): Likewise.
20694 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20695 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20696 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20697 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20698 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20699 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20700 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20702 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20704 * sysdeps/tile/preconfigure: Remove tilegx folder.
20705 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20706 * sysdeps/tile/Implies: ... here.
20707 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20708 * sysdeps/tile/Makefile: ... here.
20709 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20710 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20711 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20712 * sysdeps/tile/bits/wordsize.h: ... here.
20713 * sysdeps/tile/tilegx/*: Move to ...
20714 * sysdeps/tile/*: ... here.
20715 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20716 * sysdeps/tile/tilegx32/Implies: ... here.
20717 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20718 * sysdeps/tile/tilegx64/Implies: ... here.
20719 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20721 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20722 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20723 * sysdeps/unix/sysv/linux/tile/*: ... here.
20724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20725 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20727 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20729 * README: Remove tilepro-*-linux-gnu from supported architecture.
20730 * scripts/build-many-glibcs.py: Likewise.
20731 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20732 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20733 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20734 elf_machine_matches_host, elf_machine_dynamic,
20735 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20736 howto, elf_machine_rela): Likewise.
20737 * sysdeps/tile/dl-start.S (_start): Likewise.
20738 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20739 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20740 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20741 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20742 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20743 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20745 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20746 * sysdeps/tile/preconfigure: Likewise.
20747 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20748 POINTER_CHK_GUARD): Likewise.
20749 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20750 * sysdeps/tile/start.S (_start): Likewise.
20751 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20753 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20754 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20756 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20757 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20758 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20760 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20761 * sysdeps/tile/tilepro/Implies: Remove file.
20762 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20763 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20764 * sysdeps/tile/tilepro/memchr.c: Likewise.
20765 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20766 * sysdeps/tile/tilepro/memset.c: Likewise.
20767 * sysdeps/tile/tilepro/memusage.h: Likewise.
20768 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20769 * sysdeps/tile/tilepro/strchr.c: Likewise.
20770 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20771 * sysdeps/tile/tilepro/strlen.c: Likewise.
20772 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20773 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20774 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20775 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20776 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20777 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20778 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20780 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20781 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20782 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20783 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20784 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20785 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20786 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20787 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20788 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20789 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20790 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20791 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20792 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20793 tilepro mention in comment.
20795 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20796 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20797 * nptl/pthread_join_common.c: New file: common function used on
20798 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20799 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20800 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20801 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20802 (cleanup): Move definition to pthread_join_common.c.
20803 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20804 Remove superflous checks.
20805 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20808 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20810 * sysdeps/aarch64/libm-test-ulps: Update.
20812 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20814 * sysdeps/aarch64/memset.S (MEMSET): Define.
20816 2017-12-20 Florian Weimer <fweimer@redhat.com>
20819 nptl: Provide full implementation of pthread_self in libc.so.
20820 * nptl/Makefile (routines): Add pthread_self.
20821 (libpthread-routines): Replace pthread_self with
20822 compat-pthread_self.
20823 * nptl/forward.c (pthread_self): Remove.
20824 * nptl/nptl-init.c (pthread_functions): Do not initialize
20826 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20827 * nptl/compat-pthread_self.c: New file.
20828 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20829 Remove ptr_pthread_self.
20831 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20833 * posix/regcomp.c: Fix spelling in comments.
20834 * posix/regex.h: Likewise.
20835 * posix/regex_internal.c: Likewise.
20836 * posix/regexec.c: Likewise.
20838 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20841 * math/Makefile [C++] (tests): Add test for iseqsig.
20842 * math/math.h [C++] (iseqsig): New implementation, which does
20843 not rely on __MATH_TG/__builtin_types_compatible_p.
20844 * math/test-math-iseqsig.cc: New file.
20845 * sysdeps/powerpc/powerpc64le/Makefile
20846 (CFLAGS-test-math-iseqsig.cc): New variable.
20848 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20850 * elf/dl-load.c (is_trusted_path): Remove.
20851 (fillin_rpath): Remove check_trusted argument and its use,
20852 all callers changed.
20854 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20857 * Makeconfig (link-pie-before-libc): Replace -pie with
20858 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20859 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20860 (tst-dlopen-aout-no-pie): New.
20861 (LDFLAGS-tst-prelink): Removed.
20862 (tst-prelink-no-pie): New.
20863 (LDFLAGS-tst-main1): Removed.
20864 (tst-main1-no-pie): New.
20865 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20866 (tst-gmon-no-pie): New.
20868 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20870 * manual/install.texi: Document that --enable-static-pie
20872 * INSTALL: Regenerated.
20874 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20877 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20880 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20884 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20888 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20890 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20891 <errno.h>. Include "eexp.tbl".
20892 (half): New constant.
20894 (__ieee754_exp): Rewrite.
20895 (__slowexp): Remove prototype.
20896 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20897 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20898 * sysdeps/i386/fpu/slowexp.c: Likewise.
20899 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20900 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20901 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20902 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20903 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20904 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20905 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20907 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20908 (CPPFLAGS-slowexp.c): Remove variable.
20909 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20910 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20911 (CFLAGS-slowexp-fma.c): Remove variable.
20912 (CFLAGS-slowexp-fma4.c): Likewise.
20913 (CFLAGS-slowexp-avx.c): Likewise.
20914 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20916 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20917 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20918 * math/Makefile (type-double-routines): Remove slowexp.
20919 * manual/probes.texi (slowexp_p6): Remove.
20920 (slowexp_p32): Likewise.
20922 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20924 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20927 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20929 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20933 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20935 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20936 <errno.h>. Include "eexp.tbl".
20937 (half): New constant.
20939 (__ieee754_exp): Rewrite.
20940 (__slowexp): Remove prototype.
20941 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20942 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20943 * sysdeps/i386/fpu/slowexp.c: Likewise.
20944 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20945 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20946 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20947 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20948 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20949 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20950 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20952 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20953 (CPPFLAGS-slowexp.c): Remove variable.
20954 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20955 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20956 (CFLAGS-slowexp-fma.c): Remove variable.
20957 (CFLAGS-slowexp-fma4.c): Likewise.
20958 (CFLAGS-slowexp-avx.c): Likewise.
20959 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20961 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20962 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20963 * math/Makefile (type-double-routines): Remove slowexp.
20964 * manual/probes.texi (slowexp_p6): Remove.
20965 (slowexp_p32): Likewise.
20967 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20968 James Clarke <jrtc27@jrtc27.com>
20971 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20974 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20977 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20980 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20983 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20984 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20985 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20986 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20989 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20992 * bits/types/__cancel_jmp_buf_tag.h: New file.
20993 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20994 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20995 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20996 * nptl/Makefile (headers): Add
20997 bits/types/__cancel_jmp_buf_tag.h.
20998 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20999 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21000 * sysdeps/nptl/pthread.h: Include
21001 <bits/types/__cancel_jmp_buf_tag.h>.
21002 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21004 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21006 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21008 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21009 --enable-static-pie variants to x86_64, x32 and i686.
21011 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21014 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
21015 argument for attrubutes. All callers changed.
21016 (__inline_mathop1): Likewise. All callers changed.
21017 (__inline_mathop): Likewise. All callers changed.
21018 [__USE_MISC] (scalbn): Use __inline_forward instead of
21019 __inline_forward_c.
21020 [__USE_ISOC99] (scalbln): Likewise.
21021 [__USE_ISOC99] (nearbyint): Likewise.
21022 [__USE_ISOC99] (lrint): Likewise.
21023 [__USE_MISC] (scalbnf): Likewise.
21024 [__USE_ISOC99] (scalblnf): Likewise.
21025 [__USE_ISOC99] (nearbyintf): Likewise.
21026 [__USE_ISOC99] (lrintf): Likewise.
21027 [__USE_MISC] (scalbnl): Likewise.
21028 [__USE_ISOC99] (scalblnl): Likewise.
21029 [__USE_ISOC99] (nearbyintl): Likewise.
21030 [__USE_ISOC99] (lrintl): Likewise.
21031 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
21032 __inline_mathop and __m81_defun changed.
21034 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
21035 CPU or FPU for ARM hard-float configurations.
21037 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21039 * nptl/tst-attr3.c: Include <libc-diag.h>.
21040 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
21042 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
21044 * string/tester.c (test_strncat): Also disable -Warray-bounds
21045 warnings for two tests.
21047 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21050 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
21051 $(cc-pie-default) == yes.
21052 * config.make.in (cc-pie-default): New.
21053 * configure.ac (libc_cv_pie_default): Renamed to ...
21054 (libc_cv_cc_pie_default): This.
21055 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
21056 * configure: Regenerated.
21058 2017-12-18 Florian Weimer <fweimer@redhat.com>
21061 ld.so: Harden dl-libc/libdl hooks.
21062 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
21063 (rtld_active): New function.
21064 * dlfcn/dladdr.c (__dladdr): Call it.
21065 * dlfcn/dladdr1.c (__dladdr1): Likewise.
21066 * dlfcn/dlclose.c (__dlcose): Likewise.
21067 * dlfcn/dlerror.c (__dlerror): Likewise.
21068 * dlfcn/dlinfo.c (__dlinfo): Likewise.
21069 * dlfcn/dlmopen.c (__dlmopen): Likewise.
21070 * dlfcn/dlopen.c (__dlopen): Likewise.
21071 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21072 * dlfcn/dlsym.c (__dlsym): Likewise.
21073 * dlfcn/dlvsym.c (__dlvsym): Likewise.
21074 * libio/vtables.c (_IO_vtable_check): Likewise.
21075 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
21076 (__libc_dlclose): Likewise.
21077 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
21080 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21083 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
21084 buffers for readlink input and output.
21086 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
21089 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
21090 inhibit_stack_protector.
21093 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
21094 inhibit_stack_protector.
21096 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
21099 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
21100 code and invocation.
21102 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
21104 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
21106 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
21109 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
21111 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21113 * sysdeps/s390/fpu/libm-test-ulps: Update.
21115 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21119 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21121 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
21122 constants to s_sincosf.h file.
21123 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21124 * sysdeps/ieee754/flt-32/s_sincosf.c: New
21126 * sysdeps/ieee754/flt-32/s_sincosf.h:
21129 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21132 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
21135 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
21138 * INSTALL: Regenerated.
21139 * Makeconfig (real-static-start-installed-name): New.
21140 (pic-default): Updated for --enable-static-pie.
21141 (pie-default): New for --enable-static-pie.
21142 (default-pie-ldflag): Likewise.
21143 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
21144 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
21145 Replace $(static-start-installed-name) with
21146 $(real-static-start-installed-name).
21147 (+prectorT): Updated for --enable-static-pie.
21148 (+postctorT): Likewise.
21149 (CFLAGS-.o): Add $(pie-default).
21150 (CFLAGS-.op): Likewise.
21151 * NEWS: Mention --enable-static-pie.
21152 * config.h.in (ENABLE_STATIC_PIE): New.
21153 * configure.ac (--enable-static-pie): New configure option.
21154 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
21155 (have-static-pie): Likewise.
21156 Enable static PIE if linker supports --no-dynamic-linker.
21157 (ENABLE_STATIC_PIE): New AC_DEFINE.
21158 (enable-static-pie): New LIBC_CONFIG_VAR.
21159 * configure: Regenerated.
21160 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
21161 gr$(start-installed-name) for --enable-static-pie.
21162 (extra-objs): Likewise.
21163 (install-lib): Likewise.
21164 (extra-objs): Add static-reloc.o and static-reloc.os
21165 ($(objpfx)$(start-installed-name)): Also depend on
21166 $(objpfx)static-reloc.o.
21167 ($(objpfx)r$(start-installed-name)): New.
21168 ($(objpfx)g$(start-installed-name)): Also depend on
21169 $(objpfx)static-reloc.os.
21170 ($(objpfx)gr$(start-installed-name)): New.
21171 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
21173 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
21175 * csu/static-reloc.c: New file.
21176 * elf/Makefile (routines): Add dl-reloc-static-pie.
21177 (elide-routines.os): Likewise.
21178 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
21179 (tst-tls1-static-non-pie-no-pie): New.
21180 * elf/dl-reloc-static-pie.c: New file.
21181 * elf/dl-support.c (_dl_get_dl_main_map): New function.
21182 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
21183 STATIC_PIE_BOOTSTRAP.
21184 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21185 * gmon/Makefile (tests): Add tst-gmon-static-pie.
21186 (tests-static): Likewise.
21187 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
21188 (tst-gmon-static-no-pie): New.
21189 (CFLAGS-tst-gmon-static-pie.c): Likewise.
21190 (CRT-tst-gmon-static-pie): Likewise.
21191 (tst-gmon-static-pie-ENV): Likewise.
21192 (tests-special): Likewise.
21193 ($(objpfx)tst-gmon-static-pie.out): Likewise.
21194 (clean-tst-gmon-static-pie-data): Likewise.
21195 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
21196 * gmon/tst-gmon-static-pie.c: New file.
21197 * manual/install.texi: Document --enable-static-pie.
21198 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
21199 (_dl_get_dl_main_map): Likewise.
21200 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
21201 * sysdeps/x86_64/configure.ac: Likewise.
21202 * sysdeps/i386/configure: Regenerated.
21203 * sysdeps/x86_64/configure: Likewise.
21204 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
21205 (ASFLAGS-.op): Likewise.
21207 2017-12-15 Joseph Myers <joseph@codesourcery.com>
21209 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
21210 * posix/tst-mmap-offset.c (fname): Use /tmp.
21211 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
21213 2017-12-15 Steve Ellcey <sellcey@cavium.com>
21215 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
21217 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
21219 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
21222 2017-12-15 Joseph Myers <joseph@codesourcery.com>
21224 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
21225 --with-float=hard for arm-linux-gnueabihf configurations.
21228 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
21229 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
21230 ($(mo-installed)): Use $(objpfx)%.mo.
21231 (realclean): Remove rule.
21233 * po/Makefile (linguas): Remove rule and dependencies.
21234 (linguas.mo): Likewise.
21235 (.PHONY): Do not depend on linguas and linguas.mo.
21236 (podir): Remove variable.
21237 (pofiles): Likewise.
21238 [$(pofiles)] (%.po): Remove rule.
21240 * sysdeps/sparc/sparc32/Makefile
21241 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
21242 start-of-line whitespace in argument of echo.
21243 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
21244 with whitespace. Generate __wrap_.udiv alias.
21245 * sysdeps/sparc/sparc32/rem.S: Regenerated.
21246 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21247 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21248 * sysdeps/sparc/sparc32/urem.S: Likewise.
21250 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21252 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
21253 for aligned inputs.
21255 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
21257 * benchtests/bench-strcmp.c: Print output in JSON format.
21259 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
21261 2017-12-14 Florian Weimer <fweimer@redhat.com>
21265 * elf/dl-load.c (_dl_init_paths): Compute number of components in
21266 the expanded path string.
21268 2017-12-14 Florian Weimer <fweimer@redhat.com>
21272 * elf/dl-load.c (system_dirs): Update comment.
21273 (nsystem_dirs_len): Use array_length.
21274 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
21276 2017-12-14 Florian Weimer <fweimer@redhat.com>
21278 Simplify compiling most of support/ outside of glibc.
21279 * support/check_addrinfo.c: Include <string.h>.
21280 * support/check_dns_packet.c: Likewise.
21281 * support/check_hostent.c: Likewise.
21282 * support/support_can_chroot.c: Include <support/xunistd.h>.
21283 * support/support_format_addrinfo.c: Include <stdlib.h>
21284 * support/support_format_dns_packet.c: Include <stdbool.h>.
21285 * support/support_format_hostent.c: Include <stdlib.h>.
21286 * support/support_format_netent.c: Likewise.
21287 * support/support_write_string.c: Include <support/xunistd.h>.
21288 * support/xdlfcn.c: Include <stddef.h>.
21290 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
21292 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
21294 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21295 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21297 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21298 (sysdeps_routines): Add memset-niagara7.
21299 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
21301 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
21303 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
21304 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21305 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
21306 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
21307 Add niagara7 option.
21308 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
21311 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21312 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
21313 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21315 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21317 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21318 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21319 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21320 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21321 and __memmove_niagara7.
21322 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21323 Add niagara7 option.
21324 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21325 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21326 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21327 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21328 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21330 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21332 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21333 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21334 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21335 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21337 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21338 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21339 _dl_sparc_cap_flags array.
21340 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21342 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21344 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21345 time whenever possible.
21347 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21349 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21350 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21352 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21354 * soft-fp/fmadf4.c: Move to ....
21355 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21356 * soft-fp/fmasf4.c: Move to ....
21357 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21358 * soft-fp/fmatf4.c: Move to ....
21359 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21360 * sysdeps/ieee754/soft-fp/Makefile: New file.
21361 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21362 * sysdeps/arm/preconfigure: Regenerated.
21363 * sysdeps/arm/nofpu/Implies: New file.
21364 * sysdeps/arm/s_fma.c: Remove file.
21365 * sysdeps/arm/s_fmaf.c: Likewise.
21366 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21367 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21368 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21369 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21370 * sysdeps/microblaze/s_fma.c: Remove file.
21371 * sysdeps/microblaze/s_fmaf.c: Likewise.
21372 * sysdeps/mips/mips32/nofpu/Implies: New file.
21373 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21374 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21375 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21376 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21377 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21378 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21379 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21381 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21382 * sysdeps/nios2/s_fma.c: Remove file.
21383 * sysdeps/nios2/s_fmaf.c: Likewise.
21384 * sysdeps/sh/nofpu/Implies: New file.
21385 * sysdeps/sh/s_fma.c: Remove file.
21386 * sysdeps/sh/s_fmaf.c: Likewise.
21387 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21388 * sysdeps/tile/s_fma.c: Remove file.
21389 * sysdeps/tile/s_fmaf.c: Likewise.
21391 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21393 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21394 Add s_cosf-sse2 and s_cosf-fma.
21395 (CFLAGS-s_cosf-fma.c): New.
21396 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21397 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21398 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21400 2017-12-12 Steve Ellcey <sellcey@cavium.com>
21402 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21404 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21406 * libio/Makefile (tests): Add tst-bz22415.
21407 (tst-bz22415-ENV): New rule.
21408 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21409 (tests-special): Add tst-bz22415-mem.out.
21410 ($(objpfx)tst-bz22415-mem.out): New rule.
21411 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21412 in case of a successful seek operation.
21413 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21414 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21415 buffer is required.
21416 * libio/tst-bz22415.c: New test.
21418 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21420 2017-12-12 James Clarke <jrtc27@jrtc27.com>
21422 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21423 __IPC_64 to 0 to avoid IPC_64 being set.
21425 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21428 * math/bits/mathcalls.h (nextafter): Remove const.
21429 (nexttoward): Likewise.
21431 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21433 * configure.ac (--with-fp): Remove configure option.
21434 (with_fp_cond): New variable.
21435 (libc_cv_with_fp): New configure test. Use this variable instead
21437 * configure: Regenerated.
21438 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21439 * manual/install.texi (Configuring and compiling): Remove
21441 * INSTALL: Regenerated.
21442 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21443 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21444 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21445 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21446 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21447 use --without-fp to configure glibc.
21449 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
21451 * manual/locale.texi (nl_langinfo): Fix a typo.
21453 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
21456 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21458 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21460 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21461 (CFLAGS-argp-parse.c): Likewise.
21462 (CFLAGS-argp-fmtstream.c): Likewise.
21463 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21464 (CPPFLAGS-sha512-crypt.c): Likewise.
21465 (CPPFLAGS-md5-crypt.c): Likewise.
21466 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21467 (CFLAGS-stack_chk_fail_local.c): Likewise.
21468 (CFLAGS-backtrace.c): Likewise.
21469 (CFLAGS-sprintf_chk.c): Likewise.
21470 (CFLAGS-snprintf_chk.c): Likewise.
21471 (CFLAGS-vsprintf_chk.c): Likewise.
21472 (CFLAGS-vsnprintf_chk.c): Likewise.
21473 (CFLAGS-asprintf_chk.c): Likewise.
21474 (CFLAGS-vasprintf_chk.c): Likewise.
21475 (CFLAGS-obprintf_chk.c): Likewise.
21476 (CFLAGS-dprintf_chk.c): Likewise.
21477 (CFLAGS-vdprintf_chk.c): Likewise.
21478 (CFLAGS-printf_chk.c): Likewise.
21479 (CFLAGS-fprintf_chk.c): Likewise.
21480 (CFLAGS-vprintf_chk.c): Likewise.
21481 (CFLAGS-vfprintf_chk.c): Likewise.
21482 (CFLAGS-gets_chk.c): Likewise.
21483 (CFLAGS-fgets_chk.c): Likewise.
21484 (CFLAGS-fgets_u_chk.c): Likewise.
21485 (CFLAGS-fread_chk.c): Likewise.
21486 (CFLAGS-fread_u_chk.c): Likewise.
21487 (CFLAGS-swprintf_chk.c): Likewise.
21488 (CFLAGS-vswprintf_chk.c): Likewise.
21489 (CFLAGS-wprintf_chk.c): Likewise.
21490 (CFLAGS-fwprintf_chk.c): Likewise.
21491 (CFLAGS-vwprintf_chk.c): Likewise.
21492 (CFLAGS-vfwprintf_chk.c): Likewise.
21493 (CFLAGS-fgetws_chk.c): Likewise.
21494 (CFLAGS-fgetws_u_chk.c): Likewise.
21495 (CFLAGS-read_chk.c): Likewise.
21496 (CFLAGS-pread_chk.c): Likewise.
21497 (CFLAGS-pread64_chk.c): Likewise.
21498 (CFLAGS-recv_chk.c): Likewise.
21499 (CFLAGS-recvfrom_chk.c): Likewise.
21500 (CFLAGS-tst-longjmp_chk.c): Likewise.
21501 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21502 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21503 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21504 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21505 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21506 (CFLAGS-tst-chk1.c): Likewise.
21507 (CFLAGS-tst-chk2.c): Likewise.
21508 (CFLAGS-tst-chk3.c): Likewise.
21509 (CFLAGS-tst-chk4.cc): Likewise.
21510 (CFLAGS-tst-chk5.cc): Likewise.
21511 (CFLAGS-tst-chk6.cc): Likewise.
21512 (CFLAGS-tst-lfschk1.c): Likewise.
21513 (CFLAGS-tst-lfschk2.c): Likewise.
21514 (CFLAGS-tst-lfschk3.c): Likewise.
21515 (CFLAGS-tst-lfschk4.cc): Likewise.
21516 (CFLAGS-tst-lfschk5.cc): Likewise.
21517 (CFLAGS-tst-lfschk6.cc): Likewise.
21518 (CFLAGS-tst-ssp-1.c): Likewise.
21519 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21520 (CFLAGS-scandir64.c): Likewise.
21521 (CFLAGS-scandir-tail.c): Likewise.
21522 (CFLAGS-scandir64-tail.c): Likewise.
21523 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21524 (CFLAGS-dl-tunables.c): Likewise.
21525 (CFLAGS-dl-runtime.c): Likewise.
21526 (CFLAGS-dl-lookup.c): Likewise.
21527 (CFLAGS-dl-iterate-phdr.c): Likewise.
21528 (CFLAGS-vismain.c): Likewise.
21529 (CFLAGS-tst-linkall-static.c): Likewise.
21530 (CFLAGS-tst-linkall-static.c): Likewise.
21531 (CPPFLAGS-dl-load.c): Likewise.
21532 (CFLAGS-ldconfig.c): Likewise.
21533 (CFLAGS-dl-cache.c): Likewise.
21534 (CFLAGS-cache.c): Likewise.
21535 (CFLAGS-rtld.c): Likewise.
21536 (CFLAGS-multiload.c): Likewise.
21537 (CFLAGS-filtmod1.c): Likewise.
21538 (CFLAGS-tst-align.c): Likewise.
21539 (CFLAGS-tst-align2.c): Likewise.
21540 (CFLAGS-tst-alignmod.c): Likewise.
21541 (CFLAGS-tst-alignmod2.c): Likewise.
21542 (CPPFLAGS-tst-execstack.c): Likewise.
21543 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21544 (CFLAGS-tst-latepthreadmod.c): Likewise.
21545 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21546 (CFLAGS-getgrnam_r.c): Likewise.
21547 (CFLAGS-getgrent_r.c): Likewise.
21548 (CFLAGS-getgrent.c): Likewise.
21549 (CFLAGS-fgetgrent.c): Likewise.
21550 (CFLAGS-fgetgrent_r.c): Likewise.
21551 (CFLAGS-putgrent.c): Likewise.
21552 (CFLAGS-initgroups.c): Likewise.
21553 (CFLAGS-getgrgid.c): Likewise.
21554 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21555 (CFLAGS-getsgent.c): Likewise.
21556 (CFLAGS-fgetsgent.c): Likewise.
21557 (CFLAGS-fgetsgent_r.c): Likewise.
21558 (CFLAGS-putsgent.c): Likewise.
21559 (CFLAGS-getsgnam.c): Likewise.
21560 (CFLAGS-getsgnam_r.c): Likewise.
21561 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21562 (CFLAGS-iconv_charmap.c): Likewise.
21563 (CFLAGS-dummy-repertoire.c): Likewise.
21564 (CFLAGS-charmap.c): Likewise.
21565 (CFLAGS-linereader.c): Likewise.
21566 (CFLAGS-simple-hash.c): Likewise.
21567 (CFLAGS-gconv_conf.c): Likewise.
21568 (CFLAGS-iconvconfig.c): Likewise.
21569 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21570 (CFLAGS-gethstbyad.c): Likewise.
21571 (CFLAGS-gethstbynm_r.c): Likewise.
21572 (CFLAGS-gethstbynm.c): Likewise.
21573 (CFLAGS-gethstbynm2_r.c): Likewise.
21574 (CFLAGS-gethstbynm2.c): Likewise.
21575 (CFLAGS-gethstent_r.c): Likewise.
21576 (CFLAGS-gethstent.c): Likewise.
21577 (CFLAGS-rcmd.c): Likewise.
21578 (CFLAGS-getnetbynm_r.c): Likewise.
21579 (CFLAGS-getnetbynm.c): Likewise.
21580 (CFLAGS-getnetbyad_r.c): Likewise.
21581 (CFLAGS-getnetbyad.c): Likewise.
21582 (CFLAGS-getnetent_r.c): Likewise.
21583 (CFLAGS-getnetent.c): Likewise.
21584 (CFLAGS-getaliasent_r.c): Likewise.
21585 (CFLAGS-getaliasent.c): Likewise.
21586 (CFLAGS-getrpcent_r.c): Likewise.
21587 (CFLAGS-getrpcent.c): Likewise.
21588 (CFLAGS-getservent_r.c): Likewise.
21589 (CFLAGS-getservent.c): Likewise.
21590 (CFLAGS-getprtent_r.c): Likewise.
21591 (CFLAGS-getprtent.c): Likewise.
21592 (CFLAGS-either_ntoh.c): Likewise.
21593 (CFLAGS-either_hton.c): Likewise.
21594 (CFLAGS-getnetgrent.c): Likewise.
21595 (CFLAGS-getnetgrent_r.c): Likewise.
21596 (CFLAGS-tst-checks-posix.c): Likewise.
21597 (CFLAGS-tst-sockaddr.c): Likewise.
21598 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21599 (CFLAGS-tst-translit.c): Likewise.
21600 (CFLAGS-tst-gettext2.c): Likewise.
21601 (CFLAGS-tst-codeset.c): Likewise.
21602 (CFLAGS-tst-gettext3.c): Likewise.
21603 (CFLAGS-tst-gettext4.c): Likewise.
21604 (CFLAGS-tst-gettext5.c): Likewise.
21605 (CFLAGS-tst-gettext6.c): Likewise.
21606 * io/Makefile (CFLAGS-open.c): Likewise.
21607 (CFLAGS-open64.c): Likewise.
21608 (CFLAGS-creat.c): Likewise.
21609 (CFLAGS-creat64.c): Likewise.
21610 (CFLAGS-fcntl.c): Likewise.
21611 (CFLAGS-poll.c): Likewise.
21612 (CFLAGS-ppoll.c): Likewise.
21613 (CFLAGS-lockf.c): Likewise.
21614 (CFLAGS-statfs.c): Likewise.
21615 (CFLAGS-fstatfs.c): Likewise.
21616 (CFLAGS-statvfs.c): Likewise.
21617 (CFLAGS-fstatvfs.c): Likewise.
21618 (CFLAGS-fts.c): Likewise.
21619 (CFLAGS-fts64.c): Likewise.
21620 (CFLAGS-ftw.c): Likewise.
21621 (CFLAGS-ftw64.c): Likewise.
21622 (CFLAGS-lockf.c): Likewise.
21623 (CFLAGS-posix_fallocate.c): Likewise.
21624 (CFLAGS-posix_fallocate64.c): Likewise.
21625 (CFLAGS-fallocate.c): Likewise.
21626 (CFLAGS-fallocate64.c): Likewise.
21627 (CFLAGS-read.c): Likewise.
21628 (CFLAGS-write.c): Likewise.
21629 (CFLAGS-test-stat.c): Likewise.
21630 (CFLAGS-test-lfs.c): Likewise.
21631 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21632 (CFLAGS-fputc.c): Likewise.
21633 (CFLAGS-fputwc.c): Likewise.
21634 (CFLAGS-freopen64.c): Likewise.
21635 (CFLAGS-freopen.c): Likewise.
21636 (CFLAGS-fseek.c): Likewise.
21637 (CFLAGS-fseeko64.c): Likewise.
21638 (CFLAGS-fseeko.c): Likewise.
21639 (CFLAGS-ftello64.c): Likewise.
21640 (CFLAGS-ftello.c): Likewise.
21641 (CFLAGS-fwide.c): Likewise.
21642 (CFLAGS-genops.c): Likewise.
21643 (CFLAGS-getc.c): Likewise.
21644 (CFLAGS-getchar.c): Likewise.
21645 (CFLAGS-getwc.c): Likewise.
21646 (CFLAGS-getwchar.c): Likewise.
21647 (CFLAGS-iofclose.c): Likewise.
21648 (CFLAGS-iofflush.c): Likewise.
21649 (CFLAGS-iofgetpos64.c): Likewise.
21650 (CFLAGS-iofgetpos.c): Likewise.
21651 (CFLAGS-iofgets.c): Likewise.
21652 (CFLAGS-iofgetws.c): Likewise.
21653 (CFLAGS-iofputs.c): Likewise.
21654 (CFLAGS-iofputws.c): Likewise.
21655 (CFLAGS-iofread.c): Likewise.
21656 (CFLAGS-iofsetpos64.c): Likewise.
21657 (CFLAGS-iofsetpos.c): Likewise.
21658 (CFLAGS-ioftell.c): Likewise.
21659 (CFLAGS-iofwrite.c): Likewise.
21660 (CFLAGS-iogetdelim.c): Likewise.
21661 (CFLAGS-iogetline.c): Likewise.
21662 (CFLAGS-iogets.c): Likewise.
21663 (CFLAGS-iogetwline.c): Likewise.
21664 (CFLAGS-ioputs.c): Likewise.
21665 (CFLAGS-ioseekoff.c): Likewise.
21666 (CFLAGS-ioseekpos.c): Likewise.
21667 (CFLAGS-iosetbuffer.c): Likewise.
21668 (CFLAGS-iosetvbuf.c): Likewise.
21669 (CFLAGS-ioungetc.c): Likewise.
21670 (CFLAGS-ioungetwc.c): Likewise.
21671 (CFLAGS-oldfileops.c): Likewise.
21672 (CFLAGS-oldiofclose.c): Likewise.
21673 (CFLAGS-oldiofgetpos64.c): Likewise.
21674 (CFLAGS-oldiofgetpos.c): Likewise.
21675 (CFLAGS-oldiofsetpos64.c): Likewise.
21676 (CFLAGS-oldiofsetpos.c): Likewise.
21677 (CFLAGS-peekc.c): Likewise.
21678 (CFLAGS-putc.c): Likewise.
21679 (CFLAGS-putchar.c): Likewise.
21680 (CFLAGS-putwc.c): Likewise.
21681 (CFLAGS-putwchar.c): Likewise.
21682 (CFLAGS-rewind.c): Likewise.
21683 (CFLAGS-wfileops.c): Likewise.
21684 (CFLAGS-wgenops.c): Likewise.
21685 (CFLAGS-oldiofopen.c): Likewise.
21686 (CFLAGS-iofopen.c): Likewise.
21687 (CFLAGS-iofopen64.c): Likewise.
21688 (CFLAGS-oldtmpfile.c): Likewise.
21689 (CFLAGS-tst_putwc.c): Likewise.
21690 * locale/Makefile (CFLAGS-md5.c): Likewise.
21691 (CFLAGS-charmap.c): Likewise.
21692 (CFLAGS-locfile.c): Likewise.
21693 (CFLAGS-charmap-dir.c): Likewise.
21694 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21695 (CFLAGS-getpt.c): Likewise.
21696 (CFLAGS-pt_chown.c): Likewise.
21697 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21698 (CFLAGS-obstack.c): Likewise.
21699 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21700 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21701 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21702 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21703 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21704 (CFLAGS-test-tgmath.c): Likewise.
21705 (CFLAGS-test-tgmath2.c): Likewise.
21706 (CFLAGS-test-tgmath-ret.c): Likewise.
21707 (CFLAGS-test-powl.c): Likewise.
21708 (CFLAGS-test-snan.c): Likewise.
21709 (CFLAGS-test-signgam-finite.c): Likewise.
21710 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21711 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21712 (CFLAGS-test-signgam-uchar.c): Likewise.
21713 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21714 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21715 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21716 (CFLAGS-test-signgam-uint.c): Likewise.
21717 (CFLAGS-test-signgam-uint-init.c): Likewise.
21718 (CFLAGS-test-signgam-uint-static.c): Likewise.
21719 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21720 (CFLAGS-test-signgam-ullong.c): Likewise.
21721 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21722 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21723 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21724 (CFLAGS-test-math-cxx11.cc): Likewise.
21725 (CFLAGS-test-math-isinff.cc): Likewise.
21726 (CFLAGS-test-math-iszero.cc): Likewise.
21727 (CFLAGS-test-math-issignaling.cc): Likewise.
21728 (CFLAGS-test-math-iscanonical.cc): Likewise.
21729 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21730 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21731 (CFLAGS-test-flt-eval-method.c): Likewise.
21732 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21733 (CFLAGS-test-finite-macros.c): Likewise.
21734 * misc/Makefile (CFLAGS-select.c): Likewise.
21735 (CFLAGS-tsearch.c): Likewise.
21736 (CFLAGS-lsearch.c): Likewise.
21737 (CFLAGS-pselect.c): Likewise.
21738 (CFLAGS-readv.c): Likewise.
21739 (CFLAGS-writev.c): Likewise.
21740 (CFLAGS-preadv.c): Likewise.
21741 (CFLAGS-preadv64.c): Likewise.
21742 (CFLAGS-pwritev.c): Likewise.
21743 (CFLAGS-pwritev64.c): Likewise.
21744 (CFLAGS-preadv2.c): Likewise.
21745 (CFLAGS-preadv64v2.c): Likewise.
21746 (CFLAGS-pwritev2.c): Likewise.
21747 (CFLAGS-pwritev64v2.c): Likewise.
21748 (CFLAGS-usleep.c): Likewise.
21749 (CFLAGS-syslog.c): Likewise.
21750 (CFLAGS-error.c): Likewise.
21751 (CFLAGS-getpass.c): Likewise.
21752 (CFLAGS-mkstemp.c): Likewise.
21753 (CFLAGS-mkstemp64.c): Likewise.
21754 (CFLAGS-getsysstats.c): Likewise.
21755 (CFLAGS-getusershell.c): Likewise.
21756 (CFLAGS-err.c): Likewise.
21757 (CFLAGS-tst-tsearch.c): Likewise.
21758 (CFLAGS-msync.c): Likewise.
21759 (CFLAGS-fdatasync.c): Likewise.
21760 (CFLAGS-fsync.c): Likewise.
21761 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21762 (CFLAGS-unwind.c): Likewise.
21763 (CFLAGS-unwind-forcedunwind.c): Likewise.
21764 (CFLAGS-pthread_cancel.c): Likewise.
21765 (CFLAGS-pthread_setcancelstate.c): Likewise.
21766 (CFLAGS-pthread_setcanceltype.c): Likewise.
21767 (CFLAGS-cancellation.c): Likewise.
21768 (CFLAGS-libc-cancellation.c): Likewise.
21769 (CFLAGS-pthread_exit.c): Likewise.
21770 (CFLAGS-forward.c): Likewise.
21771 (CFLAGS-pthread_testcancel.c): Likewise.
21772 (CFLAGS-pthread_join.c): Likewise.
21773 (CFLAGS-pthread_timedjoin.c): Likewise.
21774 (CFLAGS-pthread_once.c): Likewise.
21775 (CFLAGS-pthread_cond_wait.c): Likewise.
21776 (CFLAGS-sem_wait.c): Likewise.
21777 (CFLAGS-sem_timedwait.c): Likewise.
21778 (CFLAGS-fcntl.c): Likewise.
21779 (CFLAGS-lockf.c): Likewise.
21780 (CFLAGS-pread.c): Likewise.
21781 (CFLAGS-pread64.c): Likewise.
21782 (CFLAGS-pwrite.c): Likewise.
21783 (CFLAGS-pwrite64.c): Likewise.
21784 (CFLAGS-wait.c): Likewise.
21785 (CFLAGS-waitpid.c): Likewise.
21786 (CFLAGS-sigwait.c): Likewise.
21787 (CFLAGS-msgrcv.c): Likewise.
21788 (CFLAGS-msgsnd.c): Likewise.
21789 (CFLAGS-tcdrain.c): Likewise.
21790 (CFLAGS-open.c): Likewise.
21791 (CFLAGS-open64.c): Likewise.
21792 (CFLAGS-pause.c): Likewise.
21793 (CFLAGS-recv.c): Likewise.
21794 (CFLAGS-send.c): Likewise.
21795 (CFLAGS-accept.c): Likewise.
21796 (CFLAGS-sendto.c): Likewise.
21797 (CFLAGS-connect.c): Likewise.
21798 (CFLAGS-recvfrom.c): Likewise.
21799 (CFLAGS-recvmsg.c): Likewise.
21800 (CFLAGS-sendmsg.c): Likewise.
21801 (CFLAGS-close.c): Likewise.
21802 (CFLAGS-read.c): Likewise.
21803 (CFLAGS-write.c): Likewise.
21804 (CFLAGS-nanosleep.c): Likewise.
21805 (CFLAGS-sigsuspend.c): Likewise.
21806 (CFLAGS-msync.c): Likewise.
21807 (CFLAGS-fdatasync.c): Likewise.
21808 (CFLAGS-fsync.c): Likewise.
21809 (CFLAGS-pt-system.c): Likewise.
21810 (CFLAGS-tst-cleanup2.c): Likewise.
21811 (CFLAGS-tst-cleanupx2.c): Likewise.
21812 (CFLAGS-flockfile.c): Likewise.
21813 (CFLAGS-ftrylockfile.c): Likewise.
21814 (CFLAGS-funlockfile.c): Likewise.
21815 (CFLAGS-tst-initializers1.c): Likewise.
21816 (CFLAGS-tst-initializers1-c89.c): Likewise.
21817 (CFLAGS-tst-initializers1-c99.c): Likewise.
21818 (CFLAGS-tst-initializers1-c11.c): Likewise.
21819 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21820 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21821 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21822 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21823 (CFLAGS-nscd_getgr_r.c): Likewise.
21824 (CFLAGS-nscd_gethst_r.c): Likewise.
21825 (CFLAGS-nscd_getai.c): Likewise.
21826 (CFLAGS-nscd_initgroups.c): Likewise.
21827 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21828 (CFLAGS-pause.c): Likewise.
21829 (CFLAGS-pread.c): Likewise.
21830 (CFLAGS-pread64.c): Likewise.
21831 (CFLAGS-pwrite.c): Likewise.
21832 (CFLAGS-pwrite64.c): Likewise.
21833 (CFLAGS-sleep.c): Likewise.
21834 (CFLAGS-wait.c): Likewise.
21835 (CFLAGS-waitid.c): Likewise.
21836 (CFLAGS-waitpid.c): Likewise.
21837 (CFLAGS-getopt.c): Likewise.
21838 (CFLAGS-wordexp.c): Likewise.
21839 (CFLAGS-sysconf.c): Likewise.
21840 (CFLAGS-pathconf.c): Likewise.
21841 (CFLAGS-fpathconf.c): Likewise.
21842 (CFLAGS-spawn.c): Likewise.
21843 (CFLAGS-spawnp.c): Likewise.
21844 (CFLAGS-spawni.c): Likewise.
21845 (CFLAGS-glob.c): Likewise.
21846 (CFLAGS-glob64.c): Likewise.
21847 (CFLAGS-getconf.c): Likewise.
21848 (CFLAGS-nanosleep.c): Likewise.
21849 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21850 (CFLAGS-getpwent.c): Likewise.
21851 (CFLAGS-getpw.c): Likewise.
21852 (CFLAGS-fgetpwent_r.c): Likewise.
21853 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21854 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21855 (CFLAGS-mq_timedreceive.c): Likewise.
21856 (CFLAGS-mq_timedsend.c): Likewise.
21857 (CFLAGS-clock_nanosleep.c): Likewise.
21858 (CFLAGS-librt-cancellation.c): Likewise.
21859 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21860 (CFLAGS-getspent.c): Likewise.
21861 (CFLAGS-fgetspent.c): Likewise.
21862 (CFLAGS-fgetspent_r.c): Likewise.
21863 (CFLAGS-putspent.c): Likewise.
21864 (CFLAGS-getspnam.c): Likewise.
21865 (CFLAGS-getspnam_r.c): Likewise.
21866 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21867 (CFLAGS-sigsuspend.c): Likewise.
21868 (CFLAGS-sigtimedwait.c): Likewise.
21869 (CFLAGS-sigwait.c): Likewise.
21870 (CFLAGS-sigwaitinfo.c): Likewise.
21871 (CFLAGS-sigreturn.c): Likewise.
21872 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21873 (CFLAGS-vfwprintf.c): Likewise.
21874 (CFLAGS-tmpfile.c): Likewise.
21875 (CFLAGS-tmpfile64.c): Likewise.
21876 (CFLAGS-tempname.c): Likewise.
21877 (CFLAGS-psignal.c): Likewise.
21878 (CFLAGS-vprintf.c): Likewise.
21879 (CFLAGS-cuserid.c): Likewise.
21880 (CFLAGS-errlist.c): Likewise.
21881 (CFLAGS-siglist.c): Likewise.
21882 (CFLAGS-scanf15.c): Likewise.
21883 (CFLAGS-scanf17.c): Likewise.
21884 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21885 (CFLAGS-msort.c): Likewise.
21886 (CFLAGS-qsort.c): Likewise.
21887 (CFLAGS-system.c): Likewise.
21888 (CFLAGS-fmtmsg.c): Likewise.
21889 (CFLAGS-strfmon.c): Likewise.
21890 (CFLAGS-strfmon_l.c): Likewise.
21891 (CFLAGS-strfromd.c): Likewise.
21892 (CFLAGS-strfromf.c): Likewise.
21893 (CFLAGS-strfroml.c): Likewise.
21894 (CFLAGS-tst-bsearch.c): Likewise.
21895 (CFLAGS-tst-qsort.c): Likewise.
21896 (CFLAGS-tst-makecontext2.c): Likewise.
21897 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21898 (CFLAGS-xnlm_prot.c): Likewise.
21899 (CFLAGS-xrstat.c): Likewise.
21900 (CFLAGS-xyppasswd.c): Likewise.
21901 (CFLAGS-xklm_prot.c): Likewise.
21902 (CFLAGS-xrex.c): Likewise.
21903 (CFLAGS-xsm_inter.c): Likewise.
21904 (CFLAGS-xmount.c): Likewise.
21905 (CFLAGS-xrusers.c): Likewise.
21906 (CFLAGS-xspray.c): Likewise.
21907 (CFLAGS-xnfs_prot.c): Likewise.
21908 (CFLAGS-xrquota.c): Likewise.
21909 (CFLAGS-xkey_prot.c): Likewise.
21910 (CFLAGS-auth_unix.c): Likewise.
21911 (CFLAGS-key_call.c): Likewise.
21912 (CFLAGS-pmap_rmt.c): Likewise.
21913 (CFLAGS-clnt_perr.c): Likewise.
21914 (CFLAGS-openchild.c): Likewise.
21915 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21916 (CFLAGS-msgsnd.c): Likewise.
21917 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21918 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21919 (CFLAGS-tzset.c): Likewise.
21920 (CFLAGS-getdate.c): Likewise.
21921 (CFLAGS-test_time.c): Likewise.
21922 (CPPFLAGS-tst-tzname.c): Likewise.
21923 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21924 (CFLAGS-zic.c): Likewise.
21925 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21926 (CFLAGS-wcswidth.c): Likewise.
21927 (CFLAGS-wcstol.c): Likewise.
21928 (CFLAGS-wcstoul.c): Likewise.
21929 (CFLAGS-wcstoll.c): Likewise.
21930 (CFLAGS-wcstoull.c): Likewise.
21931 (CFLAGS-wcstod.c): Likewise.
21932 (CFLAGS-wcstold.c): Likewise.
21933 (CFLAGS-wcstof128.c): Likewise.
21934 (CFLAGS-wcstof.c): Likewise.
21935 (CFLAGS-wcstol_l.c): Likewise.
21936 (CFLAGS-wcstoul_l.c): Likewise.
21937 (CFLAGS-wcstoll_l.c): Likewise.
21938 (CFLAGS-wcstoull_l.c): Likewise.
21939 (CFLAGS-wcstod_l.c): Likewise.
21940 (CFLAGS-wcstold_l.c): Likewise.
21941 (CFLAGS-wcstof128_l.c): Likewise.
21942 (CFLAGS-wcstof_l.c): Likewise.
21943 (CPPFLAGS-tst-wchar-h.c): Likewise.
21944 (CPPFLAGS-wcstold_l.c): Likewise.
21946 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
21948 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21950 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21951 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21953 * manual/tunables.texi (Hardware Capability Tunables): Document
21954 glibc.tune.cached_memopt.
21955 * sysdeps/powerpc/cpu-features.c: New file.
21956 * sysdeps/powerpc/cpu-features.h: New file.
21957 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21958 _dl_powerpc_cpu_features.
21959 * sysdeps/powerpc/dl-tunables.list: New file.
21960 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21961 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21962 (INIT_ARCH): Initialize use_aligned_memopt.
21963 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21964 IS_IN(rtld))]: Restrict dl_platform_init availability and
21965 initialize CPU features used by tunables.
21966 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21967 Add memcpy-power8-cached.
21968 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21969 __memcpy_power8_cached.
21970 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21971 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21974 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21976 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21977 (CFLAGS-noinl-tester.c): Likewise.
21978 (CFLAGS-tst-strlen.c): Likewise.
21979 (CFLAGS-stratcliff.c): Likewise.
21980 (CFLAGS-test-ffs.c): Likewise.
21981 (CFLAGS-tst-inlcall.c): Likewise.
21982 (CFLAGS-tst-xbzero-opt.c): Likewise.
21983 (CFLAGS-memcpy.c): Likewise.
21984 (CFLAGS-wordcopy.c): Likewise.
21986 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21988 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21989 Store r15 on stack and add cfi rule.
21990 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21993 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
21996 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21999 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22001 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22002 Add s_sinf-sse2 and s_sinf-fma.
22003 (CFLAGS-s_sinf-fma.c): New.
22004 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
22005 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
22006 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
22008 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22010 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
22012 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22015 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
22016 part of result to imaginary part of argument if it is zero and the
22017 real part of the argument is not finite.
22018 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
22019 of result to real part of argument if it is zero and the imaginary
22020 part of the argument is not finite.
22022 2017-12-07 Mike FABIAN <mfabian@redhat.com>
22025 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
22026 and to the list of locales to be built for testing.
22027 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
22028 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
22029 and build the collation rules upon that.
22031 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22033 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
22034 * manual/math.texi (Mathematics): Document support for _Float32.
22035 * math/Makefile (test-types): Add float32.
22036 * math/Versions (GLIBC_2.27): Add _Float32 functions.
22037 * stdlib/Versions (GLIBC_2.27): Likewise.
22038 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22039 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22040 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22041 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22042 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22043 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22044 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22045 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22046 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22047 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22048 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22049 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22050 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22051 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22052 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22053 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22054 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22055 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22056 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22057 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22058 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22059 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22061 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22062 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22063 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22064 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22065 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22083 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22084 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22085 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22086 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22087 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22088 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22089 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22090 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22091 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22092 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22101 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22102 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22103 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22104 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22105 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22106 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22107 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22108 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22110 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22112 * stdlib/strtof.c: Include <bits/floatn.h>
22113 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
22114 and later undefine as macro. Define as weak alias if
22116 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
22117 and later undefine as macro. Define as weak alias if
22119 * stdlib/strtof_l.c: Include <bits/floatn.h>
22120 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
22121 and later undefine as macro. Define as weak alias if
22123 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
22124 and later undefine as macro. Define as weak alias if
22127 * stdlib/strfromf.c: Include <bits/floatn.h>.
22128 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
22129 and later undefine as macro and define as weak alias.
22131 * math/test-float32.h: New file.
22133 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
22134 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
22135 (libm_alias_float_other_r): Create f32 alias.
22136 (libm_alias_float_r): Use semicolon before call to
22137 libm_alias_float_other_r.
22139 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
22140 second argument to libm_alias_float_other.
22141 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
22142 second argument to libm_alias_float_other.
22143 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
22144 argument to libm_alias_float_other.
22147 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
22148 real part of result for argument 0 + i * NaN.
22149 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
22150 results for tests of 0 + i * NaN.
22152 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22154 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22156 2017-12-06 David S. Miller <davem@davemloft.net>
22158 * sysdeps/sparc/fpu/libm-test-ulps: Update
22159 exp_{downward,towardzero,upward} ulps.
22161 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22163 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
22166 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
22168 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
22170 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
22172 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
22175 2017-12-06 Mike FABIAN <mfabian@redhat.com>
22178 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
22179 and to the list of locales to be built for testing.
22180 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
22181 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
22182 and build the collation rules upon that.
22184 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22186 * NEWS: Add sinf to list of optimized functions.
22188 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22190 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
22191 (__HAVE_FLOAT32X): Likewise.
22192 * manual/math.texi (Mathematics): Document support for _Float64
22194 * math/Makefile (test-types): Add float64 and float32x.
22195 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
22197 * stdlib/Versions (GLIBC_2.27): Likewise.
22198 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22199 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22200 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22201 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22202 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22203 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22204 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22205 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22206 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22207 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22208 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22209 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22210 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22211 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22212 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22213 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22214 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22215 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22216 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22217 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22218 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22219 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22221 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22222 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22223 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22224 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22225 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22242 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22243 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22244 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22245 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22246 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22247 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22248 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22249 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22250 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22251 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22260 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22261 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22262 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22263 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22264 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22265 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22266 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22267 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22269 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22271 * bits/floatn-common.h: Include <bits/long-double.h>.
22272 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22273 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
22274 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22275 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
22276 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22277 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
22278 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22279 (__builtin_huge_valf64): Use __builtin_huge_vall.
22280 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22281 (__builtin_inff64): Use __builtin_infl.
22282 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22283 (__builtin_nanf64): Use __builtin_nanl.
22284 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22285 (__builtin_nansf64): Use __builtin_nansl.
22287 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
22288 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22289 Carlos O'Donnell <carlos@redhat.com>
22291 * elf/dl-tunables.list: Add elision parameters.
22292 * manual/tunables.texi: Add entries about elision tunable.
22293 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
22294 Add callback functions to dynamically enable/disable elision.
22295 Add multiple callbacks functions to set elision parameters.
22296 Deleted __libc_enable_secure check.
22297 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
22298 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
22299 * configure: Regenerated.
22300 * configure.ac: Option enable_lock_elision was deleted.
22301 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
22302 * config.make.in: Remove references to enable_lock_elision.
22303 * manual/install.texi: Elision configure option was removed.
22304 * INSTALL: Regenerated to remove enable_lock_elision.
22306 Disable elision so it can verify error case for destroying a mutex.
22307 * sysdeps/powerpc/nptl/elide.h:
22308 Cleanup ENABLE_LOCK_ELISION check.
22309 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
22310 * sysdeps/s390/configure: Regenerated.
22311 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
22312 * nptl/tst-mutex8.c:
22313 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
22314 * sysdeps/powerpc/powerpc32/sysdep.h:
22315 Deleted all ENABLE_LOCK_ELISION checks.
22316 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22317 * sysdeps/powerpc/sysdep.h: Likewise.
22318 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22319 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22320 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22321 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22322 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22323 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22324 enable-lock-elision.
22326 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22328 * stdlib/strtod.c: Include <bits/floatn.h>.
22329 (BUILD_DOUBLE): New macro.
22330 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22331 (strtof64): Define and later undefine as macro. Define as weak
22332 alias if [!USE_WIDE_CHAR].
22333 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22334 (wcstof64): Define and later undefine as macro. Define as weak
22335 alias if [USE_WIDE_CHAR].
22336 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22337 (strtof32x): Define and later undefine as macro. Define as weak
22338 alias if [!USE_WIDE_CHAR].
22339 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22340 (wcstof32x): Define and later undefine as macro. Define as weak
22341 alias if [USE_WIDE_CHAR].
22342 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22343 (BUILD_DOUBLE): New macro.
22344 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22345 (strtof64_l): Define and later undefine as macro. Define as weak
22346 alias if [!USE_WIDE_CHAR].
22347 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22348 (wcstof64_l): Define and later undefine as macro. Define as weak
22349 alias if [USE_WIDE_CHAR].
22350 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22351 (strtof32x_l): Define and later undefine as macro. Define as weak
22352 alias if [!USE_WIDE_CHAR].
22353 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22354 (wcstof32x_l): Define and later undefine as macro. Define as weak
22355 alias if [USE_WIDE_CHAR].
22357 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22359 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22360 (reduced): Use ones as double instead of integer.
22362 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22364 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22366 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22368 * stdlib/strfromd.c: Include <bits/floatn.h>.
22369 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22370 and later undefine as macro and define as weak alias.
22371 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22374 * math/test-float32x.h: New file.
22375 * math/test-float64.h: Likewise.
22377 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22378 (libm_alias_double_other_r_f64): New macro.
22379 (libm_alias_double_other_r_f32x): Likewise.
22380 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22381 libm_alias_double_other_r_f32x.
22382 (libm_alias_double_r): Use semicolon before call to
22383 libm_alias_double_other_r.
22384 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22386 (libm_alias_double_other_r_f64): New macro.
22387 (libm_alias_double_other_r_f32x): Likewise.
22388 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22389 libm_alias_double_other_r_f32x.
22391 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22393 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22395 (SINF_FUNC): Likewise. Replace floor with simple casts.
22397 2017-12-05 Mike FABIAN <mfabian@redhat.com>
22400 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22401 and to the list of locales to be built for testing.
22402 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22403 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22404 and build the collation rules upon that.
22406 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22408 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22409 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22410 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22411 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22412 instead of __insn__xxx.
22413 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22414 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22415 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22416 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22417 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22418 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22420 2017-12-05 Florian Weimer <fweimer@redhat.com>
22422 Linux: Implement interfaces for memory protection keys
22423 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22425 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22426 * support/xunistd.h (xsysconf): Declare.
22427 * support/xraise.c: New file.
22428 * support/xsigaction.c: Likewise.
22429 * support/xsignal.c: Likewise.
22430 * support/xsysconf.c: Likewise.
22431 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22432 pkey_set, pkey_get, pkey_mprotect.
22433 [misc] (tests): Add tst-pkey.
22434 (tst-pkey): Link with -lpthread.
22435 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22436 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22437 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22438 (PKEY_DISABLE_WRITE): Define.
22439 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22441 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22442 (SEGV_PKUERR): Add.
22443 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22444 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22445 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22446 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22448 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22449 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22450 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22451 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22452 * sysdeps/unix/sysv/linux/**.abilist: Update.
22454 2017-12-05 Florian Weimer <fweimer@redhat.com>
22456 * support/tst-test_compare.c (subprocess): Use long long instead
22457 of long argument for consistent type width across 32-bit and
22458 64-bit architectures.
22459 (do_test): Adjust expected output.
22461 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22463 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22464 (cosf): Define using libm_alias_float.
22465 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22466 (fabsf): Define using libm_alias_float.
22467 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22468 (fmaf): Define using libm_alias_float.
22469 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22470 (rintf): Define using libm_alias_float.
22471 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22472 (sinf): Define using libm_alias_float.
22473 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22474 <libm-alias-float.h>.
22475 (modff): Define using libm_alias_float.
22476 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22477 <libm-alias-float.h>.
22478 (logbf): Define using libm_alias_float.
22479 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22480 <libm-alias-float.h>.
22481 (ceilf): Define using libm_alias_float.
22482 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22483 <libm-alias-float.h>.
22484 (copysignf): Define using libm_alias_float.
22485 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22486 <libm-alias-float.h>.
22487 (floorf): Define using libm_alias_float.
22488 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22489 <libm-alias-float.h>.
22490 (llrintf): Define using libm_alias_float.
22491 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22492 <libm-alias-float.h>.
22493 (llroundf): Define using libm_alias_float.
22494 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22495 <libm-alias-float.h>.
22496 (lrintf): Define using libm_alias_float.
22497 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22498 <libm-alias-float.h>.
22499 (lroundf): Define using libm_alias_float.
22500 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22501 <libm-alias-float.h>.
22502 (nearbyintf): Define using libm_alias_float.
22503 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22504 <libm-alias-float.h>.
22505 (rintf): Define using libm_alias_float.
22506 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22507 <libm-alias-float.h>.
22508 (roundf): Define using libm_alias_float.
22509 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22510 <libm-alias-float.h>.
22511 (truncf): Define using libm_alias_float.
22512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22513 Include <libm-alias-float.h>.
22514 (ceilf): Define using libm_alias_float.
22515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22516 Include <libm-alias-float.h>.
22517 (copysignf): Define using libm_alias_float.
22518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22519 Include <libm-alias-float.h>.
22520 (floorf): Define using libm_alias_float.
22521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22522 Include <libm-alias-float.h>.
22523 (llrintf): Define using libm_alias_float.
22524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22525 Include <libm-alias-float.h>.
22526 (llroundf): Define using libm_alias_float.
22527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22528 Include <libm-alias-float.h>.
22529 (logbf): Define using libm_alias_float.
22530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22531 Include <libm-alias-float.h>.
22532 (lrintf): Define using libm_alias_float.
22533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22534 Include <libm-alias-float.h>.
22535 (lroundf): Define using libm_alias_float.
22536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22537 Include <libm-alias-float.h>.
22538 (modff): Define using libm_alias_float.
22539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22540 Include <libm-alias-float.h>.
22541 (roundf): Define using libm_alias_float.
22542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22543 Include <libm-alias-float.h>.
22544 (truncf): Define using libm_alias_float.
22545 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22546 <libm-alias-float.h>.
22547 (llrintf): Define using libm_alias_float.
22548 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22549 <libm-alias-float.h>.
22550 (llroundf): Define using libm_alias_float.
22551 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22552 <libm-alias-float.h>.
22553 (ceilf): Define using libm_alias_float.
22554 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22555 <libm-alias-float.h>.
22556 (floorf): Define using libm_alias_float.
22557 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22558 <libm-alias-float.h>.
22559 (llroundf): Define using libm_alias_float.
22560 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22561 <libm-alias-float.h>.
22562 (lroundf): Define using libm_alias_float.
22563 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22564 <libm-alias-float.h>.
22565 (roundf): Define using libm_alias_float.
22566 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22567 <libm-alias-float.h>.
22568 (truncf): Define using libm_alias_float.
22569 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22570 <libm-alias-float.h>.
22571 (copysignf): Define using libm_alias_float.
22572 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22573 <libm-alias-float.h>.
22574 (llrintf): Define using libm_alias_float.
22575 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22576 <libm-alias-float.h>.
22577 (llroundf): Define using libm_alias_float.
22578 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22579 <libm-alias-float.h>.
22580 (lrintf): Define using libm_alias_float.
22581 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22582 <libm-alias-float.h>.
22583 (lroundf): Define using libm_alias_float.
22584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22585 <libm-alias-float.h>.
22586 (ceilf): Define using libm_alias_float.
22587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22588 <libm-alias-float.h>.
22589 (copysignf): Define using libm_alias_float.
22590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22591 <libm-alias-float.h>.
22592 (cosf): Define using libm_alias_float.
22593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22594 <libm-alias-float.h>.
22595 (floorf): Define using libm_alias_float.
22596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22597 <libm-alias-float.h>.
22598 (llrintf): Define using libm_alias_float.
22599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22600 <libm-alias-float.h>.
22601 (llroundf): Define using libm_alias_float.
22602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22603 <libm-alias-float.h>.
22604 (logbf): Define using libm_alias_float.
22605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22606 <libm-alias-float.h>.
22607 (modff): Define using libm_alias_float.
22608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22609 <libm-alias-float.h>.
22610 (roundf): Define using libm_alias_float.
22611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22612 <libm-alias-float.h>.
22613 (sinf): Define using libm_alias_float.
22614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22615 <libm-alias-float.h>.
22616 (truncf): Define using libm_alias_float.
22617 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22618 <libm-alias-float.h>.
22619 (ceilf): Define using libm_alias_float.
22620 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22621 <libm-alias-float.h>.
22622 (copysignf): Define using libm_alias_float.
22623 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22624 <libm-alias-float.h>.
22625 (floorf): Define using libm_alias_float.
22626 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22627 <libm-alias-float.h>.
22628 (llrintf): Define using libm_alias_float.
22629 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22630 <libm-alias-float.h>.
22631 (llroundf): Define using libm_alias_float.
22632 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22633 <libm-alias-float.h>.
22634 (nearbyintf): Define using libm_alias_float.
22635 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22636 <libm-alias-float.h>.
22637 (rintf): Define using libm_alias_float.
22638 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22639 <libm-alias-float.h>.
22640 (roundf): Define using libm_alias_float.
22641 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22642 <libm-alias-float.h>.
22643 (truncf): Define using libm_alias_float.
22644 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22645 <libm-alias-float.h>.
22646 (ceilf): Define using libm_alias_float.
22647 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22648 <libm-alias-float.h>.
22649 (floorf): Define using libm_alias_float.
22650 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22651 <libm-alias-float.h>.
22652 (llroundf): Define using libm_alias_float.
22653 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22654 <libm-alias-float.h>.
22655 (roundf): Define using libm_alias_float.
22656 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22657 <libm-alias-float.h>.
22658 (truncf): Define using libm_alias_float.
22659 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22660 <libm-alias-float.h>.
22661 (copysignf): Define using libm_alias_float.
22662 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22663 <libm-alias-float.h>.
22664 (llrintf): Define using libm_alias_float.
22665 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22666 <libm-alias-float.h>.
22667 (llroundf): Define using libm_alias_float.
22668 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22669 <libm-alias-float.h>.
22670 (cosf): Define using libm_alias_float.
22671 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22672 <libm-alias-float.h>.
22673 (llrintf): Define using libm_alias_float.
22674 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22675 <libm-alias-float.h>.
22676 (llroundf): Define using libm_alias_float.
22677 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22678 <libm-alias-float.h>.
22679 (sinf): Define using libm_alias_float.
22681 2017-12-04 Florian Weimer <fweimer@redhat.com>
22683 * support/check.h (TEST_COMPARE): Define.
22684 (support_test_compare_failure): Declare.
22685 * support/Makefile (libsupport-routines): Add
22686 support_test_compare_failure.
22687 (tests): Add tst-test_compare.
22688 * support /support_test_compare_failure.c: New file.
22689 * support/tst-test_compare.c: Likewise.
22691 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22694 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22695 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22696 available, this rewrite of the collation rules does reproduce
22697 the test file in the same order.
22699 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22702 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22703 digraphs in the month and day names. Using single code points for
22704 digraphs is deprecated. While there are dedicated Unicode
22705 codepoints, for the digraphs, these are included for backwards
22706 compatibility and modern texts use a sequence of Basic Latin
22707 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22708 This makes the month and day names agree exactly with CLDR now,
22709 CLDR does not use the single code points for the digraphs either.
22711 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22713 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22715 2017-12-04 Joseph Myers <joseph@codesourcery.com>
22717 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22720 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22722 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22723 Define only for libc.so.
22725 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22727 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22728 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
22729 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
22730 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22731 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22733 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22736 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22738 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
22741 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22742 PREINIT_FUNCTION_WEAK is nonzero.
22743 (gmon_initializer): New function. Put procedure label for it in
22744 .init_array section.
22745 (_init): Don't call PREINIT_FUNCTION.
22746 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22747 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22748 value when map argument is null.
22750 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22751 depi instruction from PIC pc-relative sequence.
22752 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22753 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22754 (elf_machine_load_address): Likewise.
22755 (elf_machine_runtime_setup): Likewise.
22757 2017-12-02 Joseph Myers <joseph@codesourcery.com>
22759 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22760 <libm-alias-double.h>.
22761 (logb): Define using libm_alias_double.
22762 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22763 <libm-alias-double.h>.
22764 (copysign): Define using libm_alias_double.
22765 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22766 <libm-alias-double.h>.
22767 (llrint): Define using libm_alias_double.
22768 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22769 <libm-alias-double.h>.
22770 (llround): Define using libm_alias_double.
22771 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22772 <libm-alias-double.h>.
22773 (lrint): Define using libm_alias_double.
22774 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22775 <libm-alias-double.h>.
22776 (lround): Define using libm_alias_double.
22777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22778 Include <libm-alias-double.h>.
22779 (copysign): Define using libm_alias_double.
22780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22781 Include <libm-alias-double.h>.
22782 (llrint): Define using libm_alias_double.
22783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22784 Include <libm-alias-double.h>.
22785 (llround): Define using libm_alias_double.
22786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22787 <libm-alias-double.h>.
22788 (logb): Define using libm_alias_double.
22789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22790 Include <libm-alias-double.h>.
22791 (lrint): Define using libm_alias_double.
22792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22793 Include <libm-alias-double.h>.
22794 (lround): Define using libm_alias_double.
22795 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22796 <libm-alias-double.h>.
22797 (llrint): Define using libm_alias_double.
22798 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22799 <libm-alias-double.h>.
22800 (llround): Define using libm_alias_double.
22801 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22802 <libm-alias-double.h>.
22803 (llround): Define using libm_alias_double.
22804 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22805 <libm-alias-double.h>.
22806 (lround): Define using libm_alias_double.
22807 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22808 <libm-alias-double.h>.
22809 (copysign): Define using libm_alias_double.
22810 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22811 <libm-alias-double.h>.
22812 (llrint): Define using libm_alias_double.
22813 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22814 <libm-alias-double.h>.
22815 (llround): Define using libm_alias_double.
22816 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22817 <libm-alias-double.h>.
22818 (lrint): Define using libm_alias_double.
22819 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22820 <libm-alias-double.h>.
22821 (lround): Define using libm_alias_double.
22822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22823 <libm-alias-double.h>.
22824 (copysign): Define using libm_alias_double.
22825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22826 <libm-alias-double.h>.
22827 (llrint): Define using libm_alias_double.
22829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22830 <libm-alias-double.h>.
22831 (llround): Define using libm_alias_double.
22832 (lround): Likewise.
22833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22834 <libm-alias-double.h>.
22835 (logb): Define using libm_alias_double.
22836 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22837 <libm-alias-double.h>.
22838 (copysign): Define using libm_alias_double.
22839 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22840 <libm-alias-double.h>.
22841 (llrint): Define using libm_alias_double.
22843 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22844 <libm-alias-double.h>.
22845 (llround): Define using libm_alias_double.
22846 (lround): Likewise.
22847 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22848 <libm-alias-double.h>.
22849 (llround): Define using libm_alias_double.
22850 (lround): Likewise.
22851 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22852 <libm-alias-double.h>.
22853 (copysign): Define using libm_alias_double.
22854 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22855 <libm-alias-double.h>.
22856 (llrint): Define using libm_alias_double.
22858 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22859 <libm-alias-double.h>.
22860 (llround): Define using libm_alias_double.
22861 (lround): Likewise.
22862 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22863 <libm-alias-double.h>.
22864 (llrint): Define using libm_alias_double.
22866 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22867 <libm-alias-double.h>.
22868 (llround): Define using libm_alias_double.
22869 (lround): Likewise.
22871 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22874 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22875 compat symbol based on llround.
22877 * sysdeps/powerpc/power7/fpu/s_logb.c
22878 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22879 symbol based on __logb, not on logb.
22880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22881 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22883 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22885 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22886 (rint): Define using libm_alias_double.
22887 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22888 <libm-alias-double.h>.
22889 (modf): Define using libm_alias_double.
22890 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22891 <libm-alias-double.h>.
22892 (ceil): Define using libm_alias_double.
22893 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22894 <libm-alias-double.h>.
22895 (floor): Define using libm_alias_double.
22896 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22897 <libm-alias-double.h>.
22898 (nearbyint): Define using libm_alias_double.
22899 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22900 <libm-alias-double.h>.
22901 (rint): Define using libm_alias_double.
22902 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22903 <libm-alias-double.h>.
22904 (round): Define using libm_alias_double.
22905 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22906 <libm-alias-double.h>.
22907 (trunc): Define using libm_alias_double.
22908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22909 <libm-alias-double.h>.
22910 (ceil): Define using libm_alias_double.
22911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22912 Include <libm-alias-double.h>.
22913 (floor): Define using libm_alias_double.
22914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22915 <libm-alias-double.h>.
22916 (modf): Define using libm_alias_double.
22917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22918 Include <libm-alias-double.h>.
22919 (round): Define using libm_alias_double.
22920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22921 Include <libm-alias-double.h>.
22922 (trunc): Define using libm_alias_double.
22923 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22924 <libm-alias-double.h>.
22925 (ceil): Define using libm_alias_double.
22926 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22927 <libm-alias-double.h>.
22928 (floor): Define using libm_alias_double.
22929 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22930 <libm-alias-double.h>.
22931 (round): Define using libm_alias_double.
22932 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22933 <libm-alias-double.h>.
22934 (trunc): Define using libm_alias_double.
22935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22936 <libm-alias-double.h>.
22937 (ceil): Define using libm_alias_double.
22938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22939 <libm-alias-double.h>.
22940 (floor): Define using libm_alias_double.
22941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22942 <libm-alias-double.h>.
22943 (modf): Define using libm_alias_double.
22944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22945 <libm-alias-double.h>.
22946 (round): Define using libm_alias_double.
22947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22948 <libm-alias-double.h>.
22949 (trunc): Define using libm_alias_double.
22950 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22951 <libm-alias-double.h>.
22952 (ceil): Define using libm_alias_double.
22953 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22954 <libm-alias-double.h>.
22955 (floor): Define using libm_alias_double.
22956 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22957 <libm-alias-double.h>.
22958 (nearbyint): Define using libm_alias_double.
22959 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22960 <libm-alias-double.h>.
22961 (rint): Define using libm_alias_double.
22962 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22963 <libm-alias-double.h>.
22964 (round): Define using libm_alias_double.
22965 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22966 <libm-alias-double.h>.
22967 (trunc): Define using libm_alias_double.
22968 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22969 <libm-alias-double.h>.
22970 (ceil): Define using libm_alias_double.
22971 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22972 <libm-alias-double.h>.
22973 (floor): Define using libm_alias_double.
22974 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22975 <libm-alias-double.h>.
22976 (round): Define using libm_alias_double.
22977 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22978 <libm-alias-double.h>.
22979 (trunc): Define using libm_alias_double.
22981 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22982 (fabs): Define using libm_alias_double.
22983 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22984 (fma): Define using libm_alias_double.
22985 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22986 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22987 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22988 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22990 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22992 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22994 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22995 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22996 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22999 due redirect macro.
23001 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
23003 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
23005 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23007 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
23008 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
23009 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
23010 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
23012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23013 (libm-sysdep_routines): Add s_nearbyintf-generic and
23014 s_nearbyint-generic.
23015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
23017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
23018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
23020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
23022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
23024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23028 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
23029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
23031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
23032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
23034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
23035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
23036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23039 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
23040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
23042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
23043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
23045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
23046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
23047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
23049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23050 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
23051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
23053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
23054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
23056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
23057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
23058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23061 (sysdep_calls): New rule.
23062 (sysdep_routines): Use sysdep_calls as base.
23063 (libm-sysdep_routines): Add generic rule for symbols shared with
23064 libc. Add s_copysign-generic and s_copysign-generic objects.
23065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
23067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
23068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
23070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
23071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
23072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
23074 2017-12-01 Mike FABIAN <mfabian@redhat.com>
23077 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
23078 the list of locales to be built for testing.
23079 * localedata/is_IS.UTF-8.in: New file.
23080 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
23083 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23085 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
23086 <libm-alias-float.h>.
23087 (fabsf): Define using libm_alias_float.
23089 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23091 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
23093 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23095 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
23096 <libm-alias-float.h>.
23097 (fabsf): Define using libm_alias_float.
23098 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
23099 <libm-alias-float.h>.
23100 (lrintf): Define using libm_alias_float.
23101 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
23102 <libm-alias-float.h>.
23103 (rintf): Define using libm_alias_float.
23105 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
23106 <libm-alias-double.h>.
23107 (fabs): Define using libm_alias_double.
23108 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
23109 <libm-alias-double.h>.
23110 (lrint): Define using libm_alias_double.
23111 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
23112 <libm-alias-double.h>.
23113 (rint): Define using libm_alias_double.
23115 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
23116 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
23117 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
23118 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
23119 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
23120 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
23121 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
23122 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
23123 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
23124 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
23125 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
23126 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
23127 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
23128 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
23129 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
23130 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
23131 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
23132 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
23134 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
23135 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
23136 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
23138 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
23139 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
23140 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
23142 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
23143 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
23144 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
23145 s_expm1_template.c.
23146 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
23147 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
23148 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
23150 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
23151 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
23152 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
23153 s_floor_template.c.
23154 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
23155 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
23156 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
23157 s_frexp_template.c.
23158 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
23159 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
23160 s_lrint_template.c.
23161 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
23162 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
23163 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
23165 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
23166 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
23167 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
23168 s_nearbyint_template.c.
23169 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
23170 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
23171 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
23172 s_remquo_template.c.
23173 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
23174 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
23175 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
23177 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
23178 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
23179 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
23181 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
23182 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
23183 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
23184 s_sincos_template.c.
23185 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
23186 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
23187 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
23189 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
23190 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
23191 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
23193 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
23194 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
23195 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
23196 s_trunc_template.c.
23197 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
23198 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
23199 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
23200 s_atan.c instead of including s_atan.c.
23201 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
23202 s_atanf.c instead of including s_atanf.c.
23203 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
23204 s_atanl.c instead of including s_atanl.c.
23205 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
23206 instead of s_atan.c.
23207 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
23208 instead of s_atanf.c.
23209 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
23210 instead of s_atanl.c.
23212 * scripts/update-copyrights: Do not handle intl/plural.c
23215 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
23218 * configure.ac (BISON): Require to be present.
23219 * configure: Regenerated.
23220 * intl/Makefile (generated): Add plural.c.
23221 [$(BISON) != no]: Make code unconditional.
23222 (plural.c): Change rule to $(objpfx)plural.c.
23223 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
23224 * intl/plural.c: Remove.
23225 * manual/install.texi (Tools for Compilation): Document bison as
23227 * INSTALL: Regenerated.
23229 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23231 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
23232 <libm-alias-double.h>.
23233 (llrint): Define using libm_alias_double.
23234 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
23235 <libm-alias-float.h>.
23236 (llrintf): Define using libm_alias_float.
23237 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
23238 <libm-alias-ldouble.h>.
23239 (llrintl): Define using libm_alias_ldouble.
23241 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
23242 declare_mgen_alias instead of weak_alias.
23243 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
23244 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
23245 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
23247 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23249 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23251 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
23252 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
23253 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
23255 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23256 Add submul_1-generic.
23257 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
23258 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
23259 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
23261 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23262 Add addmul_1-generic.
23263 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
23264 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
23265 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
23267 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23269 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
23270 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
23271 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
23273 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23275 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
23276 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
23277 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
23279 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23281 According to CLDR, collation rules for Serbian and Bosnian
23282 should be the same as for Croatian.
23285 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
23286 and to the list of locales to be built for testing.
23287 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23288 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23289 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
23290 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
23292 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23294 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
23295 to make test case pass.
23296 * localedata/hr_HR.UTF-8.in: Add more test strings.
23298 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23300 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
23302 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23304 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
23305 the list of locales to built for testing.
23306 * localedata/hr_HR.UTF-8.in: New file.
23308 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23311 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
23313 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
23314 CLDR (except use ligatures for the digraphs, CLDR does not use
23315 the ligatures), add first_workday, some fixes in the date and time
23317 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23319 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23320 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23321 Add int_p_cs_precedes and int_n_cs_precedes.
23322 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23323 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23325 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23326 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23328 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23329 and lang_lib. Change postal_fmt.
23331 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23333 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23335 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23336 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23337 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23338 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23339 * sysdeps/generic/setjmpP.h: New file.
23340 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23341 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23342 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23343 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23344 Add jmp_buf-ssp.sym.
23345 (tests): Add tst-saved_mask-1.
23347 2017-11-30 Arjun Shankar <arjun@redhat.com>
23351 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23352 instead of request2size.
23354 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23357 (__lllrint): Remove alias.
23358 (lllrint): Likewise.
23359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23360 (__lllrintf): Likewise.
23361 (lllrintf): Likewise.
23363 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23364 <libm-alias-float.h>.
23365 (copysignf): Define using libm_alias_float.
23366 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23367 <libm-alias-float.h>.
23368 (fabsf): Define using libm_alias_float.
23369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23370 Include <libm-alias-float.h>.
23371 (copysignf): Define using libm_alias_float.
23372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23373 <libm-alias-float.h>.
23374 (fabsf): Define using libm_alias_float.
23375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23376 <libm-alias-float.h>.
23377 (fdimf): Define using libm_alias_float.
23378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23379 <libm-alias-float.h>.
23380 (fmaf): Define using libm_alias_float.
23381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23382 <libm-alias-float.h>.
23383 (llrintf): Define using libm_alias_float.
23384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23385 Include <libm-alias-float.h>.
23386 (nearbyintf): Define using libm_alias_float.
23387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23388 <libm-alias-float.h>.
23389 (rintf): Define using libm_alias_float.
23390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23391 <libm-alias-float.h>.
23392 (llrintf): Define using libm_alias_float.
23393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23394 <libm-alias-float.h>.
23395 (lrintf): Define using libm_alias_float.
23396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23397 <libm-alias-float.h>.
23398 (nearbyintf): Define using libm_alias_float.
23399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23400 <libm-alias-float.h>.
23401 (rintf): Define using libm_alias_float.
23402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23403 <libm-alias-float.h>.
23404 (ceilf): Define using libm_alias_float.
23405 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23406 <libm-alias-float.h>.
23407 (floorf): Define using libm_alias_float.
23408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23409 <libm-alias-float.h>.
23410 (fmaf): Define using libm_alias_float.
23411 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23412 <libm-alias-float.h>.
23413 (lrintf): Define using libm_alias_float.
23414 (llrintf): Likewise.
23415 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23416 <libm-alias-float.h>.
23417 (nearbyintf): Define using libm_alias_float.
23418 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23419 <libm-alias-float.h>.
23420 (rintf): Define using libm_alias_float.
23421 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23422 <libm-alias-float.h>.
23423 (truncf): Define using libm_alias_float.
23424 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23425 <libm-alias-float.h>.
23426 (copysignf): Define using libm_alias_float.
23427 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23428 <libm-alias-float.h>.
23429 (fabsf): Define using libm_alias_float.
23430 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23431 <libm-alias-float.h>.
23432 (lrintf): Define using libm_alias_float.
23433 (llrintf): Likewise.
23434 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23435 <libm-alias-float.h>.
23436 (nearbyintf): Define using libm_alias_float.
23437 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23438 <libm-alias-float.h>.
23439 (rintf): Define using libm_alias_float.
23441 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23443 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23444 <libm-alias-double.h>.
23445 (copysign): Define using libm_alias_double.
23446 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23447 <libm-alias-double.h>.
23448 (fabs): Define using libm_alias_double.
23449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23450 Include <libm-alias-double.h>.
23451 (copysign): Define using libm_alias_double.
23452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23453 <libm-alias-double.h>.
23454 (fabs): Define using libm_alias_double.
23455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23456 <libm-alias-double.h>.
23457 (fdim): Define using libm_alias_double.
23458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23459 <libm-alias-double.h>.
23460 (fma): Define using libm_alias_double.
23461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23462 <libm-alias-double.h>.
23463 (llrint): Define using libm_alias_double.
23464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23465 Include <libm-alias-double.h>.
23466 (nearbyint): Define using libm_alias_double.
23467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23468 <libm-alias-double.h>.
23469 (rint): Define using libm_alias_double.
23470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23471 <libm-alias-double.h>.
23472 (fabs): Define using libm_alias_double.
23473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23474 <libm-alias-double.h>.
23475 (llrint): Define using libm_alias_double.
23476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23477 <libm-alias-double.h>.
23478 (nearbyint): Define using libm_alias_double.
23479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23480 <libm-alias-double.h>.
23481 (rint): Define using libm_alias_double.
23482 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23483 <libm-alias-double.h>.
23484 (ceil): Define using libm_alias_double.
23485 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23486 <libm-alias-double.h>.
23487 (floor): Define using libm_alias_double.
23488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23489 <libm-alias-double.h>.
23490 (fma): Define using libm_alias_double.
23491 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23492 <libm-alias-double.h>.
23493 (lrint): Define using libm_alias_double.
23494 (llrint): Likewise.
23495 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23496 <libm-alias-double.h>.
23497 (nearbyint): Define using libm_alias_double.
23498 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23499 <libm-alias-double.h>.
23500 (rint): Define using libm_alias_double.
23501 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23502 <libm-alias-double.h>.
23503 (trunc): Define using libm_alias_double.
23504 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23505 <libm-alias-double.h>.
23506 (copysign): Define using libm_alias_double.
23507 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23508 <libm-alias-double.h>.
23509 (fabs): Define using libm_alias_double.
23510 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23511 <libm-alias-double.h>.
23512 (lrint): Define using libm_alias_double.
23513 (llrint): Likewise.
23514 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23515 <libm-alias-double.h>.
23516 (nearbyint): Define using libm_alias_double.
23517 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23518 <libm-alias-double.h>.
23519 (rint): Define using libm_alias_double.
23522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23524 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23526 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23527 SPARC --disable-multi-arch glibc variants.
23529 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23530 <libm-alias-float.h>.
23531 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23533 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23534 <libm-alias-float.h>.
23535 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23537 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23538 <libm-alias-float.h>.
23539 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23541 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23542 <libm-alias-float.h>.
23543 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23545 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23546 <libm-alias-float.h>.
23547 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23549 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23550 <libm-alias-float.h>.
23551 (ceilf): Define using libm_alias_float.
23552 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23553 <libm-alias-float.h>.
23554 (floorf): Define using libm_alias_float.
23555 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23556 <libm-alias-float.h>.
23557 (fmaf): Define using libm_alias_float.
23558 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23559 <libm-alias-float.h>.
23560 (nearbyintf): Define using libm_alias_float.
23561 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23562 <libm-alias-float.h>.
23563 (rintf): Define using libm_alias_float.
23564 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23565 <libm-alias-float.h>.
23566 (truncf): Define using libm_alias_float.
23567 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23568 (copysignf): Define using libm_alias_float.
23569 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23570 (cosf): Define using libm_alias_float.
23571 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23572 (fabsf): Define using libm_alias_float.
23573 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23574 (fmaxf): Define using libm_alias_float.
23575 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23576 (fminf): Define using libm_alias_float.
23577 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23578 (llrintf): Define using libm_alias_float.
23579 [!__ILP32__] (lrintf): Likewise.
23580 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23581 (sincosf): Define using libm_alias_float.
23582 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23583 (sinf): Define using libm_alias_float.
23584 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23585 (lrintf): Define using libm_alias_float.
23587 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23588 <libm-alias-double.h>.
23589 (atan): Define using libm_alias_double.
23590 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23591 <libm-alias-double.h>.
23592 (ceil): Define using libm_alias_double.
23593 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23594 <libm-alias-double.h>.
23595 (floor): Define using libm_alias_double.
23596 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23597 <libm-alias-double.h>.
23598 (fma): Define using libm_alias_double.
23599 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23600 <libm-alias-double.h>.
23601 (nearbyint): Define using libm_alias_double.
23602 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23603 <libm-alias-double.h>.
23604 (rint): Define using libm_alias_double.
23605 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23606 <libm-alias-double.h>.
23607 (sin): Define using libm_alias_double.
23609 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23610 <libm-alias-double.h>.
23611 (tan): Define using libm_alias_double.
23612 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23613 <libm-alias-double.h>.
23614 (trunc): Define using libm_alias_double.
23615 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23616 (copysign): Define using libm_alias_double.
23617 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23618 (fabs): Define using libm_alias_double.
23619 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23620 (fmax): Define using libm_alias_double.
23621 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23622 (fmin): Define using libm_alias_double.
23623 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23624 (llrint): Define using libm_alias_double.
23625 [!__ILP32__] (lrint): Likewise.
23626 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23627 (lrint): Define using libm_alias_double.
23629 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23631 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23632 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23634 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23635 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23636 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23637 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23638 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23639 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23641 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23642 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23644 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23645 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23646 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23647 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23648 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23649 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23651 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23652 (libm-sysdep_routines): Add s_nearbyint-generic and
23653 s_nearbyintf-generic objects.
23654 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23655 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23656 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23657 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23658 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23659 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23661 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23662 Add s_finitef-generic and s_finite-generic objects.
23663 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23664 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23665 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23666 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23667 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23668 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23670 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23671 Add s_isinff-generic and s_isinf-generic objects.
23672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23679 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23680 Add s_isnanf-generic and s_isnan-generic objects.
23681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23682 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23683 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23684 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23685 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23688 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23692 (sysdep_routines): Use sysdep_calls as base.
23693 (libm-sysdep_routines): Add generic rule for symbols shared with
23694 libc. Add s_signbit-generic and s_signbitf-generic objects.
23695 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23696 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23697 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23698 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23699 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23700 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23702 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23704 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23705 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23706 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23707 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23708 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23709 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23710 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23711 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23712 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23713 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23714 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23715 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23716 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23717 libm_alias_float_r.
23718 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23719 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23721 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23722 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23723 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23724 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23725 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23726 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23727 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23728 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23729 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23730 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23732 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23734 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23735 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23736 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23737 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23738 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23739 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23740 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23741 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23742 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23743 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23744 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23745 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23746 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23747 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23748 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23749 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23750 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23751 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23752 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23754 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23755 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23756 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23757 * sysdeps/ia64/fpu/w_lgammaf_main.c
23758 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23759 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23761 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23762 Alexandre Oliva <aoliva@redhat.com>
23765 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23766 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23768 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23770 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23771 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23772 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23773 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23774 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23775 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23776 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23777 instead of “ifdef DIACRIT_BACKWARD”.
23779 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23781 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23782 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23783 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23784 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23785 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23786 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23787 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23788 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23789 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23790 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23793 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23794 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23795 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23796 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23797 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23798 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23800 ($(have-as-vis3) == yes): Remove conditional.
23801 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23811 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23812 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23813 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23817 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23818 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23820 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23822 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23823 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23824 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23825 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23826 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23827 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23828 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23829 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23830 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23831 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23832 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23833 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23834 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23835 libm_alias_double_r.
23836 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23838 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23839 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23840 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23841 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23842 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23843 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23844 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23845 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23846 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23847 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23848 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23850 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23852 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23853 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23854 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23855 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23856 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23857 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23858 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23859 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23860 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23861 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23862 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23863 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23864 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23865 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23866 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23867 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23868 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23869 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23871 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23872 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23873 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23874 * sysdeps/ia64/fpu/w_lgamma_main.c
23875 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23876 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23878 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
23880 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23881 address of $global$ into %dp register earlier. Use pc-relative
23882 instruction sequence for PIC case.
23884 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23886 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23887 (asinhf): Define using libm_alias_float.
23888 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23889 (atanf): Define using libm_alias_float.
23890 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23891 (cbrtf): Define using libm_alias_float.
23892 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23893 (ceilf): Define using libm_alias_float.
23894 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23895 (copysignf): Define using libm_alias_float.
23896 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23897 (expm1f): Define using libm_alias_float.
23898 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23899 (fabsf): Define using libm_alias_float.
23900 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23901 (floorf): Define using libm_alias_float.
23902 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23903 (fmaxf): Define using libm_alias_float.
23904 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23905 (fminf): Define using libm_alias_float.
23906 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23907 (frexpf): Define using libm_alias_float.
23908 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23909 (llrintf): Define using libm_alias_float.
23910 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23911 (logbf): Define using libm_alias_float.
23912 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23913 (lrintf): Define using libm_alias_float.
23914 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23915 (nearbyintf): Define using libm_alias_float.
23916 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23917 (remquof): Define using libm_alias_float.
23918 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23919 (rintf): Define using libm_alias_float.
23920 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23921 (truncf): Define using libm_alias_float.
23922 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23923 <libm-alias-float.h>.
23924 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23926 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23927 <libm-alias-float.h>.
23928 (expf): Define using libm_alias_float, or libm_alias_float_other
23930 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23931 <libm-alias-float.h>.
23932 (log2f): Define using libm_alias_float, or libm_alias_float_other
23934 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23935 <libm-alias-float.h>.
23936 (logf): Define using libm_alias_float, or libm_alias_float_other
23938 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23939 <libm-alias-float.h>.
23940 (powf): Define using libm_alias_float, or libm_alias_float_other
23942 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23943 <libm-alias-float.h>.
23944 (cosf): Define using libm_alias_float.
23945 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23946 <libm-alias-float.h>.
23947 (sincosf): Define using libm_alias_float.
23948 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23949 <libm-alias-float.h>.
23950 (sinf): Define using libm_alias_float.
23951 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23952 (fmaxf): Define using libm_alias_float.
23953 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23954 (fminf): Define using libm_alias_float.
23955 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23956 <libm-alias-float.h>.
23957 (fmaf): Define using libm_alias_float.
23959 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23960 (asinh): Define using libm_alias_double.
23961 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23962 (atan): Define using libm_alias_double.
23963 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23964 (cbrt): Define using libm_alias_double.
23965 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23966 (ceil): Define using libm_alias_double.
23967 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23968 (copysign): Define using libm_alias_double.
23969 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23970 (expm1): Define using libm_alias_double.
23971 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23972 (fabs): Define using libm_alias_double.
23973 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23974 (fdim): Define using libm_alias_double.
23975 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23976 (floor): Define using libm_alias_double.
23977 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23978 (fmax): Define using libm_alias_double.
23979 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23980 (fmin): Define using libm_alias_double.
23981 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23982 (frexp): Define using libm_alias_double.
23983 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23984 (llrint): Define using libm_alias_double.
23985 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23986 (logb): Define using libm_alias_double.
23987 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23988 (lrint): Define using libm_alias_double.
23989 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23990 (nearbyint): Define using libm_alias_double.
23991 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23992 (remquo): Define using libm_alias_double.
23993 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23994 (rint): Define using libm_alias_double.
23995 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23996 (trunc): Define using libm_alias_double.
23997 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23998 (fmax): Define using libm_alias_double.
23999 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
24000 (fmin): Define using libm_alias_double.
24001 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
24002 (fma): Define using libm_alias_double.
24004 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
24007 * elf/dl-hwcaps.c (ROUND): Removed.
24008 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
24009 and ELF_NOTE_NEXT_OFFSET.
24010 * elf/dl-load.c (ROUND): Removed.
24011 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24012 * elf/readelflib.c (ROUND): Removed.
24013 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24014 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
24015 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
24016 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
24018 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24020 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24021 [!__fmaf] (fmaf): Define using libm_alias_float.
24023 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
24024 [!__fma] (fma): Define using libm_alias_double.
24025 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
24027 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24030 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
24031 and implement the collation rules for cs from CLDR on top of that.
24032 * Makefile: Add cs_CZ.UTF-8 to test-input.
24033 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
24035 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
24037 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
24039 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24040 Icarus Sparry <icarus.w.sparry@intel.com>
24042 * benchtests/Makefile:Add BENCHSET to allow subsets of
24043 benchmarks to be run.
24044 * benchtests/README: Add documentation for: Running subsets of
24047 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24049 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
24050 range of tests names.
24052 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
24053 result from property and remove "max", min" and "mean" from
24054 required properties based on benchtests/bench-skeleton.c.
24056 2017-11-28 Florian Weimer <fweimer@redhat.com>
24059 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
24060 due to Internet requirement.
24061 * posix/Makefile (tests): Remove tst-getaddrinfo4,
24063 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
24065 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24067 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24068 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
24069 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24070 (sysdep_routines): Add memset-ultra1.
24071 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
24073 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
24074 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
24075 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
24076 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
24077 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
24078 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
24079 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
24080 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24082 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
24084 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
24085 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
24086 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
24087 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
24088 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
24089 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
24090 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
24092 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24093 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
24094 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24095 (sysdep_routines): Add memcpy-ultra1.
24096 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
24097 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
24099 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24101 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
24102 (cfloat_versions): Take function argument without trailing 'f'.
24103 Call libm_alias_float_other.
24104 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
24105 * sysdeps/alpha/fpu/cargf.c: Likewise.
24106 * sysdeps/alpha/fpu/cimagf.c: Likewise.
24107 * sysdeps/alpha/fpu/conjf.c: Likewise.
24108 * sysdeps/alpha/fpu/crealf.c: Likewise.
24109 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
24110 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
24111 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
24112 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
24113 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
24114 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
24115 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
24116 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
24117 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
24118 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
24119 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
24120 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
24121 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
24122 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
24123 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
24124 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
24125 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
24126 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
24127 (clog10f): Use libm_alias_float_other.
24128 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24129 (ceilf): Define using libm_alias_float.
24130 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
24131 (copysignf): Define using libm_alias_float.
24132 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24133 (fabsf): Define using libm_alias_float.
24134 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
24135 (floorf): Define using libm_alias_float.
24136 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
24137 (fmaxf): Define using libm_alias_float.
24138 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
24139 (fminf): Define using libm_alias_float.
24140 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24141 (lrintf): Define using libm_alias_float.
24142 (llrintf): Likewise.
24143 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24144 (lroundf): Define using libm_alias_float.
24145 (llroundf): Likewise.
24146 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
24147 (rintf): Define using libm_alias_float.
24148 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
24149 (truncf): Define using libm_alias_float.
24151 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24152 (ceilf): Define using libm_alias_float.
24153 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
24154 (floorf): Define using libm_alias_float.
24155 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24156 (fmaf): Define using libm_alias_float.
24157 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
24158 (fmaxf): Define using libm_alias_float.
24159 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
24160 (fminf): Define using libm_alias_float.
24161 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
24162 (llrintf): Define using libm_alias_float.
24163 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
24164 (llroundf): Define using libm_alias_float.
24165 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24166 (lrintf): Define using libm_alias_float.
24167 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24168 (lroundf): Define using libm_alias_float.
24169 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
24170 <libm-alias-float.h>.
24171 (nearbyintf): Define using libm_alias_float.
24172 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
24173 (rintf): Define using libm_alias_float.
24174 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
24175 (roundf): Define using libm_alias_float.
24176 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
24177 (truncf): Define using libm_alias_float.
24179 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
24180 (ceil): Define using libm_alias_double.
24181 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
24182 (copysign): Define using libm_alias_double.
24183 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
24184 (fabs): Define using libm_alias_double.
24185 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
24186 (floor): Define using libm_alias_double.
24187 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
24188 (fmax): Define using libm_alias_double.
24189 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
24190 (fmin): Define using libm_alias_double.
24191 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
24192 (lrint): Define using libm_alias_double.
24193 (llrint): Likewise.
24194 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
24195 (lround): Define using libm_alias_double.
24196 (llround): Likewise.
24197 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
24198 (rint): Define using libm_alias_double.
24199 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
24200 (trunc): Define using libm_alias_double.
24202 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24203 (libm_alias_double_r): Add semicolon after weak_alias call.
24205 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24207 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
24208 (ceil): Define using libm_alias_double.
24209 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
24210 (floor): Define using libm_alias_double.
24211 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
24212 (fma): Define using libm_alias_double.
24213 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
24214 (fmax): Define using libm_alias_double.
24215 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
24216 (fmin): Define using libm_alias_double.
24217 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
24218 (llrint): Define using libm_alias_double.
24219 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
24220 (llround): Define using libm_alias_double.
24221 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
24222 (lrint): Define using libm_alias_double.
24223 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
24224 (lround): Define using libm_alias_double.
24225 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
24226 (nearbyint): Define using libm_alias_double.
24227 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
24228 (rint): Define using libm_alias_double.
24229 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
24230 (round): Define using libm_alias_double.
24231 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
24232 (trunc): Define using libm_alias_double.
24234 2017-11-27 Florian Weimer <fweimer@redhat.com>
24236 * sysdeps/unix/sysv/linux/mlock2.c: New file.
24237 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
24238 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
24239 (tests): Add tst-mlock2.
24240 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
24241 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
24242 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
24243 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
24244 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
24245 for mlock. Document mlock2.
24247 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24249 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
24250 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
24252 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
24254 * sysdeps/x86/Makeconfig: New file.
24255 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
24256 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24257 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
24258 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24259 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24260 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24261 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
24263 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24264 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24265 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24266 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24267 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24268 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24269 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24270 * manual/math.texi (Mathematics): Document support for _Float64x.
24271 * math/Versions (GLIBC_2.27): Add _Float64x functions.
24272 * stdlib/Versions (GLIBC_2.27): Likewise.
24273 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24274 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24275 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24276 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24277 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24278 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24279 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24280 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24281 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24282 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24283 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24284 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24289 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24290 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24291 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24292 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24293 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24294 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24295 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24296 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24297 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24298 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24299 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24300 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24301 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24302 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24304 2017-11-27 Andreas Schwab <schwab@suse.de>
24306 * elf/Makefile (dl-routines): Add dl-sort-maps.
24307 * elf/dl-sort-maps.c: New file.
24308 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
24309 (_dl_sort_maps): Declare.
24310 * elf/dl-fini.c (_dl_sort_fini): Remove.
24311 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
24312 * elf/dl-close.c (_dl_close_worker): Likewise.
24313 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24315 * elf/dl-open.c (dl_open_worker): Likewise.
24317 2017-11-24 Joseph Myers <joseph@codesourcery.com>
24319 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24320 using libm_alias_float128.
24321 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24323 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24325 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24326 (setpayloadsigf128): Likewise.
24327 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24329 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24332 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24333 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24334 -mfloat128 to CFLAGS.
24336 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24338 (CFLAGS-libm-test-support-float64x.c): New variable.
24339 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24340 $(f128-loader-link) to gnulib-tests.
24342 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24343 (libm_alias_float128_other_r): If
24344 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24346 (libm_alias_float128_r): Add semicolon after weak_alias call.
24347 * sysdeps/generic/libm-alias-ldouble.h
24348 (libm_alias_ldouble_other_r_f128): New macro.
24349 (libm_alias_ldouble_other_r_f64x): Likewise.
24350 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24351 and libm_alias_ldouble_other_r_f64x.
24352 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24353 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24354 (libm_alias_ldouble_other_r_f128): New macro.
24355 (libm_alias_ldouble_other_r_f64x): Likewise.
24356 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24357 and libm_alias_ldouble_other_r_f64x.
24359 * stdlib/strfroml.c: Always include <stdlib.h>.
24360 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24361 undefine as macro and define as weak alias.
24362 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24363 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24365 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24366 Define and later undefine as macro and define as weak alias.
24368 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24369 Define and later undefine as macro. Define as weak alias if
24371 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24372 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24373 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24374 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24375 Define and later undefine as macro. Define as weak alias if
24377 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24378 Define and later undefine as macro. Define as weak alias if
24380 * sysdeps/ieee754/float128/strtof128_l.c
24381 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24382 Define and later undefine as macro. Define as weak alias if
24384 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24385 Define and later undefine as macro. Define as weak alias if
24387 * sysdeps/ieee754/ldbl-128/strtold_l.c
24388 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24389 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24390 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24391 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24392 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24393 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24394 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24395 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24396 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24397 * sysdeps/ieee754/ldbl-96/strtold_l.c
24398 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24399 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24400 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24401 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24403 * math/test-float64x.h: New file.
24404 * math/Makefile (type-float64x-yes): New variable.
24405 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24407 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24408 function-like macro.
24409 (min_of_type_): Likewise.
24410 (min_of_type_l): Likewise.
24411 (min_of_type_f128): Likewise.
24412 (min_of_type): Pass () as last argument of __MATH_TG.
24414 * stdlib/tst-strtod-round-skeleton.c
24415 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24418 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24419 for combinations of long double with _Float64 and _Float64x.
24421 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24422 (__DECL_SIMD_cosf32): Likewise.
24423 (__DECL_SIMD_cosf64): Likewise.
24424 (__DECL_SIMD_cosf32x): Likewise.
24425 (__DECL_SIMD_cosf64x): Likewise.
24426 (__DECL_SIMD_cosf128x): Likewise.
24427 (__DECL_SIMD_sinf16): Likewise.
24428 (__DECL_SIMD_sinf32): Likewise.
24429 (__DECL_SIMD_sinf64): Likewise.
24430 (__DECL_SIMD_sinf32x): Likewise.
24431 (__DECL_SIMD_sinf64x): Likewise.
24432 (__DECL_SIMD_sinf128x): Likewise.
24433 (__DECL_SIMD_sincosf16): Likewise.
24434 (__DECL_SIMD_sincosf32): Likewise.
24435 (__DECL_SIMD_sincosf64): Likewise.
24436 (__DECL_SIMD_sincosf32x): Likewise.
24437 (__DECL_SIMD_sincosf64x): Likewise.
24438 (__DECL_SIMD_sincosf128x): Likewise.
24439 (__DECL_SIMD_logf16): Likewise.
24440 (__DECL_SIMD_logf32): Likewise.
24441 (__DECL_SIMD_logf64): Likewise.
24442 (__DECL_SIMD_logf32x): Likewise.
24443 (__DECL_SIMD_logf64x): Likewise.
24444 (__DECL_SIMD_logf128x): Likewise.
24445 (__DECL_SIMD_expf16): Likewise.
24446 (__DECL_SIMD_expf32): Likewise.
24447 (__DECL_SIMD_expf64): Likewise.
24448 (__DECL_SIMD_expf32x): Likewise.
24449 (__DECL_SIMD_expf64x): Likewise.
24450 (__DECL_SIMD_expf128x): Likewise.
24451 (__DECL_SIMD_powf16): Likewise.
24452 (__DECL_SIMD_powf32): Likewise.
24453 (__DECL_SIMD_powf64): Likewise.
24454 (__DECL_SIMD_powf32x): Likewise.
24455 (__DECL_SIMD_powf64x): Likewise.
24456 (__DECL_SIMD_powf128x): Likewise.
24458 * stdlib/Versions (libc): Move entries for wcstof128 and
24459 wcstof128_l to ....
24460 * wcsmbs/Versions (libc): ... here.
24461 Include <float128-abi.h>.
24463 2017-11-24 Florian Weimer <fweimer@redhat.com>
24465 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24466 bits/mman-shared.h.
24467 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24468 <bits/mman-shared.h>.
24469 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24471 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24472 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24473 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24474 <bits/mman-shared.h>.
24476 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24479 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24480 posix_memalign/free.
24481 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24483 2017-11-22 Mike FABIAN <mfabian@redhat.com>
24486 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24487 and implement the collation rules for pl from CLDR on top of that.
24488 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24489 of locales to be built for testing.
24490 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24492 2017-11-23 Joseph Myers <joseph@codesourcery.com>
24494 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24495 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24496 libm_alias_ldouble_other.
24497 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24498 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24499 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24500 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24501 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24502 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24503 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24504 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24505 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24506 libm_alias_ldouble_r.
24507 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24508 libm_alias_ldouble_other.
24509 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24510 (log10l): Likewise.
24511 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24512 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24513 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24514 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24515 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24516 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24517 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24518 (atan2l): Likewise.
24519 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24520 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24521 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24522 libm_alias_ldouble.
24523 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24525 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24526 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24527 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24529 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24530 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24531 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24532 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24533 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24534 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24535 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24536 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24537 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24538 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24539 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24540 libm_alias_ldouble.
24541 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24542 libm_alias_ldouble_other.
24543 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24544 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24545 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24546 libm_alias_ldouble.
24547 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24548 libm_alias_ldouble_other.
24549 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24550 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24551 * sysdeps/ia64/fpu/w_lgammal_main.c
24552 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24553 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24555 2017-11-23 Florian Weimer <fweimer@redhat.com>
24557 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24558 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24559 alike. Remove freeres marker.
24560 * malloc/arena.c (arena_thread_freeres): Call
24561 tcache_thread_shutdown.
24563 2017-11-23 Florian Weimer <fweimer@redhat.com>
24566 Export nscd hash function as __nss_hash.
24567 * include/nss.h (__nss_hash): Declare.
24568 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24570 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24571 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24573 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24574 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24575 * nss/Makefiles (routines): Add nss_hash.
24576 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24577 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24578 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24579 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24581 2017-11-23 Florian Weimer <fweimer@redhat.com>
24584 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24585 Return error code, not -1.
24586 * signal/tst-sigwait-eintr.c: New file.
24587 * signal/Makefile (tests): Add tst-sigwait-eintr.
24589 2017-11-23 Florian Weimer <fweimer@redhat.com>
24591 Linux: Add memfd_create system call wrapper
24592 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24594 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24595 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24596 [__USE_GNU] (memfd_create): Declare.
24597 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24598 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24599 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24600 * sysdeps/unix/sysv/linux/**.abilist: Update.
24601 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24603 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24605 * localedata/gen-locale.sh: Fix typo in variable name.
24607 * resolv/res_debug.c (p_secstodate): Condition definition on
24608 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24609 directly as __p_secstodate, and as a compat symbol. Do not use
24610 libresolv_hidden_def.
24611 * resolv/resolv.h (p_secstodate): Remove macro and function
24613 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24614 using p_secstodate.
24615 * include/resolv.h (__p_secstodate): Do not use
24616 libresolv_hidden_proto.
24617 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24618 (tests-internal): ... here.
24619 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24620 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24621 and declare and use __p_secstodate and use compat_symbol_reference
24623 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24624 implementation returning 77.
24627 * resolv/res_debug.c: Include <libc-diag.h>.
24628 (p_secstodate): Assert time_t at least as wide as u_long. On
24629 overflow, use integer seconds since the epoch as output, or use
24630 "<overflow>" as output and set errno to EOVERFLOW if integer
24631 seconds since the epoch would be 14 or more characters.
24632 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24634 * resolv/tst-p_secstodate.c: New file.
24635 * resolv/Makefile (tests): Add tst-p_secstodate.
24636 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24638 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24639 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24640 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24642 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24644 * posix/regcomp.c (init_word_char): Add comments.
24646 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24649 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24650 strlen to compute length of ut_user and set trailing NUL byte of
24653 2017-11-21 Mike FABIAN <mfabian@redhat.com>
24656 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24657 using “copy "iso14651_t1"” and then implementing the
24658 collation rules for lv from CLDR on top of that.
24659 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24660 of locales to be built for testing.
24661 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24664 2017-11-21 Joseph Myers <joseph@codesourcery.com>
24666 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24667 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24668 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24669 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24670 [__USE_MISC] (MADV_HWPOISON): New macro.
24671 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24673 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24675 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24676 -Wmissing-braces on GCC 4.9.
24678 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24680 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24681 * sysdeps/s390/s390-32/start.S (_start): Likewise
24682 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24683 (thread_start): Likewise.
24684 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24685 (thread_start): Likewise.
24686 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24687 (__makecontext_ret): Likewise.
24688 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24689 (__makecontext_ret): Likewise.
24691 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24693 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24694 __wcschrnul): Remove attribute_hidden.
24696 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24698 regex: don't assume uint64_t or uint32_t
24699 This avoids -Werror=overflow errors for 32-bit systems in
24700 the 64-bit case. Problem reported by Joseph Myers in:
24701 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24702 Also, when this code is used in Gnulib it ports to platforms
24703 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24704 them, and on some 32-bit compilers there is no uint64_t.
24705 Problem reported by Gianluigi Tiesi in:
24706 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24707 * posix/regcomp.c (init_word_char): Don't assume that the types
24708 uint64_t and uint32_t exist. Adapted from Gnulib patch
24709 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24710 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24712 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24714 * sysdeps/aarch64/memset-reg.h: New file.
24715 * sysdeps/aarch64/memset.S: Use it.
24716 (__memset): Rename to MEMSET macro.
24717 [ZVA_MACRO]: Use zva_macro.
24718 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24719 Add memset_generic and memset_falkor.
24720 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24721 (__libc_ifunc_impl_list): Add memset ifuncs.
24722 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24723 local variable zva_size.
24724 * sysdeps/aarch64/multiarch/memset.c: New file.
24725 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24726 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24727 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24728 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24729 (DCZID_DZP_MASK): New macro.
24730 (DCZID_BS_MASK): Likewise.
24731 (init_cpu_features): Read and set zva_size.
24732 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24733 (struct cpu_features): New member zva_size.
24735 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24736 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24737 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24739 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24740 backwards. Fix timing computation.
24741 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24742 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24743 on memset by N at a time. Fix timing computation.
24745 2017-11-20 Florian Weimer <fweimer@redhat.com>
24747 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24748 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24750 2017-11-19 Florian Weimer <fweimer@redhat.com>
24752 manual: Document mprotect
24753 * manual/memory.texi (Memory Protection): New section.
24754 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24755 documentation of PROT_* flags and reference the Memory Protection
24758 2017-11-19 Florian Weimer <fweimer@redhat.com>
24760 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24761 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24762 (Scatter-Gather): ... to here. Remove misleading comment.
24764 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
24766 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24769 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24770 when /proc/<pid>/setgroups does not exist.
24772 2017-11-18 Florian Weimer <fweimer@redhat.com>
24774 * sysdeps/unix/sysv/linux/tst-ttyname.c
24775 (become_root_in_mount_ns): Remove.
24776 (do_in_chroot_1): Call support_enter_mount_namespace.
24777 (do_in_chroot_2): Likewise.
24778 (do_test): Call support_become_root early.
24780 2017-11-18 Florian Weimer <fweimer@redhat.com>
24782 * support/namespace.h (support_enter_mount_namespace): Declare.
24783 * support/support_enter_mount_namespace.c: New file.
24784 * support/Makefile (libsupport-routines): Add
24785 support_enter_mount_namespace.
24787 2017-11-18 Florian Weimer <fweimer@redhat.com>
24789 * support/temp_file.c (support_create_temp_directory): Use
24790 test_dir and do not rely on the presence of the XXXXXX suffix.
24791 * support/temp_file.h (support_create_temp_directory): Update
24793 * support/tst-xreadlink.c (do_test): Adjust.
24794 * support/support_chroot.c (support_chroot_create): Likewise.
24796 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24798 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24800 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24803 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24805 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24806 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24807 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24808 (ceill): Define using libm_alias_ldouble.
24809 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24810 <libm-alias-ldouble.h>.
24811 (copysignl): Define using libm_alias_ldouble.
24812 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24813 (fabsl): Define using libm_alias_ldouble.
24814 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24815 (floorl): Define using libm_alias_ldouble.
24816 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24817 (fmaxl): Define using libm_alias_ldouble.
24818 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24819 (fminl): Define using libm_alias_ldouble.
24820 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24821 (llrintl): Define using libm_alias_ldouble.
24822 (lrintl): Likewise.
24823 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24824 <libm-alias-ldouble.h>.
24825 (nearbyintl): Define using libm_alias_ldouble.
24826 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24827 (truncl): Define using libm_alias_ldouble.
24828 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24829 <libm-alias-ldouble.h>.
24830 (lrintl): Define using libm_alias_ldouble.
24832 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24833 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24834 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24835 (asinhl): Define using libm_alias_ldouble.
24836 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24837 (atanl): Define using libm_alias_ldouble.
24838 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24839 (cbrtl): Define using libm_alias_ldouble.
24840 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24841 (ceill): Define using libm_alias_ldouble.
24842 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24843 (copysignl): Define using libm_alias_ldouble.
24844 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24845 (fabsl): Define using libm_alias_ldouble.
24846 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24847 (floorl): Define using libm_alias_ldouble.
24848 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24849 (fmaxl): Define using libm_alias_ldouble.
24850 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24851 (fminl): Define using libm_alias_ldouble.
24852 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24853 (frexpl): Define using libm_alias_ldouble.
24854 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24855 (llrintl): Define using libm_alias_ldouble.
24856 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24857 (logbl): Define using libm_alias_ldouble.
24858 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24859 (lrintl): Define using libm_alias_ldouble.
24860 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24861 (nearbyintl): Define using libm_alias_ldouble.
24862 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24863 (nextafterl): Define using libm_alias_ldouble.
24864 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24865 (remquol): Define using libm_alias_ldouble.
24866 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24867 (rintl): Define using libm_alias_ldouble.
24868 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24869 (truncl): Define using libm_alias_ldouble.
24870 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24871 (fmaxl): Define using libm_alias_ldouble.
24872 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24873 (fminl): Define using libm_alias_ldouble.
24875 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24876 to C syntax instead of availability and properties of types.
24877 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24878 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24879 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24880 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24881 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24882 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24884 2017-11-17 Florian Weimer <fweimer@redhat.com>
24886 support_become_root: Enable file creation in namespaces.
24887 * support/support_become_root.c (setup_mapping): New function.
24888 (support_become_root): Call it.
24890 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24892 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24895 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24897 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24898 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24900 2017-11-16 Joseph Myers <joseph@codesourcery.com>
24902 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24904 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24907 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24909 * INSTALL: Fix botched up regeneration.
24911 * NEWS: Update sourceare link to https.
24912 * configure.ac: Likewise.
24913 * crypt/md5test-giant.c: Likewise.
24914 * dlfcn/bug-atexit1.c: Likewise.
24915 * dlfcn/bug-atexit2.c: Likewise.
24916 * localedata/README: Likewise.
24917 * malloc/tst-mallocfork.c: Likewise.
24918 * manual/install.texi: Likewise.
24919 * nptl/tst-pthread-getattr.c: Likewise.
24920 * stdio-common/tst-fgets.c: Likewise.
24921 * stdio-common/tst-fwrite.c: Likewise.
24922 * sunrpc/Makefile: Likewise.
24923 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24924 * wcsmbs/tst-mbrtowc2.c: Likewise.
24925 * configure: Regenerate.
24926 * INSTALL: Regenerate.
24928 2017-11-15 Martin Sebor <msebor@redhat.com>
24930 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24931 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24932 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24934 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24937 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24938 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24941 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24942 Defer is_pty check until end of the function.
24943 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24946 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24947 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24948 (ttyname): Likewise.
24949 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24950 (__ttyname_r): Likewise.
24952 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24955 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24957 * manual/terminal.texi (Is It a Terminal):
24958 Mention ENODEV for ttyname and ttyname_r.
24960 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24962 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24963 constant and macro.
24965 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24966 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24967 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24968 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24969 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24970 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24972 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24974 * signal/sigrelse.c (sigrelse): Optimize implementation.
24976 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24977 (__sigpause): Rely on __sigsuspend to implement single thread
24978 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24980 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24982 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24983 kernel version to 4.14.
24985 2017-11-15 Steve Ellcey <sellcey@cavium.com>
24988 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24989 Check if ifname is too long.
24991 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24993 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24995 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24997 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24998 was accidentally lost.
25000 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25002 * localedata/locales/az_IR: Add standard copyright header.
25004 2017-11-15 Florian Weimer <fweimer@redhat.com>
25007 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
25008 not just the top one. Output a new "subheaps" statistic.
25010 2017-11-15 Florian Weimer <fweimer@redhat.com>
25013 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
25014 under the per-arena lock.
25015 * malloc/Makefile (tests): Add tst-malloc_info.
25016 (tst-malloc_info): Link with libpthread.
25017 * malloc/tst-malloc_info.c: New file.
25019 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25022 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
25023 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
25024 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
25025 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
25026 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
25027 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
25028 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
25029 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
25030 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
25031 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
25032 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
25033 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
25034 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
25035 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
25036 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
25037 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
25038 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
25039 (__floating_type): Likewise.
25040 (__real_integer_type): Likewise.
25041 (__complex_integer_type): Likewise.
25042 (__expr_is_real): Likewise.
25043 (__tgmath_real_type_sub): Likewise.
25044 (__tgmath_real_type): Likewise.
25045 (__tgmath_complex_type_sub): Likewise.
25046 (__tgmath_complex_type): Likewise.
25047 (__TGMATH_F128): Likewise.
25048 (__TGMATH_CF128): Likewise.
25049 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
25051 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
25052 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
25054 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
25056 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
25057 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
25058 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
25059 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
25061 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
25062 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
25064 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
25065 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
25066 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
25068 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
25069 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
25070 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
25074 2017-11-14 Joseph Myers <joseph@codesourcery.com>
25076 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
25077 for stpncpy calls for GCC 8.
25078 (test_strncat): Disable -Wstringop-truncation warning for strncat
25079 calls for GCC 8. Disable -Wstringop-overflow= warning for one
25080 strncat call for GCC 7.
25081 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
25083 (test_memcmp): Use memcpy instead of strncpy for calls not copying
25086 * string/bug-strncat1.c: Include <libc-diag.h>.
25087 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
25089 2017-11-13 Claude Paroz <claude@2xlibre.net>
25092 * localedata/locales/aa_DJ: Improved readibility by replacing
25093 <Uxxxx> sequences in the ASCII printable range by their ASCII
25094 character equivalents.
25095 * localedata/locales/aa_ER: Likewise.
25096 * localedata/locales/aa_ER@saaho: Likewise.
25097 * localedata/locales/aa_ET: Likewise.
25098 * localedata/locales/af_ZA: Likewise.
25099 * localedata/locales/agr_PE: Likewise.
25100 * localedata/locales/ak_GH: Likewise.
25101 * localedata/locales/am_ET: Likewise.
25102 * localedata/locales/anp_IN: Likewise.
25103 * localedata/locales/ar_AE: Likewise.
25104 * localedata/locales/ar_BH: Likewise.
25105 * localedata/locales/ar_DZ: Likewise.
25106 * localedata/locales/ar_EG: Likewise.
25107 * localedata/locales/ar_IN: Likewise.
25108 * localedata/locales/ar_IQ: Likewise.
25109 * localedata/locales/ar_JO: Likewise.
25110 * localedata/locales/ar_KW: Likewise.
25111 * localedata/locales/ar_LB: Likewise.
25112 * localedata/locales/ar_LY: Likewise.
25113 * localedata/locales/ar_MA: Likewise.
25114 * localedata/locales/ar_OM: Likewise.
25115 * localedata/locales/ar_QA: Likewise.
25116 * localedata/locales/ar_SA: Likewise.
25117 * localedata/locales/ar_SD: Likewise.
25118 * localedata/locales/ar_SS: Likewise.
25119 * localedata/locales/ar_SY: Likewise.
25120 * localedata/locales/ar_TN: Likewise.
25121 * localedata/locales/ar_YE: Likewise.
25122 * localedata/locales/as_IN: Likewise.
25123 * localedata/locales/ast_ES: Likewise.
25124 * localedata/locales/ayc_PE: Likewise.
25125 * localedata/locales/az_AZ: Likewise.
25126 * localedata/locales/az_IR: Likewise.
25127 * localedata/locales/be_BY: Likewise.
25128 * localedata/locales/be_BY@latin: Likewise.
25129 * localedata/locales/bem_ZM: Likewise.
25130 * localedata/locales/ber_DZ: Likewise.
25131 * localedata/locales/ber_MA: Likewise.
25132 * localedata/locales/bg_BG: Likewise.
25133 * localedata/locales/bhb_IN: Likewise.
25134 * localedata/locales/bho_IN: Likewise.
25135 * localedata/locales/bi_VU: Likewise.
25136 * localedata/locales/bn_BD: Likewise.
25137 * localedata/locales/bn_IN: Likewise.
25138 * localedata/locales/bo_CN: Likewise.
25139 * localedata/locales/bo_IN: Likewise.
25140 * localedata/locales/br_FR: Likewise.
25141 * localedata/locales/brx_IN: Likewise.
25142 * localedata/locales/bs_BA: Likewise.
25143 * localedata/locales/byn_ER: Likewise.
25144 * localedata/locales/ca_AD: Likewise.
25145 * localedata/locales/ca_ES: Likewise.
25146 * localedata/locales/ca_FR: Likewise.
25147 * localedata/locales/ca_IT: Likewise.
25148 * localedata/locales/ce_RU: Likewise.
25149 * localedata/locales/chr_US: Likewise.
25150 * localedata/locales/cmn_TW: Likewise.
25151 * localedata/locales/crh_UA: Likewise.
25152 * localedata/locales/cs_CZ: Likewise.
25153 * localedata/locales/csb_PL: Likewise.
25154 * localedata/locales/cv_RU: Likewise.
25155 * localedata/locales/cy_GB: Likewise.
25156 * localedata/locales/da_DK: Likewise.
25157 * localedata/locales/de_AT: Likewise.
25158 * localedata/locales/de_BE: Likewise.
25159 * localedata/locales/de_CH: Likewise.
25160 * localedata/locales/de_DE: Likewise.
25161 * localedata/locales/de_IT: Likewise.
25162 * localedata/locales/de_LI: Likewise.
25163 * localedata/locales/de_LU: Likewise.
25164 * localedata/locales/doi_IN: Likewise.
25165 * localedata/locales/dv_MV: Likewise.
25166 * localedata/locales/dz_BT: Likewise.
25167 * localedata/locales/el_CY: Likewise.
25168 * localedata/locales/el_GR: Likewise.
25169 * localedata/locales/en_AG: Likewise.
25170 * localedata/locales/en_AU: Likewise.
25171 * localedata/locales/en_BW: Likewise.
25172 * localedata/locales/en_CA: Likewise.
25173 * localedata/locales/en_DK: Likewise.
25174 * localedata/locales/en_GB: Likewise.
25175 * localedata/locales/en_HK: Likewise.
25176 * localedata/locales/en_IE: Likewise.
25177 * localedata/locales/en_IL: Likewise.
25178 * localedata/locales/en_IN: Likewise.
25179 * localedata/locales/en_NG: Likewise.
25180 * localedata/locales/en_NZ: Likewise.
25181 * localedata/locales/en_PH: Likewise.
25182 * localedata/locales/en_SG: Likewise.
25183 * localedata/locales/en_US: Likewise.
25184 * localedata/locales/en_ZA: Likewise.
25185 * localedata/locales/en_ZM: Likewise.
25186 * localedata/locales/en_ZW: Likewise.
25187 * localedata/locales/eo: Likewise.
25188 * localedata/locales/es_AR: Likewise.
25189 * localedata/locales/es_BO: Likewise.
25190 * localedata/locales/es_CL: Likewise.
25191 * localedata/locales/es_CO: Likewise.
25192 * localedata/locales/es_CR: Likewise.
25193 * localedata/locales/es_CU: Likewise.
25194 * localedata/locales/es_DO: Likewise.
25195 * localedata/locales/es_EC: Likewise.
25196 * localedata/locales/es_ES: Likewise.
25197 * localedata/locales/es_GT: Likewise.
25198 * localedata/locales/es_HN: Likewise.
25199 * localedata/locales/es_MX: Likewise.
25200 * localedata/locales/es_NI: Likewise.
25201 * localedata/locales/es_PA: Likewise.
25202 * localedata/locales/es_PE: Likewise.
25203 * localedata/locales/es_PR: Likewise.
25204 * localedata/locales/es_PY: Likewise.
25205 * localedata/locales/es_SV: Likewise.
25206 * localedata/locales/es_US: Likewise.
25207 * localedata/locales/es_UY: Likewise.
25208 * localedata/locales/es_VE: Likewise.
25209 * localedata/locales/et_EE: Likewise.
25210 * localedata/locales/eu_ES: Likewise.
25211 * localedata/locales/eu_ES@euro: Likewise.
25212 * localedata/locales/fa_IR: Likewise.
25213 * localedata/locales/ff_SN: Likewise.
25214 * localedata/locales/fi_FI: Likewise.
25215 * localedata/locales/fil_PH: Likewise.
25216 * localedata/locales/fo_FO: Likewise.
25217 * localedata/locales/fr_BE: Likewise.
25218 * localedata/locales/fr_CA: Likewise.
25219 * localedata/locales/fr_CH: Likewise.
25220 * localedata/locales/fr_FR: Likewise.
25221 * localedata/locales/fr_LU: Likewise.
25222 * localedata/locales/fur_IT: Likewise.
25223 * localedata/locales/fy_DE: Likewise.
25224 * localedata/locales/fy_NL: Likewise.
25225 * localedata/locales/ga_IE: Likewise.
25226 * localedata/locales/gd_GB: Likewise.
25227 * localedata/locales/gez_ER: Likewise.
25228 * localedata/locales/gez_ET: Likewise.
25229 * localedata/locales/gl_ES: Likewise.
25230 * localedata/locales/gu_IN: Likewise.
25231 * localedata/locales/gv_GB: Likewise.
25232 * localedata/locales/ha_NG: Likewise.
25233 * localedata/locales/hak_TW: Likewise.
25234 * localedata/locales/he_IL: Likewise.
25235 * localedata/locales/hi_IN: Likewise.
25236 * localedata/locales/hif_FJ: Likewise.
25237 * localedata/locales/hne_IN: Likewise.
25238 * localedata/locales/hr_HR: Likewise.
25239 * localedata/locales/hsb_DE: Likewise.
25240 * localedata/locales/ht_HT: Likewise.
25241 * localedata/locales/hu_HU: Likewise.
25242 * localedata/locales/hy_AM: Likewise.
25243 * localedata/locales/i18n: Likewise.
25244 * localedata/locales/ia_FR: Likewise.
25245 * localedata/locales/id_ID: Likewise.
25246 * localedata/locales/ig_NG: Likewise.
25247 * localedata/locales/ik_CA: Likewise.
25248 * localedata/locales/is_IS: Likewise.
25249 * localedata/locales/it_CH: Likewise.
25250 * localedata/locales/it_IT: Likewise.
25251 * localedata/locales/iu_CA: Likewise.
25252 * localedata/locales/ja_JP: Likewise.
25253 * localedata/locales/ka_GE: Likewise.
25254 * localedata/locales/kk_KZ: Likewise.
25255 * localedata/locales/kl_GL: Likewise.
25256 * localedata/locales/kn_IN: Likewise.
25257 * localedata/locales/ko_KR: Likewise.
25258 * localedata/locales/kok_IN: Likewise.
25259 * localedata/locales/ks_IN: Likewise.
25260 * localedata/locales/ks_IN@devanagari: Likewise.
25261 * localedata/locales/ku_TR: Likewise.
25262 * localedata/locales/kw_GB: Likewise.
25263 * localedata/locales/ky_KG: Likewise.
25264 * localedata/locales/lb_LU: Likewise.
25265 * localedata/locales/lg_UG: Likewise.
25266 * localedata/locales/li_BE: Likewise.
25267 * localedata/locales/li_NL: Likewise.
25268 * localedata/locales/lij_IT: Likewise.
25269 * localedata/locales/ln_CD: Likewise.
25270 * localedata/locales/lo_LA: Likewise.
25271 * localedata/locales/lt_LT: Likewise.
25272 * localedata/locales/lv_LV: Likewise.
25273 * localedata/locales/lzh_TW: Likewise.
25274 * localedata/locales/mag_IN: Likewise.
25275 * localedata/locales/mai_IN: Likewise.
25276 * localedata/locales/mg_MG: Likewise.
25277 * localedata/locales/mhr_RU: Likewise.
25278 * localedata/locales/mi_NZ: Likewise.
25279 * localedata/locales/mk_MK: Likewise.
25280 * localedata/locales/ml_IN: Likewise.
25281 * localedata/locales/mn_MN: Likewise.
25282 * localedata/locales/mni_IN: Likewise.
25283 * localedata/locales/mr_IN: Likewise.
25284 * localedata/locales/ms_MY: Likewise.
25285 * localedata/locales/mt_MT: Likewise.
25286 * localedata/locales/my_MM: Likewise.
25287 * localedata/locales/nan_TW: Likewise.
25288 * localedata/locales/nan_TW@latin: Likewise.
25289 * localedata/locales/nb_NO: Likewise.
25290 * localedata/locales/nds_DE: Likewise.
25291 * localedata/locales/nds_NL: Likewise.
25292 * localedata/locales/ne_NP: Likewise.
25293 * localedata/locales/nhn_MX: Likewise.
25294 * localedata/locales/niu_NU: Likewise.
25295 * localedata/locales/niu_NZ: Likewise.
25296 * localedata/locales/nl_AW: Likewise.
25297 * localedata/locales/nl_BE: Likewise.
25298 * localedata/locales/nl_NL: Likewise.
25299 * localedata/locales/nn_NO: Likewise.
25300 * localedata/locales/nr_ZA: Likewise.
25301 * localedata/locales/nso_ZA: Likewise.
25302 * localedata/locales/oc_FR: Likewise.
25303 * localedata/locales/om_ET: Likewise.
25304 * localedata/locales/om_KE: Likewise.
25305 * localedata/locales/or_IN: Likewise.
25306 * localedata/locales/os_RU: Likewise.
25307 * localedata/locales/pa_IN: Likewise.
25308 * localedata/locales/pa_PK: Likewise.
25309 * localedata/locales/pap_AW: Likewise.
25310 * localedata/locales/pap_CW: Likewise.
25311 * localedata/locales/pl_PL: Likewise.
25312 * localedata/locales/ps_AF: Likewise.
25313 * localedata/locales/pt_BR: Likewise.
25314 * localedata/locales/pt_PT: Likewise.
25315 * localedata/locales/quz_PE: Likewise.
25316 * localedata/locales/raj_IN: Likewise.
25317 * localedata/locales/ro_RO: Likewise.
25318 * localedata/locales/ru_RU: Likewise.
25319 * localedata/locales/ru_UA: Likewise.
25320 * localedata/locales/rw_RW: Likewise.
25321 * localedata/locales/sa_IN: Likewise.
25322 * localedata/locales/sat_IN: Likewise.
25323 * localedata/locales/sc_IT: Likewise.
25324 * localedata/locales/sd_IN: Likewise.
25325 * localedata/locales/sd_IN@devanagari: Likewise.
25326 * localedata/locales/se_NO: Likewise.
25327 * localedata/locales/sgs_LT: Likewise.
25328 * localedata/locales/shs_CA: Likewise.
25329 * localedata/locales/si_LK: Likewise.
25330 * localedata/locales/sid_ET: Likewise.
25331 * localedata/locales/sk_SK: Likewise.
25332 * localedata/locales/sl_SI: Likewise.
25333 * localedata/locales/sm_WS: Likewise.
25334 * localedata/locales/so_DJ: Likewise.
25335 * localedata/locales/so_ET: Likewise.
25336 * localedata/locales/so_KE: Likewise.
25337 * localedata/locales/so_SO: Likewise.
25338 * localedata/locales/sq_AL: Likewise.
25339 * localedata/locales/sq_MK: Likewise.
25340 * localedata/locales/sr_ME: Likewise.
25341 * localedata/locales/sr_RS: Likewise.
25342 * localedata/locales/sr_RS@latin: Likewise.
25343 * localedata/locales/ss_ZA: Likewise.
25344 * localedata/locales/st_ZA: Likewise.
25345 * localedata/locales/sv_FI: Likewise.
25346 * localedata/locales/sv_SE: Likewise.
25347 * localedata/locales/sw_KE: Likewise.
25348 * localedata/locales/sw_TZ: Likewise.
25349 * localedata/locales/szl_PL: Likewise.
25350 * localedata/locales/ta_IN: Likewise.
25351 * localedata/locales/ta_LK: Likewise.
25352 * localedata/locales/tcy_IN: Likewise.
25353 * localedata/locales/te_IN: Likewise.
25354 * localedata/locales/tg_TJ: Likewise.
25355 * localedata/locales/th_TH: Likewise.
25356 * localedata/locales/the_NP: Likewise.
25357 * localedata/locales/ti_ER: Likewise.
25358 * localedata/locales/ti_ET: Likewise.
25359 * localedata/locales/tig_ER: Likewise.
25360 * localedata/locales/tk_TM: Likewise.
25361 * localedata/locales/tl_PH: Likewise.
25362 * localedata/locales/tn_ZA: Likewise.
25363 * localedata/locales/to_TO: Likewise.
25364 * localedata/locales/tpi_PG: Likewise.
25365 * localedata/locales/tr_CY: Likewise.
25366 * localedata/locales/tr_TR: Likewise.
25367 * localedata/locales/ts_ZA: Likewise.
25368 * localedata/locales/tt_RU: Likewise.
25369 * localedata/locales/tt_RU@iqtelif: Likewise.
25370 * localedata/locales/ug_CN: Likewise.
25371 * localedata/locales/uk_UA: Likewise.
25372 * localedata/locales/unm_US: Likewise.
25373 * localedata/locales/ur_IN: Likewise.
25374 * localedata/locales/ur_PK: Likewise.
25375 * localedata/locales/uz_UZ: Likewise.
25376 * localedata/locales/uz_UZ@cyrillic: Likewise.
25377 * localedata/locales/ve_ZA: Likewise.
25378 * localedata/locales/vi_VN: Likewise.
25379 * localedata/locales/wa_BE: Likewise.
25380 * localedata/locales/wae_CH: Likewise.
25381 * localedata/locales/wal_ET: Likewise.
25382 * localedata/locales/wo_SN: Likewise.
25383 * localedata/locales/xh_ZA: Likewise.
25384 * localedata/locales/yi_US: Likewise.
25385 * localedata/locales/yo_NG: Likewise.
25386 * localedata/locales/yue_HK: Likewise.
25387 * localedata/locales/yuw_PG: Likewise.
25388 * localedata/locales/zh_CN: Likewise.
25389 * localedata/locales/zh_HK: Likewise.
25390 * localedata/locales/zh_SG: Likewise.
25391 * localedata/locales/zh_TW: Likewise.
25392 * localedata/locales/zu_ZA: Likewise.
25394 2017-11-13 Florian Weimer <fweimer@redhat.com>
25396 * support/next_to_fault.h, support/next_to_fault.c: New files.
25397 * support/Makefile (libsupport-routines): Add next_to_fault.
25398 * resolv/tst-inet_pton.c (struct next_to_fault)
25399 (next_to_fault_allocate, next_to_fault_free): Remove.
25400 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25402 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25404 * elf/dl-support.c: Include <dl-procruntime.c>.
25405 * include/link.h: Include <link_map.h>.
25406 * sysdeps/generic/dl-procruntime.c: New file.
25407 * sysdeps/generic/link_map.h: Likewise.
25408 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25409 the writable ld.so namespace.
25411 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25413 timezone: pacify GCC -Wstringop-truncation
25414 Problem reported by Martin Sebor in:
25415 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25416 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25418 2017-11-12 Florian Weimer <fweimer@redhat.com>
25420 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25422 (tests): Add tst-xreadlink.
25423 * support/support.h (xstrndup): Declare.
25424 * support/xunistd.h (xunlink, xreadlink): Declare.
25425 * support/temp_file.h (support_create_temp_directory): Declare.
25426 * support/temp_file.c (support_create_temp_directory): New function.
25427 * support/support_chroot.c (support_chroot_create): Use it.
25428 * support/xreadlink.c: New file.
25429 * support/xstrndup.c: Likewise.
25430 * support/xunlink.c: Likewise.
25431 * support/tst-xreadlink.c: Likewise.
25433 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
25435 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25437 2017-11-11 Florian Weimer <fweimer@redhat.com>
25441 * resolv/res_comp.c (printable_string, binary_hnok)
25442 (binary_leading_dash): New functions.
25443 (res_hnok): Reimplement using these functions and ns_name_pton.
25444 (res_ownok): Likewise.
25445 (res_mailok): Reimplement using printable_string, ns_name_pton and
25447 (res_dnok): Reimplement using printable_string and ns_name_pton.
25448 * resolv/tst-res_hnok.c (tests): Add additional tests.
25449 (LETTERDIGITS, PRINTABLE): Define.
25450 (do_test): Adjust one_char results.
25452 2017-11-11 Florian Weimer <fweimer@redhat.com>
25455 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25456 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25458 2017-11-11 Florian Weimer <fweimer@redhat.com>
25460 * resolv/tst-ns_name_pton.c: New file.
25461 * resolv/Makefile (tests): Add tst-ns_name_pton.
25462 (tst-ns_name_pton): Link against libresolv.
25464 2017-11-11 Florian Weimer <fweimer@redhat.com>
25466 * resolv/tst-res_hnok.c: New file.
25467 * resolv/Makefile (tests): Add tst-res_hnok.
25468 (tst-res_hnok): Link against libresolv.
25470 2017-11-11 Florian Weimer <fweimer@redhat.com>
25472 * resolv/tst-resolv-network.c: Use test framework instead explicit
25475 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25477 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25478 <jmp_buf-macros.h>.
25479 [!_ISOMAC] (STR_HELPER): New.
25480 [!_ISOMAC] (STR): Likewise.
25481 [!_ISOMAC] (TEST_SIZE): Likewise.
25482 [!_ISOMAC] (TEST_ALIGN): Likewise.
25483 [!_ISOMAC] (TEST_OFFSET): Likewise.
25484 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25485 field offsets of jmp_buf as well as sigjmp_buf.
25486 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25487 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25488 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25489 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25490 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25491 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25492 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25493 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25494 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25495 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25497 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25499 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25504 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25505 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25506 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25507 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25508 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25513 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25514 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25515 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25517 2017-11-07 Joseph Myers <joseph@codesourcery.com>
25520 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25521 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25522 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25523 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25524 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25525 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25526 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25527 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25528 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25529 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25530 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25531 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25532 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25533 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25534 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25535 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25536 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25537 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25538 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25539 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25540 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25541 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25542 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25543 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25544 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25545 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25546 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25547 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25548 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25549 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25550 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25551 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25552 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25553 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25554 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25555 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25556 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25557 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25558 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25559 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25560 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25561 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25562 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25563 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25564 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25565 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25566 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25567 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25568 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25569 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25570 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25571 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25572 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25573 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25574 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25575 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25576 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25577 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25578 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25579 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25580 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25581 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25582 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25583 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25584 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25585 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25586 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25587 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25588 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25589 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25590 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25591 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25592 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25593 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25594 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25595 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25596 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25597 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25598 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25599 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25600 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25601 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25602 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25603 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25604 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25605 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25606 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25607 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25609 * stdlib/tst-strtod.h (F16): New macro.
25615 (IF_FLOAT16): Likewise.
25616 (IF_FLOAT32): Likewise.
25617 (IF_FLOAT64): Likewise.
25618 (IF_FLOAT32X): Likewise.
25619 (IF_FLOAT64X): Likewise.
25620 (IF_FLOAT128X): Likewise.
25621 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25622 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25623 (STRTOD_TEST_FOREACH): Likewise.
25624 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25625 (CHOOSE_f64): Likewise.
25626 (CHOOSE_f32x): Likewise.
25627 (CHOOSE_f64x): Likewise.
25629 2017-11-07 Andreas Schwab <schwab@suse.de>
25631 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25633 2017-11-07 Mike FABIAN <mfabian@redhat.com>
25636 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25638 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25641 2017-11-07 Claude Paroz <claude@2xlibre.net>
25644 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25646 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25648 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25651 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25654 * nptl/allocatestack.c (allocate_stack): Check if
25655 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25656 __PTHREAD_MUTEX_HAVE_PREV is defined.
25657 * nptl/descr.h (pthread): Likewise.
25658 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25660 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25661 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25662 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25663 * sysdeps/nptl/bits/thread-shared-types.h
25664 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25666 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25667 of __WORDSIZE for internal layout.
25668 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25669 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25670 instead of __WORDSIZE whether to use an union for __spins and __list
25672 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25674 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25675 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25677 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25678 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25680 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25681 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25683 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25684 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25686 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25687 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25689 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25690 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25692 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25693 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25695 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25696 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25698 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25699 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25701 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25702 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25704 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25705 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25707 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25708 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25710 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25711 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25713 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25714 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25716 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25717 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25720 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25722 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25723 checks for expected input type size.
25724 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25725 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25727 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25728 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25729 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25730 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25731 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25732 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25733 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25734 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25735 superflous runtime assert check.
25736 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25738 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25740 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25742 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25744 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25746 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25748 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25749 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25750 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25752 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25754 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25756 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25758 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25760 * nptl/pthread_attr_setinheritsched.c
25761 (__pthread_attr_setinheritsched): Likewise.
25762 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25764 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25766 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25767 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25768 __old_pthread_attr_setstack): Likewise.
25769 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25771 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25773 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25775 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25776 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25778 * nptl/tst-typesizes.c: Remove file.
25780 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25781 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25782 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25783 checks for internal pthread_mutex_t offsets.
25784 * sysdeps/aarch64/nptl/pthread-offsets.h
25785 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25786 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25787 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25788 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25789 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25790 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25791 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25792 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25793 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25794 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25795 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25796 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25797 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25798 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25799 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25800 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25801 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25802 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25804 2017-11-07 Florian Weimer <fweimer@redhat.com>
25806 * bits/mman-linux.h: Move ...
25807 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25809 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25812 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25814 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25815 Redefine STRNLEN as __strnlen_power8.
25817 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25819 * signal/sighold.c (sighold): Optimize implementation.
25821 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25822 __NR_rt_sigqueueinfo.
25824 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25826 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25827 assume __NR_rt_sigtimedwait.
25828 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25829 and add LIBC_CANCEL_HANDLED for cancellation marking.
25830 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25832 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25833 (sysdeps_routines): Add memchr_noneon.
25834 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25835 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25836 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25837 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25838 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25839 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25840 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25842 * sysdeps/arm/arm-ifunc.h: New file.
25843 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25844 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25845 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25846 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25847 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25848 (__memcpy_neon): Avoid create hidden alias.
25849 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25850 (__memcpy_vfp): Likewise.
25851 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25852 (sysdep_routines): Add memcpy_arm.
25853 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25855 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25858 * Makerules (make-link-multidir): New.
25859 * config.make.in (multidir): New.
25860 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25861 * configure: Regenerated.
25862 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25863 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25864 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25867 2017-11-06 Joseph Myers <joseph@codesourcery.com>
25870 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25871 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25873 2017-11-04 Mike FABIAN <mfabian@redhat.com>
25875 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25878 2017-11-04 Florian Weimer <fweimer@redhat.com>
25880 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25882 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25884 * math/math.h [__HAVE_DISTINCT_FLOAT16
25885 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25886 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25887 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25888 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25889 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25890 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25891 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25892 (__MATH_TG_F32): New macro.
25893 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25894 (__MATH_TG_F64X): Likewise.
25895 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25896 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25898 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25900 * po/de.po: Update translations.
25901 * po/ru.po: Likewise.
25903 2017-11-03 Florian Weimer <fweimer@redhat.com>
25905 * manual/filesys.texi (Hard Links): Document linkat.
25907 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25909 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25910 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25911 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25912 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25913 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25914 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25915 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25916 the same as _Float128.
25917 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25918 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25919 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25922 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25924 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25926 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25928 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25929 (strtof32x): Likewise.
25930 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25931 (strtof64x): Likewise.
25932 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25933 (strtof128x): Likewise.
25934 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25935 (strfromf16): Likewise.
25936 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25937 (strfromf32): Likewise.
25938 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25939 (strfromf64): Likewise.
25940 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25941 (strfromf32x): Likewise.
25942 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25943 (strfromf64x): Likewise.
25944 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25945 (strfromf128x): Likewise.
25946 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25947 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25948 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25949 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25950 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25951 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25953 2017-11-03 Richard Henderson <rth@twiddle.net>
25955 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25957 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25959 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25961 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25963 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25964 DT_TLSDESC_GOT initialization.
25965 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25966 (_dl_tlsdesc_resolve_hold): Likewise.
25967 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25968 (_dl_tlsdesc_resolve_hold): Likewise.
25969 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25970 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25972 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25974 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25976 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25979 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25980 non-lazily for R_ARM_TLS_DESC.
25982 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25985 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25986 R_ARM_TLS_DESC case.
25987 (elf_machine_lazy_rel): Remove the prelink check.
25989 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25991 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25992 DT_TLSDESC_GOT initialization.
25993 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25994 (_dl_tlsdesc_resolve_rela): Likewise.
25995 (_dl_tlsdesc_resolve_hold): Likewise.
25996 (_dl_tlsdesc_undefweak): Remove ldar.
25997 (_dl_tlsdesc_dynamic): Likewise.
25998 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25999 (_dl_tlsdesc_resolve_rela): Likewise.
26000 (_dl_tlsdesc_resolve_hold): Likewise.
26001 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
26002 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26003 (_dl_tlsdesc_resolve_rela): Likewise.
26004 (_dl_tlsdesc_resolve_hold): Likewise.
26006 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26008 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
26009 binding and initialization non-lazily for R_AARCH64_TLSDESC.
26011 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26013 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
26014 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26016 2017-11-02 Joseph Myers <joseph@codesourcery.com>
26018 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
26020 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
26021 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
26022 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
26023 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
26024 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
26025 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
26026 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
26027 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
26028 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
26029 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
26030 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
26032 2017-11-02 Mike FABIAN <mfabian@redhat.com>
26035 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
26036 * localedata/locales/tpi_PG: Add standard header.
26038 2017-11-02 Florian Weimer <fweimer@redhat.com>
26040 test-errno-linux: quotactl can fail with EPERM in containers.
26041 * sysdeps/unix/sysv/linux/test-errno-linux.c
26042 (LIST, LIST_FORWARD): New macros.
26043 (check_error_in_list): New function.
26044 (test_wrp_rv): Accept list of permitted error codes.
26045 (test_wrp_rv2): Remove.
26046 (test_wrp): Call test_wrp_rv with list of error codes.
26047 (test_wrp2): Accept list of error codes.
26048 (do_test): Adjust. Allow EPERM for quotactl.
26050 2017-11-02 Florian Weimer <fweimer@redhat.com>
26052 * stdio-common/bug16.c (do_test): Use array_length.
26053 * stdio-common/errlist.c (_sys_nerr): Likewise.
26054 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
26055 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
26056 * stdio-common/psiginfo.c (psiginfo): Use array_length.
26057 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
26058 (do_test): Use array_length.
26059 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
26060 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
26061 * stdio-common/tst-printf-round.c (do_test): Likewise.
26062 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
26063 (CHECK): Use array_length.
26064 * stdio-common/tstdiomisc.c (t3, F): Likewise.
26065 * stdio-common/tstscanf.c (main): Likewise.
26066 * stdio-common/vfprintf.c (process_string_arg): Likewise.
26068 2017-11-02 Florian Weimer <fweimer@redhat.com>
26070 Add array_length and array_end macros.
26071 * include/array_length.h: New file.
26073 2017-11-02 Florian Weimer <fweimer@redhat.com>
26076 * posix/tst-glob-tilde.c (do_noescape): New variable.
26077 (one_test): Process it.
26078 (do_test): Set do_noescape. Add unescaping test case.
26080 2017-11-01 Joseph Myers <joseph@codesourcery.com>
26083 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
26084 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
26085 with appropriate macros defined and undefined.
26086 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
26087 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26088 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
26089 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26090 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
26091 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26092 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
26093 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26094 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
26095 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26098 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
26099 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
26100 that for long double. Do not condition define and undefine of
26101 _Mdouble_complex_ on [__CFLOAT128].
26103 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
26105 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26106 of <sysdeps/generic/sysdep.h>.
26107 (ALIGNARG): Removed.
26108 (ASM_SIZE_DIRECTIVE): Likewise.
26111 (ENTRY_CHK): Likewise.
26112 (END_CHK): Likewise.
26113 (syscall_error): Likewise.
26114 (mcount): Likewise.
26115 (PSEUDO_END): Likewise.
26117 (atom_text_section): Likewise.
26118 * sysdeps/x86/sysdep.h: New file.
26119 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26120 of <sysdeps/generic/sysdep.h>.
26121 (ALIGNARG): Removed.
26122 (ASM_SIZE_DIRECTIVE): Likewise.
26125 (ENTRY_CHK): Likewise.
26126 (END_CHK): Likewise.
26127 (syscall_error): Likewise.
26128 (mcount): Likewise.
26129 (PSEUDO_END): Likewise.
26131 (atom_text_section): Likewise.
26133 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
26135 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
26136 category of LC_CTYPE set to "i18n:2012".
26137 * localedata/locales/i18n_ctype: Regenerate.
26139 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
26141 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
26142 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
26143 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26144 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26146 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
26147 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
26148 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
26149 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
26151 2017-10-31 Joseph Myers <joseph@codesourcery.com>
26154 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
26156 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
26158 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
26160 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26161 (CMPLXF32X): Likewise.
26162 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26163 (CMPLXF64X): Likewise.
26164 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26165 (CMPLXF128X): Likewise.
26168 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
26169 (__MATH_EVAL_FMT2): Define to add 0.0f.
26171 2017-10-31 Alan Modra <amodra@gmail.com>
26173 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
26175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
26176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
26177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
26178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
26179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
26180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
26181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
26182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
26183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
26184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
26185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
26186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
26187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
26188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
26189 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
26190 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
26191 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
26192 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
26193 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
26194 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
26195 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
26196 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
26197 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
26198 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
26199 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26200 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
26201 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
26202 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
26203 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
26204 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
26205 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26206 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26207 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
26208 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
26209 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
26210 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
26211 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
26212 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
26213 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
26214 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26215 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
26216 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
26217 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
26218 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
26219 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
26220 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
26221 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
26222 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
26223 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26224 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26225 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
26226 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
26227 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
26228 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
26229 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26230 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
26231 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
26232 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
26233 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26234 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26235 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26236 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
26237 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
26238 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26239 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
26240 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
26241 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
26242 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
26243 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
26245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
26246 include sysdep.h and math_ldbl_opt.h.
26248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
26249 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
26250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
26251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
26252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
26253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
26254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
26255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
26256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
26257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
26258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
26259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
26260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
26261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
26262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
26263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
26264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
26265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
26266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
26267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
26268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
26269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
26270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
26271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
26272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
26273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
26275 2017-10-31 Alan Modra <amodra@gmail.com>
26277 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
26278 string/strncase_l.c, not string/strncase.c.
26279 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
26280 (libc_hidden_def): Redefine.
26282 2017-10-31 Alan Modra <amodra@gmail.com>
26284 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
26285 (__STRCMP, STRCMP, __strcasecmp_l): Define.
26286 (__strcasecmp): Don't define.
26288 2017-10-31 Alan Modra <amodra@gmail.com>
26290 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
26292 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26293 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26294 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26296 2017-10-31 Alan Modra <amodra@gmail.com>
26298 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
26301 2017-10-31 Alan Modra <amodra@gmail.com>
26303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
26304 Redefine only when SHARED.
26306 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26308 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26309 Include <bits/math-finite.h> with appropriate macros defined and
26311 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26312 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26313 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26314 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26315 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26317 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26318 [!_Mlong_double_] (_Mlong_double_): Likewise.
26319 [!_Mfloat16_] (_Mfloat16_): Likewise.
26320 [!_Mfloat32_] (_Mfloat32_): Likewise.
26321 [!_Mfloat64_] (_Mfloat64_): Likewise.
26322 [!_Mfloat128_] (_Mfloat128_): Likewise.
26323 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26324 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26325 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26326 (_Mdouble_): Define without indirection through those macros.
26327 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26328 [!_Mfloat128_] (_Mfloat128_): Likewise.
26329 [_Mlong_double_] (_Mlong_double_): Likewise.
26330 (_Mdouble_): Define without indirection through those macros.
26331 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26332 not add -D_Mlong_double_=double.
26333 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26334 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26336 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26338 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26340 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26342 * sysdeps/x86/libc-start.c: Reformat.
26344 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26347 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26348 (1): Renamed to ...
26351 (L(Src2)): Likewise.
26352 (L(1)): Renamed to ...
26355 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26357 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26358 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26359 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26360 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26361 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26362 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26363 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26364 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26365 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26366 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26367 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26368 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26369 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26370 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26371 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26372 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26373 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26374 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26375 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26376 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26377 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26378 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26379 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26380 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26381 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26382 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26383 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26384 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26385 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26386 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26387 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26388 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26389 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26390 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26391 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26392 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26393 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26394 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26395 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26396 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26397 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26398 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26399 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26400 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26401 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26402 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26403 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26404 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26405 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26406 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26407 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26408 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26409 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26410 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26411 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26412 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26413 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26414 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26415 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26416 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26417 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26418 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26419 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26420 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26421 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26422 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26424 2017-10-30 Florian Weimer <fweimer@redhat.com>
26426 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26428 * io/tst-mkdirat.c (do_test): Likewise.
26429 * io/tst-mkfifoat.c (do_test): Likewise.
26430 * io/tst-mknodat.c (do_test): Likewise.
26431 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26432 * locale/programs/locale.c (select_dirs): Likewise.
26433 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26434 * posix/bug-glob2.c (my_readdir): Likewise.
26435 * posix/tst-dir.c (main): Likewise.
26436 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26437 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26439 2017-10-30 Florian Weimer <fweimer@redhat.com>
26441 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26444 2017-10-30 Florian Weimer <fweimer@redhat.com>
26446 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26447 Convert to support/test-driver.c.
26448 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26449 New macro parameters.
26450 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26451 * posix/tst-gnuglob.c: New file.
26452 * posix/tst-gnuglob64.c: Likewise.
26453 * posix/Makefile (tests): Add tst-gnuglob64.
26455 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
26458 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26459 and use a better translation for March in “mon”.
26460 * localedata/locales/csb_PL: Use more ASCII to improve the
26461 readability of the source.
26463 2017-10-30 Mike FABIAN <mfabian@redhat.com>
26466 * localedata/locales/km_KH: Use ASCII as much
26467 as possible for better readability of the source and
26468 remove useless comments.
26469 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26470 was commented out and apparently wrong anyway because it was
26471 using Lao characters. If Buddhist era should be used
26472 for km_KH, a native speaker should write the correct formaat
26474 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26475 (According to CLDR, the first weekday for Cambodia is Sunday).
26476 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26477 (These were using Lao characters which must be wrong. If we get
26478 the correct data from a native speaker, we could add it back, until
26479 then it is better not to have name_mr and name_mrs at all than
26482 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26484 * locale/loadlocale.c: Correct size of
26485 _nl_value_type_LC_<category> arrays.
26487 2017-10-27 Joseph Myers <joseph@codesourcery.com>
26489 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26490 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26491 with appropriate macros defined and undefined.
26492 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26493 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26494 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26495 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26496 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26498 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26500 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26503 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26505 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26506 with lowercase letters to make it agree with CLDR.
26508 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26511 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26512 first letters of yesstr and nostr in yesexpr and noexpr,
26513 not for the full words.
26514 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26515 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26516 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26517 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26518 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26519 first letters of yesstr and nostr in yesexpr and noexpr,
26520 until now only English was matched in yesexpr and noexpr.
26521 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26522 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26523 fil but not for tl. As tl and fil are very similar, using fil
26524 is probably better than using English.
26526 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
26529 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26530 in yesstr and nostr.
26532 2017-10-26 Joseph Myers <joseph@codesourcery.com>
26534 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26535 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26536 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26538 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26540 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26542 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26544 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26545 (SNANF128X): Likewise.
26547 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26548 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26549 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26550 (HUGE_VAL_F32): Likewise.
26551 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26552 (HUGE_VAL_F64): Likewise.
26553 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26554 (HUGE_VAL_F32X): Likewise.
26555 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26556 (HUGE_VAL_F64X): Likewise.
26557 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26558 (HUGE_VAL_F128X): Likewise.
26560 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26562 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26563 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26564 for the br_FR locale.
26566 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26569 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26571 2017-10-25 Carlos O'Donell <carlos@redhat.com>
26573 * locale/programs/record-status.h: Define globals, and function
26574 prototypes. Move function bodies...
26575 * locale/programs/record-status.c: ... to here. New file.
26576 * iconv/Makefile (iconv_prog-modules): Add record-status.
26577 * locale/Makefile (lib-modules): Likewise.
26578 * iconv/iconv_prog.c: Remove verbose.
26579 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26580 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26581 record a warning about ASCII compatibility.
26582 * locale/programs/ld-monetary.c (monetary_finish): If
26583 warn_int_curr_symbol is true then record a warning about the symbol
26584 not being in our ISO 4217 list.
26585 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26586 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26587 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26588 (OPT_NO_WARN): Define.
26589 (OPT_WARN): Define.
26590 (options): Add entry for --no-warnings, and --warnings.
26591 (set_warnings): New function to enable/disable warnings.
26592 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26593 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26594 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26595 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26596 Pass flags to generate_locale.
26597 (generate_locale): Accept new flag argument and pass it to localedef
26599 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26600 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26602 * localedata/Makefile (test-input-data): Use full file name.
26603 * localedata/da_DK.in: Rename to...
26604 * localedata/da_DK.ISO-8859-1.in: ...this.
26605 * localedata/de_DE.in: Rename to...
26606 * localedata/de_DE.ISO-8859-1.in: ...this.
26607 * localedata/en_US.in: Rename to...
26608 * localedata/en_US.ISO-8859-1.in: ...this.
26609 * localedata/fr_FR.in: Rename to...
26610 * localedata/fr_FR.UTF-8.in: ... this.
26611 * localedata/hr_HR.in: Rename to...
26612 * localedata/hr_HR.ISO-8859-2.in: ...this.
26613 * localedata/hu_HU.in: Rename to...
26614 * localedata/hu_HU.UTF-8.in: ...this.
26615 * localedata/si_LK.in: Rename to...
26616 * localedata/si_LK.UTF-8.in: ...this.
26617 * localedata/sv_SE.in: Rename to...
26618 * localedata/sv_SE.ISO-8859-1.in: ...this.
26619 * localedata/tr_TR.in: Rename to...
26620 * localedata/tr_TR.UTF-8.in: ...this.
26621 * localedata/uk_UA.in: Rename to...
26622 * localedata/uk_UA.UTF-8.in: ...this.
26623 * localedata/sort-test.sh: Test file is locale name with the
26626 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26627 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26629 * localedata/locales/i18n_ctype: Regenerate.
26630 * localedata/locales/tr_TR: Likewise.
26631 * localedata/locales/translit_circle: Likewise.
26632 * localedata/locales/translit_cjk_compat: Likewise.
26633 * localedata/locales/translit_combining: Likewise.
26634 * localedata/locales/translit_compat: Likewise.
26635 * localedata/locales/translit_font: Likewise.
26636 * localedata/locales/translit_fraction: Likewise.
26638 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26640 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26641 lxvd2x/stxvd2x with lvx/stvx.
26642 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26644 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26646 * include/alloc_buffer.h: Replace "if if " with "if " in
26648 * sysdeps/mips/memcpy.S: Likkewise.
26649 * sysdeps/mips/memset.S: Likewise.
26650 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26652 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26654 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26657 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26660 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26661 yesexpr and noexpr.
26662 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26663 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26664 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26665 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26666 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26667 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26668 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26670 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26672 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26673 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26674 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26675 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26676 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26677 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26678 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26679 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26680 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26681 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26682 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26683 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26685 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26687 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26688 as possible for better readability of the source.
26689 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26690 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26691 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26692 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26693 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26694 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26695 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26696 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26697 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26698 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26699 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26700 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26701 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26702 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26703 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26704 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26705 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26706 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26707 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26708 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26709 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26710 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26711 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26712 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26713 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26714 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26715 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26716 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26717 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26718 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26719 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26720 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26721 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26722 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26723 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26724 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26725 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26726 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26727 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26728 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26729 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26730 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26731 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26732 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26733 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26734 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26735 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26736 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26737 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26738 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26739 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26740 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26741 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26742 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26743 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26744 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26745 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26746 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26747 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26748 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26749 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26750 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26751 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26752 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26753 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26754 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26755 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26756 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26757 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26758 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26759 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26760 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26761 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26762 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26763 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26764 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26765 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26766 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26767 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26768 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26769 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26770 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26771 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26772 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26773 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26774 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26775 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26776 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26777 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26778 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26779 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26780 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26781 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26782 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26783 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26784 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26785 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26786 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26787 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26788 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26789 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26790 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26791 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26792 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26793 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26794 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26795 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26796 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26797 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26798 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26799 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26800 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26801 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26802 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26803 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26804 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26805 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26806 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26807 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26808 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26809 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26810 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26811 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26812 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26813 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26814 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26815 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26816 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26817 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26818 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26819 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26820 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26821 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26822 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26823 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26824 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26825 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26826 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26827 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26828 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26829 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26830 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26831 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26832 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26833 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26834 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26835 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26836 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26837 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26838 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26839 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26840 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26841 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26842 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26843 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26844 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26845 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26846 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26847 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26848 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26849 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26850 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26851 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26852 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26853 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26854 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26855 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26856 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26857 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26858 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26859 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26860 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26861 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26862 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26864 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26866 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26867 (Use first letters of yesstr and nostr correctly instead of using
26870 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26872 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26873 (Use first letters of yesstr and nostr correctly).
26875 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26877 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26878 also check for the first characters of yesstr and nostr.
26879 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26880 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26882 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26884 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26885 also check for Chinese characters.
26887 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26889 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26890 match also for the contents of yesstr and nostr. As the first letter
26891 of yesstr and nostr is equal, checking only for the first letter
26894 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26896 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26897 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26899 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26901 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26902 of main contributor.
26904 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26906 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26907 instead of using English.
26909 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26911 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26912 by including the first letters of nostr and yesexpr in the regexp.
26913 Also make it more readable by using ASCII where possible.
26915 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26917 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26918 the first letter of nostr in the regexp. It agrees with CLDR now.
26919 Also make it more readable by using ASCII where possible.
26921 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26923 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26924 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26925 these strings contain a U+17D6 (which somewhat looks like a colon)
26926 instead of a real colon to separate the full words for “yes”
26927 and “no” from the single letter responses.
26929 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26931 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26932 it agree with CLDR (include the first letter of yesstr).
26933 Also make it more readable by using ASCII where possible.
26935 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26937 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26938 and improve yesexpr and noexpr. The yesstr and nostr apparently
26939 came from CLDR. And CLDR has a bug there: these strings contain
26940 a U+0903 (which looks like a colon) instead of a real colon
26941 to separate the full words for “yes” and “no” from the single
26944 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26946 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26947 letters of the full yesstr and nostr in yesexpr and noexpr.
26949 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26951 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26952 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26953 * localedata/locales/an_ES: Make source more readable by using ASCII
26956 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26959 * localedata/locales/yuw_PG: New file.
26960 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26961 * locale/iso-639.def: Add Yau (Uruwa).
26963 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26965 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26967 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26969 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26970 (__libc_realloc): Likewise.
26971 (_mid_memalign): Likewise.
26972 (__libc_calloc): Likewise.
26974 2017-10-23 Mike FABIAN <mfabian@redhat.com>
26976 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26977 by adding the generic +1 and -0 as in all other locales.
26978 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26979 day names and make it more readable by using ASCII where possible.
26981 2017-10-24 Joseph Myers <joseph@codesourcery.com>
26983 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26984 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26986 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26988 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26989 WNOHANG in waitpid call.
26991 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26993 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26994 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26996 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26997 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26998 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26999 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
27000 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
27001 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
27002 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
27003 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
27006 2017-10-23 Michael Collison <michael.collison@arm.com>
27008 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
27009 with __builtin_sqrt.
27010 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
27011 with __builtin_sqrtf.
27012 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
27013 with __builtin_ceil.
27014 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
27015 with __builtin_ceilf.
27016 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
27017 with __builtin_floor.
27018 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
27019 with __builtin_floorf.
27020 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
27021 with __builtin_fma.
27022 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
27023 with __builtin_fmaf.
27024 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
27025 with __builtin_fmax.
27026 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
27027 with __builtin_fmaxf.
27028 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
27029 with __builtin_fmin.
27030 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
27031 with __builtin_fminf.
27032 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
27033 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
27034 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
27035 with builtin_rint and conversion to int.
27036 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
27037 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
27038 with builtin_llround.
27039 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
27040 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
27041 with builtin_rint and conversion to long int.
27042 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
27043 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
27044 with builtin_lround.
27045 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
27046 with builtin_lroundf.
27047 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
27048 statements with __builtin_nearbyint.
27049 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
27050 statements with __builtin_nearbyintf.
27051 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
27052 with __builtin_rint.
27053 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
27054 with __builtin_rintf.
27055 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
27056 with __builtin_round.
27057 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
27058 with __builtin_roundf.
27059 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
27060 with __builtin_trunc.
27061 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
27062 with __builtin_truncf.
27063 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
27064 and s_l[l]round[f].c too.
27066 2017-10-23 Alan Modra <amodra@gmail.com>
27068 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
27069 Adjust stack after restoring regs. Add missing LR cfi_restore.
27071 2017-10-23 Alan Modra <amodra@gmail.com>
27073 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
27074 Move LR save and frame setup/teardown and LR restore to
27075 immediately around memset call. Provide cfi.
27077 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27079 * sysdeps/i386/fpu/e_powf.S: Removed.
27080 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
27081 * sysdeps/i386/fpu/w_powf.c: Likewise.
27082 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
27083 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27084 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27086 (CFLAGS-e_powf-sse2.c): New.
27087 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
27088 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
27090 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27092 * sysdeps/i386/fpu/e_log2f.S: Removed.
27093 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
27094 * sysdeps/i386/fpu/w_log2f.c: Likewise.
27095 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
27096 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27097 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27099 (CFLAGS-e_log2f-sse2.c): New.
27100 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
27101 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
27103 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27105 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27107 (CFLAGS-e_powf-fma.c): New.
27108 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
27109 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
27111 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27113 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27115 (CFLAGS-e_log2f-fma.c): New.
27116 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
27117 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
27119 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27121 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27123 (CFLAGS-e_logf-fma.c): New.
27124 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
27125 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
27127 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27129 * sysdeps/i386/fpu/e_logf.S: Removed.
27130 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
27131 * sysdeps/i386/fpu/w_logf.c: Likewise.
27132 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
27133 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
27134 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27135 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27137 (CFLAGS-e_logf-sse2.c): New.
27138 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
27139 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
27141 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27143 * sysdeps/i386/fpu/e_exp2f.S: Removed.
27144 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
27145 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
27146 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27147 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27149 (CFLAGS-e_exp2f-sse2.c): New.
27150 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
27151 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
27153 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27155 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27157 (CFLAGS-e_exp2f-fma.c): New.
27158 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
27159 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
27161 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27163 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
27164 * sysdeps/i386/fpu/e_expf.S: Likewise.
27165 * sysdeps/i386/fpu/math_errf.c: Likewise.
27166 * sysdeps/i386/fpu/w_expf.c: Likewise.
27167 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
27168 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27169 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
27170 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
27171 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27172 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27173 Remove e_expf-ia32.
27174 (CFLAGS-e_expf-sse2.c): New.
27175 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
27176 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
27178 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27180 * sysdeps/x86_64/fpu/e_expf.S: Removed.
27181 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
27182 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
27183 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
27185 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
27187 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
27188 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27190 (__redirect_expf): This.
27191 (SYMBOL_NAME): Changed to expf.
27192 (__ieee754_expf): Renamed to ...
27194 (__GI___expf): This.
27195 (__ieee754_expf): Add strong_alias.
27196 (__expf_finite): Likewise.
27198 Include <sysdeps/ieee754/flt-32/e_expf.c>.
27200 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
27203 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
27206 2017-10-21 Florian Weimer <fweimer@redhat.com>
27208 * posix/Makefile (tests): Add tst-glob-tilde.
27209 (tests-special): Add tst-glob-tilde-mem.out
27210 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
27211 (tst-glob-tilde-mem.out): Add mtrace check.
27212 * posix/tst-glob-tilde.c: New file.
27214 2017-10-20 Joseph Myers <joseph@codesourcery.com>
27216 * bits/floatn-common.h: New file.
27217 * math/Makefile (headers): Add bits/floatn-common.h.
27218 * bits/floatn.h: Include <bits/floatn-common.h>.
27219 * sysdeps/ia64/bits/floatn.h: Likewise.
27220 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27221 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
27222 * sysdeps/powerpc/bits/floatn.h: Likewise.
27223 * sysdeps/x86/bits/floatn.h: Likewise.
27225 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27227 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
27228 indicates whether compiler emits an warning for alias for
27229 functions with incompatible types.
27232 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
27233 the auxiliary process is terminated by a signal before calling _exit
27236 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27239 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
27241 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
27242 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
27243 and bit_arch_XSAVEC_Usable if needed.
27244 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
27245 and bit_arch_Use_dl_runtime_resolve_opt.
27246 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
27248 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
27249 (bit_arch_Prefer_No_AVX512): Updated.
27250 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
27251 (bit_arch_XSAVEC_Usable): New.
27252 (STATE_SAVE_OFFSET): Likewise.
27253 (STATE_SAVE_MASK): Likewise.
27254 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
27255 (cpu_features): Add xsave_state_size and xsave_state_full_size.
27256 (index_arch_Use_dl_runtime_resolve_opt): Removed.
27257 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
27258 (index_arch_XSAVEC_Usable): New.
27259 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27260 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
27261 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
27263 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
27264 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
27265 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
27266 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
27267 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
27268 _dl_runtime_resolve_xsavec.
27269 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
27271 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
27272 instead of VEC_SIZE.
27273 (REGISTER_SAVE_BND0): Removed.
27274 (REGISTER_SAVE_BND1): Likewise.
27275 (REGISTER_SAVE_BND3): Likewise.
27276 (REGISTER_SAVE_RAX): Always defined to 0.
27278 (_dl_runtime_resolve_avx): Likewise.
27279 (_dl_runtime_resolve_avx_slow): Likewise.
27280 (_dl_runtime_resolve_avx_opt): Likewise.
27281 (_dl_runtime_resolve_avx512): Likewise.
27282 (_dl_runtime_resolve_avx512_opt): Likewise.
27283 (_dl_runtime_resolve_sse): Likewise.
27284 (_dl_runtime_resolve_sse_vex): Likewise.
27286 (_dl_runtime_resolve_fxsave): Likewise.
27287 (USE_XSAVE): Likewise.
27288 (_dl_runtime_resolve_xsave): Likewise.
27289 (USE_XSAVEC): Likewise.
27290 (_dl_runtime_resolve_xsavec): Likewise.
27291 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
27293 (_dl_runtime_resolve_avx512_opt): Likewise.
27294 (_dl_runtime_resolve_avx): Likewise.
27295 (_dl_runtime_resolve_avx_opt): Likewise.
27296 (_dl_runtime_resolve_sse): Likewise.
27297 (_dl_runtime_resolve_sse_vex): Likewise.
27298 (_dl_runtime_resolve_fxsave): New.
27299 (_dl_runtime_resolve_xsave): Likewise.
27300 (_dl_runtime_resolve_xsavec): Likewise.
27302 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
27306 * posix/glob.c (__glob): Fix one-byte overflow.
27308 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27310 * malloc/malloc.c (sysdep-cancel.h): Add include.
27312 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27314 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27316 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27318 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27319 (tests): Remove $(objpfx)ga_test depdendency.
27320 * resolv/ga_test.c: Remove file.
27322 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27325 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27326 * localedata/locales/kab_DZ: New file.
27328 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27330 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27331 _dl_relocate_static_pie instead of _dl_start to compute load
27332 address in static PIE.
27334 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27336 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27338 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27341 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27342 * localedata/locales/shn_MM: New file.
27344 2017-10-20 Florian Weimer <fweimer@redhat.com>
27347 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27348 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27349 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27350 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27351 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27352 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27354 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27356 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27358 2017-10-19 Joseph Myers <joseph@codesourcery.com>
27360 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27363 * sysdeps/mips/bits/long-double.h: Move to ....
27364 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27366 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27368 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27370 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
27371 H.J. Lu <hongjiu.lu@intel.com>
27374 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27375 GLRO(dl_platform) to NULL.
27376 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27377 (modules-names): Add tst-platformmod-1 and
27378 x86_64/tst-platformmod-2.
27379 (CFLAGS-tst-platform-1.c): New.
27380 (CFLAGS-tst-platformmod-1.c): Likewise.
27381 (CFLAGS-tst-platformmod-2.c): Likewise.
27382 (LDFLAGS-tst-platformmod-2.so): Likewise.
27383 ($(objpfx)tst-platform-1): Likewise.
27384 ($(objpfx)tst-platform-1.out): Likewise.
27385 (tst-platform-1-ENV): Likewise.
27386 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27387 * sysdeps/x86_64/tst-platform-1.c: New file.
27388 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27389 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27391 2017-10-19 Mike FABIAN <mfabian@redhat.com>
27394 * locale/iso-639.def: Add Karbi.
27395 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27396 * localedata/locales/mjw_IN: New file.
27398 2017-10-18 Joseph Myers <joseph@codesourcery.com>
27400 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27401 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27402 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27403 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27404 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27405 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27406 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27408 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27409 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27410 * manual/math.texi (Mathematics): Document additional architecture
27411 support for _Float128.
27412 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27413 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27414 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27415 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27416 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27417 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27418 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27419 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27420 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27421 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27422 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27423 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27424 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27425 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27426 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27428 2017-10-18 Renlin Li <renlin.li@arm.com>
27430 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27431 _DYNAMIC symbol to calculate load address.
27433 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
27435 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27436 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27438 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27439 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27441 2017-10-18 Mike FABIAN <mfabian@redhat.com>
27444 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27445 and improve readability by using more ASCII.
27446 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27447 and improve readability by using more ASCII.
27449 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27451 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27452 not all targets support atomics on bool.
27454 2017-10-17 Joseph Myers <joseph@codesourcery.com>
27456 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27457 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27459 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27460 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27461 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27462 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27463 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27464 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27466 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27468 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27471 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27474 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27475 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27476 (do_check_remalloced_chunk): Fix build bug.
27477 (do_check_malloc_state): Add assert that checks arena->top.
27478 (malloc_consolidate): Remove initialization.
27479 (int_mallinfo): Remove call to malloc_consolidate.
27480 (__libc_mallopt): Clarify why malloc_consolidate is needed.
27482 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27484 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27485 (have_fastchunks): Remove.
27486 (clear_fastchunks): Remove.
27487 (set_fastchunks): Remove.
27488 (malloc_state): Add have_fastchunks.
27489 (malloc_init_state): Use have_fastchunks.
27490 (do_check_malloc_state): Remove incorrect invariant checks.
27491 (_int_malloc): Use have_fastchunks.
27492 (_int_free): Likewise.
27493 (malloc_consolidate): Likewise.
27495 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27497 * malloc/malloc.c (tcache_put): Inline.
27498 (tcache_get): Inline.
27500 2017-10-17 Jordi Mallach <jordi@gnu.org>
27502 Aurelien Jarno <aurelien@aurel32.net>
27504 * localedata/locales/ca_ES@valencia: New file.
27505 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27507 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27510 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27513 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27515 * scripts/build-many-glibcs.py (Context.add_all_configs):
27516 Add arm-linux-gnueabihf multiarch extra_glibcs.
27518 * sysdeps/generic/ifunc-init.h: New file.
27519 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27521 2017-10-17 Mike FABIAN <mfabian@redhat.com>
27524 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27525 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27526 * stdlib/tst-strfmon_l.c: adapt test case.
27528 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27530 * sysdeps/generic/float128-abi.h: New file.
27531 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27532 non-__prefixed symbols to ....
27533 * math/Versions: ... here. Include <float128-abi.h>.
27534 * stdlib/Versions ... and here. Include <float128-abi.h>
27536 2017-10-16 Florian Weimer <fweimer@redhat.com>
27538 * version.h (VERSION): Switch to ".9000" as the development
27541 2017-10-16 Florian Weimer <fweimer@redhat.com>
27544 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27545 compat_symbol_reference to access non-default version.
27547 2017-10-16 Florian Weimer <fweimer@redhat.com>
27549 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27551 2017-10-16 Carlos O'Donell <carlos@redhat.com>
27553 * include/shlib-compat.h (compat_symbol_reference): Update
27556 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27558 * math/Makefile (test-types): Add
27559 $(type-float128-$(float128-alias-fcts)).
27560 * math/test-float128.h (TYPE_STR): Define conditional on
27561 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27562 (ULP_IDX): Likewise.
27563 (ULP_I_IDX): Likewise.
27565 * stdlib/strtold.c: Include <bits/floatn.h>
27566 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27567 and later undefine as macro. Define as weak alias if
27569 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27570 and later undefine as macro. Define as weak alias if
27572 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27573 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27574 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27575 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27576 Define and later undefine as macro. Define as weak alias if
27578 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27580 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27581 Define and later undefine as macro. Define as weak alias if
27583 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27584 Define and later undefine as macro. Define as weak alias if
27587 2017-10-15 Carlos O'Donell <carlos@redhat.com>
27589 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27590 record_verbose messages.
27592 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27595 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27596 to silence -O3 -Wall warning with GCC 7.
27598 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27600 * Makeconfig (+link-static-before-libc): Use the first of
27601 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27602 * gmon/Makefile (tests): Add tst-gmon-static.
27603 (tests-static): Likewise.
27604 (CFLAGS-tst-gmon-static.c): New.
27605 (CRT-tst-gmon-static): Likewise.
27606 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27607 (tst-gmon-static-ENV): Likewise.
27608 (tests-special): Likewise.
27609 ($(objpfx)tst-gmon-static.out): Likewise.
27610 (clean-tst-gmon-static-data): Likewise.
27611 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27612 * gmon/tst-gmon-static-gprof.sh: New file.
27613 * gmon/tst-gmon-static.c: Likewise.
27615 2017-10-13 Carlos O'Donell <carlos@redhat.com>
27618 * locale/programs/linereader.c (get_string): Don't warn on
27619 non-symbolic character.
27622 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27626 * locale/programs/record-status.h: New file
27627 * locale/programs/locale.c: Add comment.
27628 * locale/programs/charmap-dir.c: Don't include error.h.
27629 (charmap_opendir): Use record_error.
27630 * locale/programs/charmap.c: Don't include error.h.
27631 (charmap_read): Use record_error, and record_warning.
27632 (parse_charmap): Likewise.
27633 * locale/programs/ld-address.c: Don't include error.h.
27634 (address_finish): Use record_error, and record_warning.
27635 * locale/programs/ld-collate.c: Don't include error.h.
27636 (collate_finish): Use record_error, and record_error_at_line.
27637 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27638 (ctype_class_new): Likewise.
27639 (ctype_map_new): Likewise.
27640 (set_one_default): Likewise.
27641 (set_class_defaults): Likewise.
27642 (translit_flatten): Likewise.
27643 (allocate_arrays): Use record_error, and record_verbose.
27644 * locale/programs/ld-identification.c: Don't include error.h.
27645 (indentation_finish): Use record_error and record_warning.
27646 * locale/programs/ld-measurement.c: Don't include error.h.
27647 (measurement_finish): Use record_error.
27648 * locale/programs/ld-messages.c
27649 (message_finish): Likewise.
27650 * locale/programs/ld-monetary.c
27651 (monetary_finish): Likewise.
27652 * locale/programs/ld-name.c (name_finish): Use record_error
27653 and record_warning.
27654 * locale/programs/ld-numeric.c
27655 (numeric_finish): Use record_error.
27656 * locale/programs/ld-paper.c: Don't include error.h.
27657 (paper_finish): Use record_error.
27658 * locale/programs/ld-telephone.c: Don't include error.h.
27659 (telephone_finish): Use record_error.
27660 * locale/programs/ld-time.c (time_finish): Likewise.
27661 * locale/programs/linereader.h (lr_error): Make inline func.
27662 * locale/programs/localedef.c: Define recorded_warning_count,
27663 and recorded_error_count.
27664 (main): Use record_error. Use recorded_error_count and
27665 recorded_warning_count to issue correct error returns.
27666 (add_to_readlist): Use record_error.
27667 (find_locale): Likewise.
27668 (load_locale): Likewise.
27669 * locale/programs/localedef.h: Remove be_quiet
27670 and WITH_CUR_LOCALE.
27671 * locale/programs/locarchive.c (compare_from_file): Use
27673 * locale/programs/locfile.c (write_locale_data): Use
27675 * locale/programs/repertoire.c: Dont include error.h.
27676 (repertoire_complain): Use record_error.
27677 * localedata/tst-fmon.sh: Expect failures from localedef.
27678 * localedata/tst-locale.sh: Likewise.
27679 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27681 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27682 (REPORTS): Likewise.
27684 (i18n): Rename to...
27685 (i18n_ctype): ...this.
27686 (i18n-report): Rename to...
27687 (i18n_ctype-report): ...this.
27688 * localedata/locales/i18n_ctype: Regenerate.
27689 * localedata/locales/i18n: copy i18n_ctype.
27691 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27693 * stdlib/strfroml.c: Include <bits/floatn.h>.
27694 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27695 Define before include of <stdlib.h> and undefine afterwards, then
27696 define as weak alias.
27698 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27699 Undefine and restore default definition. Use
27700 libm_alias_ldouble_other.
27702 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27705 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27708 2017-10-13 James Clarke <jrtc27@jrtc27.com>
27710 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27711 Assign sym_map to be map for local symbols, as TLS relocations
27712 use sym_map to determine whether the symbol is defined and to
27713 extract the TLS information.
27714 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27715 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27717 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27720 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27721 (math_force_eval): Add powerpc version.
27724 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27726 (do_test): Likewise.
27727 * stdio-common/tst-printf.sh: Likewise.
27728 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27729 ifdef clause in order to set the carry bit right. Replace r0 by
27730 0 without changing the behavior.
27732 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27734 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27735 <libm-alias-ldouble.h>.
27736 (fabsl): Define using libm_alias_ldouble.
27737 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27738 <libm-alias-ldouble.h>.
27739 (fabsl): Define using libm_alias_ldouble.
27741 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27742 Remove conditional code.
27744 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27745 Rename to __clog10_internal_l.
27746 (__clog10_internal_l): Define aliases using
27747 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27750 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27752 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27753 * benchtests/sincosf-inputs: New file.
27754 * benchtests/cosf-inputs: New file.
27755 * benchtests/sinf-inputs: New file.
27757 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27759 * posix/tst-spawn.c (do_test): Wait for both children.
27761 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27764 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27765 tests-pie): Add tst-gmon-pie.
27766 (CFLAGS-tst-gmon-pie.c): New.
27767 (CRT-tst-gmon-pie): Likewise.
27768 (tst-gmon-pie-ENV): Likewise.
27769 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27770 ($(objpfx)tst-gmon-pie.out): Likewise.
27771 (clean-tst-gmon-pie-data): Likewise.
27772 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27773 * gmon/gmon.c [PIC]: Include <link.h>.
27774 [PIC] (callback): New function.
27775 (write_hist): Add an argument for load address. Subtract load
27777 (write_call_graph): Likewise.
27778 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27779 it to write_hist and write_call_graph.
27780 * gmon/tst-gmon-pie.c: New file.
27782 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27784 * math/Makefile (test-types-basic): New variable.
27785 (test-types): Likewise.
27786 (libm-test-support): Use $(test-types) instead of $(types).
27787 (libm-tests-base-normal): Likewise.
27788 (libm-tests-base-finite): Likewise.
27789 (libm-tests-base-inline): Likewise.
27790 (generated): Likewise.
27791 ($(objpfx)libm-test-support-$(t).c): Likewise.
27792 (libm-tests-for-type iterator): Likewise.
27793 (libm-test-support iterator): Likewise.
27794 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27795 (ulp_idx): Use ULP_IDX.
27796 * math/test-ldouble.h: Include <float.h>.
27797 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27798 (ULP_IDX): New macro.
27799 (ULP_I_IDX): Likewise.
27800 * math/test-double.h (ULP_IDX): Likewise.
27801 (ULP_I_IDX): Likewise.
27802 * math/test-float.h (ULP_IDX): Likewise.
27803 (ULP_I_IDX): Likewise.
27804 * math/test-float128.h (ULP_IDX): Likewise.
27805 (ULP_I_IDX): Likewise.
27807 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27809 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27810 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27811 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27812 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27813 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27814 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27815 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27816 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27817 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27818 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27819 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27820 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27821 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27822 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27823 (SINGLE_THREAD_BY_GLOBAL): Define.
27824 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27826 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27828 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27830 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27832 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27833 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27837 2017-10-11 Andreas Schwab <schwab@suse.de>
27839 * nis/Makefile (aux): Remove.
27840 * nscd/Makefile (aux): Add nscd_hash.
27841 (nscd-modules): Likewise.
27842 ($(objpfx)nscd): Don't depend on libnsl.
27843 * nscd/nscd_hash.c: New file.
27844 * nscd/nscd_hash.h: Likewise.
27845 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27846 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27847 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27848 instead of <nis/rpcsvc/nis.h>.
27849 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27851 2017-10-11 Florian Weimer <fweimer@redhat.com>
27854 Avoid large NSS buffers with many addresses, aliases.
27855 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27856 using dynarrays and struct alloc_buffer.
27857 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27858 (tst-nss-files-hosts-multi): Link with -ldl.
27859 * nss/tst-nss-files-hosts-multi.c: New file.
27861 2017-10-11 Florian Weimer <fweimer@redhat.com>
27864 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27865 scratch_buffer. Eliminate gotos.
27867 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27869 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27870 libm_alias_ldouble_other.
27871 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27872 undefine and redefine.
27873 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27874 (exp10l): Do not define here.
27875 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27876 (weak_alias): Undefine and redefine.
27877 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27878 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27879 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27880 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27882 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27883 [!__fma] (fma): Define using libm_alias_double.
27884 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27885 [!__fmaf] (fmaf): Define using libm_alias_float.
27886 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27887 (fmal): Define using libm_alias_ldouble.
27889 2017-10-10 Joseph Myers <joseph@codesourcery.com>
27891 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27893 (libm_alias_double_other): Likewise.
27894 (libm_alias_double_r): Use libm_alias_double_other_r.
27895 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27897 (libm_alias_float_other): Likewise.
27898 (libm_alias_float_r): Use libm_alias_float_other_r.
27899 * sysdeps/generic/libm-alias-float128.h
27900 (libm_alias_float128_other_r): New macro.
27901 (libm_alias_float128_other): Likewise.
27902 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27903 * sysdeps/generic/libm-alias-ldouble.h
27904 (libm_alias_ldouble_other_r): New macro.
27905 (libm_alias_ldouble_other): Likewise.
27906 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27907 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27908 (libm_alias_double_other_r): New macro.
27909 (libm_alias_double_other): Likewise.
27910 (libm_alias_double_r): Use libm_alias_double_other_r.
27911 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27912 (libm_alias_ldouble_other_r): New macro.
27913 (libm_alias_ldouble_other): Likewise.
27914 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27915 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27916 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27917 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27918 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27919 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27920 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27921 * math/w_exp2f.c: Use libm_alias_float_other.
27922 * math/w_expf.c: Likewise.
27923 * math/w_log2f.c: Likewise.
27924 * math/w_logf.c: Likewise.
27925 * math/w_powf.c: Likewise.
27926 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27927 [!__exp2f]: Use libm_alias_float_other.
27928 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27929 [!__expf]: Use libm_alias_float_other.
27930 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27931 [!__log2f]: Use libm_alias_float_other.
27932 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27933 [!__logf]: Use libm_alias_float_other.
27934 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27935 [!__powf]: Use libm_alias_float_other.
27937 2017-10-10 Florian Weimer <fweimer@redhat.com>
27939 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27941 (_nss_files_gethostbyname3_r): Call it.
27943 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27945 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27946 error. Remove default definition of declare_mgen_alias.
27947 [!declare_mgen_alias_r]: Likewise.
27948 * sysdeps/generic/math-type-macros-double.h
27949 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27950 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27951 (declare_mgen_alias_r): Likewise.
27952 * sysdeps/generic/math-type-macros-float128.h
27953 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27954 * sysdeps/generic/math-type-macros-ldouble.h
27955 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27956 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27958 (declare_mgen_alias_r_s): Likewise.
27959 (declare_mgen_alias_r): Likewise.
27960 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27961 (lgamma_r): Define using libm_alias_double_r.
27962 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27963 (lgammaf_r): Define using libm_alias_float_r.
27964 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27965 (lgammal_r): Define using libm_alias_ldouble_r.
27966 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27967 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27969 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27971 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27972 extern declaration.
27974 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27976 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27978 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
27981 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27982 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27983 * math/Makefile (test-math-cxx11): New test.
27984 * math/test-math-cxx11.cc: New file.
27986 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27988 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27990 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27991 call to allocate the slave pty file descriptor.
27993 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27995 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27996 [!__fma] (fma): Define using libm_alias_double.
27997 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27998 [!__fma] (fma): Define using libm_alias_double.
28000 * sysdeps/ieee754/float128/float128_private.h: Include
28001 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
28002 (libm_alias_ldouble_r): Undefine and redefine.
28003 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
28004 <libm-alias-ldouble.h>.
28005 (asinhl): Define using libm_alias_ldouble.
28006 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
28007 <libm-alias-ldouble.h>.
28008 (atanl): Define using libm_alias_ldouble.
28009 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
28010 <libm-alias-ldouble.h>.
28011 (cbrtl): Define using libm_alias_ldouble.
28012 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
28013 <libm-alias-ldouble.h>.
28014 (ceill): Define using libm_alias_ldouble.
28015 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
28016 <libm-alias-ldouble.h>.
28017 (copysignl): Define using libm_alias_ldouble.
28018 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
28019 <libm-alias-ldouble.h>.
28020 (cosl): Define using libm_alias_ldouble.
28021 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
28022 <libm-alias-ldouble.h>.
28023 (erfl): Define using libm_alias_ldouble.
28025 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
28026 <libm-alias-ldouble.h>.
28027 (expm1l): Define using libm_alias_ldouble.
28028 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
28029 <libm-alias-ldouble.h>.
28030 (fabsl): Define using libm_alias_ldouble.
28031 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
28032 <libm-alias-ldouble.h>.
28033 (floorl): Define using libm_alias_ldouble.
28034 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
28035 <libm-alias-ldouble.h>.
28036 (fmal): Define using libm_alias_ldouble.
28037 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
28038 <libm-alias-ldouble.h>.
28039 (frexpl): Define using libm_alias_ldouble.
28040 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
28041 libm_alias_ldouble.
28042 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
28043 <libm-alias-ldouble.h>.
28044 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
28045 libm_alias_ldouble.
28046 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
28047 <libm-alias-ldouble.h>.
28048 (getpayloadl): Define using libm_alias_ldouble.
28049 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
28050 <libm-alias-ldouble.h>.
28051 (llrintl): Define using libm_alias_ldouble.
28052 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
28053 <libm-alias-ldouble.h>.
28054 (llroundl): Define using libm_alias_ldouble.
28055 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
28056 <libm-alias-ldouble.h>.
28057 (logbl): Define using libm_alias_ldouble.
28058 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
28059 <libm-alias-ldouble.h>.
28060 (lrintl): Define using libm_alias_ldouble.
28061 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
28062 <libm-alias-ldouble.h>.
28063 (lroundl): Define using libm_alias_ldouble.
28064 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
28065 <libm-alias-ldouble.h>.
28066 (modfl): Define using libm_alias_ldouble.
28067 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
28068 <libm-alias-ldouble.h>.
28069 (nearbyintl): Define using libm_alias_ldouble.
28070 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
28071 <libm-alias-ldouble.h>.
28072 (nextafterl): Define using libm_alias_ldouble.
28073 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
28074 <libm-alias-ldouble.h>.
28075 (nextupl): Define using libm_alias_ldouble.
28076 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
28077 <libm-alias-ldouble.h>.
28078 (remquol): Define using libm_alias_ldouble.
28079 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
28080 <libm-alias-ldouble.h>.
28081 (rintl): Define using libm_alias_ldouble.
28082 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
28083 <libm-alias-ldouble.h>.
28084 (roundevenl): Define using libm_alias_ldouble.
28085 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
28086 <libm-alias-ldouble.h>.
28087 (roundl): Define using libm_alias_ldouble.
28088 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
28089 using libm_alias_ldouble.
28090 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
28091 <libm-alias-ldouble.h>.
28092 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
28093 Define using libm_alias_ldouble.
28094 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
28095 <libm-alias-ldouble.h>.
28096 (sincosl): Define using libm_alias_ldouble.
28097 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
28098 <libm-alias-ldouble.h>.
28099 (sinl): Define using libm_alias_ldouble.
28100 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
28101 <libm-alias-ldouble.h>.
28102 (tanhl): Define using libm_alias_ldouble.
28103 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
28104 <libm-alias-ldouble.h>.
28105 (tanl): Define using libm_alias_ldouble.
28106 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
28107 <libm-alias-ldouble.h>.
28108 (totalorderl): Define using libm_alias_ldouble.
28109 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
28110 <libm-alias-ldouble.h>.
28111 (totalordermagl): Define using libm_alias_ldouble.
28112 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
28113 <libm-alias-ldouble.h>.
28114 (truncl): Define using libm_alias_ldouble.
28115 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
28116 libm_alias_ldouble.
28117 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
28118 libm_alias_ldouble.
28119 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
28120 <libm-alias-ldouble.h>.
28121 (weak_alias): Do not undefine and redefine.
28122 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28123 (copysignl): Define with long_double_symbol only if [IS_IN
28125 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
28126 <libm-alias-ldouble.h>.
28127 (weak_alias): Do not undefine and redefine.
28128 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28129 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
28130 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
28131 <libm-alias-ldouble.h>.
28132 (weak_alias): Do not undefine and redefine.
28133 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28134 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
28135 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
28136 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
28137 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
28138 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
28139 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
28140 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
28141 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
28142 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
28143 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
28144 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
28145 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
28146 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
28147 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
28148 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
28149 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
28150 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
28151 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
28152 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
28153 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
28154 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
28155 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
28156 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
28157 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
28158 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
28160 2017-10-06 Carlos O'Donell <carlos@redhat.com>
28163 * malloc/malloc.c (tcache_shutting_down): Use bool type.
28164 (tcache_thread_freeres): Set tcache_shutting_down before
28165 freeing the tcache.
28166 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
28167 * malloc/tst-malloc-tcache-leak.c: New file.
28169 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28171 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
28172 back to powerpc32 file.
28173 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28174 (memrchr): Add __memrchr_power8 to ifunc list.
28175 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
28176 extra bytes for unaligned inputs.
28178 2017-10-06 Joseph Myers <joseph@codesourcery.com>
28180 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
28181 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
28182 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
28183 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28184 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28186 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28188 * sysdeps/arm/libm-test-ulps: Update.
28190 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
28191 <libm-alias-ldouble.h>.
28192 (asinhl): Define using libm_alias_ldouble.
28193 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
28194 <libm-alias-ldouble.h>.
28195 (cbrtl): Define using libm_alias_ldouble.
28196 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
28197 <libm-alias-ldouble.h>.
28198 (copysignl): Define using libm_alias_ldouble.
28199 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
28200 <libm-alias-ldouble.h>.
28201 (cosl): Define using libm_alias_ldouble.
28202 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
28203 <libm-alias-ldouble.h>.
28204 (erfl): Define using libm_alias_ldouble.
28206 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
28207 <libm-alias-ldouble.h>.
28208 (fmal): Define using libm_alias_ldouble.
28209 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
28210 <libm-alias-ldouble.h>.
28211 (frexpl): Define using libm_alias_ldouble.
28212 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
28213 libm_alias_ldouble.
28214 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
28215 <libm-alias-ldouble.h>.
28216 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
28217 libm_alias_ldouble.
28218 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
28219 <libm-alias-ldouble.h>.
28220 (getpayloadl): Define using libm_alias_ldouble.
28221 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
28222 <libm-alias-ldouble.h>.
28223 (llrintl): Define using libm_alias_ldouble.
28224 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
28225 <libm-alias-ldouble.h>.
28226 (llroundl): Define using libm_alias_ldouble.
28227 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
28228 <libm-alias-ldouble.h>.
28229 (lrintl): Define using libm_alias_ldouble.
28230 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
28231 <libm-alias-ldouble.h>.
28232 (lroundl): Define using libm_alias_ldouble.
28233 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
28234 <libm-alias-ldouble.h>.
28235 (modfl): Define using libm_alias_ldouble.
28236 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
28237 <libm-alias-ldouble.h>.
28238 (nextupl): Define using libm_alias_ldouble.
28239 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
28240 <libm-alias-ldouble.h>.
28241 (remquol): Define using libm_alias_ldouble.
28242 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
28243 <libm-alias-ldouble.h>.
28244 (roundevenl): Define using libm_alias_ldouble.
28245 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
28246 <libm-alias-ldouble.h>.
28247 (roundl): Define using libm_alias_ldouble.
28248 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
28249 using libm_alias_ldouble.
28250 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
28251 <libm-alias-ldouble.h>.
28252 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
28253 <libm-alias-ldouble.h>.
28254 (setpayloadsigl): Define using libm_alias_ldouble.
28255 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
28256 <libm-alias-ldouble.h>.
28257 (sincosl): Define using libm_alias_ldouble.
28258 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
28259 <libm-alias-ldouble.h>.
28260 (sinl): Define using libm_alias_ldouble.
28261 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
28262 <libm-alias-ldouble.h>.
28263 (tanhl): Define using libm_alias_ldouble.
28264 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
28265 <libm-alias-ldouble.h>.
28266 (tanl): Define using libm_alias_ldouble.
28267 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
28268 <libm-alias-ldouble.h>.
28269 (totalorderl): Define using libm_alias_ldouble.
28270 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
28271 <libm-alias-ldouble.h>.
28272 (totalordermagl): Define using libm_alias_ldouble.
28273 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
28274 libm_alias_ldouble.
28275 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
28276 libm_alias_ldouble.
28278 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
28280 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28282 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28283 (__libc_ifunc_impl_list): Likewise.
28284 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
28285 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
28287 * benchtests/bench-memmove-walk.c: New file.
28288 * benchtests/Makefile (string-benchset): Add it.
28290 * benchtests/bench-memset-walk.c: New file.
28291 * benchtests/Makefile (string-benchset): Add it.
28293 * benchtests/bench-memcpy-walk.c: New file.
28294 * benchtests/Makefile (string-benchset): Add it.
28296 2017-10-05 Florian Weimer <fweimer@redhat.com>
28298 nscd: Eliminate compilation time dependency in the build output.
28299 * nscd/nscd_stat.c (STATDATA_VERSION)
28300 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
28301 (STATDATA_VERSION_FULL): New macro definitions.
28302 (compilation): Remove.
28303 (struct statdata): Adjust version member.
28304 (send_stats): Set version from STATDATA_VERSION_FULL.
28305 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
28307 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28309 * configure.ac (--enable-add-ons): Remove option.
28310 (machine): Do not mention add-ons in comment.
28311 (LIBC_PRECONFIGURE): Likewise.
28312 (add_ons): Remove variable and sanity checks and logic to locate
28314 (add_ons_automatic): Remove variable.
28315 (configured_add_ons): Likewise.
28316 (add_ons_sfx): Likewise.
28317 (add_ons_pfx): Likewise.
28318 (add_on_subdirs): Likewise.
28319 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28320 consideration of add-ons in Implies handling.
28321 (sysdeps_add_ons): Likewise.
28322 * configure: Regenerated.
28323 * libidn/configure.ac: Remove.
28324 * libidn/configure: Likewise.
28325 * sysdeps/unix/inet/configure.ac: New file.
28326 * sysdeps/unix/inet/configure: New generated file.
28327 * sysdeps/unix/inet/Subdirs: Add libidn.
28328 * Makeconfig (sysdeps-srcdirs): Remove variable.
28329 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28330 ($(common-objpfx)config.status): Do not depend on add-on files.
28331 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28333 (all-subdirs): Do not include $(add-on-subdirs).
28334 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28335 * config.make.in (add-ons): Remove variable.
28336 (add-on-subdirs): Likewise.
28337 (sysdeps-add-ons): Likewise.
28338 * manual/Makefile (add-chapters): Remove.
28339 ($(objpfx)texis): Do not depend on $(add-chapters).
28340 (nonexamples): Do not handle $(add-chapters).
28341 (examples): Do not handle $(add-ons).
28342 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28344 * manual/install.texi (Installation): Do not mention add-ons.
28345 (--enable-add-ons): Do not document configure option.
28346 * INSTALL: Regenerated.
28347 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28348 * manual/maint.texi (Hierarchy Conventions): Do not mention
28350 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28352 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28354 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28355 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28357 2017-10-05 Andreas Schwab <schwab@suse.de>
28360 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28361 (_IO_flush_all_lockp): Always lock list_all_lock.
28362 (_IO_flush_all_linebuffered): Likewise.
28363 (_IO_unbuffer_all): Likewise.
28365 2017-10-05 Florian Weimer <fweimer@redhat.com>
28368 Do not flush stdio streams on abort.
28369 * stdlib/abort.c (fflush): Remove macro definition.
28370 (abort): Remove stages related to stdio flushing.
28372 2017-10-05 Florian Weimer <fweimer@redhat.com>
28374 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28376 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28378 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28380 2017-10-05 Florian Weimer <fweimer@redhat.com>
28382 * support/support_format_hostent.c (support_format_hostent): Add
28383 more error information for NETDB_INTERNAL.
28385 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28387 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28388 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28389 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28390 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28391 AC_DEFINE if multi-arch is enabled.
28392 * sysdeps/i386/configure: Regenerated.
28394 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28396 * Makeconfig (+link-static-before-libc): Use
28397 $(DEFAULT-LDFLAGS-$(@F)).
28398 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28399 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28400 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28402 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28404 * elf/Makefile (tests): Add tst-main1.
28405 (modules-names): Add tst-main1mod.
28406 ($(objpfx)tst-main1): New.
28407 (CRT-tst-main1): Likewise.
28408 (LDFLAGS-tst-main1): Likewise.
28409 (LDLIBS-tst-main1): Likewise.
28410 (tst-main1mod.so-no-z-defs): Likewise.
28411 * elf/tst-main1.c: New file.
28412 * elf/tst-main1mod.c: Likewise.
28414 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28416 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28418 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28420 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28421 (fma): Define using libm_alias_double.
28422 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28423 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28425 (fmal): Do not define as compat symbol here.
28426 * sysdeps/alpha/fpu/s_fma.c: New file.
28428 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28430 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28432 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28435 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28437 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28439 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28440 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28441 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28442 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28444 Include <math_ldbl_opt.h>
28445 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28447 (compat_symbol): Undefine and redefine.
28448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28450 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28451 (compat_symbol): Undefine and redefine.
28452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28453 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28454 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28455 GLIBC_2_1 for libm.
28456 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28457 GLIBC_2.0 copysignl symbol.
28458 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28459 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28461 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28463 2017-10-04 Florian Weimer <fweimer@redhat.com>
28465 * scripts/check-local-headers.sh: Ignore nspr4 header file
28466 directory in addition to nspr.
28468 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
28471 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28472 * configure: Regenerate.
28473 * crypt/Makefile (nss-cpp-flags): New variable.
28474 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28475 (CPPFLAGS-md5-crypt.c): Use it.
28476 * scripts/check-local-headers.sh: Ignore nspr header file
28479 2017-10-04 Andreas Schwab <schwab@suse.de>
28481 * nis/Makefile (services): Remove compat.
28482 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28483 ($(objpfx)libnss_compat.so): Remove rule.
28484 * nis/Versions (libnss_compat): Remove.
28485 * nss/Makefile (services): Add compat.
28486 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28487 * nss/Versions (libnss_compat): Define.
28488 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28489 Don't include <rpc/types.h>. Replace bool_t by bool.
28490 * nss/nss_compat/compat-initgroups.c: Likewise.
28491 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28492 instead of <rpcsrv/ypclnt.h>.
28493 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28494 yp_get_default_domain.
28495 * nss/nss_compat/compat-pwd.c: Likewise.
28496 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28497 yp_get_default_domain.
28498 * nss/nss_compat/nisdomain.c: New file.
28499 * nss/nss_compat/nisdomain.h: Likewise.
28501 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28504 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28505 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28507 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28510 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28511 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28513 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28515 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28516 "movl main@GOTOFF(%ebx), %eax".
28518 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28520 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28521 allow undefined _DYNAMIC in PIE libc.a.
28522 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28525 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28527 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28530 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28532 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28535 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28537 * math/test-math-iscanonical.cc (error): Replace bool with int.
28539 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28541 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28542 (modf): Define using libm_alias_double, only if [!__modf].
28543 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28544 <libm-alias-double.h>.
28545 (modf): Define using libm_alias_double, only if [!__modf].
28546 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28547 compat symbol here.
28548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28549 (weak_alias): Do not undefine and redefine.
28550 (strong_alias): Likewise.
28551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28552 (weak_alias): Likewise.
28553 (strong_alias): Likewise.
28555 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28556 (logb): Define using libm_alias_double, only if [!__logb].
28557 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28558 <libm-alias-double.h>.
28559 (logb): Define using libm_alias_double, only if [!__logb].
28560 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28562 (weak_alias): Do not undefine and redefine.
28563 (strong_alias): Likewise.
28564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28565 (weak_alias): Likewise.
28566 (strong_alias): Likewise.
28568 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28570 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28571 Check SHARED instead PIC.
28573 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28575 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28576 [!__fmaf] (fmaf): Define using libm_alias_float.
28578 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28579 (frexp): Define using libm_alias_double.
28580 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28581 <libm-alias-double.h>.
28582 (frexp): Define using libm_alias_double.
28583 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28584 compat symbol here.
28586 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28589 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28590 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28591 (CFLAGS-test-math-iscanonical.cc): New variable.
28592 * math/test-math-iscanonical.cc: New file.
28593 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28594 Provide a C++ implementation based on function overloading,
28595 rather than using __MATH_TG, which uses C-only builtins.
28596 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28598 * sysdeps/powerpc/powerpc64le/Makefile
28599 (CFLAGS-test-math-iscanonical.cc): New variable.
28601 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28603 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28604 (ceil): Define using libm_alias_double.
28605 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28606 (floor): Define using libm_alias_double.
28607 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28608 <libm-alias-double.h>.
28609 (llround): Define using libm_alias_double.
28610 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28611 <libm-alias-double.h>.
28612 (lround): Define using libm_alias_double.
28613 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28614 <libm-alias-double.h>.
28615 (nearbyint): Define using libm_alias_double.
28616 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28617 <libm-alias-double.h>.
28618 (remquo): Define using libm_alias_double.
28619 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28620 (rint): Define using libm_alias_double.
28621 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28622 (round): Define using libm_alias_double.
28623 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28624 (trunc): Define using libm_alias_double.
28625 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28626 <libm-alias-double.h>.
28627 (ceil): Define using libm_alias_double.
28628 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28629 <libm-alias-double.h>.
28630 (floor): Define using libm_alias_double.
28631 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28632 <libm-alias-double.h>.
28633 (llround): Define using libm_alias_double.
28634 [_LP64] (lround): Likewise.
28635 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28636 <libm-alias-double.h>.
28637 [!_LP64] (lround): Define using libm_alias_double.
28638 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28639 <libm-alias-double.h>.
28640 (nearbyint): Define using libm_alias_double.
28641 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28642 <libm-alias-double.h>.
28643 (remquo): Define using libm_alias_double.
28644 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28645 <libm-alias-double.h>.
28646 (rint): Define using libm_alias_double.
28647 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28648 <libm-alias-double.h>.
28649 (round): Define using libm_alias_double.
28650 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28651 <libm-alias-double.h>.
28652 (trunc): Define using libm_alias_double.
28653 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28654 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28655 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28656 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28657 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28658 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28659 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28660 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28661 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28663 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28665 * math/w_remainder.c: New file.
28666 * math/w_remainderf.c: New file.
28667 * math/w_remainderl.c: New file.
28669 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28671 * elf/rtld.c (BOOTSTRAP_MAP): New.
28672 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28673 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28675 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28677 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28680 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28682 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28683 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28684 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28685 rtld_hidden_data_ver): Define to empty.
28686 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28687 __assert_perror_fail): Likewise.
28688 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28689 (__rewinddir): Likewise.
28690 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28691 (__profile_frequency): Likewise.
28692 * include/setjmp.h (__sigsetjmp): Likewise.
28693 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28694 __libc_sigaction): Likewise.
28695 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28696 not set hidden attribute.
28697 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28698 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28699 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28700 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28701 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28702 __fxstatat64): Likewise.
28703 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28704 (__uname): Likewise.
28705 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28706 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28707 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28708 (NO_RTLD_HIDDEN): Set.
28709 * sysdeps/mach/hurd/configure: Refresh.
28710 * config.h.in: Refresh.
28712 2017-10-02 Joseph Myers <joseph@codesourcery.com>
28714 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28715 (atan): Define using libm_alias_double.
28716 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28717 (tan): Define using libm_alias_double.
28718 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28719 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28721 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28722 define as weak alias of __atan. Do not define any aliases if
28724 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28725 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28726 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28727 as weak alias of __tan. Do not define any aliases if [__tan].
28728 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28729 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28730 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28732 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28733 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28734 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28735 and define as weak alias of __atan.
28736 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28738 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28739 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28740 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28741 define as weak alias of __tan.
28743 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28745 * math/w_lgamma.c: New file.
28746 * math/w_lgammaf.c: New file.
28747 * math/w_lgammal.c: New file.
28749 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28751 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28752 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28753 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28754 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28755 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28756 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28757 * sysdeps/i386/fpu/w_log2f.c: New file.
28758 * sysdeps/i386/fpu/w_logf.c: New file.
28759 * sysdeps/i386/fpu/w_powf.c: New file.
28760 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28761 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28762 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28764 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28765 H.J. Lu <hongjiu.lu@intel.com>
28767 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28768 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28769 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28770 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28771 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28773 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28774 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28775 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28776 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28777 * sysdeps/i386/fpu/w_exp2f.c: New file.
28778 * sysdeps/i386/fpu/w_expf.c: New file.
28779 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28780 * sysdeps/x86_64/fpu/w_expf.c: New file.
28782 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28784 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28787 * math/w_log2f.c: New file.
28788 * math/w_logf.c: New file.
28789 * math/w_powf.c: New file.
28790 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28791 * math/w_logf_compat.c (__logf_compat): Likewise.
28792 * math/w_powf_compat.c (__powf_compat): Likewise.
28793 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28794 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28795 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28796 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28797 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28798 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28799 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28800 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28801 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28802 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28803 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28804 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28805 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28806 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28807 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28816 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28817 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28818 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28819 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28820 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28825 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28826 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28827 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28829 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28831 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28832 (sysdep_routines): Add memrchr_power8.
28833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28834 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28835 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28837 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28838 (memrchr): Add __memrchr_power8 to ifunc list.
28839 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28841 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28844 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28845 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28847 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28848 (__posix_fallocate64_l64): Likewise.
28850 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28853 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28854 (__sched_setaffinity_new): Add libc_hidden_proto and
28857 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28860 * include/glob.h (__glob64): Add libc_hidden_proto.
28861 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28864 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28867 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28870 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28873 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28875 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28878 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28881 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28884 * csu/version.c (__libc_print_version): Add attribute_hidden.
28886 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28889 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28891 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28894 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28896 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28899 * nscd/nscd_helper.c (__nis_hash): New prototype.
28901 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28904 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28905 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28907 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28908 * termios/tcgetattr.c (__tcgetattr): Likewise.
28910 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28913 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28914 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28915 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28916 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28917 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28919 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28922 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28924 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28927 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28928 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28930 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28933 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28935 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28938 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28939 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28941 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28944 * include/ifreq.h: New file.
28945 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28946 (__ifreq): Likewise.
28947 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28948 (__ifreq): Likewise.
28950 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28953 * include/idna.h: New file.
28954 * inet/getnameinfo.c: Include <idna.h> instead of
28956 (__idna_to_unicode_lzlz): Removed.
28957 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28959 (__idna_to_ascii_lz): Removed.
28960 (__idna_to_unicode_lzlz): Likewise.
28962 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28965 * include/plural-exp.h: New file.
28966 * intl/plural-exp.c: Include <plural-exp.h> instead of
28969 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28972 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28973 "getsourcefilter.h".
28974 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28975 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28976 "getsourcefilter.h".
28977 (__get_sol): Removed.
28979 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28982 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28984 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28986 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28989 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28992 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28995 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28997 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29000 * include/search.h (__tdestroy): Add libc_hidden_proto.
29001 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
29003 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29006 * include/assert.h (__assert_fail_base): Add attribute_hidden.
29008 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29011 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
29014 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29017 * include/signal.h (__kill): Add libc_hidden_proto.
29018 (__sigblock): Likewise.
29019 (__sigprocmask): Likewise.
29020 (__sigaltstack): Likewise.
29021 * signal/kill.c (__kill): Add libc_hidden_def.
29022 * signal/sigblock.c (__sigblock): Likewise.
29023 * signal/sigprocmask.c (__sigprocmask): Likewise.
29024 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
29025 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
29026 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
29027 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
29028 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
29030 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
29032 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
29033 (__sigprocmask): Likewise.
29034 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
29036 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
29037 (__sigprocmask): Likewise.
29038 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
29041 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29044 * include/string.h (__strsep): Add libc_hidden_proto.
29045 * string/strsep.c (__strsep): Add libc_hidden_def.
29047 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29050 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
29052 (__spawni): Likewise.
29054 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29057 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
29058 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
29061 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29064 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
29066 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29069 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
29070 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
29071 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
29072 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
29073 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
29075 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
29076 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
29078 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29081 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
29082 (__dcigettext): Likewise.
29084 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29087 * include/sys/sysinfo.h (__get_nprocs_conf): Add
29089 (__get_nprocs): Likewise.
29090 (__get_phys_pages): Likewise.
29091 (__get_avphys_pages): Likewise.
29092 (__get_child_max): Add attribute_hidden.
29093 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
29094 (__get_nprocs): Likewise.
29095 (__get_phys_pages): Likewise.
29096 (__get_avphys_pages): Likewise.
29097 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
29099 (__get_nprocs): Likewise.
29100 (__get_phys_pages): Likewise.
29101 (__get_avphys_pages): Likewise.
29102 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
29104 (__get_nprocs_conf): Likewise.
29105 (__get_phys_pages): Likewise.
29106 (__get_avphys_pages): Likewise.
29108 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29111 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
29113 (__netlink_close): Likewise.
29114 (__netlink_free_handle): Likewise.
29115 (__netlink_request): Likewise.
29117 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29120 * include/rpc/rpc.h (__rpc_thread_variables): Add
29122 (__rpc_thread_svc_cleanup): Likewise.
29123 (__rpc_thread_clnt_cleanup): Likewise.
29124 (__rpc_thread_key_cleanup): Likewise.
29126 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29129 * include/sys/uio.h (__readv): Add libc_hidden_proto.
29130 (__writev): Likewise.
29131 * misc/readv.c (__readv): Add libc_hidden_def.
29132 * misc/writev.c (__writev): Likewise.
29133 * sysdeps/posix/readv.c (__readv): Likewise.
29134 * sysdeps/posix/writev.c (__writev): Likewise.
29135 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
29136 (__readv): Likewise.
29137 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
29138 (__writev): Likewise.
29140 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29143 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
29144 (__regcomp): Add libc_hidden_proto.
29145 (__regexec): Likewise.
29146 (__regfree): Likewise.
29147 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
29148 (__regfree): Likewise.
29149 * posix/regexec.c (__regexec): Likewise.
29151 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29154 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
29155 (__getutent): Likewise.
29156 (__getutid): Likewise.
29157 (__getutline): Likewise.
29158 (__pututline): Likewise.
29159 (__getutent_r): Likewise.
29160 (__getutid_r): Likewise.
29161 (__getutline_r): Likewise.
29162 (__utmpname): Add attribute_hidden.
29163 (__setutent): Likewise.
29164 (__endutent): Likewise.
29165 * login/getutent.c (__getutent): Add libc_hidden_def.
29166 * login/getutent_r.c (__getutent_r): Likewise.
29167 (__pututline): Likewise.
29168 * login/getutid.c (__getutid): Likewise.
29169 * login/getutid_r.c (__getutid_r): Likewise.
29170 * login/getutline.c (__getutline): Likewise.
29171 * login/getutline_r.c (__getutline_r): Likewise.
29172 * login/updwtmp.c (__updwtmp): Likewise.
29174 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29177 * include/dirent.h (__opendir): Always add attribute_hidden.
29178 (__fdopendir): Likewise.
29179 (__closedir): Likewise.
29180 (__readdir): Likewise.
29181 (__readdir64): Add libc_hidden_proto.
29182 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
29183 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
29184 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
29185 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
29188 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29191 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
29192 * include/netdb.h (__gethostbyaddr_r): Likewise.
29193 (__gethostbyname_r): Likewise.
29194 (__gethostbyname2_r): Likewise.
29195 (__getnetbyaddr_r): Likewise.
29196 (__getnetbyname_r): Likewise.
29197 (__getservbyname_r): Likewise.
29198 (__getservbyport_r): Likewise.
29199 (__getprotobyname_r): Likewise.
29200 (__getprotobynumber_r): Likewise.
29201 (__getnetgrent_r): Likewise.
29202 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
29203 (__getrpcbynumber_r): Likewise.
29204 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
29206 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29209 * include/stdio.h (__fcloseall): Add attribute_hidden.
29210 (__getline): Likewise.
29211 (__path_search): Likewise.
29212 (__gen_tempname): Likewise.
29213 (__libc_message): Likewise.
29214 (__flockfile): Likewise.
29215 (__funlockfile): Likewise.
29216 (__fxprintf): Likewise.
29217 (__fxprintf_nocancel): Likewise.
29219 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29222 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
29223 (__sgetsgent_r): Likewise.
29225 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29228 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
29229 (__statfs64): Likewise.
29230 (__fstatfs64): Likewise.
29231 * include/sys/statvfs.h (__statvfs64): Likewise.
29232 (__fstatvfs64): Likewise.
29233 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
29234 (__statfs_filesize_max): Likewise.
29235 (__statfs_symlinks): Likewise.
29236 (__statfs_chown_restricted): Likewise.
29238 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29241 * include/time.h (__tzstring): Add attribute_hidden.
29242 (__tzfile_read): Likewise.
29243 (__tzfile_compute): Likewise.
29244 (__tzfile_default): Likewise.
29245 (__tzset_parse_tz): Likewise.
29246 (__offtime): Likewise.
29247 (__asctime_r): Likewise.
29248 (__tzset): Likewise.
29249 (__tz_convert): Likewise.
29250 (__getdate_r): Likewise.
29251 (__getclktck): Likewise.
29253 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29256 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
29257 (__nscd_unmap): Likewise.
29258 (__nscd_cache_search): Likewise.
29259 (__nscd_get_nl_timestamp): Likewise.
29260 (__nscd_getpwnam_r): Likewise.
29261 (__nscd_getpwuid_r): Likewise.
29262 (__nscd_getgrnam_r): Likewise.
29263 (__nscd_getgrgid_r): Likewise.
29264 (__nscd_gethostbyname_r): Likewise.
29265 (__nscd_gethostbyname2_r): Likewise.
29266 (__nscd_gethostbyaddr_r): Likewise.
29267 (__nscd_getai): Likewise.
29268 (__nscd_getgrouplist): Likewise.
29269 (__nscd_getservbyname_r): Likewise.
29270 (__nscd_getservbyport_r): Likewise.
29271 (__nscd_innetgr): Likewise.
29272 (__nscd_setnetgrent): Likewise.
29274 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29277 * include/gmp.h: Declare internal functions only if _ISOMAC is
29279 (__mpn_extract_double): Add attribute_hidden.
29280 (__mpn_extract_long_double): Likewise.
29281 (__mpn_extract_float128): Likewise.
29282 (__mpn_construct_float): Likewise.
29283 (__mpn_construct_double): Likewise.
29284 (__mpn_construct_long_double): Likewise.
29285 (__mpn_construct_float128): Likewise.
29286 (mpn_add_1): Likewise.
29287 (mpn_addmul_1): Likewise.
29288 (mpn_add_n): Likewise.
29289 (mpn_cmp): Likewise.
29290 (mpn_divrem): Likewise.
29291 (mpn_lshift): Likewise.
29292 (mpn_mul): Likewise.
29293 (mpn_mul_1): Likewise.
29294 (mpn_rshift): Likewise.
29295 (mpn_sub_1): Likewise.
29296 (mpn_submul_1): Likewise.
29297 (mpn_sub_n): Likewise.
29299 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29302 * include/wchar.h (__wcsnlen): Add attribute_hidden.
29303 (__wcscat): Likewise.
29304 (__btowc): Likewise.
29305 (__wcrtomb): Likewise.
29306 (__mbsrtowcs): Likewise.
29307 (__wcsrtombs): Likewise.
29308 (__mbsnrtowcs): Likewise.
29309 (__wcsnrtombs): Likewise.
29310 (__wcsncpy): Likewise.
29311 (__wcpncpy): Likewise.
29312 (__wmemcpy): Likewise.
29313 (__wmempcpy): Likewise.
29314 (__wmemmove): Likewise.
29315 (__wcschrnul): Likewise.
29316 (__vfwscanf): Likewise.
29317 (__vswprintf): Likewise.
29318 (__fwprintf): Likewise.
29319 (__vfwprintf): Likewise.
29321 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29324 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29325 (__getgrgid_r): Likewise.
29326 (__getgrnam_r): Likewise.
29327 * include/pwd.h (__getpwuid_r): Likewise.
29328 (__getpwnam_r): Likewise.
29329 (__fgetpwent_r): Likewise.
29330 * include/shadow.h (__getspnam_r): Likewise.
29331 (__sgetspent_r): Likewise.
29332 (__fgetspent_r): Likewise.
29334 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29337 * include/unistd.h (__access): Add attribute_hidden.
29338 (__lseek64): Likewise.
29339 (__libc_pread64): Likewise.
29340 (__pipe2): Likewise.
29341 (__sleep): Likewise.
29342 (__chdir): Likewise.
29343 (__fchdir): Likewise.
29344 (__getcwd): Likewise.
29345 (__rmdir): Likewise.
29346 (__execvpe): Likewise.
29347 (__execve): Likewise.
29348 (__setsid): Likewise.
29349 (__getuid): Likewise.
29350 (__geteuid): Likewise.
29351 (__getgid): Likewise.
29352 (__getegid): Likewise.
29353 (__getgroups): Likewise.
29354 (__group_member): Likewise.
29355 (__ttyname_r): Likewise.
29356 (__isatty): Likewise.
29357 (__readlink): Likewise.
29358 (__unlink): Likewise.
29359 (__gethostname): Likewise.
29360 (__profil): Likewise.
29361 (__getdtablesize): Likewise.
29363 (__ftruncate): Likewise.
29364 (__ftruncate64): Likewise.
29366 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29369 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29370 * argp/argp-fs-xinl.c: Likewise.
29371 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29372 * argp/argp-parse.c: Include <argp.h>.
29373 * argp/argp-xinl.c: Likewise.
29374 * include/argp-fmtstream.h: New file.
29375 * include/argp.h (__argp_error): Add attribute_hidden.
29376 (__argp_failure): Likewise.
29377 (__argp_input): Likewise.
29378 (__argp_state_help): Likewise.
29380 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29383 * include/wchar.h (____wcstof_l_internal): New prototype.
29384 (____wcstod_l_internal): Likewise.
29385 (____wcstold_l_internal): Likewise.
29386 (____wcstol_l_internal): Likewise.
29387 (____wcstoul_l_internal): Likewise.
29388 (____wcstoll_l_internal): Likewise.
29389 (____wcstoull_l_internal): Likewise.
29390 (____wcstof128_l_internal): Likewise.
29391 * sysdeps/ieee754/float128/wcstof128.c
29392 (____wcstof128_l_internal): Removed.
29393 * sysdeps/ieee754/float128/wcstof128_l.c
29394 (____wcstof128_l_internal): Likewise.
29395 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29396 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29397 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29398 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29399 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29400 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29401 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29402 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29403 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29404 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29406 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29409 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29410 instead of <sys/statvfs.h>.
29411 (__internal_statvfs): Removed.
29412 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29413 instead of <sys/statvfs.h>.
29414 (__internal_statvfs64): Removed.
29415 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29416 "internal_statvfs.h" instead of <sys/statvfs.h>.
29417 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29418 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29419 instead of <sys/statvfs.h>.
29420 (__internal_statvfs): Removed.
29421 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29422 instead of <sys/statvfs.h>.
29423 (__internal_statvfs64): Removed.
29425 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29428 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29429 (__gconv_close): Likewise.
29430 (__gconv): Likewise.
29431 (__gconv_find_transform): Likewise.
29432 (__gconv_lookup_cache): Likewise.
29433 (__gconv_compare_alias_cache): Likewise.
29434 (__gconv_load_cache): Likewise.
29435 (__gconv_get_path): Likewise.
29436 (__gconv_close_transform): Likewise.
29437 (__gconv_release_cache): Likewise.
29438 (__gconv_find_shlib): Likewise.
29439 (__gconv_release_shlib): Likewise.
29440 (__gconv_get_builtin_trans): Likewise.
29441 (__gconv_compare_alias): Likewise.
29442 * include/dlfcn.h (_dlerror_run): Likewise.
29443 * include/stdio.h (__fortify_fail_abort): Likewise.
29444 * include/time.h (__tz_compute): Likewise.
29445 (__strptime_internal): Likewise.
29446 * intl/gettextP.h (_nl_find_domain): Likewise.
29447 (_nl_load_domain): Likewise.
29448 (_nl_find_msg): Likewise.
29449 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29450 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29451 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29452 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29453 (__gai_find_request): Likewise.
29454 (__gai_remove_request): Likewise.
29455 (__gai_notify): Likewise.
29456 (__gai_notify_only): Likewise.
29457 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29458 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29459 (_dl_non_dynamic_init): Likewise.
29460 (_dl_aux_init): Likewise.
29461 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29462 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29464 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29465 (__wcsmbs_clone_conv): Likewise.
29466 (__wcsmbs_named_conv): Likewise.
29468 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29471 * include/stdlib.h (__random): Add attribute_hidden.
29472 (__random_r): Likewise.
29473 (__srandom_r): Likewise.
29474 (__initstate_r): Likewise.
29475 (__setstate_r): Likewise.
29476 (__erand48_r): Likewise.
29477 (__nrand48_r): Likewise.
29478 (__jrand48_r): Likewise.
29479 (__srand48_r): Likewise.
29480 (__seed48_r): Likewise.
29481 (__lcong48_r): Likewise.
29482 (__drand48_iterate): Likewise.
29483 (__setenv): Likewise.
29484 (__unsetenv): Likewise.
29485 (__clearenv): Likewise.
29486 (__ptsname_r): Likewise.
29487 (__posix_openpt): Likewise.
29488 (__add_to_environ): Likewise.
29489 (__realpath): Add libc_hidden_proto.
29490 (__ecvt_r): Likewise.
29491 (__fcvt_r): Likewise.
29492 (__qecvt_r): Likewise.
29493 (__qfcvt_r): Likewise.
29494 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29495 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29497 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29500 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29501 * include/time.h (__mktime_internal): Likewise.
29502 * libio/iolibio.h (__fopen_internal): Likewise.
29504 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
29506 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29508 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29509 Correct offset used to restore PIC register.
29511 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
29514 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29515 code to load address of __getcontext_ret when generating PIC code.
29517 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29519 * elf/Makefile (tests-static-internal): Add
29520 tst-tls1-static-non-pie.
29521 (LDFLAGS-tst-tls1-static-non-pie): New.
29522 * elf/tst-tls1-static-non-pie.c: New file.
29524 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29526 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29527 (asinh): Define using libm_alias_double.
29528 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29529 (cbrt): Define using libm_alias_double.
29530 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29531 <libm-alias-double.h>.
29532 (copysign): Define using libm_alias_double.
29533 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29534 (erf): Define using libm_alias_double.
29536 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29537 (expm1): Define using libm_alias_double.
29538 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29539 (fabs): Define using libm_alias_double.
29540 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29542 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29543 <libm-alias-double.h>.
29544 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29546 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29547 <libm-alias-double.h>.
29548 (getpayload): Define using libm_alias_double.
29549 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29550 <libm-alias-double.h>.
29551 (llrint): Define using libm_alias_double.
29552 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29553 (lrint): Define using libm_alias_double.
29554 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29555 <libm-alias-double.h>.
29556 (nextup): Define using libm_alias_double.
29557 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29558 <libm-alias-double.h>.
29559 (roundeven): Define using libm_alias_double.
29560 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29562 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29563 <libm-alias-double.h>.
29564 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29565 using libm_alias_double.
29566 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29567 (cos): Define using libm_alias_double.
29569 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29570 <libm-alias-double.h>.
29571 (sincos): Define using libm_alias_double.
29572 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29573 (tanh): Define using libm_alias_double.
29574 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29575 <libm-alias-double.h>.
29576 (totalorder): Define using libm_alias_double.
29577 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29578 <libm-alias-double.h>.
29579 (totalordermag): Define using libm_alias_double.
29580 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29582 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29584 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29585 <libm-alias-double.h>.
29586 (getpayload): Define using libm_alias_double.
29587 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29588 <libm-alias-double.h>.
29589 (roundeven): Define using libm_alias_double.
29590 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29591 <libm-alias-double.h>.
29592 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29593 <libm-alias-double.h>.
29594 (totalorder): Define using libm_alias_double.
29595 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29596 <libm-alias-double.h>.
29597 (totalordermag): Define using libm_alias_double.
29598 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29599 libc compat symbol here.
29600 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29601 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29602 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29603 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29604 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29605 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29606 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29607 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29608 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29609 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29611 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29613 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29614 _dl_relocate_static_pie instead of _dl_start to compute load
29615 address in static PIE. Return 0 if _DYNAMIC is undefined for
29618 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29620 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29621 _DYNAMIC is undefined for static executable.
29623 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29625 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29627 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29631 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29633 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29634 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29635 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29636 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29637 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29638 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29639 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29640 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29641 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29642 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29643 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29644 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29645 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29646 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29647 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29648 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29649 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29651 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29653 * math/bits/cmathcalls.h (cimag): Remove inline.
29654 (creal): Remove inline.
29655 (conj): Remove inline.
29657 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29659 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29660 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29661 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29662 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29663 (issignalingf_inline): Likewise.
29664 (POWF_LOG2_TABLE_BITS): Likewise.
29665 (POWF_LOG2_POLY_ORDER): Likewise.
29666 (POWF_SCALE_BITS): Likewise.
29667 (POWF_SCALE): Likewise.
29668 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29669 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29670 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29672 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29674 * math/Makefile (type-float-routines): Add e_log2f_data.
29675 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29676 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29677 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29678 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29679 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29680 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29681 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29683 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29685 * math/Makefile (type-float-routines): Add e_logf_data.
29686 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29687 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29688 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29689 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29690 * sysdeps/i386/fpu/e_logf_data.c: New file.
29691 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29692 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29694 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29696 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29697 undefined _DYNAMIC in PIE libc.a.
29698 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29701 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29703 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29704 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29705 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29706 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29707 (__signbit): Remove.
29708 (__signbitl): Remove.
29709 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29710 (__signbit): Remove.
29711 (__signbitl): Remove.
29712 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29713 (__signbit): Remove.
29714 (__signbitl): Remove.
29715 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29716 (__signbit): Remove.
29717 (__signbitl): Remove.
29718 * sysdeps/tile/bits/mathinline.h: Delete file.
29719 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29720 (__signbit): Remove.
29721 (__signbitl): Remove.
29723 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29725 * math/math.h: Improve handling of C99 isgreater macros.
29726 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29727 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29728 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29729 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29730 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29732 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29734 * sysdeps/aarch64/libm-test-ulps: Update.
29736 2017-09-28 Joseph Myers <joseph@codesourcery.com>
29739 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29740 math_opt_barrier on argument when doing arithmetic on it.
29741 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29742 Likewise. Use math_force_eval not math_opt_barrier after
29744 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29745 math_opt_barrier on argument when doing arithmetic on it.
29746 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29749 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29751 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29753 (__freeifaddrs): Likewise.
29755 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29757 * include/dirent.h (__dirfd): New declaration.
29758 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29760 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29761 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29762 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
29763 * include/unistd.h (__revoke): New declaration.
29764 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29766 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29767 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29769 * include/dirent.h (__seekdir): New declaration.
29770 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29771 redefine as weak alias.
29772 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29774 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29775 and use libc_hidden_def on them.
29776 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29778 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29779 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29780 instead of getifaddrs and freeifaddrs.
29782 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29785 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29786 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29787 (__dso_handle): Remove declaration.
29788 * dlfcn/tstatexit.c (__dso_handle): Removed.
29789 (main): Don't check __dso_handle.
29790 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29791 (main): Don't check __dso_handle.
29792 * include/dso_handle.h: New file.
29793 * malloc/mtrace.c: Include <dso_handle.h>.
29794 (mtrace): Pass __dso_handle directly.
29795 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29796 (__dso_handle): Remove declaration.
29797 (__pthread_atfork): Pass __dso_handle directly.
29798 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29799 (__dso_handle): Removed.
29800 * posix/wordexp-test.c: Include <dso_handle.h>.
29801 (__dso_handle): Remove declaration.
29802 (__app_register_atfork): Pass __dso_handle directly.
29803 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29804 (__dso_handle): Remove declaration.
29805 (at_quick_exit): Pass __dso_handle directly.
29806 * stdlib/atexit.c: Include <dso_handle.h>.
29807 (__dso_handle): Remove declaration.
29808 (atexit): Pass __dso_handle directly.
29809 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29810 (__dso_handle): Removed.
29812 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29814 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29817 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29819 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29820 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29821 values to correct default value for given type.
29823 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29826 * elf/Makefile (tests): Add tst-debug1.
29827 ($(objpfx)tst-debug1): New.
29828 ($(objpfx)tst-debug1.out): Likewise.
29829 ($(objpfx)tst-debug1mod1.so): Likewise.
29830 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29831 with p_filesz == 0.
29832 * elf/tst-debug1.c: New file.
29834 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29836 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29837 Define using __ifunc.
29839 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29841 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29844 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29847 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29849 2017-09-26 Florian Weimer <fweimer@redhat.com>
29851 * resolv/Makefile (tests-internal): Fix typo in comment.
29853 2017-09-26 Florian Weimer <fweimer@redhat.com>
29855 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29857 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29859 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29860 Use an union instead of a max_align_t array for __space,
29861 so that __space is the same size on all platforms.
29862 * malloc/scratch_buffer_grow_preserve.c
29863 (__libc_scratch_buffer_grow_preserve): Likewise.
29866 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29868 * posix/Makefile (routines): Add glob-lstat-compat and
29869 glob64-lstat-compat.
29870 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29871 * posix/glob-lstat-compat.c: New file.
29872 * posix/glob64-lstat-compat.c: Likewise.
29873 * posix/tst-glob_lstat_compat.c: Likewise.
29874 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29875 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29876 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29877 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29879 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29880 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29881 * posix/glob.c (glob_lstat): New function.
29882 (glob): Rename to __glob and add versioned symbol to 2.27.
29883 (glob_in_dir): Use glob_lstat.
29884 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29885 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29886 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29888 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29889 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29890 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29891 gl_lstat on glob call.
29892 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29893 and glob64 symbols.
29894 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29895 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29896 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29897 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29898 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29899 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29900 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29901 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29902 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29903 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29904 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29905 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29908 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29910 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29911 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29912 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29913 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29914 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29917 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29918 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29919 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29921 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29923 * configure.ac (AS): Require binutils 2.25 or later.
29924 * configure: Regenerated.
29926 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29929 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29932 2017-09-25 DJ Delorie <dj@redhat.com>
29935 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29938 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29940 * sysdeps/ieee754/dbl-64/sincos32.h
29941 [SINCCOS32_H]: Remove define.
29942 [SINCOS32_H]: Define.
29944 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29946 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29948 * math/w_exp2f.c: New file.
29949 * math/w_expf.c: New file.
29950 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29951 * math/w_expf_compat.c (__expf_compat): Likewise.
29952 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29953 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29954 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29955 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29956 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29957 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29958 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29959 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29960 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29961 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29962 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29963 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29964 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29965 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29974 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29975 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29976 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29977 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29978 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29983 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29984 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29985 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29987 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29989 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29990 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29991 (roundtoint, converttoint): Likewise.
29992 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29993 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29994 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29995 * sysdeps/ieee754/flt-32/math_config.h: New file.
29996 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29997 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29998 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29999 * sysdeps/i386/fpu/math_errf.c: New file.
30000 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
30001 * sysdeps/ia64/fpu/math_errf.c: New file.
30002 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
30003 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
30005 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
30007 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
30008 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
30009 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
30010 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
30011 to make sure that these symbols are defined.
30012 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
30014 (__need_NULL): Do not define.
30015 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
30017 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
30018 CMGROUP_MAX, cmsgcred): Do not define.
30019 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
30021 * bits/socket.h: Likewise.
30022 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
30023 __gettimeofday instead of gettimeofday.
30024 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
30025 instead of settimeofday.
30027 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30029 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
30030 (asinhf): Define using libm_alias_float.
30031 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
30032 (atanf): Define using libm_alias_float.
30033 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
30034 (cbrtf): Define using libm_alias_float.
30035 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
30036 (ceilf): Define using libm_alias_float.
30037 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
30038 <libm-alias-float.h>.
30039 (copysignf): Define using libm_alias_float.
30040 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
30041 (cosf): Define using libm_alias_float.
30042 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
30043 (erff): Define using libm_alias_float.
30045 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
30046 (expm1f): Define using libm_alias_float.
30047 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
30048 (fabsf): Define using libm_alias_float.
30049 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
30050 (floorf): Define using libm_alias_float.
30051 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
30052 (frexpf): Define using libm_alias_float.
30053 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
30055 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
30056 <libm-alias-float.h>.
30057 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
30059 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
30060 <libm-alias-float.h>.
30061 (getpayloadf): Define using libm_alias_float.
30062 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
30063 <libm-alias-float.h>.
30064 (llrintf): Define using libm_alias_float.
30065 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
30066 <libm-alias-float.h>.
30067 (llroundf): Define using libm_alias_float.
30068 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
30069 (logbf): Define using libm_alias_float.
30070 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
30071 (lrintf): Define using libm_alias_float.
30072 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
30073 (lroundf): Define using libm_alias_float.
30074 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
30075 (modff): Define using libm_alias_float.
30076 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
30077 <libm-alias-float.h>.
30078 (nearbyintf): Define using libm_alias_float.
30079 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
30080 <libm-alias-float.h>.
30081 (nextafterf): Define using libm_alias_float.
30082 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
30083 <libm-alias-float.h>.
30084 (nextupf): Define using libm_alias_float.
30085 * sysdeps/ieee754/flt-32/s_remquof.c: Include
30086 <libm-alias-float.h>.
30087 (remquof): Define using libm_alias_float.
30088 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
30089 (rintf): Define using libm_alias_float.
30090 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
30091 <libm-alias-float.h>.
30092 (roundevenf): Define using libm_alias_float.
30093 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
30094 (roundf): Define using libm_alias_float.
30095 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
30096 using libm_alias_float.
30097 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
30098 <libm-alias-float.h>.
30099 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
30100 Define using libm_alias_float.
30101 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
30102 <libm-alias-float.h>.
30103 (sincosf): Define using libm_alias_float.
30104 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
30105 (sinf): Define using libm_alias_float.
30106 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
30107 (tanf): Define using libm_alias_float.
30108 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
30109 (tanhf): Define using libm_alias_float.
30110 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
30111 <libm-alias-float.h>.
30112 (totalorderf): Define using libm_alias_float.
30113 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
30114 <libm-alias-float.h>.
30115 (totalordermagf): Define using libm_alias_float.
30116 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
30117 (truncf): Define using libm_alias_float.
30118 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
30120 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
30123 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30126 math/math.h: Let fpclassify use the builtin in C++ mode, even
30127 when optimazing for size.
30129 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30131 * csu/Makefile (generated): Do not add version-info.h.
30132 (before-compile): Likewise.
30133 (all-Banner-files): Remove variable.
30134 ($(objpfx)version-info.h): Remove rule.
30135 * csu/version.c (banner): Do not include "version-info.h".
30136 * libidn/Banner: Remove.
30137 * manual/contrib.texi (Simon Josefsson): New entry.
30139 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30141 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30142 Remove conditionals on LDBL_MANT_DIG.
30143 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30144 (__ieee754_lgammal_r): Likewise.
30146 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30148 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
30150 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
30151 _Float128 and L(). Replace _Float128 with long double and L(x)
30152 with xL, throughout the file.
30153 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30154 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30155 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30156 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30158 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30160 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
30161 sysdeps/ieee754/ldbl-128ibm.
30162 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
30163 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
30164 of including it. Keep _Float128 and L() intact. These will be
30165 reviewed by a separate patch.
30166 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30167 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30168 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30169 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30171 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
30174 (__finitef128): Define to __redirect___finitef128.
30175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
30176 (__isinff128): Define to __redirect___isinff128.
30177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
30178 (__isnanf128): Define to __redirect___isnanf128.
30180 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30182 * sysdeps/powerpc/powerpc64le/Makefile
30183 (CFLAGS-tst-strtod-nan-locale.c): New variable.
30184 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
30186 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
30187 Carlos O'Donell <carlos@redhat.com>
30190 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
30191 * stdlib/test-dlclose-exit-race.c: New file.
30192 * stdlib/test-dlclose-exit-race-helper.c: New file.
30193 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
30195 2017-09-21 Joseph Myers <joseph@codesourcery.com>
30197 * crypt/Banner: Remove file.
30198 * nptl/Banner: Likewise.
30199 * resolv/Banner: Likewise.
30200 * soft-fp/Banner: Likewise.
30201 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
30202 ($(objpfx)version.d): Remove dependency on banner.h.
30203 ($(objpfx)version.os): Likewise.
30204 * nptl/version.c (banner): Do not include banner.h.
30205 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
30206 Jelinek and BIND code.
30208 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30209 Carlos O'Donell <carlos@redhat.com>
30211 * support/xdlfcn.h: New file.
30212 * support/xdlfcn.c: New file.
30213 * support/Makefile (libsupport-routines): Add xdlfcn.
30214 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
30216 2017-09-20 Joseph Myers <joseph@codesourcery.com>
30219 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30220 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
30221 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
30222 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
30223 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
30224 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
30225 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
30226 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
30228 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30229 Ricky Zhou <rickyz@google.com>
30230 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
30233 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
30235 (__new_exitfn): Fail registration when we finished at_exit processing.
30236 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30237 * stdlib/on_exit.c (__on_exit): Likewise.
30238 * stdlib/exit.c (__exit_funcs_done): New variable.
30239 (__run_exit_handlers): Use __exit_funcs_lock.
30240 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
30242 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
30243 (test-cxa_atexit-race, test-on_exit-race): New tests.
30244 * stdlib/test-atexit-race-common.c: New file.
30245 * stdlib/test-atexit-race.c: New file.
30246 * stdlib/test-at_quick_exit-race.c: New file.
30247 * stdlib/test-cxa_atexit-race.c: New file.
30248 * stdlib/test-on_exit-race.c: New file.
30250 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
30252 * benchtests/Makefile: Add exp2f and log2f benchmarks.
30253 * benchtests/exp2f-inputs: Copy of expf-inputs.
30254 * benchtests/log2f-inputs: Copy of logf-inputs.
30256 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30258 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
30259 Explicitly take address of first element of array arguments in
30260 call to INLINE_SYSCALL.
30262 2017-09-19 Andreas Schwab <schwab@suse.de>
30265 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
30267 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
30269 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
30270 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
30271 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30272 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
30273 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30274 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30275 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30276 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30277 * posix/Makefile (tests): Add tst-fexecve.
30278 * posix/tst-fexecve.c: New file.
30280 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30282 * benchtests/Makefile: Add logf benchmark.
30283 * benchtests/logf-inputs: Add reduced trace from wrf_r.
30285 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30287 * benchtests/Makefile: Add expf benchmark.
30288 * benchtests/expf-inputs: Add reduced trace from wrf_r.
30290 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30292 * csu/Makefile: Add -funwind-tables to libc-start.c.
30293 * debug/Makefile: Add -funwind-tables to backtrace.c.
30294 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
30295 * sysdeps/arm/Makefile: Likewise.
30296 * sysdeps/i386/Makefile: Likewise.
30297 * sysdeps/m68k/Makefile: Likewise.
30298 * sysdeps/mips/Makefile: Likewise.
30299 * sysdeps/nios2/Makefile: Likewise.
30300 * sysdeps/sh/Makefile: Likewise.
30301 * sysdeps/sparc/Makefile: Likewise.
30303 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30305 * benchtests/Makefile (bench-math): Add trunc and truncf.
30306 (CFLAGS-bench-trunc.c): New variable.
30307 (CFLAGS-bench-truncf.c): Likewise.
30308 * benchtests/trunc-inputs: New file.
30309 * benchtests/truncf-inputs: Likewise.
30311 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30313 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30315 2017-09-18 Joseph Myers <joseph@codesourcery.com>
30317 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30318 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30320 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30321 (exp10l): Define as weak alias.
30322 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30323 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30325 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30326 (remainderl): Define as weak alias.
30328 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30329 (fmal): Define using libm_alias_ldouble.
30330 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30331 (acoshl): Define using libm_alias_ldouble.
30332 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30333 (acosl): Define using libm_alias_ldouble.
30334 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30335 (asinl): Define using libm_alias_ldouble.
30336 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30337 (atan2l): Define using libm_alias_ldouble.
30338 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30339 (atanhl): Define using libm_alias_ldouble.
30340 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30341 (coshl): Define using libm_alias_ldouble.
30342 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30343 (exp10l): Define using libm_alias_ldouble.
30344 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30345 (exp2l): Define using libm_alias_ldouble.
30346 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30347 (expl): Define using libm_alias_ldouble.
30348 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30349 (fmodl): Define using libm_alias_ldouble.
30350 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30351 (hypotl): Define using libm_alias_ldouble.
30352 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30353 (j0l): Define using libm_alias_ldouble.
30355 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30356 (j1l): Define using libm_alias_ldouble.
30358 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30359 (jnl): Define using libm_alias_ldouble.
30361 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30362 (log10l): Define using libm_alias_ldouble.
30363 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30364 (log2l): Define using libm_alias_ldouble.
30365 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30366 (logl): Define using libm_alias_ldouble.
30367 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30368 (powl): Define using libm_alias_ldouble.
30369 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30370 (remainderl): Define using libm_alias_ldouble.
30371 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30372 (sinhl): Define using libm_alias_ldouble.
30373 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30374 (sqrtl): Define using libm_alias_ldouble.
30375 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30376 (tgammal): Define using libm_alias_ldouble.
30377 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30378 (exp10l): Do not use long_double_symbol here.
30379 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30380 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30381 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30382 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30383 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30384 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30385 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30386 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30387 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30388 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30389 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30390 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30391 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30392 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30393 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30394 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30395 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30396 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30397 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30398 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30399 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30400 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30402 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30404 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30405 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30407 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30409 * io/read.c (read): Add libc_hidden_weak.
30410 * sysdeps/mach/hurd/read.c (read): Likewise.
30411 * io/write.c (write): Likewise.
30412 * sysdeps/mach/hurd/write.c (write): Likewise.
30413 * io/pread64.c (__pread64): Likewise.
30414 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30415 * posix/pread64.c (__pread64): Add libc_hidden_def.
30417 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30419 * benchtests/scripts/compare_strings.py: New option -g.
30420 (draw_graph): Print a message that a graph is being generated.
30421 (process_results): Generate graph only if -g is passed.
30422 (main): Process option -g.
30424 * benchtests/scripts/compare_strings.py (process_results):
30425 Better spacing for output.
30427 * benchtests/scripts/compare_strings.py: Use argparse.
30428 * benchtests/README: Document existence of compare_strings.py.
30430 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30432 * math/s_fma.c: Include <libm-alias-double.h>.
30433 (fma): Define using libm_alias_double.
30434 * math/s_nextafter.c: Include <libm-alias-double.h>.
30435 (nextafter): Define using libm_alias_double.
30436 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30437 (acos): Define using libm_alias_double.
30438 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30439 (aocsh): Define using libm_alias_double.
30440 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30441 (asin): Define using libm_alias_double.
30442 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30443 (atan2): Define using libm_alias_double.
30444 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30445 (atanh): Define using libm_alias_double.
30446 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30447 (cosh): Define using libm_alias_double.
30448 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30449 (exp10): Define using libm_alias_double.
30450 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30451 (exp2): Define using libm_alias_double.
30452 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30453 (exp): Define using libm_alias_double.
30454 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30455 (fmod): Define using libm_alias_double.
30456 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30457 (hypot): Define using libm_alias_double.
30458 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30459 (j0): Define using libm_alias_double.
30461 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30462 (j1): Define using libm_alias_double.
30464 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30465 (jn): Define using libm_alias_double.
30467 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30468 (log10): Define using libm_alias_double.
30469 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30470 (log2): Define using libm_alias_double.
30471 * math/w_log_compat.c: Include <libm-alias-double.h>.
30472 (log): Define using libm_alias_double.
30473 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30474 (pow): Define using libm_alias_double.
30475 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30476 (remainder): Define using libm_alias_double.
30477 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30478 (sinh): Define using libm_alias_double.
30479 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30480 (sqrt): Define using libm_alias_double.
30481 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30482 (tgamma): Define using libm_alias_double.
30483 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30484 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30485 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30486 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30487 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30488 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30489 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30490 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30491 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30492 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30493 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30494 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30495 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30496 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30497 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30498 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30499 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30500 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30501 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30502 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30503 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30504 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30505 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30506 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30507 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30509 * math/e_acoshl.c: Remove.
30510 * math/e_acosl.c: Likewise.
30511 * math/e_asinl.c: Likewise.
30512 * math/e_atan2l.c: Likewise.
30513 * math/e_atanhl.c: Likewise.
30514 * math/e_coshl.c: Likewise.
30515 * math/e_expl.c: Likewise.
30516 * math/e_fmodl.c: Likewise.
30517 * math/e_gammal_r.c: Likewise.
30518 * math/e_hypotl.c: Likewise.
30519 * math/e_j0l.c: Likewise.
30520 * math/e_j1l.c: Likewise.
30521 * math/e_jnl.c: Likewise.
30522 * math/e_lgammal_r.c: Likewise.
30523 * math/e_log10l.c: Likewise.
30524 * math/e_log2l.c: Likewise.
30525 * math/e_logl.c: Likewise.
30526 * math/e_powl.c: Likewise.
30527 * math/e_rem_pio2l.c: Likewise.
30528 * math/e_sinhl.c: Likewise.
30529 * math/e_sqrtf128.c: Likewise.
30530 * math/e_sqrtl.c: Likewise.
30531 * math/k_cosl.c: Likewise.
30532 * math/k_sinl.c: Likewise.
30533 * math/k_tanl.c: Likewise.
30534 * math/s_asinhl.c: Likewise.
30535 * math/s_atanl.c: Likewise.
30536 * math/s_cbrtl.c: Likewise.
30537 * math/s_erfl.c: Likewise.
30538 * math/s_expm1l.c: Likewise.
30539 * math/s_log1pl.c: Likewise.
30540 * math/s_tanhl.c: Likewise.
30542 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30545 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30546 [$(subdir) = math] (sysdep_calls): New variable. Has the
30547 previous contents of sysdep_routines, but re-sorted..
30548 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30550 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30551 defined in sysdep_calls and replace by the respective m_* names.
30552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30553 (compat_symbol): Undefine to avoid duplicated compat symbols in
30556 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30558 * math/s_fmaf.c: Include <libm-alias-float.h>.
30559 (fmaf): Define using libm_alias_float.
30560 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30561 (acosf): Define using libm_alias_float.
30562 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30563 (acoshf): Define using libm_alias_float.
30564 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30565 (asinf): Define using libm_alias_float.
30566 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30567 (atan2f): Define using libm_alias_float.
30568 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30569 (atanhf): Define using libm_alias_float.
30570 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30571 (coshf): Define using libm_alias_float.
30572 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30573 (exp10f): Define using libm_alias_float.
30574 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30575 (fmodf): Define using libm_alias_float.
30576 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30577 (hypotf): Define using libm_alias_float.
30578 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30579 (j0f): Define using libm_alias_float.
30581 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30582 (j1f): Define using libm_alias_float.
30584 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30585 (jnf): Define using libm_alias_float.
30587 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30588 (log10f): Define using libm_alias_float.
30589 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30590 (log2f): Define using libm_alias_float.
30591 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30592 (logf): Define using libm_alias_float.
30593 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30594 (powf): Define using libm_alias_float.
30595 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30596 (remainderf): Define using libm_alias_float.
30597 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30598 (sinhf): Define using libm_alias_float.
30599 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30600 (sqrtf): Define using libm_alias_float.
30601 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30602 (tgammaf): Define using libm_alias_float.
30604 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30606 * include/math.h (roundeven): Change hidden_proto call to
30608 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30610 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30611 (y0): Rename to __y0 and define as weak alias.
30612 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30613 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30615 (y0f): Rename to __y0f and define as weak alias.
30616 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30618 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30619 (y1): Rename to __y1 and define as weak alias.
30620 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30621 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30623 (y1f): Rename to __y1f and define as weak alias.
30624 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30626 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30627 (yn): Rename to __yn and define as weak alias.
30628 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30629 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30631 (ynf): Rename to __ynf and define as weak alias.
30632 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30633 (fromfp): Define as weak alias.
30634 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30635 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30636 (fromfpx): Define as weak alias.
30637 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30638 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30639 __getpayload and define as weak alias.
30640 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30641 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30642 __roundeven and define as weak alias.
30643 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30644 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30646 (setpayload): Define as weak alias.
30647 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30648 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30650 (setpayloadsig): Define as weak alias.
30651 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30652 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30653 __totalorder and define as weak alias.
30654 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30655 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30656 to __totalordermag and define as weak alias.
30657 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30658 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30659 (ufromfp): Define as weak alias.
30660 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30661 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30663 (ufromfpx): Define as weak alias.
30664 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30665 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30666 Rename to __getpayload and define as weak alias.
30667 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30668 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30669 Rename to __roundeven and define as weak alias.
30670 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30671 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30672 Rename to __totalorder and define as weak alias.
30673 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30674 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30675 (totalordermag): Rename to __totalordermag and define as weak
30677 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30678 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30680 (__roundevenl): Likewise.
30681 (__totalorderl): Likewise.
30682 (__totalordermagl): Likewise
30683 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30685 (fromfpf128): Define as weak alias.
30686 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30688 (fromfpxf128): Define as weak alias.
30689 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30691 (setpayloadf128): Define as weak alias.
30692 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30693 __setpayloadsigf128.
30694 (setpayloadsigf128): Define as weak alias.
30695 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30697 (ufromfpf128): Define as weak alias.
30698 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30700 (ufromfpxf128): Define as weak alias.
30701 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30702 (fromfpf): Define as weak alias.
30703 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30705 (fromfpxf): Define as weak alias.
30706 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30707 __getpayloadf and define as weak alias.
30708 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30709 __roundevenf and define as weak alias.
30710 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30712 (setpayloadf): Define as weak alias.
30713 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30715 (setpayloadsigf): Define as weak alias.
30716 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30717 __totalorderf and define as weak alias.
30718 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30719 Rename to __totalordermagf and define as weak alias.
30720 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30722 (ufromfpf): Define as weak alias.
30723 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30725 (ufromfpxf): Define as weak alias.
30726 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30728 (fromfpl): Define as weak alias.
30729 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30731 (fromfpxl): Define as weak alias.
30732 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30733 to __getpayloadl and define as weak alias.
30734 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30735 __roundevenl and define as weak alias.
30736 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30738 (setpayloadl): Define as weak alias.
30739 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30741 (setpayloadsigl): Define as weak alias.
30742 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30743 to __totalorderl and define as weak alias.
30744 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30745 Rename to __totalordermagl and define as weak alias.
30746 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30748 (ufromfpl): Define as weak alias.
30749 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30751 (ufromfpxl): Define as weak alias.
30752 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30754 (fromfpl): Define as weak alias.
30755 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30757 (fromfpxl): Define as weak alias.
30758 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30759 Rename to __getpayloadl and define as weak alias.
30760 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30761 to __roundevenl and define as weak alias. Call __roundeven
30762 instead of roundeven.
30763 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30765 (setpayloadl): Define as weak alias.
30766 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30768 (setpayloadsigl): Define as weak alias.
30769 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30770 Rename to __totalorderl and define as weak alias.
30771 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30772 Rename to __totalordermagl and define as weak alias.
30773 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30775 (ufromfpl): Define as weak alias.
30776 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30778 (ufromfpxl): Define as weak alias.
30779 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30781 (fromfpl): Define as weak alias.
30782 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30784 (fromfpxl): Define as weak alias.
30785 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30786 __getpayloadl and define as weak alias.
30787 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30788 __roundevenl and define as weak alias.
30789 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30791 (setpayloadl): Define as weak alias.
30792 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30794 (setpayloadsigl): Define as weak alias.
30795 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30796 __totalorderl and define as weak alias.
30797 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30798 Rename to __totalordermagl and define as weak alias.
30799 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30801 (ufromfpl): Define as weak alias.
30802 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30804 (ufromfpxl): Define as weak alias.
30806 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30808 * benchtests/bench-string.h (realloc_bufs): New function.
30809 (test_init): Call it.
30810 * benchtests/bench-memset-large.c (do_test): Likewise.
30811 * benchtests/bench-memset.c (do_test): Likewise.
30813 * benchtests/bench-memset-large.c: Print output in JSON
30815 * benchtests/bench-memset.c: Likewise.
30817 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30820 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30821 * iconvdata/Makefile: Add IBM858.
30822 * iconvdata/gconv-modules: Likewise.
30823 * iconvdata/tst-tables.sh: Likewise.
30824 * iconvdata/ibm858.c: New file.
30825 * localedata/charmaps/IBM858: Likewise.
30827 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
30830 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30831 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30833 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30836 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30837 and add tel_int_fmt.
30839 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30841 * sysdeps/generic/libm-alias-float128.h: New file.
30842 * sysdeps/generic/math-type-macros-float128.h: Include
30843 <libm-alias-float128.h>.
30844 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30846 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30848 * sysdeps/generic/libm-alias-ldouble.h: New file.
30849 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30850 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30851 * sysdeps/generic/math-type-macros-ldouble.h: Include
30852 <libm-alias-ldouble.h>.
30853 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30854 libm_alias_ldouble.
30856 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30858 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30859 * math/w_exp_compat.c: ... here.
30860 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30861 * math/w_expf_compat.c: ... here.
30862 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30863 * math/w_expl_compat.c: ... here.
30864 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30865 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30866 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30867 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30869 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30871 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30873 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30875 (ldexpl): Only define as compat symbol for libc, not libm.
30876 (scalbnl): Define as compat symbol for libc here.
30877 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30878 define for [IS_IN (libc)].
30879 (__ldexpl_2): Remove alias.
30880 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30881 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30882 name in long_double_symbol call.
30883 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30884 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30885 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30886 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30887 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30889 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30890 Define as compat symbol.
30892 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30894 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30895 * sysdeps/unix/sysv/linux/alpha/Makefile
30896 [$(subdir) = csu] (sysdep_routines): Remove rule.
30898 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30900 * sysdeps/generic/libm-alias-double.h: New file.
30901 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30902 * sysdeps/generic/math-type-macros-double.h: Include
30903 <libm-alias-double.h>.
30904 [declare_mgen_alias] (declare_mgen_alias): Define to use
30906 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30907 (M_LIBM_NEED_COMPAT): Remove macro.
30908 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30909 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30910 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30912 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30913 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30914 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30915 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30916 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30917 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30918 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30919 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30920 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30921 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30922 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30923 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30924 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30925 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30926 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30927 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30928 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30929 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30930 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30931 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30932 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30933 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30934 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30935 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30936 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30937 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30938 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30939 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30940 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30942 (declare_mgen_alias): New macro.
30943 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30944 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30946 (M_LIBM_NEED_COMPAT): Remove macro.
30947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30948 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30949 <first-versions.h>.
30950 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30951 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30953 2017-09-12 Joseph Myers <joseph@codesourcery.com>
30955 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30956 (declare_mgen_alias_2): Remove.
30957 * sysdeps/generic/math-type-macros-double.h
30958 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30960 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30962 (ldexp): Define with declare_mgen_alias.
30963 (scalbn): Likewise.
30965 2017-09-12 Steve Ellcey <sellcey@cavium.com>
30967 * grp/initgroups.c: Include config.h.
30968 (DEFAULT_CONFIG): New macro.
30969 (internal_getgrouplist): Use DEFAULT_CONFIG.
30970 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30971 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30972 (DEFAULT_DEFCONFIG): New macro.
30973 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30974 * nss/grp-lookup.c: Include config.h
30975 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30976 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30977 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30978 * manual/nss.texi: Update default values section.
30980 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30983 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30985 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30986 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30987 Handle MathVec_Prefer_No_AVX512.
30988 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30989 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30992 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30994 * posix/sched_primax.c (__sched_get_priority_max): Add
30996 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30997 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30998 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30999 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
31000 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
31001 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
31002 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
31003 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
31006 2017-09-11 Joseph Myers <joseph@codesourcery.com>
31008 * sysdeps/generic/libm-alias-float.h: New file.
31009 * sysdeps/generic/math-type-macros-float.h: Include
31010 <libm-alias-float.h>.
31011 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31013 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
31016 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
31017 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
31018 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
31019 (HWCAP_IMPORTANT): Likewise.
31020 (HWCAP_X86_64): New enum.
31021 (HWCAP_X86_AVX512_1): Updated.
31022 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
31023 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
31024 (modules-names): Add x86_64/tst-x86_64mod-1.
31025 (LDFLAGS-tst-x86_64mod-1.so): New.
31026 ($(objpfx)tst-x86_64-1): Likewise.
31027 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
31028 (tst-x86_64-1-clean): Likewise.
31029 * sysdeps/x86_64/tst-x86_64-1.c: New file.
31030 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
31032 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31034 * po/sv.po: Update translations.
31035 * po/fr.po: Likewise.
31037 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31039 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
31041 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
31043 * elf/rtld-Rules: Fix $(error) use.
31045 2017-09-09 Mike FABIAN <mfabian@redhat.com>
31048 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
31049 * locale/iso-639.def: Change “Bengali” to “Bangla”.
31050 * localedata/locales/bn_BD: “Bengali” was still used in some
31051 comments. Change it to “Bangla”.
31053 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
31055 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
31057 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31059 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
31060 thunderx2t99p1 to list of cpu names.
31061 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31062 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
31064 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31066 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
31067 Use strcmp instead of tunable_is_name.
31069 2017-09-08 Joseph Myers <joseph@codesourcery.com>
31071 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31072 (F_GET_RW_HINT): New macro.
31073 [__USE_GNU] (F_SET_RW_HINT): Likewise.
31074 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
31075 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
31076 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
31077 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
31078 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
31079 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
31080 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
31081 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
31083 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31084 (F_ADD_SEALS): New macro.
31085 [__USE_GNU] (F_GET_SEALS): Likewise.
31086 [__USE_GNU] (F_SEAL_SEAL): Likewise.
31087 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
31088 [__USE_GNU] (F_SEAL_GROW): Likewise.
31089 [__USE_GNU] (F_SEAL_WRITE): Likewise.
31091 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31093 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
31094 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
31095 * posix/glob_internal.h (__glob_pattern_type):
31096 * posix/glob.c (glob):
31097 * posix/glob_pattern_p.c (__glob_pattern_p):
31100 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
31101 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31102 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
31103 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
31104 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
31106 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
31107 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
31108 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31109 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31110 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31111 * sysdeps/wordsize-64/glob.c: Likewise.
31112 * sysdeps/wordsize-64/glob64.c: Likewise.
31113 * sysdeps/wordsize-64/globfree.c: Likewise.
31114 * sysdeps/wordsize-64/globfree64.c: Likewise.
31115 * sysdeps/unix/sysv/linux/glob.c: New file.
31116 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
31117 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
31118 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
31119 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31120 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
31121 adds !GLOB_NO_OLD_VERSION as an extra condition.
31122 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
31123 using relative path instead of absolute one.
31124 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
31125 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31126 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31127 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
31128 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
31129 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
31132 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
31133 (glob): Use the same scratch buffer for both getlogin_r and
31134 getpwnam_r. Don’t require preallocation of the login name. This
31135 simplifies storage allocation, and corrects the handling of
31139 * posix/glob.c (glob): Port recent patches to platforms
31140 lacking getpwnam_r.
31141 (glob): Fix longstanding misuse of errno after getpwnam_r, which
31142 returns an error number rather than setting errno.
31144 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
31145 instead of GCC extension.
31146 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
31147 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
31148 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
31152 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
31153 * posix/bug-glob1.c: Remove file.
31154 * posix/tst-glob_symlinks.c: New file.
31155 * posix/glob.c (__lstat64): New macro.
31156 (is_dir): New function.
31157 (glob, glob_in_dir): Match symlinks even if they are dangling.
31158 (link_stat, link_exists_p): Remove. All uses removed.
31162 * posix/glob.c (struct readdir_result): Remove skip_entry member.
31163 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
31168 * posix/Makefile (routines): Add globfree, globfree64, and
31170 * posix/flexmember.h: New file.
31171 * posix/glob_internal.h: Likewise.
31172 * posix/glob_pattern_p.c: Likewise.
31173 * posix/globfree.c: Likewise.
31174 * posix/globfree64.c: Likewise.
31175 * sysdeps/gnu/globfree64.c: Likewise.
31176 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
31177 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31178 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
31179 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31180 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31181 * sysdeps/wordsize-64/globfree.c: Likewise.
31182 * sysdeps/wordsize-64/globfree64.c: Likewise.
31183 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
31184 [NDEBUG): Remove comments.
31185 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
31186 (dirent_type): New type. Use uint_fast8_t not
31187 uint8_t, as C99 does not require uint8_t.
31188 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
31189 (struct readdir_result): Use dirent_type. Do not define skip_entry
31190 unless it is needed; this saves a byte on platforms lacking d_ino.
31191 (readdir_result_type, readdir_result_skip_entry):
31192 New functions, replacing ...
31193 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
31194 these functions, which were removed. This makes the callers
31195 easier to read. All callers changed.
31196 (D_INO_TO_RESULT): Now empty if there is no d_ino.
31197 (size_add_wrapv, glob_use_alloca): New static functions.
31198 (glob, glob_in_dir): Check for size_t overflow in several places,
31199 and fix some size_t checks that were not quite right.
31200 Remove old code using SHELL since Bash no longer
31202 (glob, prefix_array): Separate MS code better.
31203 (glob_in_dir): Remove old Amiga and VMS code.
31204 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
31206 (glob_in_dir): Do not rely on undefined behavior in accessing
31207 struct members beyond their bounds. Use a flexible array member
31209 (link_stat): Rename from link_exists2_p and return -1/0 instead of
31210 0/1. Caller changed.
31211 (glob): Fix memory leaks.
31212 * posix/glob64 (globfree64): Move to separate file.
31213 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
31214 (globfree64): Remove hidden alias.
31215 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
31217 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
31219 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
31221 Move compat code to separate file.
31222 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
31225 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
31227 * resolv/tst-resolv-qtypes.c (domain): Changed to
31228 "const char domain[] =".
31230 2017-09-07 Joseph Myers <joseph@codesourcery.com>
31232 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
31235 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
31236 (TCP_MD5SIG_EXT): Likewise.
31237 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
31238 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
31239 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
31241 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
31243 2017-09-07 Mike FABIAN <mfabian@redhat.com>
31245 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
31247 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
31250 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
31252 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31254 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
31255 before assuming that the file is empty. Avoid testing buffer content
31258 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31261 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31263 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
31265 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
31267 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
31269 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31271 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
31273 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
31276 2017-09-06 Florian Weimer <fweimer@redhat.com>
31278 * malloc/dynarray_emplace_enlarge.c
31279 (__libc_dynarray_emplace_enlarge): Add missing else.
31281 2017-09-06 Florian Weimer <fweimer@redhat.com>
31284 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
31285 case of failure to obtain the global conf object.
31287 2017-09-06 Florian Weimer <fweimer@redhat.com>
31290 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
31291 dynarray allocation failure.
31293 2017-09-06 Florian Weimer <fweimer@redhat.com>
31295 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
31296 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
31297 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
31299 (response): Call them. Add 'p', '6' flag processing.
31300 (test_reverse): New function.
31301 (test_get2_any): Call it.
31302 (test_no_inet6): Add 'p' test.
31303 (test_inet6): Likewise.
31305 2017-09-06 Florian Weimer <fweimer@redhat.com>
31307 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
31308 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
31310 (test_gai): Adjust query names. Add additional tests.
31311 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
31312 test_get2. Adjust query names. Add additional tests.
31313 (test_no_inet6): New function, extracted from threadfunc.
31314 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31315 Add additional tests.
31317 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31320 * localedata/unicode-gen/utf8_gen.py: Set the width for
31321 characters with Prepended_Concatenation_Mark property to 1
31322 * localedata/charmaps/UTF-8: Updated using the improved script.
31324 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31327 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31328 use the range notation for all ranges of neighbouring characters
31329 with the same width.
31331 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31333 * sysdeps/generic/math-type-macros-double.h: Include
31334 <math-svid-compat.h>.
31335 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31336 * sysdeps/generic/math-type-macros-float.h: Include
31337 <math-svid-compat.h>.
31338 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31339 * sysdeps/generic/math-type-macros-ldouble.h: Include
31340 <math-svid-compat.h>.
31341 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31342 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31344 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31345 * math/w_acosf_compat.c: Likewise.
31346 * math/w_acosh_compat.c: Likewise.
31347 * math/w_acoshf_compat.c: Likewise.
31348 * math/w_acoshl_compat.c: Likewise.
31349 * math/w_acosl_compat.c: Likewise.
31350 * math/w_asin_compat.c: Likewise.
31351 * math/w_asinf_compat.c: Likewise.
31352 * math/w_asinl_compat.c: Likewise.
31353 * math/w_atan2_compat.c: Likewise.
31354 * math/w_atan2f_compat.c: Likewise.
31355 * math/w_atan2l_compat.c: Likewise.
31356 * math/w_atanh_compat.c: Likewise.
31357 * math/w_atanhf_compat.c: Likewise.
31358 * math/w_atanhl_compat.c: Likewise.
31359 * math/w_cosh_compat.c: Likewise.
31360 * math/w_coshf_compat.c: Likewise.
31361 * math/w_coshl_compat.c: Likewise.
31362 * math/w_exp10_compat.c: Likewise.
31363 * math/w_exp10f_compat.c: Likewise.
31364 * math/w_exp10l_compat.c: Likewise.
31365 * math/w_exp2_compat.c: Likewise.
31366 * math/w_exp2f_compat.c: Likewise.
31367 * math/w_exp2l_compat.c: Likewise.
31368 * math/w_fmod_compat.c: Likewise.
31369 * math/w_fmodf_compat.c: Likewise.
31370 * math/w_fmodl_compat.c: Likewise.
31371 * math/w_hypot_compat.c: Likewise.
31372 * math/w_hypotf_compat.c: Likewise.
31373 * math/w_hypotl_compat.c: Likewise.
31374 * math/w_j0_compat.c: Likewise.
31375 * math/w_j0f_compat.c: Likewise.
31376 * math/w_j0l_compat.c: Likewise.
31377 * math/w_j1_compat.c: Likewise.
31378 * math/w_j1f_compat.c: Likewise.
31379 * math/w_j1l_compat.c: Likewise.
31380 * math/w_jn_compat.c: Likewise.
31381 * math/w_jnf_compat.c: Likewise.
31382 * math/w_jnl_compat.c: Likewise.
31383 * math/w_lgamma_r_compat.c: Likewise.
31384 * math/w_lgammaf_r_compat.c: Likewise.
31385 * math/w_lgammal_r_compat.c: Likewise.
31386 * math/w_log10_compat.c: Likewise.
31387 * math/w_log10f_compat.c: Likewise.
31388 * math/w_log10l_compat.c: Likewise.
31389 * math/w_log2_compat.c: Likewise.
31390 * math/w_log2f_compat.c: Likewise.
31391 * math/w_log2l_compat.c: Likewise.
31392 * math/w_log_compat.c: Likewise.
31393 * math/w_logf_compat.c: Likewise.
31394 * math/w_logl_compat.c: Likewise.
31395 * math/w_pow_compat.c: Likewise.
31396 * math/w_powf_compat.c: Likewise.
31397 * math/w_powl_compat.c: Likewise.
31398 * math/w_remainder_compat.c: Likewise.
31399 * math/w_remainderf_compat.c: Likewise.
31400 * math/w_remainderl_compat.c: Likewise.
31401 * math/w_sinh_compat.c: Likewise.
31402 * math/w_sinhf_compat.c: Likewise.
31403 * math/w_sinhl_compat.c: Likewise.
31404 * math/w_sqrt_compat.c: Likewise.
31405 * math/w_sqrtf_compat.c: Likewise.
31406 * math/w_sqrtl_compat.c: Likewise.
31407 * math/w_tgamma_compat.c: Likewise.
31408 * math/w_tgammaf_compat.c: Likewise.
31409 * math/w_tgammal_compat.c: Likewise.
31410 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31411 [LIBM_SVID_COMPAT].
31412 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31413 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31414 [LIBM_SVID_COMPAT].
31415 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31416 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31417 [LIBM_SVID_COMPAT].
31418 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31419 * sysdeps/i386/fpu/w_sqrt.c: New file.
31420 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31421 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31422 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31423 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31424 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31425 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31426 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31427 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31428 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31429 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31430 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31431 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31432 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31433 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31434 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31435 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31436 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31437 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31438 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31439 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31440 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31441 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31442 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31443 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31444 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31445 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31446 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31447 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31448 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31449 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31450 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31451 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31452 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31453 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31454 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31455 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31456 * sysdeps/ia64/fpu/w_log.c: Likewise.
31457 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31458 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31459 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31460 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31461 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31462 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31463 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31464 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31465 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31466 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31467 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31468 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31469 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31470 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31471 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31472 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31473 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31474 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31475 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31476 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31477 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31478 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31479 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31480 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31481 [LIBM_SVID_COMPAT].
31482 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31483 * sysdeps/ieee754/k_standard.c: Likewise.
31484 * sysdeps/ieee754/k_standardf.c: Likewise.
31485 * sysdeps/ieee754/k_standardl.c: Likewise.
31486 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31487 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31488 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31489 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31490 long_double_symbol call on [LIBM_SVID_COMPAT].
31491 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31492 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31493 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31494 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31495 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31496 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31497 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31498 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31499 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31500 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31501 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31502 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31503 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31504 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31505 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31506 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31507 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31508 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31509 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31510 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31511 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31512 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31514 2017-09-05 Steve Ellcey <sellcey@cavium.com>
31516 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31517 * malloc/tst-mallocstate.c: Convert from test-skeleton
31518 to test-driver. Ifdef code using TEST_COMPAT macro.
31519 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31520 * math/test-matherr.c: Likewise.
31522 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31525 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31526 comparing word with byte-swapped constant.
31528 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
31531 * locale/iso-639.def: add Miskito.
31532 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31533 * localedata/locales/miq_NI: New file.
31535 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31538 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31539 (__mkdir): Likewise.
31540 * io/chmod.c (__chmod): Add libc_hidden_def.
31541 * io/mkdir.c (__mkdir): Likewise.
31542 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31543 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31544 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31545 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31547 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31549 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31553 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31554 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31556 2017-09-04 Florian Weimer <fweimer@redhat.com>
31558 * math/math.h: Issue warning if log is defined.
31560 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31562 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31563 kernel version to 4.13.
31565 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31567 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
31568 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31570 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31571 just <bits/types.h>.
31572 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
31573 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
31574 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
31575 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
31576 * misc/preadv2.c: Include <errno.h>.
31577 * misc/preadv64v2.c: Include <errno.h>.
31578 * misc/pwritev2.c: Include <errno.h>.
31579 * misc/pwritev64v2.c: Include <errno.h>.
31580 * sysdeps/posix/preadv2.c: Include <errno.h>.
31581 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31582 Fix <unistd.h> inclusion.
31583 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31584 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
31585 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31586 __strtoul_internal): New functions.
31587 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31588 * sysdeps/posix/system.c: Include <sigsetops.h>.
31589 * sysdeps/mach/hurd/i386/Makefile
31590 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31591 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31592 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
31593 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31594 __feraiseexcept_renamed to feraiseexcept instead of
31595 __GI_feraiseexcept.
31596 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
31597 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
31598 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31599 RWF_NOWAIT): Define to 0 if undefined already.
31600 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31602 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31603 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
31605 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31607 * manual/math.texi (pow10): Do not document.
31608 (pow10f): Likewise.
31609 (pow10l): Likewise.
31610 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31611 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31612 * math/libm-test-exp10.inc (pow10_test): Remove.
31613 (do_test): Do not call pow10.
31614 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31615 [NO_LONG_DOUBLE] (pow10l): Likewise.
31616 * math/w_exp10f_compat.c (pow10f): Likewise.
31617 * math/w_exp10l_compat.c (pow10l): Likewise.
31618 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31619 (pow10): Make into compat symbol.
31620 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31621 (pow10f): Make into compat symbol.
31622 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31623 (pow10l): Make into compat symbol.
31624 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31626 (CFLAGS-nldbl-pow10.c): Remove variable..
31627 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31628 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31629 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31630 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31631 Undefine and redefine.
31632 (pow10l): Make into compat symbol.
31633 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31634 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31635 * sysdeps/arm/libm-test-ulps: Likewise.
31636 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31637 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31638 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31639 * sysdeps/microblaze/libm-test-ulps: Likewise.
31640 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31641 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31642 * sysdeps/nios2/libm-test-ulps: Likewise.
31643 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31644 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31645 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31646 * sysdeps/sh/libm-test-ulps: Likewise.
31647 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31648 * sysdeps/tile/libm-test-ulps: Likewise.
31649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31651 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31653 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31655 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31657 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31658 "../ChangeLog.old/ChangeLog.8".
31659 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31660 "../ChangeLog.old/ChangeLog.14".
31662 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31664 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31667 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31669 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31671 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31673 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31674 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31676 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31678 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31679 32 atexit handlers.
31681 2017-09-01 Zack Weinberg <zackw@panix.com>
31683 * math/math.h (HUGE_VAL): Improve commentary.
31685 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31686 Andreas Schwab <schwab@suse.de>
31689 * include/stdio.h (__gen_tempfd): New function.
31690 * stdio-common/Makefile (routines): Add gentempfd.
31691 * stdio-common/gentempfd.c: New file.
31692 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31693 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31694 unnamed file first.
31696 2017-09-01 Florian Weimer <fweimer@redhat.com>
31700 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31701 result to determine success or failure, not the errno value.
31702 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31703 (tst-nss-files-hosts-erange): Link with -ldl.
31704 * nss/tst-nss-files-hosts-erange.c: New file.
31705 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31706 (do_test): Add NO_DATA tests.
31707 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31708 (do_test): Call it.
31710 2017-09-01 Florian Weimer <fweimer@redhat.com>
31713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31714 coming from gethostbyname2_r.
31716 2017-09-01 Florian Weimer <fweimer@redhat.com>
31718 * support/namespace.h (struct support_chroot_configuration): Add
31720 (struct support_chroot): Add path_hosts, path_host_conf.
31721 * support/support_chroot.c (write_file): New function.
31722 (support_chroot_create): Call it to process /etc/resolv.conf,
31723 /etc/hosts, /etc/host.conf.
31724 (support_chroot_free): Update.
31726 2017-09-01 Florian Weimer <fweimer@redhat.com>
31728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31729 status indicates it is set.
31731 2017-09-01 Florian Weimer <fweimer@redhat.com>
31734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31735 function lookup failures more reliable.
31737 2017-09-01 Florian Weimer <fweimer@redhat.com>
31739 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31740 (getcanonname): Likewise.
31741 (gaih_inet): Likewise.
31743 2017-09-01 Florian Weimer <fweimer@redhat.com>
31745 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31746 (getcanonname): Likewise.
31747 (gaih_inet): Likewise.
31749 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31750 Richard Henderson <rth@twiddle.net>
31752 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31753 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31754 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31755 (IREG_SIZE, OREG_SIZE): New macros.
31756 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31757 (IREG_SIZE, OREG_SIZE): New macros.
31758 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31759 (IREG_SIZE): New macro.
31760 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31761 (IREG_SIZE): New macro.
31762 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31764 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31765 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31766 (__CONCATX): Handle exceptions correctly on large values that may
31768 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31769 Initialize if not already set.
31770 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31772 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31774 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31775 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31777 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31779 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31781 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31783 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31785 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31787 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31789 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31790 (NO_CANCELLATION): Likewise.
31791 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31793 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31795 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31797 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31798 (NO_CANCELLATION): Likewise.
31799 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31800 (NO_CANCELLATION): Likewise.
31801 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31803 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31805 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31807 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31809 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31811 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31812 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31814 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31816 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31819 2017-08-31 Florian Weimer <fweimer@redhat.com>
31821 * include/libc-symbols.h (internal_function): Remove.
31823 2017-08-31 Florian Weimer <fweimer@redhat.com>
31825 * stdlib/fmtmsg.c (internal_addseverity): Remove
31828 2017-08-31 Florian Weimer <fweimer@redhat.com>
31830 * stdio-common/printf_fp.c (group_number): Remove
31832 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31834 2017-08-31 Florian Weimer <fweimer@redhat.com>
31836 * posix/fnmatch.c (internal_function): Remove definition.
31837 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31838 * posix/regcomp.c (peek_token, init_word_char)
31839 (duplicate_node_closure, fetch_token, peek_token)
31840 (peek_token_bracket, build_range_exp, build_collating_symbol):
31842 * posix/regex_internal.c (re_string_construct_common)
31843 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31844 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31845 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31846 (re_string_translate_buffer, re_string_reconstruct)
31847 (re_string_peek_byte_case, re_string_fetch_byte_case)
31848 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31849 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31850 (re_node_set_add_intersect, re_node_set_init_union)
31851 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31852 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31853 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31854 (re_acquire_state_context): Likewise.
31855 * posix/regex_internal.h (internal_function): Remove definition.
31856 (re_string_realloc_buffers, build_wcs_buffer)
31857 (build_wcs_upper_buffer, build_upper_buffer)
31858 (re_string_translate_buffer, re_string_context_at)
31859 (re_string_char_size_at, re_string_wchar_at)
31860 (re_string_elem_size_at): Likewise.
31861 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31862 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31863 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31864 (re_search_internal, re_search_2_stub, re_search_stub)
31865 (re_copy_regs, prune_impossible_nodes, check_matching)
31866 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31867 (free_fail_stack_return, sift_states_iter_mb)
31868 (sift_states_backward, build_sifted_states)
31869 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31870 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31871 (check_subexp_limits, sift_states_bkref, merge_state_array)
31872 (find_recover_state, transit_state, merge_state_with_log)
31873 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31874 (transit_state_mb, transit_state_bkref, get_subexp)
31875 (get_subexp_sub, find_subexp_node, check_arrival)
31876 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31877 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31878 (check_node_accept_bytes, find_collation_sequence_value)
31879 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31880 (acquire_init_state_context, check_halt_node_context)
31881 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31882 (sub_epsilon_src_nodes): Likewise.
31883 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31884 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31885 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31886 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31887 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31888 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31889 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31890 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31891 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31892 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31893 (PREADV): Likewise.
31894 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31895 (PREADV): Likewise.
31896 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31897 (PWRITEV): Likewise.
31898 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31899 (PWRITEV): Likewise.
31900 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31901 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31903 2017-08-31 Florian Weimer <fweimer@redhat.com>
31905 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31906 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31907 Remove internal_function.
31908 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31909 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31910 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31911 (__deallocate_stack, __libc_pthread_init)
31912 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31913 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31914 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31916 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31917 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31918 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31920 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31921 (__pthread_mutex_unlock_usercnt): Likewise.
31923 2017-08-31 Florian Weimer <fweimer@redhat.com>
31925 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31926 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31927 (fts_safe_changedir): Remove internal_function.
31928 * io/ftw.c (internal_function): Remove definition.
31929 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31931 2017-08-31 Florian Weimer <fweimer@redhat.com>
31933 * inet/deadline.c (__deadline_current_time)
31934 (__deadline_from_timeval, __deadline_to_ms): Remove
31936 * inet/getnameinfo.c (nrl_domainname): Likewise.
31937 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31938 * inet/inet6_option.c (add_pad): Likewise.
31939 * inet/net-internal.h (__deadline_current_time)
31940 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31941 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31942 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31943 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31945 2017-08-31 Joseph Myers <joseph@codesourcery.com>
31947 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31948 include <bits/nan.h>.
31949 * math/Makefile (headers): Remove bits/nan.h.
31950 * bits/nan.h: Remove.
31951 * sysdeps/ieee754/bits/nan.h: Likewise.
31952 * sysdeps/mips/bits/nan.h: Likewise.
31954 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31955 not include <bits/inf.h>.
31956 * math/Makefile (headers): Remove bits/inf.h.
31957 * bits/inf.h: Remove.
31958 * sysdeps/ieee754/bits/inf.h: Likewise.
31960 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31961 bits/huge_vall.h or bits/huge_val_flt128.h.
31962 (HUGE_VAL): Define directly here.
31963 [__USE_ISOC99] (HUGE_VALF): Likewise.
31964 [__USE_ISOC99] (HUGE_VALL): Likewise.
31965 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31966 (HUGE_VAL_F128): Likewise.
31967 * math/Makefile (headers): Remove bits/huge_val.h,
31968 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31969 * bits/huge_val.h: Remove.
31970 * bits/huge_val_flt128.h: Likewise.
31971 * bits/huge_valf.h: Likewise.
31972 * bits/huge_vall.h: Likewise.
31973 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31974 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31975 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31976 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31977 * sysdeps/sh/bits/huge_val.h: Likewise.
31978 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31979 * sysdeps/x86/bits/huge_vall.h: Likewise.
31981 2017-08-31 Florian Weimer <fweimer@redhat.com>
31983 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31985 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31987 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31988 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31989 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31990 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31991 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31992 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31993 * elf/dl-libc.c (dlerror_run): Likewise.
31994 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31995 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31996 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31997 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31999 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
32000 (_dl_higher_prime_number, _dl_strtoul): Likewise.
32001 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
32002 * elf/dl-profile.c (_dl_start_profile): Likewise.
32003 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
32004 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
32006 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
32007 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
32008 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
32009 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
32010 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
32011 (_dl_allocate_tls_storage): Likewise.
32012 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
32013 (_dl_check_all_versions): Likewise.
32014 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
32015 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
32016 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
32017 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32018 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
32019 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
32020 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
32021 internal_function from __dl_start.
32022 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
32023 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
32024 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
32025 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
32026 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
32027 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
32028 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
32029 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
32030 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
32031 (_dl_next_ld_env_entry, _dl_important_hwcaps)
32032 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
32033 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
32034 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
32035 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
32036 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
32038 (struct rtld_global_ro): Remove internal_function from the
32039 _dl_lookup_symbol_x member.
32040 (_dl_symbol_value): Remove. No longer defined anywhere.
32041 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
32043 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32044 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32045 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
32046 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
32047 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
32048 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
32049 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
32050 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
32051 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
32052 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
32053 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32054 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32056 2017-08-31 Florian Weimer <fweimer@redhat.com>
32058 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
32059 Remove internal_function.
32060 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32062 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32065 2017-08-31 Florian Weimer <fweimer@redhat.com>
32067 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
32068 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
32069 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
32071 2017-08-31 Florian Weimer <fweimer@redhat.com>
32073 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
32074 (__gai_enqueue_request): Remove internal_function.
32075 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
32076 (__gai_remove_request, __gai_notify, __gai_notify_only)
32077 (__gai_sigqueue): Likewise.
32078 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
32079 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
32080 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
32081 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32084 2017-08-31 Florian Weimer <fweimer@redhat.com>
32086 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
32087 * include/dirent.h (__opendirat, __getdents, __getdents64)
32088 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
32089 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
32090 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32091 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32093 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
32095 2017-08-31 Florian Weimer <fweimer@redhat.com>
32097 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
32099 (GETCWD_RETURN_TYPE): Likewise.
32101 2017-08-31 Florian Weimer <fweimer@redhat.com>
32103 * include/time.h (__tz_compute, __strptime_internal): Remove
32105 * time/strptime_l.c (__strptime_internal): Likewise.
32106 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
32108 2017-08-31 Florian Weimer <fweimer@redhat.com>
32110 * iconv/gconv.c (__gconv): Remove internal_function.
32111 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
32112 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
32113 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
32114 (__gconv_release_cache): Likewise.
32115 * iconv/gconv_close.c (__gconv_close): Likewise.
32116 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
32117 (read_conf_file, __gconv_get_path): Likewise.
32118 * iconv/gconv_db.c (derivation_lookup, add_derivation)
32119 (__gconv_release_step, gen_steps, increment_counter)
32120 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
32121 (__gconv_close_transform, free_modules_db): Likewise.
32122 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
32124 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
32125 (__gconv_find_transform, __gconv_lookup_cache)
32126 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
32127 (__gconv_close_transform, __gconv_release_cache)
32128 (__gconv_loaded_object, __gconv_release_shlib)
32129 (__gconv_compare_alias): Likewise.
32130 * iconv/gconv_open.c (__gconv_open): Likewise.
32131 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
32132 * iconv/iconvconfig.c (add_module): Likewise.
32133 * intl/dcigettext.c (plural_lookup, guess_category_value)
32134 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
32135 * intl/eval-plural.h (plural_eval): Likewise.
32136 * intl/finddomain.c (_nl_find_domain): Likewise.
32137 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
32138 (_nl_load_domain, _nl_find_msg): Likewise.
32139 (internal_function): Remove definition.
32140 * intl/loadinfo.h (internal_function): Likewise.
32141 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
32143 * intl/localealias.c (internal_function): Remove definition.
32144 (read_alias_file): Remove internal_function.
32145 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
32146 * intl/plural-exp.h (internal_function): Remove definition.
32147 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
32149 * intl/plural.c: Regenerate.
32150 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
32151 * locale/coll-lookup.c (__collidx_table_lookup)
32152 (__collseq_table_lookup): Likewise.
32153 * locale/coll-lookup.h (__collidx_table_lookup)
32154 (__collseq_table_lookup): Likewise.
32155 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
32156 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32157 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
32158 (_nl_unload_locale): Likewise.
32159 * locale/localeinfo.h (struct __locale_data): Remove
32160 internal_function from cleanup member.
32161 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
32162 (_nl_remove_locale, _nl_load_locale_from_archive)
32163 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
32164 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
32165 (_nl_cleanup_time): Remove internal_function.
32166 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
32167 (_nl_parse_alt_digit): Likewise.
32168 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
32169 (_nl_select_era_entry): Likewise.
32170 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
32171 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32172 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
32173 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32174 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
32176 2017-08-31 Florian Weimer <fweimer@redhat.com>
32178 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
32179 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32180 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
32181 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
32183 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
32184 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
32185 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
32186 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32188 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
32190 2017-08-31 Florian Weimer <fweimer@redhat.com>
32192 * misc/getttyent.c (skip, value): Remove internal_function.
32193 * misc/syslog.c (openlog_internal): Likewise.
32194 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
32196 2017-08-31 Florian Weimer <fweimer@redhat.com>
32198 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
32199 (__nss_rewrite_field): Remove internal_function.
32200 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32201 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32202 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32203 * nss/nsswitch.c (nss_parse_file, nss_getline)
32204 (nss_parse_service_list, nss_new_service): Likewise.
32205 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
32206 * nss/valid_field.c (__nss_valid_field): Likewise.
32207 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
32209 2017-08-31 Florian Weimer <fweimer@redhat.com>
32211 * malloc/arena.c (__malloc_fork_lock_parent)
32212 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
32213 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
32214 internal_function from defintions.
32215 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
32216 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
32217 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
32218 internal_function from declarations.
32219 * malloc/malloc.c (internal_function): Do not define.
32220 (mem2mem_check): Remove internal_function from declaration.
32221 (munmap_chunk, mremap_chunk): Remove internal_function.
32222 * malloc/mtrace.c (tr_where): Likewise.
32224 2017-08-31 Florian Weimer <fweimer@redhat.com>
32226 * include/rpc/pmap_clnt.h (__get_socket): Remove
32228 * sunrpc/auth_des.c (synchronize): Likewise.
32229 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
32230 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
32231 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
32232 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
32233 (key_call): Likewise.
32234 * sunrpc/pm_getport.c (__get_socket): Likewise.
32235 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
32236 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
32237 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
32238 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
32239 (invalidate): Likewise.
32240 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
32241 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
32242 (set_input_fragment, get_input_bytes): Likewise.
32244 2017-08-31 Florian Weimer <fweimer@redhat.com>
32246 * malloc/malloc.c (_int_free): Remove locked variable and related
32249 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
32252 * Makerules (build-module-helper-objlist): Filter out
32253 $(elf-objpfx)sofini.os.
32254 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
32257 2017-08-31 Florian Weimer <fweimer@redhat.com>
32259 * libio/fcloseall.c: Assume weak_alias is defined.
32260 * libio/feof.c: Likewise.
32261 * libio/fileno.c: Likewise.
32262 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
32263 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32265 (_IO_file_open): Call __open directly.
32266 (_IO_new_file_sync): Assume ESPIPE is defined.
32267 (_IO_file_seekoff_maybe_mmap): Call __read directly.
32268 (_IO_new_file_write): Call __write directly.
32269 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
32270 * libio/ftello64.c (__ftello64): Assume EIO is defined.
32271 * libio/genops.c: Assume _LIBC is defined.
32272 (save_for_backup): Remove internal_function.
32273 * libio/getc.c: Assume weak_alias is defined.
32274 * libio/getwc.c: Likewise.
32275 * libio/iofclose.c: Assume _LIBC is defined.
32276 * libio/iofdopen.c: Likewise.
32277 (_IO_fcntl): Remove macro definition.
32278 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
32279 Call __fcntl directly.
32280 * libio/iofflush.c: Assume weak_alias is defined.
32281 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
32283 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
32284 * libio/iofgets.c: Likewise.
32285 * libio/iofopen.c: Assume _LIBC is defined.
32286 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
32287 * libio/iofputs.c: Assume weak_alias is defined.
32288 * libio/iofread.c: Likewise.
32289 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
32290 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
32291 * libio/ioftell.c: Assume weak_alias is defined.
32292 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
32293 * libio/iofwide.c: Assume _LIBC is defined.
32294 (_IO_fwide): Drop SHARED conditional because it is implied by
32296 * libio/iofwrite.c: Assume weak_alias is defined.
32297 * libio/iogetdelim.c: Likewise.
32298 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
32299 * libio/iogetwline.c (wmemcpy): Remove macro definition.
32300 (_IO_getwline): Call __wmemcpy directly.
32301 * libio/iopopen.c: Assume _LIBC is defined.
32302 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32303 (_IO_close): Remove macro definitions.
32304 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
32306 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
32308 * libio/ioputs.c: Assume weak_alias is defined.
32309 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
32310 * libio/iosetbuffer.c: Assume weak_alias is defined.
32311 * libio/iosetvbuf.c: Likewise.
32312 * libio/ioungetc.c: Likewise.
32313 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
32314 libc_hidden_def, libc_hidden_weak, NULL are defined.
32315 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32316 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32318 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32320 (_IO_old_file_init_internal): Drop SHARED conditional because it
32321 is implied by SHLIB_COMPAT.
32322 (_IO_old_file_fopen): Call __open directly.
32323 (_IO_old_file_sync): Assume ESPIPE is defined.
32324 (_IO_old_file_write): Call __write directly.
32325 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32326 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32327 Call __fcntl directly.
32328 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32329 (_IO_old_fgetpos): Assume EIO is defined.
32330 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32331 (_IO_old_fgetpos64): Assume EIO is defined.
32332 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32333 (_IO_old_fsetpos): Assume EIO is defined.
32334 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32335 (_IO_old_fsetpos64): Assume EIO is defined.
32336 * libio/oldiopopen.c: Assume _LIBC is defined.
32337 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32338 (_IO_close): Remove macro definitions.
32339 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32341 (_IO_old_proc_close): Call __close, __waitpid directly.
32342 * libio/put.c: Assume weak_alias is defined.
32343 * libio/stdfiles.c: Assume _LIBC is defined.
32344 * libio/stdio.c: Likewise.
32345 * libio/wfileops.c: Likewise.
32346 (_IO_wfile_sync): Assume ESPIPE is defined.
32347 * libio/wgenops.c: Assume _LIBC is defined.
32348 (save_for_wbackup): Remove internal_function.
32350 2017-08-31 Florian Weimer <fweimer@redhat.com>
32352 * malloc/malloc.c (top_check): Change return type to void. Remove
32354 * malloc/hooks.c (top_check): Likewise.
32355 (malloc_check, realloc_check, memalign_check): Adjust.
32357 2017-08-30 Joseph Myers <joseph@codesourcery.com>
32360 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32361 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32362 sigcontext and namespace requirements.
32363 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32364 * sysdeps/m68k/sys/ucontext.h: Likewise.
32365 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32366 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32367 <bits/sigcontext.h>.
32368 (__ctx): Define earlier.
32369 (mcontext_t): Define structure contents rather than using struct
32371 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32372 __glibc_reserved1 instead of __reserved.
32373 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32374 <bits/sigcontext.h>.
32375 (__ctx): Define earlier.
32376 (mcontext_t): Define structure contents rather than using struct
32378 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32379 mcontext_t instead of struct sigcontext.
32380 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32381 <bits/sigcontext.h>.
32382 (__ctx): Define earlier.
32383 (mcontext_t): Define structure contents rather than using struct
32385 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32386 <bits/sigcontext.h>.
32387 (__ctx): Define earlier.
32388 (mcontext_t): Define structure contents rather than using struct
32390 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32391 mcontext_t instead of struct sigcontext.
32392 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32393 mcontext_t instead of struct sigcontext.
32394 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32395 <bits/sigcontext.h>.
32396 (__ctx): New macro.
32397 (struct __ia64_fpreg_mcontext): New type.
32398 (mcontext_t): Define structure contents rather than using struct
32400 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32401 (uc_sigmask): Define using __ctx.
32402 (uc_stack): Likewise.
32403 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32404 <bits/sigcontext.h>.
32405 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32406 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32407 <bits/sigcontext.h>.
32408 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32409 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32410 <bits/sigcontext.h>.
32411 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32412 <bits/sigcontext.h>.
32413 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32414 <bits/sigcontext.h>.
32415 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32416 <bits/sigcontext.h>.
32417 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32418 <bits/sigcontext.h>.
32419 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32420 <bits/sigcontext.h>.
32421 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32422 <bits/sigcontext.h>.
32423 (__ctx): Define earlier.
32424 (mcontext_t): Define structure contents rather than using struct
32426 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32427 <bits/sigcontext.h>. Include <bits/types.h>.
32428 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32429 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32430 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32431 (test-xfail-UNIX98/signal.h/conform): Likewise.
32432 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32433 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32434 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32435 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32436 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32437 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32438 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32439 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32440 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32442 2017-08-30 Florian Weimer <fweimer@redhat.com>
32444 * malloc/dynarray_emplace_enlarge.c
32445 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32446 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32447 * malloc/tst-dynarray.c (test_long_overflow): New function.
32448 (do_test): Call it.
32450 2017-08-30 Florian Weimer <fweimer@redhat.com>
32452 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32453 (set_arena_corrupt): Remove definitions.
32454 (mtrim): Do not check for corrupt arena.
32455 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32458 2017-08-30 Florian Weimer <fweimer@redhat.com>
32461 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32463 (ptmalloc_init): Do not set or use check_action.
32464 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32465 call to malloc_printerr. Remove return statement.
32466 (free_check): Likewise. Remove arena unlock.
32467 (top_check): Update comment. Adjust call to malloc_printerr.
32468 Remove heap repair code.
32469 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32470 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32471 (sysmalloc): Adjust call to malloc_printerr.
32472 (munmap_chunk, __libc_realloc): Likewise. Remove return
32474 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32475 Remove errout label and corresponding gotos.
32476 (_int_free): Likewise. Remove arena unlock.
32477 (do_set_mallopt_check): Do not set check_action.
32478 (malloc_printerr): Adjust parameter list. Do not mark arena as
32480 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32482 * manual/probes.texi (Memory Allocation Probes): Remove
32483 memory_mallopt_check_action.
32485 2017-08-30 Steve Ellcey <sellcey@cavium.com>
32487 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32488 Use pointer to uint64_t instead of long int for sp.
32490 2017-08-30 Florian Weimer <fweimer@redhat.com>
32493 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32494 without printing a backtrace. Do not leak any information in the
32496 * manual/memory.texi (Heap Consistency Checking): Update.
32497 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32499 2017-08-30 Florian Weimer <fweimer@redhat.com>
32501 Do not scale NPTL tests with available number of CPUs.
32502 * nptl/tst-cond16.c (count): Set to constant value of 8.
32503 * nptl/tst-cond18.c (count): Likewise.
32505 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32508 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32509 Define to take a second argument that is a macro that
32510 concatentates a suffix, not the suffix itself.
32511 (__CONCAT_d): New macro.
32512 (__CONCAT_f): Likewise.
32513 (__CONCAT_l): Likewise.
32515 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32517 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32520 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32521 Aurelien Jarno <aurelien@aurel32.net>
32522 Maciej W. Rozycki <macro@imgtec.com>
32525 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32526 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32527 `mips16-syscall6' and `mips16-syscall7'.
32528 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32529 (CFLAGS-mips16-syscall7.c): Remove.
32530 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32531 Remove `__mips16_syscall5', `__mips16_syscall6' and
32532 `__mips16_syscall7'.
32533 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32534 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32535 `__mips_syscall_return'.
32536 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32537 (__mips16_syscall1): Likewise.
32538 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32539 (__mips16_syscall2): Likewise.
32540 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32541 (__mips16_syscall3): Likewise.
32542 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32543 (__mips16_syscall4): Likewise.
32544 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32546 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32548 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32550 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32551 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32552 `__mips16_syscall5'. Remove prototype.
32553 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32554 `__mips16_syscall6'. Remove prototype.
32555 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32556 `__mips16_syscall7'. Remove prototype.
32557 (__nomips16, __mips16_syscall_return): Move to...
32558 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32559 (__nomips16, __mips_syscall_return): ... here.
32560 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32561 `__mips16_syscall_return' to `__mips_syscall_return'.
32562 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32563 `internal_syscall##nr'.
32564 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32565 `internal_syscall##nr'.
32566 (FORCE_FRAME_POINTER): Remove.
32567 (__mips_syscall5): New prototype.
32568 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32569 (__mips_syscall6): New prototype.
32570 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32571 (__mips_syscall7): New prototype.
32572 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32573 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32574 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32575 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32576 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32577 (sysdep_routines): Add libc-do-syscall.
32578 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32579 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32581 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32584 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32585 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32586 (advise_stack_range): New function.
32587 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32588 stack non required to advise_stack_range at allocatestack.c
32590 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32592 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32594 2017-08-29 Florian Weimer <fweimer@redhat.com>
32597 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32598 __end_fct. Mangle __end_fct after setting it to NULL.
32599 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32600 (modules-names, modules-names-tests): Add
32601 tst-gconv-init-failure-mod.
32602 (gconv-modules): New target.
32603 (tst-gconv-init-failure-mod.so): Link against libsupport.
32604 (tst-gconv-init-failure): Depend on gconv-modules,
32605 tst-gconv-init-failure-mod.so.
32606 * iconv/tst-gconv-init-failure-mod.c: New file.
32607 * iconv/tst-gconv-init-failure.c: Likewise.
32608 * iconv/test-gconv-modules: Likewise.
32610 2017-08-29 Florian Weimer <fweimer@redhat.com>
32613 * iconv/gconv_db.c (free_derivation): Remove redundant
32615 (gen_steps): Unconditionally mangle __btowc_fct after
32617 (increment_counter): Likewise. Do not call init_fct for internal
32620 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32623 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32624 (_MSUF_): Remove macro.
32625 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32627 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32628 (__REDIRFROM_X): New macro.
32629 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32631 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32632 (__REDIRTO_X): Likewise.
32633 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32635 (__MATH_REDIRCALL_2): Likewise.
32636 (__MATH_REDIRCALL_INTERNAL): Likewise.
32637 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32638 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32639 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32640 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32641 * math/test-finite-macros.c: New file.
32642 * math/Makefile (tests): Add test-finite-macros.
32643 (CFLAGS-test-finite-macros.c): New variable.
32645 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
32646 Jeff Law <law@redhat.com>
32649 Mangle NULL pointers in iconv/gconv.
32650 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32651 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32652 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32653 is non-NULL before demangling the end_fct. Check for NULL
32654 end_fct after demangling.
32655 (__gconv_release_step): Demangle the end_fct before checking
32656 it for NULL. Remove assert on __shlibc_handle != NULL.
32657 (gen_steps): Don't check btowc_fct for NULL before mangling.
32658 Demangle init_fct before checking for NULL.
32659 (increment_counter): Likewise.
32660 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32661 end_fct for NULL before mangling.
32662 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32665 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
32668 * locale/iso-639.def: add Morisyen.
32670 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32673 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32674 (iszero): New C++ implementation that does not use
32675 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32676 signaling nans are enabled, since __builtin_types_compatible_p
32677 is a C-only feature.
32678 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32679 defined, include ieee754_float128.h for access to the union and
32680 member ieee854_float128.ieee.
32681 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32682 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32683 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32684 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32685 options of test-math-zero on powerpc64le.
32687 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32689 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32690 Change double to float.
32692 2017-08-28 Joseph Myers <joseph@codesourcery.com>
32694 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32696 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32697 conditional code; define contents only for [LIBM_SVID_COMPAT].
32699 2017-08-28 Florian Weimer <fweimer@redhat.com>
32701 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32702 (abi-lp64_be-options): Remove.
32703 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32704 (abi-hard-options): Likewise.
32705 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32706 (abi-o32_hard-options, abi-o32_soft_2008-options)
32707 (abi-o32_hard_2008-options, abi-n32_soft-options)
32708 (abi-n32_hard-options, abi-n32_soft_2008-options)
32709 (abi-n32_hard_2008-options, abi-n64_soft-options)
32710 (abi-n64_hard-options, abi-n64_soft_2008-options)
32711 (abi-n64_hard_2008-options): Likewise.
32712 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32713 (abi-64-v1-options, abi-64-v2-options): Likewise.
32714 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32715 (abi-64-options): Likewise.
32716 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32717 (abi-64-options): Likewise.
32718 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32719 (abi-64-options): Likewise.
32720 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32721 (abi-64-options, abi-x32-options): Likewise.
32723 2017-08-28 Florian Weimer <fweimer@redhat.com>
32725 Store supported list of SYS_* system calls in the source tree.
32726 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32727 (bits/syscall.h): Generate from list file.
32728 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32729 [$(subdir) = misc] (tests): Add tst-syscall-list.
32730 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32731 [$(subdir) = misc] (tst-syscall-list-macros.list)
32732 [$(subdir) = misc] (tst-syscall-list-nr.list)
32733 (tst-syscall-list-sys.list): Helper targets for new
32734 tst-syscall-list test.
32735 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32736 tst-syscall-list.sh.
32737 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32738 target. Do not include bits/syscall.d.
32739 [$(subdir) = misc] (generated): Do not update.
32740 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32741 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32742 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32743 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32745 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32747 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32748 (tst-cxa_atexit, tst-on_exit): Likewise.
32749 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32750 tst-cxa_atexit, and tst-on_exit.
32751 * stdlib/tst-atexit-common.c: New file.
32752 * stdlib/tst-atexit.c: New file.
32753 * stdlib/tst-at_quick_exit.c: New file.
32754 * stdlib/tst-cxa_atexit.c: New file.
32755 * stdlib/tst-on_exit.c: New file.
32757 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32759 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
32760 * mach/stack_chk_fail_local.c: New file.
32761 * hurd/stack_chk_fail_local.c: New file.
32762 * mach/Machrules ($(interface-library)-routines): Add
32763 stack_chk_fail_local.
32764 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32765 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32766 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32767 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32768 * hurd/Makefile (CFLAGS-hurdstartup.o,
32769 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
32771 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32773 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32774 (index_cpu_*, index_arch_*): Removed.
32776 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32778 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32779 Use uint64_t instead of unsigned long.
32781 2017-08-25 Joseph Myers <joseph@codesourcery.com>
32783 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32784 [__HAVE_DISTINCT_FLOAT128].
32786 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32787 of <bits/math-finite.h>.
32788 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32789 inclusion of <bits/math-finite.h>.
32790 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32791 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32792 __NO_LONG_DOUBLE_MATH].
32793 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32794 (__MATH_REDIRCALL_2): Likewise.
32795 (__MATH_REDIRCALL_INTERNAL): Likewise.
32796 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32797 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32798 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32812 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32813 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32814 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32815 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32817 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32818 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32819 w_sqrtf_compat-ppc32.
32821 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32823 * math/math.h [defined __cplusplus] (issignaling): In the long
32824 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32825 is not defined. Call __issignaling, otherwise.
32827 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32829 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32830 syscall definitions and replace __builtin_expect with __glibc_likely.
32831 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32833 (SYSCALL_CANCELLABLE): Removedefinition
32834 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32836 (PSEUDO_END): Likewise.
32837 [IS_IN (libpthread)] (CENABLE): Likewise.
32838 [IS_IN (libpthread)] (CDISABLE): Likewise.
32839 [IS_IN (libc)] (CENABLE): Likewise.
32840 [IS_IN (libc)] (CENABLE): Likewise.
32841 [IS_IN (librt)] (CDISABLE): Likewise.
32842 [IS_IN (librt)] (CDISABLE): Likewise.
32843 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32844 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32846 (PSEUDO_END): Likewise.
32847 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32848 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32849 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32850 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32851 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32852 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32853 (CENABLE): Likewise.
32854 (CDISABLE): Likewise.
32855 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32856 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32858 (PSEUDO_END): Likewise.
32859 [IS_IN (libpthread)] (CENABLE): Likewise.
32860 [IS_IN (libpthread)] (CDISABLE): Likewise.
32861 [IS_IN (libc)] (CENABLE): Likewise.
32862 [IS_IN (libc)] (CENABLE): Likewise.
32863 [IS_IN (librt)] (CDISABLE): Likewise.
32864 [IS_IN (librt)] (CDISABLE): Likewise.
32865 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32866 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32868 (PSEUDO_END): Likewise.
32869 [IS_IN (libpthread)] (CENABLE): Likewise.
32870 [IS_IN (libpthread)] (CDISABLE): Likewise.
32871 [IS_IN (libc)] (CENABLE): Likewise.
32872 [IS_IN (libc)] (CENABLE): Likewise.
32873 [IS_IN (librt)] (CDISABLE): Likewise.
32874 [IS_IN (librt)] (CDISABLE): Likewise.
32875 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32876 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32878 (PSEUDO_END): Likewise.
32879 [IS_IN (libpthread)] (CENABLE): Likewise.
32880 [IS_IN (libpthread)] (CDISABLE): Likewise.
32881 [IS_IN (libc)] (CENABLE): Likewise.
32882 [IS_IN (libc)] (CENABLE): Likewise.
32883 [IS_IN (librt)] (CDISABLE): Likewise.
32884 [IS_IN (librt)] (CDISABLE): Likewise.
32885 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32886 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32888 (PSEUDO_END): Likewise.
32889 [IS_IN (libpthread)] (CENABLE): Likewise.
32890 [IS_IN (libpthread)] (CDISABLE): Likewise.
32891 [IS_IN (libc)] (CENABLE): Likewise.
32892 [IS_IN (libc)] (CENABLE): Likewise.
32893 [IS_IN (librt)] (CDISABLE): Likewise.
32894 [IS_IN (librt)] (CDISABLE): Likewise.
32895 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32896 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32898 (PSEUDO_END): Likewise.
32899 [IS_IN (libpthread)] (CENABLE): Likewise.
32900 [IS_IN (libpthread)] (CDISABLE): Likewise.
32901 [IS_IN (libc)] (CENABLE): Likewise.
32902 [IS_IN (libc)] (CENABLE): Likewise.
32903 [IS_IN (librt)] (CDISABLE): Likewise.
32904 [IS_IN (librt)] (CDISABLE): Likewise.
32905 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32906 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32908 (PSEUDO_END): Likewise.
32909 [IS_IN (libpthread)] (CENABLE): Likewise.
32910 [IS_IN (libpthread)] (CDISABLE): Likewise.
32911 [IS_IN (libc)] (CENABLE): Likewise.
32912 [IS_IN (libc)] (CENABLE): Likewise.
32913 [IS_IN (librt)] (CDISABLE): Likewise.
32914 [IS_IN (librt)] (CDISABLE): Likewise.
32915 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32916 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32918 (PSEUDO_END): Likewise.
32919 [IS_IN (libpthread)] (CENABLE): Likewise.
32920 [IS_IN (libpthread)] (CDISABLE): Likewise.
32921 [IS_IN (libc)] (CENABLE): Likewise.
32922 [IS_IN (libc)] (CENABLE): Likewise.
32923 [IS_IN (librt)] (CDISABLE): Likewise.
32924 [IS_IN (librt)] (CDISABLE): Likewise.
32925 (SINGLE_THREAD_P): Likewise.
32926 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32928 (PSEUDO_END): Likewise.
32929 [IS_IN (libpthread)] (CENABLE): Likewise.
32930 [IS_IN (libpthread)] (CDISABLE): Likewise.
32931 [IS_IN (libc)] (CENABLE): Likewise.
32932 [IS_IN (libc)] (CENABLE): Likewise.
32933 [IS_IN (librt)] (CDISABLE): Likewise.
32934 [IS_IN (librt)] (CDISABLE): Likewise.
32935 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32936 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32938 (PSEUDO_END): Likewise.
32939 [IS_IN (libpthread)] (CENABLE): Likewise.
32940 [IS_IN (libpthread)] (CDISABLE): Likewise.
32941 [IS_IN (libc)] (CENABLE): Likewise.
32942 [IS_IN (libc)] (CENABLE): Likewise.
32943 [IS_IN (librt)] (CDISABLE): Likewise.
32944 [IS_IN (librt)] (CDISABLE): Likewise.
32945 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32946 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32947 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32948 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32949 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32951 (PSEUDO_END): Likewise.
32952 [IS_IN (libpthread)] (CENABLE): Likewise.
32953 [IS_IN (libpthread)] (CDISABLE): Likewise.
32954 [IS_IN (libc)] (CENABLE): Likewise.
32955 [IS_IN (libc)] (CENABLE): Likewise.
32956 [IS_IN (librt)] (CDISABLE): Likewise.
32957 [IS_IN (librt)] (CDISABLE): Likewise.
32958 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32959 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32961 (PSEUDO_END): Likewise.
32962 [IS_IN (libpthread)] (CENABLE): Likewise.
32963 [IS_IN (libpthread)] (CDISABLE): Likewise.
32964 [IS_IN (libc)] (CENABLE): Likewise.
32965 [IS_IN (libc)] (CENABLE): Likewise.
32966 [IS_IN (librt)] (CDISABLE): Likewise.
32967 [IS_IN (librt)] (CDISABLE): Likewise.
32968 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32969 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32971 (PSEUDO_END): Likewise.
32972 [IS_IN (libpthread)] (CENABLE): Likewise.
32973 [IS_IN (libpthread)] (CDISABLE): Likewise.
32974 [IS_IN (libc)] (CENABLE): Likewise.
32975 [IS_IN (libc)] (CENABLE): Likewise.
32976 [IS_IN (librt)] (CDISABLE): Likewise.
32977 [IS_IN (librt)] (CDISABLE): Likewise.
32978 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32979 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32980 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32981 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32982 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32984 (PSEUDO_END): Likewise.
32985 [IS_IN (libpthread)] (CENABLE): Likewise.
32986 [IS_IN (libpthread)] (CDISABLE): Likewise.
32987 [IS_IN (libc)] (CENABLE): Likewise.
32988 [IS_IN (libc)] (CENABLE): Likewise.
32989 [IS_IN (librt)] (CDISABLE): Likewise.
32990 [IS_IN (librt)] (CDISABLE): Likewise.
32991 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32992 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32994 (PSEUDO_END): Likewise.
32995 [IS_IN (libpthread)] (CENABLE): Likewise.
32996 [IS_IN (libpthread)] (CDISABLE): Likewise.
32997 [IS_IN (libc)] (CENABLE): Likewise.
32998 [IS_IN (libc)] (CENABLE): Likewise.
32999 [IS_IN (librt)] (CDISABLE): Likewise.
33000 [IS_IN (librt)] (CDISABLE): Likewise.
33001 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33003 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33005 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
33007 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33009 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33011 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33014 * string/stratcliff.c (do_test): Declare size, nchars, inner,
33015 middle and outer with size_t instead of int. Repleace %d and
33016 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
33017 "MAX (outer, nchars - 64)" to support unsigned outer and
33018 nchars. Also exit loop when outer == 0.
33020 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33022 * include/fcntl.h (__fcntl_nocancel): Remove definition.
33023 * include/signal.h (__sigsuspend_nocancel): Likewise.
33024 * include/time.h (__nanosleep_nocancel): Likewise.
33025 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
33026 * login/utmp_file.c: Include non cancellable syscall header.
33027 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
33030 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33032 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
33033 .byte sequences with AVX512F instructions.
33034 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
33035 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
33036 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33037 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
33039 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
33042 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
33043 Steve Ellcey <sellcey@cavium.com>
33045 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
33046 Use PTR_REG macro in cmp instruction.
33048 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33050 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
33051 Change the return type of the ifunc resolver to match the return
33052 type of the target function.
33054 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33056 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
33057 (preadv64): Likewise.
33058 (pwrite64(: Likewise.
33059 (pwritev64): Likewise.
33061 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33062 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
33063 (LOAD_ARGS_0): Likewise.
33064 (LOAD_ARGS_1): Likewise.
33065 (LOAD_ARGS_2): Likewise.
33066 (LOAD_ARGS_3): Likewise.
33067 (LOAD_ARGS_4): Likewise.
33068 (LOAD_ARGS_5): Likewise.
33069 (LOAD_ARGS_6): Likewise.
33070 (LOAD_REGS_0): Likewise.
33071 (LOAD_REGS_1): Likewise.
33072 (LOAD_REGS_2): Likewise.
33073 (LOAD_REGS_3): Likewise.
33074 (LOAD_REGS_4): Likewise.
33075 (LOAD_REGS_5): Likewise.
33076 (LOAD_REGS_6): Likewise.
33077 (ASM_ARGS_0): Likewise.
33078 (ASM_ARGS_1): Likewise.
33079 (ASM_ARGS_2): Likewise.
33080 (ASM_ARGS_3): Likewise.
33081 (ASM_ARGS_4): Likewise.
33082 (ASM_ARGS_5): Likewise.
33083 (ASM_ARGS_6): Likewise.
33084 (LOAD_ARGS_TYPES_1): Likewise.
33085 (LOAD_ARGS_TYPES_2): Likewise.
33086 (LOAD_ARGS_TYPES_3): Likewise.
33087 (LOAD_ARGS_TYPES_4): Likewise.
33088 (LOAD_ARGS_TYPES_5): Likewise.
33089 (LOAD_ARGS_TYPES_6): Likewise.
33090 (LOAD_REGS_TYPES_1): Likewise.
33091 (LOAD_REGS_TYPES_2): Likewise.
33092 (LOAD_REGS_TYPES_3): Likewise.
33093 (LOAD_REGS_TYPES_4): Likewise.
33094 (LOAD_REGS_TYPES_5): Likewise.
33095 (LOAD_REGS_TYPES_6): Likewise.
33096 (TYPEFY): New define.
33097 (ARGIFY): Likewise.
33098 (internal_syscall0): Likewise.
33099 (internal_syscall1): Likewise.
33100 (internal_syscall2): Likewise.
33101 (internal_syscall3): Likewise.
33102 (internal_syscall4): Likewise.
33103 (internal_syscall5): Likewise.
33104 (internal_syscall6): Likewise.
33105 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
33106 (INTERNAL_SYSCALL_NCS): Remove define.
33107 (internal_syscall1): Add define.
33109 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33111 * math/w_remainder_compat.c: Remove duplicate inclusion of
33112 math-svid-compat.h.
33113 * math/w_remainderf_compat.c: Likewise.
33114 * math/w_remainderl_compat.c: Likewise.
33116 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33120 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33123 * math/tgmath.h (__floating_type): Simplify definitions.
33124 (__real_integer_type): New macro.
33125 (__complex_integer_type): Likewise.
33126 (__expr_is_real): Likewise.
33127 (__tgmath_real_type_sub): Update comment to describe handling of
33129 (__tgmath_complex_type_sub): New macro.
33130 (__tgmath_complex_type): Likewise.
33131 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33132 (__TGMATH_CF128): Use __expr_is_real.
33133 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
33135 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33136 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
33137 * math/gen-tgmath-tests.py (Type.create_type): Create complex
33140 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33142 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
33144 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
33146 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
33149 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
33150 nanosleep_not_cancel with __nanosleep_nocancel.
33151 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
33152 (__nanosleep_nocancel): New macro.
33153 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
33155 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
33157 (__nanosleep_nocancel): New prototype.
33159 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
33160 pause_not_cancel with __pause_nocancel.
33161 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
33162 (__pause_nocancel): New macro.
33163 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
33165 (__pause_nocancel): New prototype.
33166 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
33168 2017-08-22 Martin Sebor <msebor@redhat.com>
33170 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
33171 to return a pointer to the same type as the target function.
33173 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33177 * include/printf.h (__printf_fphex): Add attribute_hidden.
33178 (__guess_grouping): New prototype.
33179 * stdio-common/printf_fp.c (__guess_grouping): Removed.
33180 * stdio-common/reg-printf.c (__register_printf_specifier): Add
33181 libc_hidden_proto and libc_hidden_def.
33182 * stdlib/strfmon_l.c (__guess_grouping): Removed.
33183 (__vstrfmon_l): Remove the third argument passed to
33186 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33188 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
33189 definition for issignaling that does not rely on __MATH_TG,
33190 since __MATH_TG uses __builtin_types_compatible_p, which is only
33191 available in C mode.
33192 (CFLAGS-test-math-issignaling.cc): New variable.
33193 * math/Makefile [CXX] (tests): Add test-math-issignaling.
33194 * math/test-math-issignaling.cc: New test for C++ implementation
33195 of type-generic issignaling.
33196 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33197 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
33198 options of test-math-issignaling on powerpc64le.
33200 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33202 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33204 (hidden_proto): Likewise.
33205 (hidden_tls_proto): Likewise.
33206 (__hidden_proto): Likewise.
33208 2017-08-22 Florian Weimer <fweimer@redhat.com>
33210 math: Statically link tests of internal functionality.
33211 * math/Makefile (tests): Remove atest-exp, atest-sincos,
33213 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
33214 (gmp-objs): Remove assignment.
33215 (atest-exp, atest-sincos, atest-exp2): Remove targets.
33217 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33220 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
33222 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
33224 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
33227 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
33228 variable definitions above inclusion of ../Rules.
33230 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33232 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
33233 case calling __builtin_unreachable.
33235 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33237 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
33238 __waitpid_nocancel.
33239 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
33240 (__waitpid_nocancel): New macro.
33241 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
33243 (__waitpid_nocancel): Replace macro with a function.
33244 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
33247 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
33249 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
33250 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
33252 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
33253 __writev_nocancel_nostatus.
33254 (write_call_graph): Likewise.
33255 (write_bb_counts): Likewise.
33256 * resolv/herror.c (herror): Likewise.
33257 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
33259 (__writev_nocancel_nostatus): New macro.
33260 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
33262 (__writev_nocancel_nostatus): New function.
33264 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33267 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33269 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33271 (hidden_proto): Likewise.
33272 (hidden_tls_proto): Likewise.
33273 (__hidden_proto): Likewise.
33276 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
33277 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
33282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
33286 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
33287 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33288 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33289 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33290 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
33291 GLIBC_2.0 sqrtl symbol.
33293 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
33294 [__USE_MISC] (_LIB_VERSION): Likewise.
33295 [__USE_MISC] (struct exception): Likewise.
33296 [__USE_MISC] (matherr): Likewise.
33297 [__USE_MISC] (DOMAIN): Likewise.
33298 [__USE_MISC] (SING): Likewise.
33299 [__USE_MISC] (OVERFLOW): Likewise.
33300 [__USE_MISC] (UNDERFLOW): Likewise.
33301 [__USE_MISC] (TLOSS): Likewise.
33302 [__USE_MISC] (PLOSS): Likewise.
33303 [__USE_MISC] (HUGE): Likewise.
33304 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
33305 * math/math-svid-compat.h: New file.
33306 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
33308 * include/math.h [!_ISOMAC] (__matherr): Remove.
33309 * manual/arith.texi (FP Exceptions): Do not document matherr.
33310 * math/Makefile (tests): Change test-matherr to test-matherr-3.
33311 (tests-internal): New variable.
33312 (install-lib): Do not add libieee.a.
33313 (non-lib.a): Likewise.
33314 (extra-objs): Do not add libieee.a and ieee-math.o.
33315 (CPPFLAGS-s_lib_version.c): Remove variable.
33316 ($(objpfx)libieee.a): Remove rule.
33317 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33318 * math/ieee-math.c: Remove.
33319 * math/libm-test-support.c (matherr): Remove.
33320 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33321 and license notices. Include <math-svid-compat.h> and
33323 (matherr): Undefine as macro. Use compat_symbol_reference.
33324 (_LIB_VERSION): Likewise.
33325 * math/test-matherr-2.c: New file.
33326 * math/test-matherr-3.c: Likewise.
33327 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33329 (__kernel_standard_f): Likewise.
33330 (__kernel_standard_l): Likewise.
33331 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33332 <math_private.h>. Include <math-svid-compat.h>.
33333 (_LIB_VERSION): Undefine as macro.
33334 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33335 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33336 [LIBM_SVID_COMPAT], use compat_symbol.
33337 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33338 <math_private.h>. Include <math-svid-compat.h>.
33339 (matherr): Undefine as macro.
33340 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33342 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33343 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33344 compat_symbol_reference.
33345 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33346 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33347 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33348 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33349 (MATHERR_D): Remove declaration.
33350 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33351 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33352 [LIBM_BUILD] (pmatherrf): Likewise.
33353 [LIBM_BUILD] (pmatherr): Likewise.
33354 [LIBM_BUILD] (pmatherrl): Likewise.
33355 (DOMAIN): Likewise.
33357 (OVERFLOW): Likewise.
33358 (UNDERFLOW): Likewise.
33361 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33362 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33364 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33365 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33367 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33368 * math/w_acos_compat.c: Likewise.
33369 * math/w_acosf_compat.c: Likewise.
33370 * math/w_acosh_compat.c: Likewise.
33371 * math/w_acoshf_compat.c: Likewise.
33372 * math/w_acoshl_compat.c: Likewise.
33373 * math/w_acosl_compat.c: Likewise.
33374 * math/w_asin_compat.c: Likewise.
33375 * math/w_asinf_compat.c: Likewise.
33376 * math/w_asinl_compat.c: Likewise.
33377 * math/w_atan2_compat.c: Likewise.
33378 * math/w_atan2f_compat.c: Likewise.
33379 * math/w_atan2l_compat.c: Likewise.
33380 * math/w_atanh_compat.c: Likewise.
33381 * math/w_atanhf_compat.c: Likewise.
33382 * math/w_atanhl_compat.c: Likewise.
33383 * math/w_cosh_compat.c: Likewise.
33384 * math/w_coshf_compat.c: Likewise.
33385 * math/w_coshl_compat.c: Likewise.
33386 * math/w_exp10_compat.c: Likewise.
33387 * math/w_exp10f_compat.c: Likewise.
33388 * math/w_exp10l_compat.c: Likewise.
33389 * math/w_exp2_compat.c: Likewise.
33390 * math/w_exp2f_compat.c: Likewise.
33391 * math/w_exp2l_compat.c: Likewise.
33392 * math/w_fmod_compat.c: Likewise.
33393 * math/w_fmodf_compat.c: Likewise.
33394 * math/w_fmodl_compat.c: Likewise.
33395 * math/w_hypot_compat.c: Likewise.
33396 * math/w_hypotf_compat.c: Likewise.
33397 * math/w_hypotl_compat.c: Likewise.
33398 * math/w_j0_compat.c: Likewise.
33399 * math/w_j0f_compat.c: Likewise.
33400 * math/w_j0l_compat.c: Likewise.
33401 * math/w_j1_compat.c: Likewise.
33402 * math/w_j1f_compat.c: Likewise.
33403 * math/w_j1l_compat.c: Likewise.
33404 * math/w_jn_compat.c: Likewise.
33405 * math/w_jnf_compat.c: Likewise.
33406 * math/w_jnl_compat.c: Likewise.
33407 * math/w_lgamma_main.c: Likewise.
33408 * math/w_lgamma_r_compat.c: Likewise.
33409 * math/w_lgammaf_main.c: Likewise.
33410 * math/w_lgammaf_r_compat.c: Likewise.
33411 * math/w_lgammal_main.c: Likewise.
33412 * math/w_lgammal_r_compat.c: Likewise.
33413 * math/w_log10_compat.c: Likewise.
33414 * math/w_log10f_compat.c: Likewise.
33415 * math/w_log10l_compat.c: Likewise.
33416 * math/w_log2_compat.c: Likewise.
33417 * math/w_log2f_compat.c: Likewise.
33418 * math/w_log2l_compat.c: Likewise.
33419 * math/w_log_compat.c: Likewise.
33420 * math/w_logf_compat.c: Likewise.
33421 * math/w_logl_compat.c: Likewise.
33422 * math/w_pow_compat.c: Likewise.
33423 * math/w_powf_compat.c: Likewise.
33424 * math/w_powl_compat.c: Likewise.
33425 * math/w_remainder_compat.c: Likewise.
33426 * math/w_remainderf_compat.c: Likewise.
33427 * math/w_remainderl_compat.c: Likewise.
33428 * math/w_scalb_compat.c: Likewise.
33429 * math/w_scalbf_compat.c: Likewise.
33430 * math/w_scalbl_compat.c: Likewise.
33431 * math/w_sinh_compat.c: Likewise.
33432 * math/w_sinhf_compat.c: Likewise.
33433 * math/w_sinhl_compat.c: Likewise.
33434 * math/w_sqrt_compat.c: Likewise.
33435 * math/w_sqrtf_compat.c: Likewise.
33436 * math/w_sqrtl_compat.c: Likewise.
33437 * math/w_tgamma_compat.c: Likewise.
33438 * math/w_tgammaf_compat.c: Likewise.
33439 * math/w_tgammal_compat.c: Likewise.
33440 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33441 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33442 * sysdeps/ieee754/k_standard.c: Likewise.
33443 * sysdeps/ieee754/k_standardf.c: Likewise.
33444 * sysdeps/ieee754/k_standardl.c: Likewise.
33445 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33446 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33447 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33448 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33449 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33450 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33451 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33452 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33453 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33458 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33459 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33460 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33461 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33463 2017-08-21 Florian Weimer <fweimer@redhat.com>
33466 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33467 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33468 Move before inclusion of ../Rules.
33470 2017-08-21 Florian Weimer <fweimer@redhat.com>
33473 * assert/assert.h (assert): Use static_cast (bool) for C++.
33474 Use the ternary operator in the warning branch for GNU C.
33475 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33476 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33477 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33478 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33479 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33481 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33484 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33485 (__syscall_clock_gettime): Add attribute_hidden.
33486 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33487 (__start_context): Likewise.
33489 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33491 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33493 (hidden_proto): Likewise.
33494 (hidden_tls_proto): Likewise.
33495 (__hidden_proto): Likewise.
33497 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33499 * include/libc-symbols.h (attribute_hidden): Enable hidden
33500 visibility in libc.a compiled with PIE.
33502 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33505 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33506 Add attribute_hidden.
33508 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33511 * Makerules (all-nonlib): Add $(others-extras).
33512 * catgets/Makefile (others-extras): New.
33513 * elf/Makefile (others-extras): Likewise.
33514 * nss/Makefile (others-extras): Likewise.
33516 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33519 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33520 * elf/dl-open.c: Include <libc-internal.h>.
33521 (__libc_multiple_libcs): Removed.
33522 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33524 * include/libc-internal.h (__libc_multiple_libcs): New.
33525 * misc/sbrk.c: Include <libc-internal.h>.
33526 (__libc_multiple_libcs): Removed.
33528 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33531 * grp/initgroups.c (__nss_group_database): Removed.
33532 (__nss_initgroups_database): Likewise.
33533 * nscd/gai.c (__nss_hosts_database): Likewise.
33534 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33535 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33536 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33537 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33538 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33539 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33541 * nss/nsswitch.c (__nss_database_custom): Define only if
33542 USE_NSCD is defined.
33543 (__nss_configure_lookup): Use __nss_database_custom only if
33544 USE_NSCD is defined.
33545 * nss/nsswitch.h (__nss_database_custom): Declare only if
33546 USE_NSCD is defined. Add attribute_hidden.
33547 (__nss_setent): Add attribute_hidden.
33548 (__nss_endent): Likewise.
33549 (__nss_getent_r): Likewise.
33550 (__nss_getent): Likewise.
33551 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33553 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33556 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33557 libc_hidden_proto and libc_hidden_def.
33559 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33562 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33563 Add libc_hidden_proto.
33564 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33565 Add libc_hidden_def.
33567 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33570 * gmon/Makefile (routines): Remove bb_init_func and
33572 (elide-routines.os): Removed.
33573 * gmon/bb_exit_func.c: Likewise.
33574 * gmon/bb_init_func.c: Likewise.
33575 * include/sys/gmon.h (__bb): Likewise.
33576 (__bb_init_func): Likewise.
33577 (__bb_exit_func): Likewise.
33578 * sysdeps/alpha/bb_init_func.S: Likewise.
33580 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33582 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33583 * include/setjmp.h (____longjmp_chk): Here. Add
33586 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33589 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33591 (__strspn_sse2): Likewise.
33593 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33595 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33596 (close_not_cancel_no_status): Likewise.
33597 (__close_nocancel): New macro.
33598 (__close_nocancel_nostatus): Likewise.
33599 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33601 (close_not_cancel): Likewise.
33602 (close_not_cancel_no_status): Likewise.
33603 (__close_nocancel): New prototype.
33604 (__close_nocancel_nostatus): New function.
33605 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33606 * catgets/open_catalog.c (__open_catalog): Replace
33607 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33608 * gmon/gmon.c (write_gmon): Likewise.
33609 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33610 * intl/loadmsgcat.c (close): Likewise.
33611 * io/ftw.c (open_dir_stream): Likewise.
33612 (ftw_startup): Likewise.
33613 * libio/fileops.c (_IO_file_open): Likewise.
33614 (_IO_file_close_mmap): Likewise.
33615 (_IO_file_close): Likewise.
33616 * libio/iopopen.c (_IO_dup2): Likewise.
33617 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33618 * locale/loadlocale.c (_nl_load_locale): Likewise.
33619 * login/utmp_file.c (pututline_file): Likewise.
33620 (endutent_file): Likewise.
33621 * misc/daemon.c (daemon): Likewise.
33622 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33623 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33624 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33625 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33626 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33627 * nscd/nscd_helper.c (open_socket): Likewise.
33628 (__nscd_open_socket): Likewise.
33629 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33630 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33631 (__nscd_innetgr): Likewise.
33632 * nss/nss_db/db-open.c (internal_setent): Likewise.
33633 * resolv/res-close.c (__res_iclose): Likewise.
33634 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33635 * sysdeps/posix/closedir.c (__closedir): Likewise.
33636 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33637 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33638 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33639 (opendir_tail): Likewise.
33640 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33641 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33642 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33643 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33644 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33645 (gethostid): Likewise.
33646 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33647 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33649 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33650 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33651 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33652 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33654 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33655 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33656 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33658 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33659 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33661 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33663 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33664 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33665 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33668 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33669 (openat_not_cancel_3): Likewise.
33670 (openat64_not_cancel_3): Likewise).
33671 (openat_not_cancel_3): Likewise).
33672 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33674 (openat_not_cancel_3): Likewise.
33675 (openat64_not_cancel): Likewise.
33676 (openat64_not_cancel_3): Likewise.
33677 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33678 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33679 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33680 __open{64}_nocancel.
33681 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33682 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33683 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33685 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33688 * include/argz.h (__argz_create_sep): New function prototype.
33689 (__argz_append): Likewise.
33690 (__argz_add): Likewise.
33691 (__argz_add_sep): Likewise.
33692 (__argz_delete): Likewise.
33693 (__argz_insert): Likewise.
33694 (__argz_replace): Likewise.
33695 * string/argz.h (__argz_create_sep): Removed.
33696 (__argz_append): Likewise.
33697 (__argz_add): Likewise.
33698 (__argz_add_sep): Likewise.
33699 (__argz_delete): Likewise.
33700 (__argz_insert): Likewise.
33701 (__argz_replace): Likewise.
33703 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33705 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33706 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33707 (GNU_PROPERTY_STACK_SIZE): Likewie.
33708 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33709 (GNU_PROPERTY_LOPROC): Likewise.
33710 (GNU_PROPERTY_HIPROC): Likewise.
33711 (GNU_PROPERTY_LOUSER): Likewise.
33712 (GNU_PROPERTY_HIUSER): Likewise.
33713 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33714 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33715 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33716 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33717 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33718 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33719 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33720 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33721 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33722 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33723 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33724 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33725 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33726 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33727 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33728 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33729 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33730 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33731 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33732 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33733 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33734 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33735 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33737 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33739 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33742 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33745 * math/math.h (isinf): Check if in C or C++ mode before using
33746 __builtin_types_compatible_p, since this is a C mode feature.
33748 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33750 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33751 (__write_nocancel): New macro.
33752 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33753 Rewrite as a function prototype.
33754 (write_not_cancel): Remove macro.
33755 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33756 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33757 (write_gmon): Likewise.
33758 * libio/fileops.c (_IO_new_file_write): Likewise.
33759 * login/utmp_file.c (pututline_file): Likewise.
33760 (updwtmp_file): Likewise.
33761 * stdio-common/psiginfo.c (psiginfo): Likewise.
33762 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33763 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33764 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33766 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33769 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33770 (__read_nocancel): New macro.
33771 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33773 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33775 (__read_nocancel): New prototype.
33776 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33777 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33778 with __read_nocancel.
33779 * intl/loadmsgcat.c (read): Likewise.
33780 * libio/fileops.c (_IO_file_read): Likewise.
33781 * locale/loadlocale.c (_nl_load_locale): Likewise.
33782 * login/utmp_file.c (getutent_r_file): Likewise.
33783 (internal_getut_r): Likewise.
33784 (getutline_r_file): Likewise.
33785 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33786 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33787 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33788 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33790 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33791 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33792 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33794 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33796 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33798 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33800 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33802 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33805 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33806 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33809 2017-08-17 DJ Delorie <dj@redhat.com>
33811 * bug17079.c: Update to new test harness.
33812 * test-digits-dots.c: Likewise.
33813 * test-netdb.c: Likewise.
33814 * tst-field.c: Likewise.
33815 * tst-nss-getpwent.c: Likewise.
33816 * tst-nss-static.c: Likewise.
33817 * tst-nss-test1.c: Likewise.
33818 * tst-nss-test2.c: Likewise.
33819 * tst-nss-test3.c: Likewise.
33820 * tst-nss-test4.c: Likewise.
33821 * tst-nss-test5.c: Likewise.
33823 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33825 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33826 (open_not_cancel_2): Likewise.
33827 (open_nocancel): New macro.
33828 (open64_nocancel): Likewise.
33829 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33830 (open_not_cancel_2): Likewise.
33831 (__open_nocancel): New prototype.
33832 (__open64_nocancel): Likewise.
33833 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33835 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33836 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33837 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33838 with __open_nocancel.
33839 * csu/check_fds.c (check_one_fd): Likewise.
33840 * gmon/gmon.c (write_gmon): Likewise.
33841 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33842 * intl/loadmsgcat.c (open): Likewise.
33843 * libio/fileops.c (_IO_file_open): Likewise.
33844 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33845 * locale/loadlocale.c (_nl_load_locale): Likewise.
33846 * login/utmp_file.c (setutent_file): Likewise.
33847 * misc/daemon.c (daemon): Likewise.
33848 * nss/nss_db/db-open.c (internal_setent): Likewise.
33849 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33850 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33851 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33852 (__opendir): Likewise.
33853 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33854 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33855 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33856 (gethostid): Likewise.
33857 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33858 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33860 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33861 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33862 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33863 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33865 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33867 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33869 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33871 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33873 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33875 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33876 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33878 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33880 * benchtests/bench-skeleton.c (main): Add support for
33881 latency benchmarking.
33882 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33884 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33886 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33887 the startup object.
33889 2017-08-17 Florian Weimer <fweimer@redhat.com>
33891 * include/sys/socket.h (__opensock): Remove internal_function.
33892 * socket/opensock.c (__opensock): Likewise.
33893 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33895 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33898 * signal/bits/types/__sigval_t.h: New file.
33899 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33900 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33901 and define sigval_t using __sigval_t.
33902 * include/bits/types/__sigval_t.h: New file.
33903 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33904 instead of <bits/types/__sigval_t.h>.
33905 (struct sigevent): Use __sigval_t instead of sigval_t.
33906 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33907 instead of <bits/types/__sigval_t.h>.
33908 (siginfo_t): Use __sigval_t instead of sigval_t.
33909 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33910 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33911 (struct sigevent): Use __sigval_t instead of sigval_t.
33912 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33913 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33914 (siginfo_t): Use __sigval_t instead of sigval_t.
33915 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33917 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33919 * NEWS: Remove "[Add new features here]" for 2.27.
33921 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33923 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33926 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33928 * NEWS: Mention x86-64 FMA optimization.
33930 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33933 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33935 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33936 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33937 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33939 2017-08-16 Andreas Schwab <schwab@suse.de>
33943 * elf/ldd.bash.in: Never run file directly.
33945 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33948 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33949 (L(SP_INF_0)): Likewise.
33951 2017-08-15 Florian Weimer <fweimer@redhat.com>
33953 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33956 2017-08-15 Florian Weimer <fweimer@redhat.com>
33958 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33959 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33960 BROKEN_THREAD_SIGNALS code.
33961 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33962 request_list): Remove caller_pid member used for
33963 BROKEN_THREAD_SIGNALS.
33964 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33965 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33966 Remove BROKEN_THREAD_SIGNALS support.
33967 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33968 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33970 2017-08-15 Florian Weimer <fweimer@redhat.com>
33972 * gmon/Makefile (tests): Add tst-gmon.
33973 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33975 (tests-special): Add tst-gmon-prof.out.
33976 (tst-gmon.out): Depend on clean-tst-gmon-data.
33977 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33978 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33979 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33981 * aclocal.m4 (GPROF): Set and substitute.
33982 * config.amke.in (GPROF): Set.
33983 * configure: Regenerate.
33985 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33987 * elf/elf.h A (NT_PPC_TAR): New macro.
33988 (NT_PPC_PPR): Likewise.
33989 (NT_PPC_DSCR): Likewise.
33990 (NT_PPC_EBB): Likewise.
33991 (NT_PPC_PMU): Likewise.
33992 (NT_PPC_TM_CGPR): Likewise.
33993 (NT_PPC_TM_CFPR): Likewise.
33994 (NT_PPC_TM_CVMX): Likewise.
33995 (NT_PPC_TM_CVSX): Likewise.
33996 (NT_PPC_TM_SPR): Likewise.
33997 (NT_PPC_TM_CTAR): Likewise.
33998 (NT_PPC_TM_CPPR): Likewise.
33999 (NT_PPC_TM_CDSCR): Likewise.
34001 2017-08-15 Florian Weimer <fweimer@redhat.com>
34003 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
34004 regparm (2) instead of internal_function.
34005 (_MCOUNT_DECL): Adjust.
34007 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34009 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
34010 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
34012 2017-08-14 Joseph Myers <joseph@codesourcery.com>
34014 * conform/data/sys/wait.h-data (si_value): Do not expect for
34017 2017-08-14 Florian Weimer <fweimer@redhat.com>
34020 NSS: Create stubs for accidentally exported lookup functions.
34021 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
34022 Remove declaration.
34023 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
34024 (ether_hostton): Call __nss_ethers_lookup2 instead.
34025 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
34026 (ether_ntohost): Call __nss_ethers_lookup2 instead.
34027 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
34028 (setup): Call __nss_netgroup_lookup2 instead.
34029 * nss/Makefile (routines): Add compat-lookup.
34030 * nss/Versions (GLIBC_2.27): Add symbol version.
34031 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
34032 (DB_COMPAT_FCT): Remove.
34033 * nss/compat-lookup.c: New file.
34034 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
34035 from databases.def.
34036 * nss/service-lookup.c (NO_COMPAT): Remove definition.
34037 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
34038 (netname2user): Call __nss_publickey_lookup2 instead.
34039 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
34040 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
34043 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34044 Sergei Trofimovich <slyfox@inbox.ru>
34047 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
34048 Rename to MMAP2_PAGE_UNIT.
34049 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
34050 __OFF_T_MATCHES_OFF64_T is not defined.
34051 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
34053 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
34054 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
34056 2017-08-14 Florian Weimer <fweimer@redhat.com>
34058 i386: Do not set internal_function.
34059 * config.h.in (USE_REGPARMS, internal_function): Remove.
34060 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
34061 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
34063 2017-08-14 Florian Weimer <fweimer@redhat.com>
34065 * elf/dl-init.c (_dl_init): Remove internal_function.
34066 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
34067 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
34069 2017-08-14 Florian Weimer <fweimer@redhat.com>
34071 * elf/rtld.c (_dl_start): Remove internal_function.
34072 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
34075 2017-08-14 Florian Weimer <fweimer@redhat.com>
34077 * elf/dl-fini.c (_dl_fini): Remove internal_function
34078 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
34080 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
34082 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
34083 (bit_cpu_SHSTK): Likewise.
34084 (index_cpu_IBT): Likewise.
34085 (index_cpu_SHSTK): Likewise.
34086 (reg_IBT): Likewise.
34087 (reg_SHSTK): Likewise.
34088 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34089 Handle index_cpu_IBT and index_cpu_SHSTK.
34091 2017-08-14 Mike FABIAN <mfabian@redhat.com>
34094 * po/fr.po: Fix spelling mistake.
34096 2017-08-13 Florian Weimer <fweimer@redhat.com>
34098 * elf/dl-addr.c (_dl_addr): Remove internal_function.
34099 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
34100 (_dl_catch_error, _dl_receive_error): Likewise.
34101 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
34102 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
34103 (_dl_deallocate_tls): Likewise.
34104 * include/dlfcn.h (_dl_addr): Likewise.
34105 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
34106 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
34107 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
34110 2017-08-13 Florian Weimer <fweimer@redhat.com>
34112 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
34113 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
34115 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
34117 2017-08-13 Florian Weimer <fweimer@redhat.com>
34119 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
34121 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
34122 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
34123 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
34124 internal_function from _dl_make_stack_executable_hook member.
34125 (_dl_make_stack_executable): Remove internal_function.
34126 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
34128 * sysdeps/unix/sysv/linux/dl-execstack.c
34129 (_dl_make_stack_executable): Likewise.
34131 2017-08-13 Florian Weimer <fweimer@redhat.com>
34133 * sysdeps/unix/sysv/linux/netlinkaccess.h
34134 (__netlink_assert_response): Remove internal_function.
34135 * sysdeps/unix/sysv/linux/netlink_assert_response.c
34136 (__netlink_assert_response): Likewise.
34138 2017-08-13 Florian Weimer <fweimer@redhat.com>
34140 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
34142 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
34144 2017-08-13 Florian Weimer <fweimer@redhat.com>
34146 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
34148 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
34149 * inet/netgroup.h (__internal_setnetgrent)
34150 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34151 * inet/getnetgrent_r.c (__internal_setnetgrent)
34152 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34153 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
34154 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
34155 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
34156 * nss/nsswitch.h (db_lookup_function): Likewise.
34158 2017-08-13 Florian Weimer <fweimer@redhat.com>
34160 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
34161 Remove internal_function.
34162 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
34163 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
34164 message argument on the stack.
34165 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
34168 2017-08-12 Mike FABIAN <mfabian@redhat.com>
34170 Adapt test case data to the changes in the thousands
34174 * localedata/tst-langinfo.sh: Adapt test case data.
34175 * stdlib/tst-strfmon_l.c: Likewise.
34176 * stdlib/tst-strtod4.c: Likewise.
34177 * stdlib/tst-strtod5i.c: Likewise.
34179 2017-08-11 Florian Weimer <fweimer@redhat.com>
34182 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
34183 Suppress pedantic warning resulting from statement expression.
34184 (__ASSERT_FUNCTION): Add missing __extension__.
34186 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34188 * benchtests/bench-memmove-large.c: Print output in JSON
34190 * benchtests/bench-memmove.c: Likewise.
34192 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
34193 * benchtests/bench-memchr.c (do_one_test): Likewise.
34194 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
34195 * benchtests/bench-memcpy.c (do_one_test): Likewise.
34196 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
34197 * benchtests/bench-memmove.c (do_one_test): Likewise.
34198 * benchtests/bench-memset-large.c (do_one_test): Likewise.
34199 * benchtests/bench-memset.c (do_one_test): Likewise.
34200 * benchtests/bench-string.h (test_init): Remove memsets.
34202 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
34205 (Computing the Width of an Integer Data Type): Rename section to
34206 "Width of an Integer Type". Remove inaccurate statement regarding
34207 lack of C language facilities for determining width of integer
34208 types, and reorder content to improve flow and context of
34211 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
34213 * lang.texi (va_copy): Change standard from ISO to C99.
34214 (__va_copy): Add standard and header annotation.
34215 Update description for clarity of origins and current use.
34217 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34220 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
34221 xssqrtqp requires operands to be in Vector Registers
34222 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
34223 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
34224 (__ieee754_sqrtf128): Likewise.
34226 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
34228 * sysdeps/aarch64/memcmp.S (memcmp):
34229 Rewrite of optimized memcmp.
34231 2017-08-10 Florian Weimer <fweimer@redhat.com>
34233 Introduce ld.so exceptions.
34234 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
34235 (_dl_exception_create, _dl_exception_create_format)
34236 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
34237 (_dl_catch_exception): Declare.
34238 (_dl_catch_error): Update comment.
34239 * elf/dl-error-skeleton.c (struct catch): Replace objname,
34240 errstring, malloced members with exception member.
34241 (_dl_out_of_memory): Remove.
34242 (fatal_error): New function, extracted from _dl_signal_error.
34243 (_dl_signal_exception, _dl_signal_cexception): New functions.
34244 (_dl_signal_error): Call _dl_exception_create to allocate an
34246 (_dl_catch_exception): New function, based on _dl_catch_error.
34247 (_dl_catch_error): Implement using _dl_catch_exception.
34248 * elf/dl-exception.c: New file.
34249 * elf/Makefile (dl-routines): Add dl-exception.
34250 (elide-routines.os): Likewise.
34251 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
34252 _dl_exception_create_format, _dl_exception_free.
34253 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
34254 _dl_signal_exception.
34255 * elf/dl-lookup.c (make_string): Remove.
34256 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
34257 _dl_signal_cexception, _dl_exception_free.
34258 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
34259 _dl_signal_exception.
34260 * elf/dl-sym.c (do_sym): Likewise.
34261 * elf/dl-version.c (make_string): Remove.
34262 (match_symbol): Use _dl_exception_create_format,
34263 _dl_signal_cexception, _dl_exception_free.
34264 (_dl_check_map_versions): Likewise.
34265 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
34266 _dl_catch_exception.
34267 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
34268 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
34269 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
34270 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
34271 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
34272 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
34273 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
34274 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
34276 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
34277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
34279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
34281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
34283 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
34284 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
34285 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
34287 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
34289 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
34291 2017-08-10 Florian Weimer <fweimer@redhat.com>
34293 * inet/net-internal.h (__inet6_scopeid_pton): Remove
34294 attribute_hidden, internal_function.
34295 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
34298 2017-08-10 Florian Weimer <fweimer@redhat.com>
34300 * malloc/malloc.c (get_max_fast): Reimplement as an inline
34301 function which calls __builtin_unreachable.
34303 2017-08-10 Mike FABIAN <mfabian@redhat.com>
34305 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
34306 Indian monetary formatting
34307 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
34310 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
34312 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
34313 Fix typo in comment.
34316 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34317 PTRACE_SEIZE_DEVEL): Remove.
34318 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34319 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34320 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34321 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34322 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34324 2017-08-09 Joseph Myers <joseph@codesourcery.com>
34326 * posix/bits/types.h (__qaddr_t): Remove.
34329 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34330 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34332 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34333 (ucontext_t): Use __ctx with uc_flags.
34334 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34335 (__ctxt): Likewise.
34336 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34338 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34339 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34341 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34342 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34344 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34346 (ucontext_t): Use __ctx with uc_flags.
34347 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34348 (ucontext_t): Use __ctx with uc_flags.
34349 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34350 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34351 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34352 (ucontext_t): Use __ctx with uc_flags.
34353 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34354 undefine further down.
34355 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34357 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34358 undefine further down.
34359 (ucontext_t): Use __ctx with uc_flags.
34360 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34361 undefine further down.
34362 (ucontext_t): Use __ctx with uc_flags.
34363 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34364 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34365 Rename uc_pad to __glibc_reserved1.
34366 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34367 undefine further down.
34368 (ucontext_t): Use __ctx with uc_flags.
34369 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34371 (ucontext_t): Use __ctx with uc_flags.
34372 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34373 __ctx with uc_flags.
34374 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34375 (ucontext_t): Use __ctx with uc_flags.
34376 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34377 __ctx with uc_flags.
34379 2017-08-09 Florian Weimer <fweimer@redhat.com>
34382 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34383 before early return.
34385 2017-08-09 Andreas Schwab <schwab@suse.de>
34388 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34392 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34393 tst-compat-forwarder.
34394 (modules-names): Add tst-compat-forwarder-mod.
34395 ($(objpfx)tst-compat-forwarder): Depend on
34396 $(objpfx)tst-compat-forwarder-mod.so.
34397 * nptl/tst-compat-forwarder.c: New file.
34398 * nptl/tst-compat-forwarder-mod.c: New file.
34400 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34402 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34405 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34406 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34408 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34410 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34411 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34412 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34413 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34415 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34418 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34421 * manual/setjmp.texi (getcontex): Document uc_stack value
34422 compatibility differences.
34424 2017-08-08 Joseph Myers <joseph@codesourcery.com>
34426 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34427 (old_malloc_hook): Likewise.
34428 (old_memalign_hook): Likewise.
34429 (old_realloc_hook): Likewise.
34430 (struct hdr): Likewise.
34432 (freehook): Likewise.
34433 (mallochook): Likewise.
34434 (memalignhook): Likewise.
34435 (reallochook): Likewise.
34436 (mprobe): Likewise.
34437 * malloc/mtrace.c (mallwatch): Likewise.
34438 (tr_old_free_hook): Likewise.
34439 (tr_old_malloc_hook): Likewise.
34440 (tr_old_realloc_hook): Likewise.
34441 (tr_old_memalign_hook): Likewise.
34442 (tr_where): Likewise.
34443 (lock_and_info): Likewise.
34444 (tr_freehook): Likewise.
34445 (tr_mallochook): Likewise.
34446 (tr_reallochook): Likewise.
34447 (tr_memalignhook): Likewise.
34448 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34449 * misc/mmap.c (__mmap): Likewise.
34450 * misc/mmap64.c (__mmap64): Likewise.
34451 * misc/mprotect.c (__mprotect): Likewise.
34452 * misc/msync.c (msync): Likewise.
34453 * misc/munmap.c (__munmap): Likewise.
34454 * posix/posix_madvise.c (posix_madvise): Likewise.
34455 * socket/send.c (__send): Likewise.
34456 * socket/sendto.c (__sendto): Likewise.
34457 * socket/setsockopt.c (__setsockopt): Likewise.
34458 * string/memcmp.c (__ptr_t): Remove macro.
34459 (MEMCMP): Use void * instead of ptr_t.
34460 * string/memrchr.c (__ptr_t): Remove macro.
34461 (__memrchr): Use void * instead of ptr_t.
34462 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34463 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34464 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34465 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34466 * sysdeps/mach/msync.c (msync): Likewise.
34467 * sysdeps/mach/munmap.c (__munmap): Likewise.
34468 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34470 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34471 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34472 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34473 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34474 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34475 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34476 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34477 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34479 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34480 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34481 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34482 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34483 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34484 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34485 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34486 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34487 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34489 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34490 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34491 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34492 (MEMCMP): Use void * instead of ptr_t.
34493 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34494 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34496 2017-08-08 Florian Weimer <fweimer@redhat.com>
34498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34501 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34504 * csu/libc-tls.c: Include <startup.h> first.
34505 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34506 * elf/dl-tunables.c: Include <startup.h> first.
34507 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34508 * sysdeps/generic/startup.h: New file.
34509 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34510 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34511 (I386_USE_SYSENTER): New. Defined to 0.
34513 2017-08-08 Andreas Schwab <schwab@suse.de>
34516 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34517 * nptl/pt-system.c (system): Likewise.
34519 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34522 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34524 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34525 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34526 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34527 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34528 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34529 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34530 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34532 2017-08-07 Joseph Myers <joseph@codesourcery.com>
34535 * bits/sigaction.h (struct sigaction): Define sa_handler and
34536 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34537 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34538 [__USE_XOPEN_EXTENDED].
34539 (SA_RESTART): Likewise.
34540 (SA_NODEFER): Likewise.
34541 (SA_RESETHAND): Likewise.
34542 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34543 (struct sigaction): Define sa_handler and sa_sigaction using union
34544 also for [__USE_XOPEN_EXTENDED].
34545 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34546 [__USE_XOPEN_EXTENDED].
34547 (SA_RESTART): Likewise.
34548 (SA_NODEFER): Likewise.
34549 (SA_RESETHAND): Likewise.
34550 * sysdeps/unix/sysv/linux/bits/sigaction.h
34551 (struct sigaction): Define sa_handler and sa_sigaction using union
34552 also for [__USE_XOPEN_EXTENDED].
34553 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34554 [__USE_XOPEN_EXTENDED].
34555 (SA_RESTART): Likewise.
34556 (SA_NODEFER): Likewise.
34557 (SA_RESETHAND): Likewise.
34558 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34559 (struct sigaction): Define sa_handler and sa_sigaction using union
34560 also for [__USE_XOPEN_EXTENDED].
34561 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34562 [__USE_XOPEN_EXTENDED].
34563 (SA_RESTART): Likewise.
34564 (SA_NODEFER): Likewise.
34565 (SA_RESETHAND): Likewise.
34566 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34567 (struct sigaction): Define sa_handler and sa_sigaction using union
34568 also for [__USE_XOPEN_EXTENDED].
34569 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34570 [__USE_XOPEN_EXTENDED].
34571 (SA_RESTART): Likewise.
34572 (SA_NODEFER): Likewise.
34573 (SA_RESETHAND): Likewise.
34574 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34575 (struct sigaction): Define sa_handler and sa_sigaction using union
34576 also for [__USE_XOPEN_EXTENDED].
34577 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34578 [__USE_XOPEN_EXTENDED].
34579 (SA_RESTART): Likewise.
34580 (SA_NODEFER): Likewise.
34581 (SA_RESETHAND): Likewise.
34582 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34583 (struct sigaction): Define sa_handler and sa_sigaction using union
34584 also for [__USE_XOPEN_EXTENDED].
34585 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34586 [__USE_XOPEN_EXTENDED].
34587 (SA_RESTART): Likewise.
34588 (SA_NODEFER): Likewise.
34589 (SA_RESETHAND): Likewise.
34590 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34591 (struct sigaction): Define sa_handler and sa_sigaction using union
34592 also for [__USE_XOPEN_EXTENDED].
34593 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34594 [__USE_XOPEN_EXTENDED].
34595 (SA_RESTART): Likewise.
34596 (SA_NODEFER): Likewise. Define directly rather than as alias.
34597 (SA_RESETHAND): Likewise.
34598 (SA_INTERRUPT): Define only for [__USE_MISC].
34599 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34600 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34602 (SA_STACK): Define only for [__USE_MISC].
34603 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34604 (struct sigaction): Define sa_handler and sa_sigaction using union
34605 also for [__USE_XOPEN_EXTENDED].
34606 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34607 [__USE_XOPEN_EXTENDED].
34608 (SA_RESTART): Likewise.
34609 (SA_NODEFER): Likewise.
34610 (SA_RESETHAND): Likewise.
34611 (SA_NOPTRACE): Define only for [__USE_MISC].
34613 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34614 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34615 (struct catalog_info): Likewise.
34616 * inet/htontest.c (lo): Likewise.
34618 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34619 * inet/inet_net.c (inet_network): Likewise.
34620 * inet/inet_netof.c (inet_netof): Likewise.
34621 * inet/rcmd.c (__ivaliduser): Likewise.
34622 (iruserok): Likewise.
34623 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34624 * locale/programs/locale-spec.c (locale_special): Likewise.
34625 * nis/nis_findserv.c (struct findserv_req): Likewise.
34626 (__nis_findfastest_with_timeout): Likewise.
34627 * nss/test-netdb.c (test_network): Likewise.
34628 * resolv/inet_neta.c (inet_neta): Likewise.
34629 * resolv/ns_date.c (ns_datetosecs): Likewise.
34630 (SECS_PER_DAY): Likewise.
34631 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34633 * resolv/res_comp.c (__putlong): Likewise.
34634 (__putshort): Likewise.
34635 (_getlong): Likewise.
34636 (_getshort): Likewise.
34637 * resolv/res_debug.c (p_time): Likewise.
34638 (precsize_ntoa): Likewise.
34639 (precsize_aton): Likewise.
34640 (latlon2ul): Likewise.
34641 (loc_aton): Likewise.
34642 (loc_ntoa): Likewise.
34643 * resolv/res_hconf.c (struct netaddr): Likewise.
34644 (_res_hconf_reorder_addrs): Likewise.
34645 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34646 (clnttcp_control): Likewise.
34647 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34648 (clntudp_control): Likewise.
34649 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34650 (clntunix_control): Likewise.
34651 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34652 * sunrpc/rpc/auth.h (union des_block): Likewise.
34653 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34654 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34655 (xdrrec_create): Likewise.
34656 (xdrrec_endofrecord): Likewise.
34657 (flush_out): Likewise.
34658 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34659 (xdrstdio_putlong): Likewise.
34660 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34663 * misc/sys/cdefs.h (__long_double_t): Remove.
34664 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34665 instead of __long_double_t,
34666 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34668 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34670 * benchtests/scripts/compare_strings.py: Avoid display error when
34671 running on a text terminal.
34673 * benchtests/scripts/compare_strings.py (main): Add an
34674 optional -base option.
34675 (process_results): New argument base_func.
34677 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34679 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34680 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34682 2017-08-07 Andreas Schwab <schwab@suse.de>
34684 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34685 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34686 * intl/Makefile ($(objpfx)tst-gettext.out)
34687 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34688 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34689 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34690 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34691 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34692 * posix/Makefile ($(objpfx)globtest.out)
34693 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34694 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34695 ($(objpfx)tst-printf.out): Likewise.
34696 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34697 ($(objpfx)tst-setcontext3.out): Likewise.
34699 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34701 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34702 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34703 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34704 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34705 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34707 (CFLAGS-doasin-fma.c): New.
34708 (CFLAGS-dosincos-fma.c): Likewise.
34709 (CFLAGS-e_asin-fma.c): Likewise.
34710 (CFLAGS-e_atan2-fma.c): Likewise.
34711 (CFLAGS-e_exp-fma.c): Likewise.
34712 (CFLAGS-e_log-fma.c): Likewise.
34713 (CFLAGS-e_pow-fma.c): Likewise.
34714 (CFLAGS-halfulp-fma.c): Likewise.
34715 (CFLAGS-mpa-fma.c): Likewise.
34716 (CFLAGS-mpatan-fma.c): Likewise.
34717 (CFLAGS-mpatan2-fma.c): Likewise.
34718 (CFLAGS-mpexp-fma.c): Likewise.
34719 (CFLAGS-mplog-fma.c): Likewise.
34720 (CFLAGS-mpsqrt-fma.c): Likewise.
34721 (CFLAGS-mptan-fma.c): Likewise.
34722 (CFLAGS-s_atan-fma.c): Likewise.
34723 (CFLAGS-sincos32-fma.c): Likewise.
34724 (CFLAGS-slowexp-fma.c): Likewise.
34725 (CFLAGS-slowpow-fma.c): Likewise.
34726 (CFLAGS-s_sin-fma.c): Likewise.
34727 (CFLAGS-s_tan-fma.c): Likewise.
34728 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34729 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34730 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34731 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34732 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34733 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34734 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34735 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34736 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34737 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34738 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34739 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34740 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34741 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34742 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34743 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34744 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34745 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34746 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34747 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34748 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34749 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34750 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34751 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34752 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34753 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34754 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34755 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34756 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34757 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34758 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34760 2017-08-04 Joseph Myers <joseph@codesourcery.com>
34762 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34763 (min_of_type_f): New macro.
34764 (min_of_type_): Likewise.
34765 (min_of_type_l): Likewise.
34766 (min_of_type_f128): Likewise.
34767 (min_of_type): Define using __MATH_TG and taking an expression
34769 (math_check_force_underflow): Pass expression instead of type to
34771 (math_check_force_underflow_nonneg): Likewise.
34773 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34775 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34776 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34777 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34779 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34781 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34782 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34783 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34784 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34785 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34786 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34787 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34788 memmove_chk-nonshared and memset_chk-nonshared
34789 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34790 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34791 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34792 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34793 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34794 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34795 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34796 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34797 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34798 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34799 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34800 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34801 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34802 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34803 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34804 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34805 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34806 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34807 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34808 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34809 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34810 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34811 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34812 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34813 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34814 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34815 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34816 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34817 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34818 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34819 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34820 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34821 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34822 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34823 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34824 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34825 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34826 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34827 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34828 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34829 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34830 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34831 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34832 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34833 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34834 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34835 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34836 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34837 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34838 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34839 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34840 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34841 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34842 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34843 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34844 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34845 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34846 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34847 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34848 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34849 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34850 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34851 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34852 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34853 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34854 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34855 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34856 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34857 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34858 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34859 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34860 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34861 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34862 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34863 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34864 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34865 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34866 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34867 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34868 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34869 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34870 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34871 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34872 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34873 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34874 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34875 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34876 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34877 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34878 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34879 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34880 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34881 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34882 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34883 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34884 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34885 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34886 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34887 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34888 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34889 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34890 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34891 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34892 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34893 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34894 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34895 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34896 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34898 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34900 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34901 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34902 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34903 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34904 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34905 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34906 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34907 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34908 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34909 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34910 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34911 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34912 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34913 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34914 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34915 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34916 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34917 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34918 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34919 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34920 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34921 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34922 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34923 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34924 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34925 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34926 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34927 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34928 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34929 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34930 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34931 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34932 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34933 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34934 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34935 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34936 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34937 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34938 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34939 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34940 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34941 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34942 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34943 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34944 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34945 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34946 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34947 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34948 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34949 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34950 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34951 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34952 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34953 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34954 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34955 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34956 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34957 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34958 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34960 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34961 Don't include <sysdep.h> nor <init-arch.h>.
34962 (_ZGVbN2v_cos): Removed.
34963 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34965 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34966 Don't include <sysdep.h> nor <init-arch.h>.
34967 (_ZGVdN4v_cos): Removed.
34968 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34970 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34971 Don't include <sysdep.h> nor <init-arch.h>.
34972 (_ZGVeN8v_cos): Removed.
34973 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34975 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34976 Don't include <sysdep.h> nor <init-arch.h>.
34977 (_ZGVbN2v_exp): Removed.
34978 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34980 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34981 Don't include <sysdep.h> nor <init-arch.h>.
34982 (_ZGVdN4v_exp): Removed.
34983 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34985 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34986 Don't include <sysdep.h> nor <init-arch.h>.
34987 (_ZGVeN8v_exp): Removed.
34988 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34990 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34991 Don't include <sysdep.h> nor <init-arch.h>.
34992 (_ZGVbN2v_log): Removed.
34993 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34995 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34996 Don't include <sysdep.h> nor <init-arch.h>.
34997 (_ZGVdN4v_log): Removed.
34998 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
35000 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
35001 Don't include <sysdep.h> nor <init-arch.h>.
35002 (_ZGVeN8v_log): Removed.
35003 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
35005 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
35006 Don't include <sysdep.h> nor <init-arch.h>.
35007 (_ZGVbN2vv_pow): Removed.
35008 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
35010 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
35011 Don't include <sysdep.h> nor <init-arch.h>.
35012 (_ZGVdN4vv_pow): Removed.
35013 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
35015 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
35016 Don't include <sysdep.h> nor <init-arch.h>.
35017 (_ZGVeN8vv_pow): Removed.
35018 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
35020 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
35021 Don't include <sysdep.h> nor <init-arch.h>.
35022 (_ZGVbN2v_sin): Removed.
35023 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
35025 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
35026 Don't include <sysdep.h> nor <init-arch.h>.
35027 (_ZGVbN4v_sin): Removed.
35028 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
35030 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
35031 Don't include <sysdep.h> nor <init-arch.h>.
35032 (_ZGVbN8v_sin): Removed.
35033 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
35035 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
35036 Don't include <sysdep.h> nor <init-arch.h>.
35037 (_ZGVbN2vvv_sincos): Removed.
35038 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
35040 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
35041 Don't include <sysdep.h> nor <init-arch.h>.
35042 (_ZGVdN4vvv_sincos): Removed.
35043 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
35045 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
35046 Don't include <sysdep.h> nor <init-arch.h>.
35047 (_ZGVeN8vvv_sincos): Removed.
35048 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
35050 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
35051 Don't include <sysdep.h> nor <init-arch.h>.
35052 (_ZGVeN16v_cosf): Removed.
35053 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
35055 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
35056 Don't include <sysdep.h> nor <init-arch.h>.
35057 (_ZGVbN4v_cosf): Removed.
35058 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
35060 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
35061 Don't include <sysdep.h> nor <init-arch.h>.
35062 (_ZGVdN8v_cosf): Removed.
35063 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
35065 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
35066 Don't include <sysdep.h> nor <init-arch.h>.
35067 (_ZGVeN16v_expf): Removed.
35068 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
35070 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
35071 Don't include <sysdep.h> nor <init-arch.h>.
35072 (_ZGVbN4v_expf): Removed.
35073 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
35075 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
35076 Don't include <sysdep.h> nor <init-arch.h>.
35077 (_ZGVdN8v_expf): Removed.
35078 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
35080 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
35081 Don't include <sysdep.h> nor <init-arch.h>.
35082 (_ZGVeN16v_logf): Removed.
35083 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
35085 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
35086 Don't include <sysdep.h> nor <init-arch.h>.
35087 (_ZGVbN4v_logf): Removed.
35088 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
35090 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
35091 Don't include <sysdep.h> nor <init-arch.h>.
35092 (_ZGVdN8v_logf): Removed.
35093 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
35095 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
35096 Don't include <sysdep.h> nor <init-arch.h>.
35097 (_ZGVeN16vv_powf): Removed.
35098 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
35100 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
35101 Don't include <sysdep.h> nor <init-arch.h>.
35102 (_ZGVbN4vv_powf): Removed.
35103 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
35105 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
35106 Don't include <sysdep.h> nor <init-arch.h>.
35107 (_ZGVdN8vv_powf): Removed.
35108 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
35110 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
35111 Don't include <sysdep.h> nor <init-arch.h>.
35112 (_ZGVeN16vvv_sincosf): Removed.
35113 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
35115 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
35116 Don't include <sysdep.h> nor <init-arch.h>.
35117 (_ZGVbN4vvv_sincosf): Removed.
35118 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
35120 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
35121 Don't include <sysdep.h> nor <init-arch.h>.
35122 (_ZGVdN8vvv_sincosf): Removed.
35123 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
35125 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
35126 Don't include <sysdep.h> nor <init-arch.h>.
35127 (_ZGVeN16v_sinf): Removed.
35128 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
35130 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
35131 Don't include <sysdep.h> nor <init-arch.h>.
35132 (_ZGVbN4v_sinf): Removed.
35133 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
35135 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
35136 Don't include <sysdep.h> nor <init-arch.h>.
35137 (_ZGVdN8v_sinf): Removed.
35139 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35141 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35142 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
35143 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
35144 s_rint-sse4_1 and s_rintf-sse4_1.
35145 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
35146 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
35147 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
35148 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
35149 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
35150 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
35151 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
35152 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
35153 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
35154 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
35155 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
35156 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35158 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
35159 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
35160 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35161 (__ceilf): Removed.
35162 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
35163 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
35164 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35165 (__floor): Removed.
35166 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
35167 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
35168 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35169 (__floorf): Removed.
35170 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
35171 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
35172 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35173 (__nearbyint): Removed.
35174 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
35175 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
35176 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35177 (__nearbyintf): Removed.
35178 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
35179 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
35180 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35182 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
35183 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
35184 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35185 (__rintf): Removed.
35187 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35189 * sysdeps/i386/start.S (_start): Check Check PIC instead of
35190 SHARED. Avoid dynamic relocation against main in static PIE.
35192 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35195 * elf/Makefile (CFLAGS-tst-prelink.c): New.
35196 (LDFLAGS-tst-prelink): Likewise.
35198 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35200 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
35201 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
35202 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
35203 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
35204 (INTERNAL_SYSCALL_NCS): Likewise.
35205 (LOADARGS_1): Likewise.
35206 (LOADARGS_5): Likewise.
35207 (RESTOREARGS_1): Likewise.
35208 (RESTOREARGS_5): Likewise.
35210 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35212 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
35213 (MEMPCPY_SYMBOL): Likewise.
35214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35215 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
35216 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
35218 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35219 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
35221 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
35222 (__hidden_ver1): Don't use in libc.a.
35223 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
35224 (__mempcpy): Don't create a weak alias in libc.a.
35225 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
35227 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
35228 (__hidden_ver1): Don't use in libc.a.
35230 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35232 * config.make.in (have-insert): New.
35233 * configure.ac (libc_cv_insert): New. Set to yes if linker
35234 supports INSERT in linker script.
35235 (AC_SUBST(libc_cv_insert): New.
35236 * configure: Regenerated.
35237 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
35238 if $(have-insert) == yes.
35240 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35242 * elf/Makefile (tests): Add vismain only if
35243 $(have-protected-data) == yes.
35244 (tests-pie): Likewise.
35246 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35249 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
35250 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
35252 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35255 * sysdeps/i386/i586/memset.S
35256 (__memset_zero_constant_len_parameter): Removed.
35257 * sysdeps/i386/i686/memset.S
35258 (__memset_zero_constant_len_parameter): Likewise.
35259 * sysdeps/i386/i686/multiarch/memset_chk.S
35260 (__memset_zero_constant_len_parameter): Likewise.
35261 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
35264 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35266 * stdlib/getentropy.c (getentropy): Change return type to int.
35268 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35270 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
35272 2017-08-03 Joseph Myers <joseph@codesourcery.com>
35274 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
35276 * math/s_nexttowardf.c (__nexttowardf): Likewise.
35277 * sysdeps/generic/math_private.h (ieee_double_shape_type):
35279 (ieee_float_shape_type): Likewise.
35280 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
35281 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
35282 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35283 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35284 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
35285 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
35286 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
35287 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35288 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
35290 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35291 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35292 (__ieee754_yn): Likewise.
35293 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35294 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35295 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
35297 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35298 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
35299 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
35300 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
35301 (__erfc): Likewise.
35302 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
35303 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
35304 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
35305 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
35306 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
35307 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
35309 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
35310 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
35311 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
35312 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
35313 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35314 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35315 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35316 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35317 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35318 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35319 (__issignaling): Likewise.
35320 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35321 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35322 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35324 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35325 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35326 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35327 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35329 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35331 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35332 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35333 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35334 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35335 (__erfcf): Likewise.
35336 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35337 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35338 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35339 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35341 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35342 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35344 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35345 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35346 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35347 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35348 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35349 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35350 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35351 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35353 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35355 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35357 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35358 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35360 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35362 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35363 (__ieee754_ynl): Likewise.
35364 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35365 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35367 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35369 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35370 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35371 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35373 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35374 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35375 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35376 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35377 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35378 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35379 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35380 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35382 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35383 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35384 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35386 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35387 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35388 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35389 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35390 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35391 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35393 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35395 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35397 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35399 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35400 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35401 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35402 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35403 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35404 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35405 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35407 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35409 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35410 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35412 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35413 (__ieee754_remainderl): Likewise.
35414 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35415 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35416 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35417 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35419 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35420 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35422 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35423 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35424 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35425 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35426 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35427 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35429 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35430 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35431 (__ieee754_y0l): Likewise.
35434 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35435 (__ieee754_y1l): Likewise.
35438 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35439 (__ieee754_ynl): Likewise.
35440 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35441 (__ieee754_lgammal_r): Likewise.
35442 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35444 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35445 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35446 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35447 (__erfcl): Likewise.
35448 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35449 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35451 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35452 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35453 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35454 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35455 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35456 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35457 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35459 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35460 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35461 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35462 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35463 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35465 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35466 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35468 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35469 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35470 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35471 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35472 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35474 2017-08-03 Florian Weimer <fweimer@redhat.com>
35477 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35478 on memory allocation failure.
35480 2017-08-03 Alan Modra <amodra@gmail.com>
35482 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35483 tst-tlsopt-powerpc.c with function name change and no test harness.
35484 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35485 Call tls_get_addr_opt_test.
35486 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35487 (modules-names): Add mod-tlsopt-powerpc.
35488 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35489 (tst-tlsopt-powerpc): Depend on .so.
35490 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35491 define. Expand use in TLS_GD and TLS_LD.
35493 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35495 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35497 * sysdeps/posix/shm_open.c: Include <pthread.h>.
35499 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35502 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35503 comparing size with that of double.
35504 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35505 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35506 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35507 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35508 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35509 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35510 unsigned __int128 types.
35512 2017-08-02 Steve Ellcey <sellcey@cavium.com>
35514 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35515 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35516 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35517 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35518 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35520 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35522 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35524 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35526 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35528 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35529 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35530 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35531 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35532 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35533 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35534 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35536 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35539 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35540 bit-field expressions passed to sizeof or typeof.
35541 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35542 (__TGMATH_F128): Likewise.
35543 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35544 (__TGMATH_CF128): Likewise.
35545 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35546 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35547 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35548 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35549 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35550 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35551 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35552 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35553 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35554 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35555 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35556 (__TGMATH_UNARY_IMAG): Likewise.
35557 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35558 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35559 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35561 (define_vars_for_type): Handle bit_field type specially.
35562 (Tests.__init__): Declare structure with bit-field element.
35564 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35567 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35568 (MEMCPY_CHK): Define only if SHARED is defined.
35569 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35571 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35574 See ChangeLog.18 for earlier changes.