1 2019-06-20 Mike Crowe <mac@mcrowe.com>
3 * support/test-driver.h: Add verbose_printf macro.
5 * support/xtime.h: Add xclock_now() helper function.
7 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
8 Florian Weimer <fweimer@redhat.com>
11 * libio/genops.c (_IO_unbuffer_all)
12 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
13 buffers and access _IO_FILE_complete members of legacy libio streams.
14 * libio/tst-bz24228.c: New file.
15 * libio/tst-bz24228.map: Likewise.
16 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
17 [build-shared] (generated): Add tst-bz24228.mtrace and
19 [run-built-tests && build-shared] (tests-special): Add
20 $(objpfx)tst-bz24228-mem.out.
21 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
22 ($(objpfx)tst-bz24228-mem.out): New rule.
24 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
26 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
27 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
28 (__FPU_MFFSL): Likewise.
29 (_FPU_SETCW): Likewise.
31 2019-06-19 Stan Shebs <stanshebs@google.com>
32 Raoni Fassina Firmino <raoni@linux.ibm.com>
35 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
36 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
37 static-linking version.
38 * sysdeps/unix/sysv/linux/powerpc/Makefile
39 (tests-static): Add test-gettimebasefreq-static.
41 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
44 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
47 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
48 between the currency symbol and the minus sign).
49 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
51 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
54 * string/test-strcasestr.c (check_result): Add NULL check.
55 * nss/tst-field.c (check_rewrite): Likewise.
56 * benchtests/bench-strstr.c (do_one_test): Likewise.
57 * string/test-strstr.c (check_result): Likewise.
58 * argp/argp-test.c (popt): Increase size of buf to 12.
59 * benchtests/bench-malloc-simple.c (bench):
60 Do not initialize tests array out of bounds.
62 2019-06-19 Florian Weimer <fweimer@redhat.com>
65 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
68 2019-06-18 Florian Weimer <fweimer@redhat.com>
71 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
72 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
73 fail when called from dlopen.
74 * elf/Makefile [have-fpie && build-shared] (tests): Add
76 (tst-dlopen-pie): Link with -ldl.
77 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
78 * elf/tst-dlopen-pie.c (do_test): New file.
80 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
83 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
84 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
85 between the currency symbol and the minus sign).
86 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
87 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
89 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
91 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
92 sysdep-rtld-routines): Remove rules.
93 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
94 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
95 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
96 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
97 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
98 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
100 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
101 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
102 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
103 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
104 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
105 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
107 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
108 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
109 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
110 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
111 CFLAGS-s_llround-power5+.c): New rule.
112 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
114 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
116 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
118 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
120 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
123 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
125 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
127 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
128 * sysdeps/powerpc/powerpc64/fpu/Makefile
129 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
130 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
131 (libm-sysdep_routines): Remove s_llround-* objects.
132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
142 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
143 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
144 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
145 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
146 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
147 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
148 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
149 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
150 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
151 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
152 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
153 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
154 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
155 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
157 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
158 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
159 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
160 * sysdeps/powerpc/powerpc32/fpu/Makefile
161 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
162 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
164 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
165 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
166 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
168 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
169 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
170 CFLAGS-s_lrint-ppc32.c): New rule.
171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
181 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
182 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
183 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
184 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
196 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
197 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
199 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
200 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
202 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
204 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
207 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
209 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
211 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
212 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
213 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
214 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
215 (libm-sysdep_routines): Remove s_llrint-* objects.
216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
221 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
222 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
223 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
224 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
225 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
226 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
227 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
228 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
229 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
231 2019-06-14 Florian Weimer <fweimer@redhat.com>
233 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
234 argument to __glibc_has_include to inhibit macro expansion.
236 2019-06-14 Florian Weimer <fweimer@redhat.com>
238 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
239 function-like macro, so that __has_include can inhibit expansion
242 2019-06-13 Joseph Myers <joseph@codesourcery.com>
244 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
248 Allow memset in libc.so.
250 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
252 * sysdeps/aarch64/dl-dtprocnum.h: New file.
253 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
254 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
255 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
256 symbols at load time.
257 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
259 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
261 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
262 (DT_AARCH64_VARIANT_PCS): Define.
264 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
267 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
277 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
278 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
279 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
280 Remove s_finite* objects.
281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
287 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
288 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
289 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
290 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
292 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
293 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
296 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
306 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
307 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
309 Remove s_isinf* and s_isinf* objects.
310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
316 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
317 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
318 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
319 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
321 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
322 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
324 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
325 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
326 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
328 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
344 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
345 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
346 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
347 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
348 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
349 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
350 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
351 Remove s_isnan-* and s_isnanf-* objects.
352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
361 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
362 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
363 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
364 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
365 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
366 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
367 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
368 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
370 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
371 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
373 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
374 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
375 CFLAGS-bench-isfinite.c): New rule.
376 * benchtests/isnan-input: New file.
377 * benchtests/isinf-input: New file.
378 * benchtests/isfinite-input: New file.
380 * sysdeps/powerpc/fpu/s_copysign.c: New file.
381 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
382 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
383 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
385 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
395 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
396 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
397 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
398 Remove s_copysign-power6 s_copysign-ppc64.
399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
405 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
406 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
407 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
408 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
410 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
411 round_to_integer_float, round_mode): Add RINT handling.
412 (reset_fenv_mode): New symbol.
413 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
414 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
415 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
416 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
417 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
418 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
420 2019-06-12 Florian Weimer <fweimer@redhat.com>
423 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
424 * libio/freopen.c (freopen): Use it.
426 2019-06-12 Florian Weimer <fweimer@redhat.com>
428 Linux: Deprecate sysctl.
429 * include/sysctl.h (__sysctl): Remove declaration.
430 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
432 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
433 (sysctl): Add deprecation attribute.
434 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
435 directly, to avoid the deprecation warning. Do not include
437 (__sysctl): Remove hidden alias.
439 2019-06-12 Florian Weimer <fweimer@redhat.com>
441 Linux: Use kernel headers for statx definitions if available.
442 * include/bits/statx-generic.h: New file.
443 * include/bits/types/struct_statx.h: Likewise.
444 * include/bits/types/struct_statx_timestamp.h: Likewise.
445 * io/Makefile (headers): Add bits/statx-generic.h.
446 * io/bits/statx-generic.h: New file. Partly copied from
448 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
449 define original_statx.
450 * io/bits/types/struct_statx.h: Likewise.
451 * io/bits/types/struct_statx_timestamp.h: Likewise.
452 (statx_generic): Use original_statx.
453 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
454 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
456 2019-06-12 Florian Weimer <fweimer@redhat.com>
458 * misc/sys/cdefs.h (__glibc_has_include): Define.
460 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
462 * string/memmem.c (__memmem): Rewrite to improve performance.
464 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
466 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
468 (two_way_long_needle): Block inlining.
469 * string/strstr.c (strstr2): Add new function.
471 (STRSTR): Completely rewrite strstr to improve performance.
473 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
475 * benchtests/bench-strstr.c (test_hard_needle): New function.
477 2019-06-10 Joseph Myers <joseph@codesourcery.com>
479 * malloc/tst-calloc.c: Include <libc-diag.h>.
480 (null_test): Ignore -Wunused-result around calls to calloc.
481 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
482 (do_test): Ignore -Wunused-result around call to malloc.
484 2019-06-07 Florian Weimer <fweimer@redhat.com>
486 Linux: Add getdents64 system call.
487 * include/dirnent.h (getdents): Add comment and change buffer
488 argument type to void *.
489 (getdents64): Likewise. Add hidden prototype.
490 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
492 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
494 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
495 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
496 argument type to void *.
497 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
498 Add hidden definition and getdents64 alias.
499 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
501 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
502 * manual/filesys.texi (Accessing Directories): Add Low-level
503 Directory Access node reference.
504 (Opening a Directory): Cross-reference it.
505 (Low-level Directory Access): New node.
506 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
508 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
510 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
511 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
513 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
515 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
517 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
519 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
521 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
523 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
525 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
526 (GLIBC_2.30): Likewise.
527 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
528 (GLIBC_2.30): Likewise.
529 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
530 (GLIBC_2.30): Likewise.
531 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
532 (GLIBC_2.30): Likewise.
533 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
536 (GLIBC_2.30): Likewise.
537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
538 (GLIBC_2.30): Likewise.
539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
540 (GLIBC_2.30): Likewise.
541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
542 (GLIBC_2.30): Likewise.
543 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
545 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
547 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
549 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
550 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
552 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
554 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
556 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
559 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
561 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
565 (_FPU_GETCW): Use __FPU_MFFS().
566 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
568 2019-06-06 Florian Weimer <fweimer@redhat.com>
570 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
571 internal GCC preprocessor identifier __has_include__.
573 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
575 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
576 with call to equivalent function.
578 2019-06-04 Florian Weimer <fweimer@redhat.com>
580 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
581 (do_release_shlib): Adjust for __twalk_r.
582 (__gconv_release_shlib): Call __twalk_r.
584 2019-06-04 Andreas Schwab <schwab@suse.de>
587 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
588 no irreversible characters occurred.
589 * iconv/gconv_simple.c (internal_ucs4_loop)
590 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
591 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
592 (ucs4_internal_loop_single, internal_ucs4le_loop)
593 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
594 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
595 (ucs4le_internal_loop_single): Add const to outend.
596 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
597 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
598 * iconv/Makefile (tests): Add tst-iconv7.
599 * iconv/tst-iconv7.c: New file.
601 2019-06-03 Joseph Myers <joseph@codesourcery.com>
603 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
605 2019-06-01 Florian Weimer <fweimer@redhat.com>
607 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
608 * sysdeps/unix/sysv/linux/arm/Makefile
609 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
610 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
611 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
612 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
613 compatibility symbols.
615 2019-05-31 Florian Weimer <fweimer@redhat.com>
617 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
618 system calls for the arm architecture: breakpoint, get_tls,
619 set_tls, usr26, usr32.
621 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
623 * sysdeps/powerpc/Makefile
624 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
625 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
626 Declare '.machine power7' to get support for ldbrx.
627 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
628 directive based on the directory of the file.
629 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
630 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
631 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
632 '.machine' directive.
633 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
634 (VADDUQM_V7_V8): Remove.
635 (__STRCASECMP): Replace macros with actual instructions.
636 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
637 '.machine' directive.
638 (VCLZD_V8_v7): Remove.
639 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
641 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
643 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
645 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
647 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
649 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
651 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
652 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
653 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
654 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
655 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
656 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
658 2019-05-28 mansayk <6688000@gmail.com>
661 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
663 2019-05-28 mansayk <6688000@gmail.com>
666 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
667 (abmon): Likewise, but remove the trailing dots.
669 2019-05-28 Joseph Myers <joseph@codesourcery.com>
671 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
673 2019-05-27 Florian Weimer <fweimer@redhat.com>
675 * nptl/nptl-init.c: Add comment.
677 2019-05-24 Florian Weimer <fweimer@redhat.com>
679 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
680 struct in_addr/struct in6_addr alignment.
682 2019-05-23 Joseph Myers <joseph@codesourcery.com>
684 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
685 (F_SEAL_FUTURE_WRITE): New macro.
687 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
689 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
690 * elf/tst-ldconfig-bad-aux-cache.c: New file.
691 * elf/tst-ldconfig_aux-cache.root: New directory.
692 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
693 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
694 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
696 2019-05-22 Zack Weinberg <zackw@panix.com>
698 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
700 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
701 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
703 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
708 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
709 Issue an #error if used with a compiler in SPE-float mode.
710 * sysdeps/powerpc/powerpc32/__longjmp_common.S
711 * sysdeps/powerpc/powerpc32/setjmp_common.S
712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
718 Remove code to preserve SPE register state.
720 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
721 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
722 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
723 Remove __SPE__ ifndefs.
725 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
727 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
728 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
729 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
730 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
731 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
732 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
733 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
734 (INNER_LOOP_ITERS_MEDIUM): New define.
735 (INNER_LOOP_ITERS_SMALL): New define.
736 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
737 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
738 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
739 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
740 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
742 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
744 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
746 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
747 (SEMTIMEDOP_IPC_ARGS): Likewise.
749 2019-05-21 Florian Weimer <fweimer@redhat.com>
752 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
753 before updating __counter field and release it afterwards. Add
755 * iconv/gconv.h (struct __gconv_step): Mention synchronization
756 requirement for __counter member.
758 2019-05-21 Florian Weimer <fweimer@redhat.com>
761 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
762 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
763 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
764 instead of __gconv_release_step.
765 * libio/Makefile (tests): Add tst-wfile-gconv.
766 (tests-container): Add tst-wfile-ascii.
767 (tst-wfile-gconv-ENV): Enable mtrace.
768 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
769 (tests-special): Add tst-wfile-gconv-mem.out.
770 (tst-wfile-gconv.out): Depend on locales.
771 (tst-wfile-gconv-mem.out): Add mtrace rule.
772 * libio/tst-wfile-ascii.c: New file.
773 * libio/tst-wfile-gconv.c: Likewise.
775 2019-05-20 Florian Weimer <fweimer@redhat.com>
778 libio: Remove codecvt vtable.
779 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
781 * libio/iofgetpos.c (_IO_new_fgetpos): Call
782 __libio_codecvt_encoding.
783 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
784 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
785 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
786 * libio/iofwide.c (__libio_codecvt): Remove variable.
787 (_IO_fwide): Do not copy __libio_codecvt.
788 (__libio_codecvt_out): Rename from do_out and export.
789 (do_unshift): Remove function.
790 (__libio_codecvt_in): Rename from do_in and export.
791 (__libio_codecvt_encoding): Rename from do_encoding and export.
792 (do_always_noconv): Remove function.
793 (__libio_codecvt_length): Rename from do_length and export.
794 (do_max_length): Remove function.
795 * libio/libio.h (enum __codecvt_result): Remove definition; moved
797 (struct _IO_codecvt): Remove fields __codecvt_destr,
798 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
799 __codecvt_do_encoding, __codecvt_do_always_noconv,
800 __codecvt_do_length, __codecvt_do_max_length.
801 * libio/libioP.h (enum __codecvt_result): Define; moved from
803 (__libio_codecvt_out, __libio_codecvt_in)
804 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
806 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
807 (_IO_wfile_underflow): Call __libio_codecvt_in.
808 (_IO_wfile_underflow): Likewise.
809 (_IO_wfile_underflow_mmap): Likewise.
810 (_IO_wfile_sync): Call __libio_codecvt_encoding,
811 __libio_codecvt_length.
812 (adjust_wide_data): Call __libio_codecvt_encoding,
814 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
815 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
816 __libio_codecvt_length.
818 2019-05-20 Florian Weimer <fweimer@redhat.com>
820 * support/support.h (support_sbindir_prefix): Declare.
821 (support_install_rootsbindir): Update comment.
822 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
823 * support/support_paths.c (support_sbindir_prefix): Define.
825 2019-05-20 Mike Crowe <mac@mcrowe.com>
827 * support/timespec.c: Add backslash to correct newline in failure
830 * support/timespec.h: Correct confusing comment.
832 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
834 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
836 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
837 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
838 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
839 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
842 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
845 2019-05-20 Joseph Myers <joseph@codesourcery.com>
847 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
848 (NT_ARM_PACG_KEYS): Likewise.
850 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
852 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
853 (tcache_put): Remove redundant assert.
854 (tcache_get): Remove redundant asserts.
855 (__libc_malloc): Check tcache count is not zero.
856 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
858 2019-05-17 Florian Weimer <fweimer@redhat.com>
860 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
862 2019-05-16 Joseph Myers <joseph@codesourcery.com>
864 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
865 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
867 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
869 * sysdeps/unix/sysv/linux/sh/kernel-features.h
870 (__ASSUME_STATX): Likewise.
872 2019-05-16 Florian Weimer <fweimer@redhat.com>
874 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
876 (LINE_PARSER): Do not map IPv4 addresses.
877 (internal_nis_gethostent_r): Remove flags argument. Adjust call
879 (_nss_nis_gethostent_r): Always pass AF_INET to
880 internal_nis_gethostent_r.
881 (internal_gethostbyname2_r): Remove flags argument. Adjust call
883 (_nss_nis_gethostbyname2_r): Adjust call to
884 internal_nis_gethostent_r.
885 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
886 call to internal_nis_gethostent_r.
887 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
889 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
890 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
891 Remove flags argument. Do not map IPv4 addresses.
892 (internal_nisplus_gethostent_r): Adjust call to
893 _nss_nisplus_parse_hostent.
894 (internal_gethostbyname2_r): Remove flags argument. Adjust call
895 to _nss_nisplus_parse_hostent.
896 (_nss_nisplus_gethostbyname2_r): Adjust call to
897 internal_gethostbyname2_r.
898 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
899 Adjust call to internal_gethostbyname2_r.
900 (_nss_nisplus_gethostbyaddr_r): Adjust call to
901 _nss_nisplus_parse_hostent.
902 (_nss_nisplus_gethostbyname4_r): Adjust call to
903 internal_gethostbyname2_r.
905 2019-05-16 Florian Weimer <fweimer@redhat.com>
907 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
909 (LINE_PARSER): Remove address mapping.
910 (EXTRA_ARGS_VALUE): Remove flags argument.
911 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
912 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
913 gethostbyname3_multi.
914 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
915 _nss_files_gethostbyname3_r.
916 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
918 2019-05-16 Florian Weimer <fweimer@redhat.com>
920 * support/support_test_compare_blob.c (report_blob): Report
921 incorrect NULL blobs.
923 2019-05-15 Mark Wielaard <mark@klomp.org>
926 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
927 __libc_once_get (once) and static_buf == NULL.
928 (__dlerror): Check we have a valid key, set result to static_buf
931 2019-05-15 Andreas Schwab <schwab@suse.de>
934 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
936 * libio/Makefile (tests): Add tst-wfile-sync.
937 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
938 * libio/tst-wfile-sync.c: New file.
939 * libio/tst-wfile-sync.input: New file.
941 2019-05-15 Florian Weimer <fweimer@redhat.com>
943 nss: Turn __nss_database_lookup into a compatibility symbol.
944 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
945 __nss_database_lookup.
946 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
947 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
948 __nss_database_lookup.
949 (__nss_next): Move to …
950 * nss/compat-lookup.c (nss_next): … here. Change it to fail
952 (__nss_database_lookup): New function.
953 * nss/Versions (GLIBC_2.0): Update comment.
954 (GLIBC_PRIVATE): Export __nss_database_lookup2.
955 * grp/initgroups.c (internal_getgrouplist): Call
956 __nss_database_lookup2 instead of __nss_database_lookup.
957 * nscd/aicache.c (addhstaiX): Likewise.
958 * nscd/initgrcache.c (addinitgroupsX): Likewise.
959 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
960 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
961 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
962 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
964 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
965 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
968 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
970 * support/support.h (support_install_rootsbindir): New variable.
971 * support/support_paths.c: Likewise.
972 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
974 2019-05-15 Florian Weimer <fweimer@redhat.com>
976 * iconv/gconv.h (__gconv_transliterate): Move declaration …
977 * iconv/gconv_int.h (__gconv_transliterate): … here.
978 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
979 * iconv/skeleton.c: Likewise.
981 2019-05-14 Florian Weimer <fweimer@redhat.com>
983 Linux: Add the tgkill function.
984 * bits/signal_ext.h: New file.
985 * manual/signal.texi (Signaling Another Process): Document tgkill.
986 * signal/Makefile (headers): Add bits/signal_ext.h.
987 * signal/signal.h: Include <bits/signal_ext.h>.
988 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
989 (tst-tgkill): Link with libpthread.
990 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
991 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
992 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
993 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
995 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
996 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
997 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
998 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
999 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1000 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1001 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1002 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1003 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1004 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1005 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1007 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1008 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1009 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
1016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
1018 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1019 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1020 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1021 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1022 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1023 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1024 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1025 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1027 2019-05-14 Carlos O'Donell <carlos@redhat.com>
1029 * manual/search.texi (Tree Search Function): Adjust twalk_r
1032 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1035 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
1038 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
1039 * support/support.h (support_bindir_prefix): New variable.
1040 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
1042 * config.make.in (bindir): New variable.
1044 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
1045 (lll_trylock): Call __lll_trylock.
1046 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
1047 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
1048 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1049 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1050 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
1051 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
1052 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1053 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1054 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
1055 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
1056 lowlevellock-futex.h.
1058 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1059 initialization for LLL_LOCK_INITIALIZER different than 0.
1060 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
1061 Assume LLL_LOCK_INITIALIZER being 0.
1062 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
1063 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
1065 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
1066 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
1068 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
1069 Optimize futex call and add systemtap probe.
1071 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
1072 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
1073 __libc_disable_asynccancel, __librt_enable_asynccancel,
1074 __libc_disable_asynccancel, __librt_enable_asynccancel,
1075 __librt_disable_asynccancel): Move to ...
1076 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
1077 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
1078 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
1079 * sysdeps/generic/single-thread.h: New file.
1080 * sysdeps/unix/sysdep.h: Include single-thread.h.
1081 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
1082 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1084 2019-05-08 Mike FABIAN <mfabian@redhat.com>
1087 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
1088 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1090 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1091 * localedata/unicode-gen/PropList.txt: Likewise.
1092 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1093 * localedata/charmaps/UTF-8: Regenerate.
1094 * localedata/locales/i18n_ctype: Likewise.
1095 * localedata/locales/tr_TR: Likewise.
1096 * localedata/locales/translit_circle: Likewise.
1097 * localedata/locales/translit_cjk_compat: Likewise.
1098 * localedata/locales/translit_combining: Likewise.
1099 * localedata/locales/translit_compat: Likewise.
1100 * localedata/locales/translit_font: Likewise.
1101 * localedata/locales/translit_fraction: Likewise.
1103 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
1106 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
1107 (do_set_tcache_count): Only update if count is small enough.
1108 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
1110 2019-05-10 Florian Weimer <fweimer@redhat.com>
1112 * nptl/sem_close.c (struct walk_closure): Define.
1113 (walker): Adjust for __twalk_r.
1114 (sem_close): Call __twalk_r.
1116 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1118 * support/timespec.c (test_timespec_before_impl,
1119 test_timespec_equal_or_after_impl): print timespec member as intmax_t
1122 2019-05-09 Mike Crowe <mac@mcrowe.com>
1124 * nptl/tst-abstime.c: Use libsupport.
1126 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
1127 small bug where only tv.tv_usec was checked which could cause an
1128 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
1131 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
1134 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
1135 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
1137 * nptl/tst-cond11.c: Use libsupport.
1139 * support/timespec.h: New file. Provide timespec helper functions
1140 along with macros in the style of those in check.h.
1141 * support/timespec.c: New file. Implement check functions declared
1142 in support/timespec.h.
1143 * support/timespec-add.c: New file from gnulib containing
1144 timespec_add implementation that handles overflow.
1145 * support/timespec-sub.c: New file from gnulib containing
1146 timespec_sub implementation that handles overflow.
1147 * support/README: Mention timespec.h.
1149 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1152 * nptl/Makefile: Move tst-eintr1 to xtests.
1154 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1156 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
1158 (round_mode): Add definition for TRUNC.
1159 * sysdeps/powerpc/fpu/s_trunc.c: New file.
1160 * sysdeps/powerpc/fpu/s_truncf.c: New file.
1161 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
1162 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1163 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
1165 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
1167 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
1169 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1171 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
1173 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
1175 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
1177 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
1179 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
1180 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
1181 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1182 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
1183 s_truncf-power5+, and s_truncf-ppc64.
1184 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
1185 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
1187 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
1188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
1189 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
1190 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
1192 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
1194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
1195 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
1196 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1197 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
1198 s_truncf-power5+, and s_truncf-ppc64.
1199 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
1201 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1202 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
1204 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1205 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1206 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1207 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1208 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1210 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1212 (round_mode): Add definition for ROUND.
1213 (round_to_integer_float): Likewise.
1214 * sysdeps/powerpc/fpu/s_round.c: New file.
1215 * sysdeps/powerpc/fpu/s_roundf.c: New file.
1216 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
1217 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1218 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
1220 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
1222 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
1224 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1226 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
1228 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
1230 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
1232 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
1234 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
1235 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
1236 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1237 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
1238 s_roundf-power5+, and s_roundf-ppc64.
1239 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
1240 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
1242 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
1243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
1244 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
1245 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
1247 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
1249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
1250 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
1251 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1252 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
1253 s_roundf-power5+, and s_roundf-ppc64.
1254 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
1256 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1257 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
1259 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1260 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1261 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1262 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1263 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1265 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1267 (round_mode): Add definition for FLOOR.
1268 * sysdeps/powerpc/fpu/s_floor.c: New file.
1269 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1270 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1271 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1288 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1289 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1290 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1291 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1292 s_floorf-power5+, and s_floorf-ppc64.
1293 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1294 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1296 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1298 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1299 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1301 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1304 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1305 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1306 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1307 s_floorf-power5+, and s_floorf-ppc64.
1308 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1316 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1317 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1318 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1319 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1321 2019-05-08 Mike Crowe <mac@mcrowe.com>
1323 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1324 clock_gettime wrapper for use in tests that fails the test rather
1325 than returning failure.
1327 * support/xtime.h: New file to declare xclock_gettime.
1329 * support/Makefile: Add xclock_gettime.c.
1331 * support/README: Mention xtime.h.
1333 2019-05-08 Florian Weimer <fweimer@redhat.com>
1335 malloc/tst-mallocfork2: Use process-shared barriers.
1336 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1337 (signal_count, sigusr1_sender_pid): Remove.
1338 (iterations): Define constant.
1339 (shared): New variable.
1340 (sigusr1_received): Update comment.
1341 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1342 (signal_sender): Optional use barriers to avoid sending signals
1343 during irrelevant times.
1344 (do_it): Initialize variable shared. Use xfork for error
1345 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1346 the iteration count, independent of signal delivery. Check for
1347 deadlocks in fork. Introduce barriers for reducing signal
1348 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1349 replaced by the barriers. Count signals during fork/free/malloc
1351 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1353 2019-05-07 Joseph Myers <joseph@codesourcery.com>
1355 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1357 (clock_adjtime64) New syscall.
1358 (clock_getres_time64) Likewise.
1359 (clock_gettime64) Likewise.
1360 (clock_nanosleep_time64) Likewise.
1361 (clock_settime64) Likewise.
1362 (futex_time64) Likewise.
1363 (io_pgetevents_time64) Likewise.
1364 (io_uring_enter) Likewise.
1365 (io_uring_register) Likewise.
1366 (io_uring_setup) Likewise.
1367 (mq_timedreceive_time64) Likewise.
1368 (mq_timedsend_time64) Likewise.
1369 (pidfd_send_signal) Likewise.
1370 (ppoll_time64) Likewise.
1371 (pselect6_time64) Likewise.
1372 (recvmmsg_time64) Likewise.
1373 (rt_sigtimedwait_time64) Likewise.
1374 (sched_rr_get_interval_time64) Likewise.
1375 (semtimedop_time64) Likewise.
1376 (timer_gettime64) Likewise.
1377 (timer_settime64) Likewise.
1378 (timerfd_gettime64) Likewise.
1379 (timerfd_settime64) Likewise.
1380 (utimensat_time64) Likewise.
1382 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1383 version to 9 branch.
1385 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1387 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1388 __memmove_thunderx2 to the list of implementations
1389 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1390 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1391 (__memmove_thunderx2): Rewritten using SIMD ld/st
1392 (__memcpy_thunderx2): Fixed handling overlapping cases.
1393 Used ldp/stp instead of ldr/str if possible. Made loops
1396 2019-05-03 Florian Weimer <fweimer@redhat.com>
1398 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1400 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1403 * elf/tst-pldd.c (in_str_list): New function.
1404 (do_test): Add default names for ld and libc as one option.
1406 2019-05-02 Florian Weimer <fweimer@redhat.com>
1408 misc: Add twalk_r function.
1409 * include/search.h (__twalk_r): Declare.
1410 * manual/examples/twalk.c: New file.
1411 * manual/search.texi (Tree Search Function): Document twalk_r.
1412 * misc/Versions (2.30): Export twalk_r.
1413 (GLIBC_PRIVATE): Export __twalk_r.
1414 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1415 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1416 (twalk_r): Add weak alias.
1417 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1418 (walk_trace): New variable.
1419 (struct twalk_with_twalk_r_closure): Define.
1420 (twalk_with_twalk_r_action): New function.
1421 (twalk_with_twalk_r): Likewise.
1422 (walk_action): Call walk_trace_add.
1423 (walk_tree_with): Rename from walk_tree. Add walk argument.
1424 (walk_tree): New function.
1425 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1426 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1428 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1430 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1431 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1432 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1433 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1434 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1435 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1437 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1439 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1441 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1442 (GLIBC_2.30): Likewise.
1443 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1444 (GLIBC_2.30): Likewise.
1445 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1446 (GLIBC_2.30): Likewise.
1447 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1448 (GLIBC_2.30): Likewise.
1449 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1452 (GLIBC_2.30): Likewise.
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1454 (GLIBC_2.30): Likewise.
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1456 (GLIBC_2.30): Likewise.
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1458 (GLIBC_2.30): Likewise.
1459 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1461 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1463 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1465 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1466 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1468 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1470 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1472 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1475 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1477 Make mktime etc. compatible with __time64_t
1478 Keep these functions compatible with Gnulib while adding
1479 __time64_t support. The basic idea is to move private API
1480 declarations from include/time.h to time/mktime-internal.h, since
1481 the former file cannot easily be shared with Gnulib whereas the
1483 Also, do some other minor cleanup while in the neighborhood.
1484 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1485 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1486 since Gnulib needs it.
1487 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1488 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1489 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1490 (in_time_t_range): New static function.
1491 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1492 so that glibc users are not tempted to use __time64_t.
1493 * time/mktime-internal.h: Rewrite so that it does both glibc
1494 and Gnulib work. Include time.h if not _LIBC.
1495 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1496 (__time64_t): New type or macro, moved here from
1498 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1499 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1500 from include/time.h.
1501 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1502 New macros, taken from GNulib.
1503 (__mktime_internal): New prototype, moved here from include/time.h.
1504 * time/mktime.c (mktime_min, mktime_max, convert_time)
1505 (ranged_convert, __mktime_internal, __mktime64):
1506 * time/timegm.c (__timegm64):
1507 Use __time64_t, not time_t.
1508 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1509 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1511 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1512 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1513 for libc_hidden_def.
1515 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1517 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1519 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
1522 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1523 from `-Wmaybe-uninitialized'.
1524 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1526 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1528 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1530 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1531 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1532 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1533 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1534 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1536 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1553 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1554 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1555 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1556 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1558 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1561 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1562 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1564 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1567 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1569 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1570 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1571 s_ceilf-power5+, and s_ceilf-ppc64.
1572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1577 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1578 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1579 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1580 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1582 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1583 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1584 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1586 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1588 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1589 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1590 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1591 (sem_getvalue): Likewise.
1593 2019-04-26 Florian Weimer <fweimer@redhat.com>
1595 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1596 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1598 2019-04-26 Florian Weimer <fweimer@redhat.com>
1600 Makeconfig: Move -Wl,-rpath-link options before library references.
1601 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1602 (link-libc): Remove $(link-libc-rpath-link).
1604 2019-04-25 Florian Weimer <fweimer@redhat.com>
1606 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1607 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1608 (+link-static-before-libc): Remove $(CC).
1609 (+link-static, +link-static-tests): Add $(CC).
1610 (+link-before-libc): Remove $(CC).
1611 (+link, +link-pie, +link-pie-printers): Add $(CC).
1613 2019-04-26 Florian Weimer <fweimer@redhat.com>
1615 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1616 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1617 (+link-static-before-libc): Remove $(CC).
1618 (+link-static, +link-static-tests): Add $(CC).
1619 (+link-before-libc): Remove $(CC).
1620 (+link, +link-pie, +link-pie-printers): Add $(CC).
1622 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1625 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1627 2019-04-25 Florian Weimer <fweimer@redhat.com>
1629 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1630 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1631 (bench-link-targets): New variable.
1632 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1634 2019-04-25 Florian Weimer <fweimer@redhat.com>
1636 Also enable BIND_NOW for programs if --enable-bind-now.
1637 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1638 (+link-pie): Use $(link-extra-flags).
1639 (+link-static): Likewise.
1640 [! $(build-pie-default)] (+link): Likewise.
1641 * manual/install.texi (Configuring and compiling): Update
1642 --enable-bind-now description.
1643 * INSTALL: Regenerated.
1645 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1647 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1648 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1650 2019-04-24 Mike Frysinger <vapier@gentoo.org>
1653 * malloc/Makefile (others): Add memusagestat.
1654 ($(objpfx)memusagestat): Delete rule.
1655 (LDLIBS-memusagestat): New variable.
1657 2019-04-24 Florian Weimer <fweimer@redhat.com>
1659 * locale/Makefile (tests-special): Guard setting by
1660 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1661 to run while cross-compiling.
1663 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1666 * elf/Makefile (tests-container): Add tst-pldd.
1667 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1668 (E(find_maps)): Avoid use alloca, use default read file operations
1669 instead of explicit LFS names, and fix infinite loop.
1670 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1671 (get_process_info): Use _Static_assert instead of assert, use default
1672 directory operations instead of explicit LFS names, and free some
1674 * elf/tst-pldd.c: New file.
1676 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1678 * malloc/arena.c (do_set_mallopt_check): Removed.
1680 2019-04-23 Florian Weimer <fweimer@redhat.com>
1682 locale: Add LOCPATH diagnostics to the locale program.
1683 * locale/programs/locale.c (setlocale_failed): New variable.
1684 (try_setlocale): New function.
1685 (quote_string): Likewise.
1686 (setlocale_diagnostics): Likewise.
1687 (main): Call try_setlocale instead of setlocale. Call
1688 setlocale_diagnostics.
1689 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1690 (tst-locale-locpath.out): New target.
1691 * locale/tst-locale-locpath.sh: New file.
1693 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1695 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1698 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1701 * malloc/hooks.c (malloc_check, realloc_check): Use
1702 __builtin_add_overflow on overflow check and adapt to
1703 checked_request2size change.
1704 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1705 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1706 allocation size to PTRDIFF_MAX.
1707 (REQUEST_OUT_OF_RANGE): Remove macro.
1708 (checked_request2size): Change to inline function and limit maximum
1709 requested size to PTRDIFF_MAX.
1710 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1711 maximum allocation size to PTRDIFF_MAX.
1712 (_mid_memalign): Use _int_memalign call for overflow check.
1713 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1714 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1715 limit maximum requested size to PTRDIFF_MAX.
1716 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1717 valloc, pvalloc): Add __attribute_alloc_size__.
1718 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1719 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1720 larger than PTRDIFF_MAX.
1721 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1722 around tests of malloc with negative sizes.
1723 * malloc/tst-posix_memalign.c (do_test): Likewise.
1724 * malloc/tst-pvalloc.c (do_test): Likewise.
1725 * malloc/tst-valloc.c (do_test): Likewise.
1726 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1727 with resulting size allocation larger than PTRDIFF_MAX with
1728 reallocarray_nowarn.
1729 (reallocarray_nowarn): New function.
1730 * NEWS: Mention the malloc function semantic change.
1732 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1734 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1735 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1737 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1738 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1739 * sysdeps/powerpc/fpu/s_fma.c: New file.
1740 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1742 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1743 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1745 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1746 the magic flag store.
1747 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1749 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1751 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1752 Remove rt_sigreturn call.
1754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1755 Remove rt_sigreturn call.
1756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1761 * support/Makefile (libsupport-routines): Add support_subprocess,
1762 xposix_spawn, xposix_spawn_file_actions_addclose, and
1763 xposix_spawn_file_actions_adddup2.
1764 (tst-support_capture_subprocess-ARGS): New rule.
1765 * support/capture_subprocess.h (support_capture_subprogram): New
1767 * support/support_capture_subprocess.c (support_capture_subprocess):
1768 Refactor to use support_subprocess and support_capture_poll.
1769 (support_capture_subprogram): New function.
1770 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1771 str_to_write_mode, test_common, parse_int, handle_restart,
1772 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1773 (do_test): Add support_capture_subprogram tests.
1774 * support/subprocess.h: New file.
1775 * support/support_subprocess.c: Likewise.
1776 * support/xposix_spawn.c: Likewise.
1777 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1778 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1779 * support/xspawn.h: Likewise.
1781 2019-04-17 Mike Gerow <gerow@google.com>
1783 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1786 2019-04-11 Florian Weimer <fweimer@redhat.com>
1788 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1789 domain with empty string.
1790 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1792 2019-04-11 Florian Weimer <fweimer@redhat.com>
1794 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1796 (alloc_buffer_next): Change return type to non-const. Update
1799 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1801 * manual/time.texi (Formatting Calendar Time): Add missing percent
1802 sign to conversion specifier.
1804 2019-04-09 Carlos O'Donell <carlos@redhat.com>
1805 Kwok Cheung Yeung <kcy@codesourcery.com>
1808 * malloc/mtrace.c: Define prototypes for all hooks.
1809 (set_default_hooks): New function.
1810 (set_trace_hooks): Likewise.
1811 (save_default_hooks): Likewise.
1812 (tr_freehook): Use new s*_hooks functions.
1813 (tr_mallochook): Likewise.
1814 (tr_reallochook): Likewise.
1815 (tr_memalignhook): Likewise.
1817 (muntrace): Likewise.
1819 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1821 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1822 (generic_stpcpy): New function.
1823 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1824 (generic_stpncpy): New function.
1825 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1826 (generic_strcat): New function.
1827 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1828 (generic_strcpy): New function.
1829 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1830 (STUPID_STRNCAT): Remove function.
1831 (generic_strncat): New function.
1832 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1833 (STUPID_STRNCPY): Remove function.
1834 (generic_strncpy): New function.
1835 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1836 (generic_strnlen): New function.
1837 (memchr_strnlen): New function.
1838 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1839 (memchr_strlen): Likewise.
1841 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1843 * benchtests/bench-strstr.c (input): Add realistic input text.
1844 (stupid_strstr): Remove function.
1845 (basic_strstr): Add function.
1846 (twoway_strstr): Add function.
1847 (do_one_test): Add result checking.
1848 (do_test): Use new input text. Remove accidental early matches.
1849 (test_main): Improve range of tests, reduce unaligned cases.
1851 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1853 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1854 (basic_memmem): Add function.
1855 (twoway_memmem): Add function.
1857 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1859 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1860 * benchtests/bench-malloc-thread.c: Likewise.
1861 * benchtests/bench-skeleton.c: Likewise.
1862 * benchtests/bench-strtod.c: Likewise.
1863 * benchtests/bench-timing.h: Likewise.
1865 2019-04-08 Florian Weimer <fweimer@redhat.com>
1867 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1869 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1870 RES_INSECURE2 security checks.
1871 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1872 RES_INSECURE2 handling.
1874 2019-04-08 Florian Weimer <fweimer@redhat.com>
1876 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1877 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1878 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1880 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1881 (tests-internal): Update justification for tst-resolv-res_init,
1882 tst-resolv-res_init-thread.
1883 (tst-res_use_inet6): Remove target.
1884 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1885 * resolv/res_debug.c (p_option): Remove "inet6" support.
1886 * resolv/res_init.c (res_setoptions): Likewise.
1887 * resolv/res_use_inet6.h: Remove file.
1888 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1890 (res_use_inet6): Always return false.
1891 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1892 * resolv/resolv_context.h: Adjust file comment.
1893 (struct resolv_context): Update comment on __next field.
1894 (__resolv_context_put): Update comment.
1895 * resolv/tst-res_use_inet6.c: Remove file.
1896 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1898 (test_cases): Adjust test case.
1899 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1900 (thread_byname2_af_inet6): Use old byname_inet6 code.
1901 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1902 (gai): Remove do_inet6 argument.
1903 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1904 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1905 (thread_gai_unspec_inet6): Remove functions.
1906 (do_test): Adjust thread_funcs.
1907 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1909 (gaih_inet): Do not disable RES_USE_INET6 flag.
1911 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1913 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1914 and remove redundant code.
1916 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1918 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1920 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1921 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1923 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1925 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1927 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1928 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1929 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1930 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1931 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1932 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1933 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1934 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1936 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1938 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1939 Remove wcsrchr optimizations.
1940 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1942 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1945 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1947 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1948 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1950 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1952 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1954 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1955 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1956 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1957 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1958 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1959 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1960 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1961 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1963 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1966 Remove wcschr optimizations.
1967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1969 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1972 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1974 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1975 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1979 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1982 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1983 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1984 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1985 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1986 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1987 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1988 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1990 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1993 Remove wcscpy optimizations.
1994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1996 * include/loop_unroll.h: New file.
1997 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1998 besides generic implementation.
2000 2019-04-03 DJ Delorie <dj@redhat.com>
2002 * time/tst-strftime3.c (tm_to_printed): Disable warning about
2003 snprintf truncating output.
2005 2019-04-02 DJ Delorie <dj@redhat.com>
2007 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
2010 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2013 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
2015 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
2016 (mkreftable): Add rules for the new Japanese era and the new dates.
2018 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2019 Rafal Luzynski <digitalfreak@lingonborough.com>
2021 * time/tst-strftime2.c (date_t): Explicitly define the type.
2022 (dates): Use natural month and year numbers to express a date.
2023 (is_before): New function to compare dates.
2024 (mkreftable): Minor improvements to simplify maintenance.
2025 (do_test): Reflect the changes in dates array.
2028 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
2029 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
2030 * time/tst-strftime2.c (locales): Likewise.
2031 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
2032 2010-04-01, and 2011-04-01.
2033 (mkreftable): Add rules for the new locales and the new dates.
2035 2019-04-01 Carlos O'Donell <carlos@redhat.com>
2037 * localedata/locales/ja_JP: Add comments to era entries.
2039 2019-04-01 DJ Delorie <dj@redhat.com>
2042 * time/strptime_l.c (%Ey): Fix fencepost error.
2043 * time/tst-strftime3.c: New.
2044 * time/Makefile (tests): Add tst-strftime3.
2046 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
2048 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
2049 conditional branch to DIVBYZERO. Fix unwind info.
2050 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
2051 excb after conditional branch to $powerof2. Add missing unop
2052 instructions and .align directives and reorder instructions to
2055 2019-04-01 Richard Henderson <rth@twiddle.net>
2057 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2059 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
2062 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
2064 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
2065 $libc_cv_riscv_float_abi in `test' invocation.
2066 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
2068 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
2070 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
2072 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
2074 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2075 (_GET_SI_FPSCR): Likewise.
2076 (_SET_SI_FPSCR): Likewise.
2078 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2080 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
2082 (signbit): Use builtin for clang 3.3.
2083 (isinf): Use builtin for clang 3.7.
2085 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2087 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
2089 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
2091 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
2094 2019-03-25 Mike Crowe <mac@mcrowe.com>
2096 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
2097 pthread_rwlock_timedrdlock with calls to
2098 pthread_rwlock_timedwrlock to ensure that the latter is tested
2099 too. Use new function name in diagnostic messages too.
2101 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
2102 (do_test) Use libsupport test macros rather than hand-coded
2103 conditionals and error messages. Ensure that sem_init returns zero
2104 rather than not -1. Use <support/test-driver.c> rather than
2107 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
2108 test macros rather than hand-coded conditionals and error messages.
2109 Use <support/test-driver.c> rather than test-skeleton.c.
2111 2019-03-25 Joseph Myers <joseph@codesourcery.com>
2113 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
2115 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
2116 (NT_MIPS_MSA): Likewise.
2118 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2120 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
2121 * benchtests/README: Update description.
2122 * benchtests/bench-timing.h: Default to hp-timing.
2123 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
2124 HP_TIMING_PRINT): Remove.
2125 (HP_TIMING_NOW): Add generic implementation.
2126 (hp_timing_t): Change to uint64_t.
2128 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
2130 * nptl/descr.h: Likewise.
2131 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
2132 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
2133 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
2134 Abstract hp-timing usage with RTLD_* macros.
2135 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
2136 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
2137 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
2138 HP_TIMING_NONAVAIL): Likewise.
2139 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2141 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
2142 HP_SMALL_TIMING_AVAIL): Likewise.
2143 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
2144 HP_SMALL_TIMING_AVAIL): Likewise.
2145 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
2146 HP_SMALL_TIMING_AVAIL): Likewise.
2147 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
2148 HP_SMALL_TIMING_AVAIL): Likewise.
2149 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2151 * sysdeps/generic/hp-timing-common.h: Update comment with
2152 HP_TIMING_AVAIL removal.
2154 * include/random-bits.h: New file.
2155 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
2156 (__res_context_mkquery): Remove usage hp-timing usage and replace with
2158 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
2159 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
2162 * include/libc-internal.h (__get_clockfreq): Remove prototype.
2163 * rt/Makefile (clock-routines): Remove get_clockfreq.
2164 * rt/get_clockfreq.c: Remove file.
2165 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2166 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
2167 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
2168 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
2169 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
2171 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
2172 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
2173 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
2174 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
2175 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
2177 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
2178 pthread_clock_settime.
2179 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
2180 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
2181 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
2182 * elf/rtld.c (_dl_start_final): Likewise.
2183 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
2184 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
2186 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
2187 (_dl_cpuclock_offset): Remove.
2188 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
2189 cpuclock_offset_ununsed.
2190 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2191 cpuclock_offset set.
2192 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2193 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2194 * nptl/pthread_clock_gettime.c: Remove file.
2195 * nptl/pthread_clock_settime.c: Likewise.
2196 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
2197 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
2198 and CLOCK_PROCESS_CPUTIME_ID support.
2199 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
2200 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
2201 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
2202 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
2203 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
2205 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
2207 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2209 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
2210 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
2211 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
2213 * sysdeps/s390/memmem-arch13.S: New file.
2214 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
2215 if it is only used as fallback.
2216 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
2217 * sysdeps/s390/multiarch/ifunc-impl-list.c
2218 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
2220 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2222 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
2223 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
2224 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
2226 * sysdeps/s390/multiarch/ifunc-impl-list.c
2227 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
2228 * sysdeps/s390/strstr-arch13.S: New file.
2229 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
2230 if it is only used as fallback.
2231 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
2233 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2235 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
2236 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
2237 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
2238 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
2240 * sysdeps/s390/multiarch/ifunc-impl-list.c
2241 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
2242 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
2243 S390_IS_ARCH13_MIE3): New defines.
2245 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2247 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
2248 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
2249 * sysdeps/s390/configure.ac: Add checks for arch13 support.
2250 * sysdeps/s390/configure: Regenerated.
2252 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2254 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
2255 Add vxe2, vxp, dflt, sort flags.
2256 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
2257 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
2259 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
2260 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
2261 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
2262 HWCAP_S390_DFLT): Define.
2264 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2267 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2268 of compiler warning.
2269 * locale/programs/ld-collate.c (collate_output): Likewise.
2271 2019-03-21 DJ Delorie <dj@redhat.com>
2274 * iconv/iconvconfig.c (write_output): Replace floating point math
2275 with integer math to avoid imprecise results.
2276 * locale/programs/ld-collate.c (collate_output): Likewise.
2278 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
2280 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2281 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2283 2019-03-20 mansayk <6688000@gmail.com>
2286 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2287 (abday): Likewise, but remove the trailing dots.
2289 2019-03-19 Joseph Myers <joseph@codesourcery.com>
2291 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2293 (HWCAP_PACA): Likewise.
2294 (HWCAP_PACG): Likewise.
2295 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2297 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2299 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2301 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2304 2019-03-15 Joseph Myers <joseph@codesourcery.com>
2306 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2308 (old_getpagesize): New syscall.
2310 2019-03-15 Felix Yan <felixonmars@archlinux.org>
2313 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2314 * localedata/locales/cmn_TW (era): Likewise.
2315 * localedata/locales/hak_TW (era): Likewise.
2316 * localedata/locales/lzh_TW (era): Likewise.
2317 * localedata/locales/nan_TW (era): Likewise.
2319 2019-03-14 Adam Maris <amaris@redhat.com>
2321 * malloc/malloc.c (_int_malloc): Check for large bin list
2322 corruption when inserting unsorted chunk.
2324 2019-03-14 Florian Weimer <fweimer@redhat.com>
2326 Remove obsolete, never-implemented XSI STREAMS declarations.
2327 * manual/terminal.texi (Allocation): Remove portability note and
2329 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2331 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2332 * sysdeps/unix/inet/Subdirs (streams): Remove.
2333 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2334 (conformtest-headers-UNIX98): Likewise.
2335 (conformtest-headers-XOPEN2K): Likewise.
2336 (conformtest-headers-POSIX2008): Likewise.
2337 * posix/compat-streams.c: New file.
2338 * posix/Makefile (routines): Add it.
2339 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2340 getpmsg, isastream, putmsg, putpmsg.
2341 (GLIBC_2.30): New section.
2342 * bits/stropts.h: Remove file.
2343 * bits/xtitypes.h: Likewise.
2344 * conform/data/stropts.h-data: Likewise.
2345 * include/stropts.h: Likewise.
2346 * include/sys/stropts.h: Likewise.
2347 * include/xtitypes.h: Likewise.
2348 * streams/Makefile: Likewise.
2349 * streams/fattach.c: Likewise.
2350 * streams/fdetach.c: Likewise.
2351 * streams/getmsg.c: Likewise.
2352 * streams/getpmsg.c: Likewise.
2353 * streams/isastream.c: Likewise.
2354 * streams/putmsg.c: Likewise.
2355 * streams/putpmsg.c: Likewise.
2356 * streams/stropts.h: Likewise.
2357 * streams/sys/stropts.h: Likewise.
2358 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2359 * sysdeps/s390/bits/xtitypes.h: Likewise.
2360 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2361 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2362 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2363 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2364 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2365 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2366 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2367 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2368 * sysdeps/x86/bits/xtitypes.h: Likewise.
2370 2019-03-14 Florian Weimer <fweimer@redhat.com>
2372 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2374 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2375 but not with libnss_files.
2376 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2378 2019-03-14 Zack Weinberg <zackw@panix.com>
2380 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2381 Specify encoding="utf-8" when opening headers to check.
2383 2019-03-13 Joseph Myers <joseph@codesourcery.com>
2385 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2387 (Context.checkout_tar): Handle variable major version for Linux
2390 2019-03-13 Florian Weimer <fweimer@redhat.com>
2393 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2395 2019-03-13 Zack Weinberg <zackw@panix.com>
2397 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2399 * include/inttypes.h: Adjust to match.
2400 * include/stdint.h: New wrapper.
2402 2019-03-13 Zack Weinberg <zackw@panix.com>
2404 * scripts/check-obsolete-constructs.py: New test script.
2405 * scripts/check-installed-headers.sh: Remove tests for
2406 obsolete typedefs, superseded by check-obsolete-constructs.py.
2407 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2408 as a special test. Update commentary.
2409 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2410 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2412 * posix/sys/types.h (__u_intN_t): Remove.
2413 (u_int8_t): Typedef using __uint8_t.
2414 (u_int16_t): Typedef using __uint16_t.
2415 (u_int32_t): Typedef using __uint32_t.
2416 (u_int64_t): Typedef using __uint64_t.
2418 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
2420 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2422 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2423 Ignore types other than AT_HWCAP.
2424 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2425 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2427 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2428 in the case of falling back to generic output mechanism.
2429 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2432 2019-03-12 Florian Weimer <fweimer@redhat.com>
2434 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2436 2019-03-12 Florian Weimer <fweimer@redhat.com>
2439 resolv: Enable full ICMP errors for UDP DNS sockets
2440 * resolv/res_enable_icmp.c: New file.
2441 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2442 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2443 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2446 2019-03-11 Mao Han <han_mao@c-sky.com>
2448 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2449 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2451 2019-03-11 Mao Han <han_mao@c-sky.com>
2453 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2454 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2455 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2457 2019-03-11 Mao Han <han_mao@c-sky.com>
2459 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2461 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2464 2019-03-11 Mao Han <han_mao@c-sky.com>
2466 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2467 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2470 2019-03-08 Mike FABIAN <mfabian@redhat.com>
2473 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2474 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2476 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2477 * localedata/unicode-gen/PropList.txt: Likewise.
2478 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2479 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2480 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2481 * localedata/charmaps/UTF-8: Regenerate.
2482 * localedata/locales/i18n_ctype: Likewise.
2483 * localedata/locales/tr_TR: Likewise.
2484 * localedata/locales/translit_circle: Likewise.
2485 * localedata/locales/translit_cjk_compat: Likewise.
2486 * localedata/locales/translit_combining: Likewise.
2487 * localedata/locales/translit_compat: Likewise.
2488 * localedata/locales/translit_font: Likewise.
2489 * localedata/locales/translit_fraction: Likewise.
2491 2019-03-07 Joseph Myers <joseph@codesourcery.com>
2493 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2494 than after operators.
2495 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2496 (setitimer_locked): Likewise.
2497 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2498 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2499 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2500 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2501 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2502 (PPC_CPU_SUPPORTED): Likewise.
2503 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2504 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2505 (stat_overflow): Likewise.
2506 (statfs_overflow): Likewise.
2507 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2508 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2509 (eq_ttyname_r): Likewise.
2510 (run_chroot_tests): Likewise.
2512 2019-03-07 Florian Weimer <fweimer@redhat.com>
2514 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2517 2019-03-07 Martin Liska <mliska@suse.cz>
2519 * math/Makefile: Change location where math-vector-fortran.h is
2521 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2522 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2523 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2524 * scripts/check-installed-headers.sh: Skip Fortran header files.
2525 * scripts/check-wrapper-headers.py: Likewise.
2527 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2529 * nptl/nptl-init.c (__have_futex_clock_realtime,
2530 __have_futex_clock_realtime): Remove definition.
2531 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2532 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2533 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2534 __ASSUME_FUTEX_CLOCK_REALTIME support.
2535 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2536 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2537 * sysdeps/unix/sysv/linux/kernel-features.h
2538 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2539 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2542 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2544 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2545 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2546 __GI___wcscpy and wcscpy.
2548 2019-03-04 Florian Weimer <fweimer@redhat.com>
2550 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2552 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2555 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
2557 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2558 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2560 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2563 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2564 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2566 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2568 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2570 (do_test): Likewise.
2571 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2572 (do_test_call_varg): Likewise.
2573 (do_test_call_rarg): Likewise.
2574 * sysdeps/ieee754/ldbl-opt/Makefile
2575 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2577 ($(objpfx)tst-nldbl-warn.c): New rule.
2578 ($(objpfx)tst-nldbl-error.c): Likewise.
2579 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2582 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2585 * include/bits/error-ldbl.h: New file.
2586 * include/error.h: Include stdarg.h. Declare internal functions
2587 __error_internal and __error_at_line_internal.
2588 * misc/Makefile (headers): Add bits/error-ldbl.h.
2589 * misc/bits/error-ldbl.h: New file.
2590 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2591 avoid the inclusion of bits/error.h.
2592 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2593 and __nldbl_error_at_line.
2594 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2595 (__nldbl_error, __ndlbl_error_at_line): New functions.
2596 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2597 Redirect error and error_at_line.
2598 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2607 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2608 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2609 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2611 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2614 * include/bits/err-ldbl.h: New file.
2615 * include/err.h: Add prototypes for the internal functions:
2616 __vwarnx_internal and __vwarn_internal.
2617 * misc/Makefile (headers): Add bits/err-ldbl.h.
2618 * misc/bits/err-ldbl.h: New file.
2619 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2620 defined, i.e.: when -mlong-double-64 is in use.
2621 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2622 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2623 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2624 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2625 (VA_CALL): New macro.
2626 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2627 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2629 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2630 declare prototypes for the new functions.
2631 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2640 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2641 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2642 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2644 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2646 * sysdeps/ieee754/ldbl-opt/Makefile
2647 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2648 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2649 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2651 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2654 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2655 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2656 * argp/bits/argp-ldbl.h: New file.
2657 * include/argp.h: Include stdarg.h. Add prototypes for internal
2658 functions: __argp_error_internal and __argp_failure_internal.
2659 * include/bits/argp-ldbl.h: New file.
2660 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2661 __nldbl_argp_error and __nldbl_argp_failure.
2662 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2663 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2664 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2665 Redirect argp_error and argp_failure calls.
2666 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2675 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2676 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2677 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2679 2019-03-01 Florian Weimer <fweimer@redhat.com>
2682 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2683 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2684 code, to avoid creating an ABI tag note.
2685 (modules-names-nobuild): Add tst-big-note-lib.
2687 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
2689 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2690 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2692 2019-03-01 Florian Weimer <fweimer@redhat.com>
2695 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2696 (__netlink_assert_response): Add additional missing newlines.
2698 2019-02-28 Joseph Myers <joseph@codesourcery.com>
2700 * sysdeps/powerpc/powerpc32/dl-machine.c
2701 (__elf_machine_fixup_plt): Use space before '('.
2702 (__process_machine_rela): Likewise.
2703 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2705 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2707 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2709 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2710 (pattern): Likewise.
2712 (check_result): Likewise.
2713 (check_excepts): Likewise.
2714 (check_op): Likewise.
2715 (fail_xr): Likewise.
2716 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2717 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2719 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2722 (__makecontext): Likewise.
2723 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2726 2019-02-28 Florian Weimer <fweimer@redhat.com>
2729 elf: Add test with a local IFUNC resolver.
2730 * elf/ifuncmain9.c: New file.
2731 * elf/ifuncmain9pic.c: Likewise.
2732 * elf/ifuncmain9picstatic.c: Likewise.
2733 * elf/ifuncmain9pie.c: Likewise.
2734 * elf/ifuncmain9static.c: Likewise.
2735 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2736 ifuncmain9static, ifuncmain9picstatic.
2737 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2738 Add ifuncmain9, ifuncmain9pic.
2739 * elf/Makefile [multi-arch && build-shared && have-fpie]
2740 (ifunc-pie-tests): Add ifuncmain9pie.
2741 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2742 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2743 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2745 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2747 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2748 * configure: Regenerated.
2749 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2751 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2753 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2754 symbol as __wcspcy instead of wcscpy.
2756 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2758 * include/stdio.h (__renameat2): New hidden prototype.
2759 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2760 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2761 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2762 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2764 2019-02-27 Joseph Myers <joseph@codesourcery.com>
2766 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2769 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2770 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2771 * benchtests/bench-strlen.c (do_test): Likewise.
2772 (test_main): Likewise.
2773 * catgets/gencat.c (read_old): Likewise.
2774 * elf/cache.c (load_aux_cache): Likewise.
2775 * iconvdata/bug-iconv8.c (do_test): Likewise.
2776 * math/test-tgmath-ret.c (do_test): Likewise.
2777 * nis/nis_call.c (rec_dirsearch): Likewise.
2778 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2779 * nptl/tst-audit-threads.c (do_test): Likewise.
2780 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2781 * nss/nss_test1.c (init): Likewise.
2782 * nss/test-netdb.c (test_hosts): Likewise.
2783 * posix/execvpe.c (maybe_script_execute): Likewise.
2784 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2785 * stdio-common/tst-printf.c (do_test): Likewise.
2786 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2787 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2788 * stdlib/qsort.c (STACK_SIZE): Likewise.
2789 * stdlib/test-canon.c (do_test): Likewise.
2790 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2791 * string/memcmp.c (OPSIZ): Likewise.
2792 * string/test-strcpy.c (do_test): Likewise.
2793 (do_random_tests): Likewise.
2794 * string/test-strlen.c (do_test): Likewise.
2795 (test_main): Likewise.
2796 * string/test-strrchr.c (do_test): Likewise.
2797 (do_random_tests): Likewise.
2798 * string/tester.c (test_memrchr): Likewise.
2799 (test_memchr): Likewise.
2800 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2801 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2802 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2803 (read_encoded_value_with_base): Likewise.
2804 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2805 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2806 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2807 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2808 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2809 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2811 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2813 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2814 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2815 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2817 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2819 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2821 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2823 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2824 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2825 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2826 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2827 * time/test_time.c (main): Likewise.
2829 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2831 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2833 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2836 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2839 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2841 * include/wchar.h (__wcscpy): New prototype.
2842 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2843 (__wcscpy): Route internal symbol to generic implementation.
2844 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2845 Add internal __wcscpy alias.
2846 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2847 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2848 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2849 * wcsmbs/wcscpy.c (wcscpy): Add
2850 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2851 use generic implementation.
2852 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2854 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2857 * sysdeps/m68k/wcpcpy.c: Remove file.
2858 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2860 2019-02-26 Joseph Myers <joseph@codesourcery.com>
2862 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2863 than after operators.
2864 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2865 * sysdeps/mach/hurd/getcwd.c
2866 (__hurd_canonicalize_directory_name_internal): Likewise.
2867 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2868 (pthread_mutex_consistent): Likewise.
2869 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2871 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2872 (__pthread_mutex_transfer_np): Likewise.
2873 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2874 (__pthread_mutex_unlock): Likewise.
2875 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2876 (mtx_owned_p): Likewise.
2877 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2878 (pthread_mutexattr_getrobust): Likewise.
2879 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2880 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2882 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2883 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2884 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2885 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2886 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2887 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2888 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2890 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2892 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2893 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2894 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2895 (____longjmp_chk): Likewise.
2896 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2898 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2899 (INTERNAL_SYSCALL): Likewise.
2900 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2901 (INTERNAL_SYSCALL): Likewise.
2902 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2903 (__get_clockfreq_via_cpuinfo): Likewise.
2905 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2907 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2908 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2909 (WORD_COPY_BWD): Likewise.
2910 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2911 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2913 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2914 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2916 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2918 2019-02-25 Joseph Myers <joseph@codesourcery.com>
2920 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2921 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2922 rather than after operators.
2923 * elf/cache.c (print_cache): Likewise.
2924 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2925 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2926 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2927 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2928 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2929 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2930 (reauth_proc): Likewise.
2931 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2932 (__file_name_split_at): Likewise.
2933 (__directory_name_split_at): Likewise.
2934 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2935 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2936 * iconv/gconv_dl.c (do_print): Likewise.
2937 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2938 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2939 * locale/setlocale.c (new_composite_name): Likewise.
2940 * malloc/memusagestat.c (main): Likewise.
2941 * misc/fstab.c (fstab_convert): Likewise.
2942 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2944 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2945 (getgrent_next_file): Likewise.
2946 (internal_getgrnam_r): Likewise.
2947 (internal_getgrgid_r): Likewise.
2948 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2950 (internal_getgrent_r): Likewise.
2951 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2952 (getpwent_next_nss): Likewise.
2953 (getpwent_next_file): Likewise.
2954 (internal_getpwnam_r): Likewise.
2955 (internal_getpwuid_r): Likewise.
2956 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2958 (getspent_next_nss): Likewise.
2959 (internal_getspnam_r): Likewise.
2960 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2961 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2962 * string/strchr.c (STRCHR): Likewise.
2963 * string/strchrnul.c (STRCHRNUL): Likewise.
2964 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2965 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2966 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2967 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2968 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2970 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2971 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2972 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2973 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2974 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2975 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2976 (open_file): Likewise.
2977 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2978 (pthread_mutexattr_setprotocol): Likewise.
2979 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2980 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2981 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2982 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2983 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2985 (elf_machine_rela): Likewise.
2986 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2987 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2988 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2989 * sysdeps/posix/rename.c (rename): Likewise.
2990 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2991 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2992 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2993 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2994 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2995 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2996 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2998 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
3000 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
3001 * time/tzfile.c (__tzfile_compute): Likewise.
3003 2019-02-22 Joseph Myers <joseph@codesourcery.com>
3005 * benchtests/bench-memmem.c (simple_memmem): Break lines before
3006 rather than after operators.
3007 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
3008 * crypt/md5.c (md5_finish_ctx): Likewise.
3009 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
3010 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
3011 * elf/cache.c (load_aux_cache): Likewise.
3012 * elf/dl-load.c (open_verify): Likewise.
3013 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3014 * elf/readelflib.c (process_elf_file): Likewise.
3015 * elf/rtld.c (dl_main): Likewise.
3016 * elf/sprof.c (generate_call_graph): Likewise.
3017 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
3018 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3019 * hurd/dtable.c (reauth_dtable): Likewise.
3020 * hurd/getdport.c (__getdport): Likewise.
3021 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
3022 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
3023 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
3025 * hurd/hurdioctl.c (fioctl): Likewise.
3026 * hurd/hurdselect.c (_hurd_select): Likewise.
3027 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
3028 (STOPSIGS): Likewise.
3029 * hurd/hurdstartup.c (_hurd_startup): Likewise.
3030 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
3031 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3032 * hurd/msgportdemux.c (msgport_server): Likewise.
3033 * hurd/setauth.c (_hurd_setauth): Likewise.
3034 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
3035 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
3036 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
3037 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
3038 * login/tst-utmp.c (do_check): Likewise.
3039 (simulate_login): Likewise.
3040 * mach/lowlevellock.h (lll_lock): Likewise.
3041 (lll_trylock): Likewise.
3042 * math/test-fenv.c (ALL_EXC): Likewise.
3043 * math/test-fenvinline.c (ALL_EXC): Likewise.
3044 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
3045 * nis/nis_call.c (__do_niscall3): Likewise.
3046 * nis/nis_callback.c (cb_prog_1): Likewise.
3047 * nis/nis_defaults.c (searchaccess): Likewise.
3048 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3049 * nis/nis_ismember.c (internal_ismember): Likewise.
3050 * nis/nis_local_names.c (nis_local_principal): Likewise.
3051 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
3052 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
3054 * nis/ypclnt.c (yp_match): Likewise.
3055 (yp_first): Likewise.
3056 (yp_next): Likewise.
3057 (yp_master): Likewise.
3058 (yp_order): Likewise.
3059 * nscd/hstcache.c (cache_addhst): Likewise.
3060 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3061 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
3062 (internal_getpwuid_r): Likewise.
3063 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
3064 * posix/glob.h (__GLOB_FLAGS): Likewise.
3065 * posix/regcomp.c (peek_token): Likewise.
3066 (peek_token_bracket): Likewise.
3067 (parse_expression): Likewise.
3068 * posix/regexec.c (sift_states_iter_mb): Likewise.
3069 (check_node_accept_bytes): Likewise.
3070 * posix/tst-spawn3.c (do_test): Likewise.
3071 * posix/wordexp-test.c (testit): Likewise.
3072 * posix/wordexp.c (parse_tilde): Likewise.
3073 (exec_comm): Likewise.
3074 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
3075 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
3076 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
3077 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
3078 * stdio-common/tst-fileno.c (do_test): Likewise.
3079 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
3080 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
3081 * stdlib/strtod_l.c (round_and_return): Likewise.
3082 (____STRTOF_INTERNAL): Likewise.
3083 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
3084 * string/strcspn.c (STRCSPN): Likewise.
3085 * string/test-memmem.c (simple_memmem): Likewise.
3086 * termios/tcsetattr.c (tcsetattr): Likewise.
3087 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
3088 * time/asctime.c (asctime_internal): Likewise.
3089 * time/strptime_l.c (__strptime_internal): Likewise.
3090 * time/sys/time.h (timercmp): Likewise.
3091 * time/tzfile.c (__tzfile_compute): Likewise.
3093 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
3096 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
3098 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3100 * argp/argp-help.c (__argp_error_internal): New function,
3101 renamed from __argp_error, but that takes a 'mode_flags'
3102 parameter to control the format of long double parameters.
3103 (__argp_error): Converted into a call __argp_error_internal.
3104 (__argp_failure_internal): New function, renamed from
3105 __argp_failure, but that takes a 'mode_flags' parameter.
3106 (__argp_failure): Converted into a call __argp_failure_internal.
3107 * misc/err.c (__vwarnx_internal): New function, renamed from
3108 vwarnx, but that takes a 'mode_flags' parameter.
3109 (vwarnx): Converted into a call to __vwarnx_internal.
3110 (__vwarn_internal): New function, renamed from vwarn, but that
3111 takes a 'mode_flags' parameter.
3112 (vwarn): Converted into a call to __vwarn_internal.
3113 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
3114 call to __vfxprintf with 'mode_flags'.
3115 (__error_internal): New function, renamed from error, but that
3116 takes a 'mode_flags' parameter.
3117 (error): Converted into a call to __error_internal.
3118 (__error_at_line_internal): New function, renamed from
3119 error_at_line, but that takes a 'mode_flags' parameter.
3120 (error_at_line): Converted into a call to
3121 __error_at_line_internal.
3122 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
3123 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
3126 2019-02-20 Martin Liska <mliska@suse.cz>
3128 * math/Makefile: Install math-vector-fortran.h.
3129 * bits/math-vector-fortran.h: New file.
3130 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
3132 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3134 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
3135 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
3137 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
3139 * nptl/pthread_mutex_trylock.c: Fix comment.
3141 2019-02-19 Carlos O'Donell <carlos@redhat.com>
3143 * nptl/pthread_tryjoin.c: Fix comment.
3145 2019-02-18 Joseph Myers <joseph@codesourcery.com>
3148 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
3149 after R_SPARC_H34 case.
3151 2019-02-18 Florian Weimer <fweimer@redhat.com>
3153 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
3154 (getanswer): Do not call Dprintf.
3155 (res_gethostbyname2_context): Likewise.
3156 (res_gethostbyaddr_context): Likewise.
3158 2019-02-18 Florian Weimer <fweimer@redhat.com>
3160 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
3162 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
3164 * libio/stdfiles.c: Update comment.
3165 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
3166 set _IO_stdin, _IO_stdout, _IO_stderr.
3167 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
3168 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
3170 (_IO_deallocate_file): New inline function.
3171 * libio/iolibio.h (_IO_vprintf): Remove definition.
3172 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
3173 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3174 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
3176 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
3177 __builtin_expect. Use _IO_legacy_file.
3179 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
3181 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
3182 Initialize ctid with a known value and remove update of ctid
3184 (wait_tid): Adjust arguments and call futex_wait with ctid_val
3185 as assumed current value of ctid_ptr.
3187 2019-02-16 Florian Weimer <fweimer@redhat.com>
3189 Check that non-sysdeps headers have wrapper headers.
3190 * scripts/check-wrapper-headers.py: New file.
3191 * Makefile (tests-special): Add check-wrapper-headers.out.
3192 (check-wrapper-headers.out): New target.
3193 * Rules (tests-special): Add check-wrapper-headers.out.
3194 (check-wrapper-headers.out): New target.
3196 2019-02-16 Florian Weimer <fweimer@redhat.com>
3198 Add missing header wrappers under include/.
3199 * include/ar.h: New file.
3200 * include/bits/mqueue2.h: Likewise.
3201 * include/bits/stdio.h: Likewise.
3202 * include/bits/stdio2.h: Likewise.
3203 * include/fstab.h: Likewise.
3204 * include/fts.h: Likewise.
3205 * include/lastlog.h: Likewise.
3206 * include/netinet/icmp6.h: Likewise.
3207 * include/netinet/igmp.h: Likewise.
3208 * include/netinet/ip6.h: Likewise.
3209 * include/re_comp.h: Likewise.
3210 * include/regexp.h: Likewise.
3211 * include/rpcsvc/bootparam.h: Likewise.
3212 * include/rpcsvc/yp_prot.h: Likewise.
3213 * include/sys/random.h: Likewise.
3214 * include/sys/stropts.h: Likewise.
3215 * include/sys/ttychars.h: Likewise.
3216 * include/sys/vfs.h: Likewise.
3217 * include/wait.h: Likewise.
3219 2019-02-16 Florian Weimer <fweimer@redhat.com>
3221 * nptl_db/proc_service.h: Move to ...
3222 * sysdeps/nptl/proc_service.h: ... here.
3223 * nptl_db/thread_db.h: Move to ...
3224 * sysdeps/nptl/thread_db.h: ... here.
3225 * nptl/descr.h: Include <thread_db.h>.
3227 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3229 * io/Makefile (tests): Add tst-lockf.
3230 * io/lockf.c (lockf): Use __fcntl and only define for
3231 !__OFF_T_MATCHES_OFF64_T.
3232 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
3233 __OFF_T_MATCHES_OFF64_T case.
3234 * io/tst-lockf.c: New file.
3235 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
3236 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
3237 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
3238 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
3239 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
3240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
3241 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
3242 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
3243 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
3245 2019-02-15 Florian Weimer <fweimer@redhat.com>
3248 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
3249 pd->result after the thread descriptor has been freed.
3251 2019-02-15 Joseph Myers <joseph@codesourcery.com>
3253 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
3254 from function return type.
3256 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
3258 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3260 * scripts/test_printers_common.py: Set TERM to a known harmless
3263 2019-02-14 Joseph Myers <joseph@codesourcery.com>
3265 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3266 (xdr_u_int): Likewise.
3267 (xdr_enum): Likewise.
3268 (xdr_bytes): Reword fall-through comment.
3269 (xdr_string): Likewise.
3271 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3274 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3275 (tests): Add tst-join8 tst-join9.
3276 * nptl/lll_timedwait_tid.c: Remove file.
3277 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3278 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3279 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3280 * nptl/pthread_join_common.c (timedwait_tid): New function.
3281 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3283 * nptl/tst-join5.c (thread_join): New function.
3284 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3286 * nptl/tst-join8.c: New file.
3287 * nptl/tst-join9.c: Likewise.
3288 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3289 lll_futex_timed_wait_cancel): Add generic macros.
3290 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3292 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3293 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3294 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3295 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3297 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3299 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3300 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3301 (lll_futex_timed_wait_cancel): New macro.
3303 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3305 * benchtests/Makefile: Add malloc-simple benchmark.
3306 * benchtests/bench-malloc-simple.c: New benchmark.
3308 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3310 * benchtests/bench-memmove.c (do_one_test): Remove unused
3313 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3317 2019-01-13 Jim Wilson <jimw@sifive.com>
3320 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3321 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3323 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3325 * nptl/Makefile (tests): Add tst-unwind-thread.
3326 (CFLAGS-tst-unwind-thread.c): Define.
3327 * nptl/tst-unwind-thread.c: New file.
3328 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3331 2019-02-13 Joseph Myers <joseph@codesourcery.com>
3333 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3335 * nis/nis_call.c (__do_niscall3): Likewise.
3337 * catgets/gencat.c (normalize_line): Use braces around empty
3339 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3340 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3341 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3342 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3343 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3344 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3345 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3348 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3351 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3353 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3354 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3355 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3356 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3357 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3358 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3359 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3360 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3361 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3362 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3363 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3364 * benchtests/bench-bcopy.c: Delete file.
3365 * benchtests/bench-bzero.c: Likewise.
3366 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3367 (simple_memccpy): Remove.
3368 (generic_memccpy): Add function.
3369 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3370 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3371 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3372 (generic_mempcpy): Add new function.
3373 * benchtests/bench-memset.c (simple_bzero): Remove.
3374 (builtin_bzero): Remove.
3375 (builtin_memset): Remove.
3376 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3377 (generic_rawmemchr): Add new function.
3379 2019-02-12 Florian Weimer <fweimer@redhat.com>
3381 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3383 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3386 * elf/Makefile (tests): Add tst-audit13.
3387 (modules-names): Add tst-audit13mod1.
3388 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3390 * elf/tst-audit13.c: New file.
3391 * elf/tst-audit13mod1.c: Likewise.
3393 2019-02-12 Florian Weimer <fweimer@redhat.com>
3396 * elf/rtld.c (unload_audit_module): New function.
3397 (report_audit_module_load_error): Likewise.
3398 (load_audit_module): Likewise. Extracted from dl_main. Call
3399 _dl_close if the laversion symbol cannot be found. Use early
3400 returns for error handling. Add malloc error check. Check for a
3401 zero return value from la_version. Remove spurious comment about
3402 static TLS initialization. Remove useless casts.
3403 (notify_audit_modules_of_loaded_object): New function. Extracted
3405 (load_audit_module): Likewise.
3406 (dl_main): Call load_audit_modules.
3408 2019-02-12 Joseph Myers <joseph@codesourcery.com>
3410 * elf/dl-exception.c (_dl_exception_create_format): Add
3411 fall-through comments.
3412 * elf/ldconfig.c (parse_conf_include): Likewise.
3413 * elf/rtld.c (print_statistics): Likewise.
3414 * locale/programs/charmap.c (parse_charmap): Likewise.
3415 * misc/mntent_r.c (__getmntent_r): Likewise.
3416 * posix/wordexp.c (parse_arith): Likewise.
3417 (parse_backtick): Likewise.
3418 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3419 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3420 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3422 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
3424 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3425 Use float instead of double.
3427 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3429 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3431 2019-02-08 Joseph Myers <joseph@codesourcery.com>
3433 * sysdeps/powerpc/bits/mathinline.h: Remove.
3435 2019-02-08 Florian Weimer <fweimer@redhat.com>
3437 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3438 * math/bits/math-finite.h: Move to ...
3439 * bits/math-finite.h: ... here.
3441 2019-02-08 Florian Weimer <fweimer@redhat.com>
3443 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3444 * bits/unistd_ext.h: here.
3446 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3449 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3450 * nss/tst-nss-files-hosts-long.c: New file.
3451 * nss/tst-nss-files-hosts-long.root: New directory.
3452 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3453 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3455 2019-02-08 Florian Weimer <fweimer@redhat.com>
3457 * include/bits/unistd_ext.h: Remove file.
3458 * posix/bits/unistd_ext.h: Move to ...
3459 * sysdeps/generic/bits/unistd_ext.h: ... here.
3461 2019-02-08 Florian Weimer <fweimer@redhat.com>
3463 * include/bits/unistd_ext.h: New file.
3465 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3467 * time/tst-strftime2.c: Use array_length macros instead of magic
3470 2019-02-08 Florian Weimer <fweimer@redhat.com>
3473 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3475 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3476 locking if the new do_locking argument is true.
3477 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3478 __run_fork_handlers.
3480 2019-02-08 Florian Weimer <fweimer@redhat.com>
3483 Linux: Add gettid system call wrapper.
3484 * posix/Makefile (headers): Add bits/unistd_ext.h.
3485 * posix/bits/unistd_ext.h: New file.
3486 * posix/unistd.h: Include it.
3487 * manual/process.texi (Process Identification): Document gettid.
3488 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3489 tst-gettid, tst-gettid-kill.
3490 (tst-gettid): Link with $(shared-thread-library).
3491 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3492 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3493 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3494 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3495 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3496 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3498 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3500 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3501 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3503 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3505 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3507 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3509 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3511 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3513 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3515 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3516 (GLIBC_2.30): Likewise.
3517 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3518 (GLIBC_2.30): Likewise.
3519 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3520 (GLIBC_2.30): Likewise.
3521 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3522 (GLIBC_2.30): Likewise.
3523 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3526 (GLIBC_2.30): Likewise.
3527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3528 (GLIBC_2.30): Likewise.
3529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3530 (GLIBC_2.30): Likewise.
3531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3532 (GLIBC_2.30): Likewise.
3533 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3535 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3537 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3539 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3540 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3542 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3544 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3546 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3548 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3550 2019-02-08 Florian Weimer <fweimer@redhat.com>
3552 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3553 compatibility symbols.
3555 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
3558 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3559 Add compiler barriers and comments.
3561 2019-02-07 Florian Weimer <fweimer@redhat.com>
3563 * include/array_length.h (array_length): Do not use a statement
3564 expression and _Static_assert, so that array_length can be used at
3565 file scope and as a constant expression.
3567 2019-02-07 Florian Weimer <fweimer@redhat.com>
3569 * support/xdlfcn.h (xdlmopen): Declare.
3570 * support/xdlmopen.c: New file.
3571 * support/Makefile (libsupport-routines): Add xdlmopen.
3573 2019-02-06 Joseph Myers <joseph@codesourcery.com>
3575 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3576 before return type, without separate inline.
3577 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3578 * elf/dl-tunables.h (tunable_is_name): Likewise.
3579 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3580 (do_set_top_pad): Likewise.
3581 (do_set_mmap_threshold): Likewise.
3582 (do_set_mmaps_max): Likewise.
3583 (do_set_mallopt_check): Likewise.
3584 (do_set_perturb_byte): Likewise.
3585 (do_set_arena_test): Likewise.
3586 (do_set_arena_max): Likewise.
3587 (do_set_tcache_max): Likewise.
3588 (do_set_tcache_count): Likewise.
3589 (do_set_tcache_unsorted_limit): Likewise.
3590 * nis/nis_subr.c (count_dots): Likewise.
3591 * nptl/allocatestack.c (advise_stack_range): Likewise.
3592 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3594 (reduce_sincos): Likewise.
3595 (do_sincos): Likewise.
3596 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3597 (do_set_elision_enable): Likewise.
3598 (TUNABLE_CALLBACK_FNDECL): Likewise.
3600 2019-02-06 Florian Weimer <fweimer@redhat.com>
3602 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3603 (xdlsym): Use dlerror to detect a NULL symbol.
3605 2019-02-06 Florian Weimer <fweimer@redhat.com>
3607 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3609 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3611 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3613 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3615 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3617 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3618 __wmemcmp and weak alias to wmemcmp.
3620 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3623 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3624 TLS_TCB_AT_TP tls variant.
3625 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3626 Add alignment checks.
3627 * support/Makefile (libsupport-routines): Add xposix_memalign and
3629 * support/support.h: Add xposix_memalign.
3630 * support/xthread.h: Add xpthread_attr_setstack.
3631 * support/xposix_memalign.c: New File.
3632 * support/xpthread_attr_setstack.c: Likewise.
3634 2019-02-05 Florian Weimer <fweimer@redhat.com>
3637 arm: Use "nr" constraint for Systemtap probes, to avoid the
3638 compiler using memory operands for constants, due to the "o"
3639 alternative in the default "nor" constraint.
3640 * include/stap-probe.h [USE_STAP_PROBE]: Include
3641 <stap-probe-machine.h>
3642 * sysdeps/generic/stap-probe-machine.h: New file.
3643 * sysdeps/arm/stap-probe-machine.h: Likewise.
3645 2019-02-04 Joseph Myers <joseph@codesourcery.com>
3647 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3648 with 0, not tcache->entries[tc_idx].
3650 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3653 2019-02-04 Andreas Schwab <schwab@suse.de>
3657 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3658 looking up collating elements match against (wide) character
3659 sequence instead of name. Correct alignment adjustment.
3660 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3661 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3662 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3663 (LOCALES): Add cs_CZ.ISO-8859-2.
3664 * posix/tst-fnmatch4.c: New file.
3665 * posix/tst-fnmatch5.c: New file.
3666 * include/wchar.h (__wmemcmp): Declare.
3667 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3668 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3669 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3670 * sysdeps/s390/wmemcmp.c: Likewise.
3672 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3676 * NEWS: Updated for CVE-2019-7309.
3677 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3678 upper 32 bits of RDX register for x32. Use unsigned Jcc
3679 instructions, instead of signed.
3680 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3681 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3683 2019-02-04 Florian Weimer <fweimer@redhat.com>
3685 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3686 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3687 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3689 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3690 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3691 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3692 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3694 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3696 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3698 (posix_spawn_file_actions_addopen): Likewise.
3699 (posix_spawn_file_actions_addclose): Likewise.
3700 (posix_spawn_file_actions_adddup2): Likewise.
3701 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3703 (posix_spawn_file_actions_addfchdir_np): Likewise.
3705 2019-02-04 David Newall <glibc@davidnewall.com>
3707 elf: Implement --preload option for the dynamic linker.
3708 * elf/rtld.c (preloadarg): New variable.
3709 (handle_preload_list): Pass through “where” argument to
3711 (dl_main): Handle "--preload" and add second call to
3712 handle_preload_list.
3713 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3714 (tst-rtld-preload-OBJS): Set variable.
3715 (tst-rtld-preload.out): New target.
3716 * elf/tst-rtld-preload.sh: New file.
3718 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3720 * Makefile (testrun.sh): Exit in case of incorrect argument.
3722 2019-02-04 Florian Weimer <fweimer@redhat.com>
3724 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3727 2019-02-03 Florian Weimer <fweimer@redhat.com>
3729 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3730 implicit overflow checks.
3732 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3734 * stdlib/isomac.c: Include <unistd.h>.
3736 2019-02-03 Florian Weimer <fweimer@redhat.com>
3738 * include/time.h (__tzfile_default): Use int, not long int, for
3740 * time/tzfile.c (struct ttinfo): Change type of the offset member
3742 (__tzfile_read): Remove useless cast.
3743 (__tzfile_default): Adjust prototype.
3744 * time/tzset.c (tz_rule): Change type of the offset member to int.
3745 (parse_offset): Change the type of the sign variable to int.
3747 2019-02-03 Florian Weimer <fweimer@redhat.com>
3750 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3751 * libio/getchar.c (getchar): Likewise.
3752 * libio/getchar_u.c (getchar_unlocked): Likewise.
3753 * libio/getwchar.c (getwchar): Likewise.
3754 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3755 * libio/iogets.c (_IO_gets): Likewise.
3756 * libio/vscanf.c (_IO_vscanf): Likewise.
3757 * libio/vwscanf.c (__vwscanf): Likewise.
3758 * libio/tst-bz24153.c: New file.
3759 * libio/Makefile (tests): Add it.
3761 2019-02-02 Florian Weimer <fweimer@redhat.com>
3764 * manual/resource.texi (Basic Scheduling Functions): Add
3765 portability note. Change process to task throughout the section.
3766 Remove incorrect comment about sched_yield as it affects
3767 tasks/threads, not entire processes.
3768 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3769 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3771 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3773 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3774 * configure: Regenerated.
3775 * manual/install.texi (Tools for Compilation): Update minimum GCC
3777 * INSTALL: Regenerated.
3779 2019-02-01 Florian Weimer <fweimer@redhat.com>
3781 * support/support_test_compare_string.c
3782 (support_test_compare_string): Use "string" in error message.
3783 * support/tst-test_compare_string.c (do_test): Adjust.
3785 2019-02-01 Florian Weimer <fweimer@redhat.com>
3787 * support/support_format_address_family.c
3788 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3790 2019-02-01 Florian Weimer <fweimer@redhat.com>
3792 * manual/socket.texi (Internet Address Formats): Clarify the byte
3793 order of struct sockaddr_in, struct sockaddr_in6. Document
3794 sin6_flowinfo and sin6_scope_id.
3796 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3798 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3799 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3800 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3801 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3802 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3803 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3805 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3807 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3808 [!MEMCHR](MEMCHR): Set to __memchr.
3809 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3810 Add memchr_generic and memchr_nosimd.
3811 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3812 (__libc_ifunc_impl_list): Add memchr ifuncs.
3813 * sysdeps/aarch64/multiarch/memchr.c: New file.
3814 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3815 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3817 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3819 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3821 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3822 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3823 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3824 Add IS_EMAG check for ifunc dispatch.
3825 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3826 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3828 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3830 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3831 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3833 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3836 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
3838 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3840 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
3842 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3843 syscall-template file.
3845 2019-01-31 Carlos O'Donell <carlos@redhat.com>
3846 Torvald Riegel <triegel@redhat.com>
3847 Rik Prohaska <prohaska7@gmail.com>
3850 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3851 tst-rwlock-trywrlock-stall.
3852 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3853 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3854 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3855 Set __wrphase_fute to 1 only if we started the write phase.
3856 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3857 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3858 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3859 * support/xpthread_rwlock_destroy.c: New file.
3860 * support/xthread.h: Declare xpthread_rwlock_destroy.
3862 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3864 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3867 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3870 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3871 * libio/fileops.c (_IO_new_file_underflow): Likewise
3872 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3873 * libio/putchar.c (putchar): Likewise.
3874 * libio/putchar_u.c (putchar_unlocked): Likewise.
3875 * libio/putwchar.c (putchar): Likewise.
3876 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3877 * libio/tst-bz24051.c: New test.
3878 * libio/Makefile (tests): Add tst-bz24051
3880 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3883 regex: fix read overrun [BZ #24114]
3884 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3885 https://debbugs.gnu.org/34140
3886 * posix/regexec.c (proceed_next_node):
3887 Do not read past end of input buffer.
3889 2019-01-31 Florian Weimer <fweimer@redhat.com>
3892 * nss/nss_files/files-alias.c (get_next_alias): Handle
3893 continuation line without newline at the end.
3894 * nss/tst-nss-files-alias-truncated.c: New file.
3895 * nss/Makefile [$(build-shared)] (tests): Add
3896 tst-nss-files-alias-truncated.
3897 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3898 * support/namespace.h (struct support_chroot_configuration): Add
3900 (struct support_chroot): Add path_aliases member.
3901 * support/support_chroot.c (support_chroot_create): Handle
3903 (support_chroot_free): Free path_aliases.
3905 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3907 * version.h (RELEASE): Set to "development".
3908 (VERSION): Set to "2.29.9000".
3909 * NEWS: Add section for 2.30.
3911 * version.h (RELEASE): Set to "stable".
3912 (VERSION): Set to "2.29".
3913 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3915 * NEWS: Add the list of bugs fixed in 2.29.
3916 * manual/contrib.texi: Update contributors list with some more
3918 * manual/install.texi: Update latest versions of packages
3920 * INSTALL: Regenerated.
3922 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3924 * po/be.po: Update translations.
3925 * po/bg.po: Likewise.
3926 * po/ca.po: Likewise.
3927 * po/cs.po: Likewise.
3928 * po/da.po: Likewise.
3929 * po/de.po: Likewise.
3930 * po/el.po: Likewise.
3931 * po/eo.po: Likewise.
3932 * po/es.po: Likewise.
3933 * po/fi.po: Likewise.
3934 * po/fr.po: Likewise.
3935 * po/gl.po: Likewise.
3936 * po/hr.po: Likewise.
3937 * po/hu.po: Likewise.
3938 * po/ia.po: Likewise.
3939 * po/id.po: Likewise.
3940 * po/it.po: Likewise.
3941 * po/ja.po: Likewise.
3942 * po/ko.po: Likewise.
3943 * po/lt.po: Likewise.
3944 * po/nb.po: Likewise.
3945 * po/nl.po: Likewise.
3946 * po/pl.po: Likewise.
3947 * po/pt_BR.po: Likewise.
3948 * po/ru.po: Likewise.
3949 * po/rw.po: Likewise.
3950 * po/sk.po: Likewise.
3951 * po/sl.po: Likewise.
3952 * po/sv.po: Likewise.
3953 * po/tr.po: Likewise.
3954 * po/uk.po: Likewise.
3955 * po/vi.po: Likewise.
3956 * po/zh_CN.po: Likewise.
3957 * po/zh_TW.po: Likewise.
3959 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3962 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3963 of $f3 register on $y_is_neg path.
3965 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3968 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3969 sigaltstack.ss_flags.
3971 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3974 * manual/time.texi (strftime): Document "%Ey".
3975 * time/strftime_l.c (__strftime_internal): Set the default width
3976 padding with zero of "%Ey" to 2.
3979 * manual/time.texi (strftime): Document "%EC" and "%EY".
3980 * time/Makefile (tests): Add tst-strftime2.
3981 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3982 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3983 override padding for "%Ey".
3984 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3985 "%Ey" in the subformat as if decorated with that flag.
3986 * time/tst-strftime2.c: New file.
3988 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3990 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3994 * elf/Makefile (tests): Add tst-audit13.
3995 (modules-names): Add tst-audit13mod1.
3996 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3998 * elf/rtld.c (dl_main): Handle invalid audit module version.
3999 * elf/tst-audit13.c: New file.
4000 * elf/tst-audit13mod1.c: Likewise.
4002 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4004 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
4005 returned by __hurd_at_flags.
4006 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
4007 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
4008 directly instead of __hurd_file_name_lookup.
4010 2019-01-21 Joseph Myers <joseph@codesourcery.com>
4012 * scripts/build-many-glibcs.py (Context.checkout): Default
4013 binutils version to 2.32 branch.
4015 2019-01-21 Florian Weimer <fweimer@redhat.com>
4019 resolv: Reject trailing characters in host names
4020 * include/arpa/inet.h (__inet_aton_exact): Declare.
4021 (inet_aton): Remove hidden prototype. No longer used internally.
4022 * nscd/gai.c (__inet_aton): Do not define.
4023 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
4024 * nss/digits_dots.c (__inet_aton): Likewise.
4025 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
4026 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
4027 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
4028 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
4029 (tst-resolv-trailing): Likewise.
4030 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
4032 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
4033 Make static. Add endp parameter.
4034 (__inet_aton_exact): New function.
4035 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
4036 (__inet_addr): Call inet_aton_end.
4037 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
4038 not just IPv6. Call __inet_aton_exact.
4039 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
4040 (tests): Make const. Add additional test cases with trailing
4042 (do_test): Use array_length.
4043 * resolv/tst-inet_aton_exact.c: New file.
4044 * resolv/tst-resolv-trailing.c: Likewise.
4045 * resolv/tst-resolv-nondecimal.c: Likewise.
4046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
4048 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4052 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
4053 Clear the upper 32 bits of RSI register.
4054 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
4055 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
4056 and tst-size_t-wcsnlen.
4057 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
4058 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
4060 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4064 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
4065 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4066 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4067 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
4068 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
4070 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4074 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
4075 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4076 * sysdeps/x86_64/strcmp.S: Likewise.
4077 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
4078 tst-size_t-strncmp and tst-size_t-wcsncmp.
4079 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
4080 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
4081 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
4083 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4087 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
4088 RDX_LP for length. Clear the upper 32 bits of RDX register.
4089 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
4090 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
4091 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
4092 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
4094 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4098 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
4099 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
4100 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
4101 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
4103 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4107 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
4108 length. Clear the upper 32 bits of RDX register.
4109 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4110 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4112 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4114 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
4116 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
4118 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4122 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
4123 length. Clear the upper 32 bits of RDX register.
4124 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4125 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4126 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
4128 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
4129 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
4131 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4135 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
4136 upper 32 bits of RDX register.
4137 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
4138 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
4140 * sysdeps/x86_64/x32/test-size_t.h: New file.
4141 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
4142 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
4144 2019-01-18 Florian Weimer <fweimer@redhat.com>
4147 resolv: Do not send queries for non-host-names in nss_dns.
4148 * resolv/nss_dns/dns-host.c (check_name): New function.
4149 (_nss_dns_gethostbyname2_r): Use it.
4150 (_nss_dns_gethostbyname_r): Likewise.
4151 (_nss_dns_gethostbyname4_r): Likewise.
4153 2019-01-21 Florian Weimer <fweimer@redhat.com>
4155 * resolv/inet_addr.c: Reformat to GNU style.
4156 (__inet_addr, __inet_aton): Update comment.
4158 2019-01-18 Florian Weimer <fweimer@redhat.com>
4160 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
4161 ("malloc: Use current (C11-style) atomics for fastbin access").
4162 This commit introduces a substantial performance regression on
4164 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
4165 (REMOVE_FB): Define.
4166 (_int_malloc): Use it and reindent.
4167 (_int_free): Use CAS loop with
4168 catomic_compare_and_exchange_val_rel.
4169 (malloc_consolidate): Use atomic_exchange_acq.
4172 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
4174 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
4176 (LDFLAGS-tst-minsigstksz-2): Likewise.
4177 (LDFLAGS-tst-minsigstksz-3): Likewise.
4178 (LDFLAGS-tst-minsigstksz-3a): Likewise.
4179 (LDFLAGS-tst-minsigstksz-4): Likewise.
4181 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
4183 * manual/time.texi (strftime): Fix the wording to "alternative" rather
4186 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
4188 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
4190 2019-01-16 Zack Weinberg <zackw@panix.com>
4192 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
4193 (xget_sigstack_location): New test support functions.
4194 * support/xsigstack.c: New file, implementing them.
4195 * support/tst-xsigstack.c: New test for them.
4196 * support/Makefile: Update.
4198 * signal/tst-minsigstksz-1.c
4199 * signal/tst-minsigstksz-2.c
4200 * signal/tst-minsigstksz-3.c
4201 * signal/tst-minsigstksz-3a.c
4202 * signal/tst-minsigstksz-4.c: New tests.
4203 * signal/Makefile: Run them.
4205 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4207 * po/libc.pot: Regenerate.
4209 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4211 * math/libm-test-fma.inc (fma_test_data): Set
4212 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
4214 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4216 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
4217 (do_test): Changed __vector __int128_t to __vector unsigned int.
4219 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4222 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
4223 stpcpy-avx2 and stpncpy-avx2.
4224 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
4225 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
4226 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
4228 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
4229 ifunc-strcpy.h}: rename header for a more generic name.
4230 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
4231 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
4232 AVX unaligned load is fast and vzeroupper is preferred.
4233 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
4234 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
4235 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
4236 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
4237 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
4238 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
4240 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
4242 * argp/argp-help.c: Fix typo in comment.
4243 * misc/sys/cdefs.h: Likewise.
4244 * posix/regexec.c (sift_states_iter_mb): Likewise.
4245 * socket/sockatmark.c: Likewise.
4246 * socket/sys/socket.h: Likewise.
4247 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4248 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4249 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4250 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4251 * sysdeps/unix/sockatmark.c: Likewise.
4252 * time/strptime_l.c: Likewise.
4254 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4256 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
4257 missing space after the cast of "_NL_CURRENT".
4259 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4261 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
4262 ifdef to fix read of VSCR.
4263 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4264 tst-ucontext-ppc64-vscr.c to test list.
4265 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4267 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4269 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4272 2019-01-09 Jim Wilson <jimw@sifive.com>
4274 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4276 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4278 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4279 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4280 __memcpy_falkor for ares.
4281 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4283 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4286 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4289 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4290 4_FP_W_TYPEs are used for IEEE quad precision.
4291 * soft-fp/extendhftf2.c: Likewise.
4292 * soft-fp/extendsftf2.c: Likewise.
4293 * soft-fp/extendxftf2.c: Likewise.
4294 * soft-fp/trunctfdf2.c: Likewise.
4295 * soft-fp/trunctfhf2.c: Likewise.
4296 * soft-fp/trunctfsf2.c: Likewise.
4297 * soft-fp/trunctfxf2.c: Likewise.
4298 * sysdeps/alpha/ots_cvttx.c: Likewise.
4299 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4300 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4301 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4302 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4303 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4304 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4305 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4306 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4307 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4308 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4309 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4310 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4311 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4312 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4313 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4314 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4315 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4317 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4320 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4321 code with -fmath-errno.
4322 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4323 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4324 * string/test-strerror-errno.c: New file.
4326 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4329 * localedata/locales/en_US (date_fmt): Add, set to
4330 "%a %d %b %Y %r %Z".
4332 2019-01-07 Florian Weimer <fweimer@redhat.com>
4335 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4336 instead of @var{errno}.
4337 (Parsing of Integers): Likewise.
4338 (Parsing of Floats): Likewise.
4339 * manual/filesys.texi (Working with Directory Trees): Likewise.
4340 (Temporary Files): Likewise.
4341 * manual/job.texi (Terminal Access Functions): Likewise.
4342 * manual/llio.texi (Synchronizing I/O): Likewise.
4343 * manual/math.texi (SVID Random): Likewise.
4344 * manual/message.texi (The catgets Functions): Likewise.
4345 (Translation with gettext): Likewise.
4346 (Locating gettext catalog): Likewise.
4347 (Charset conversion in gettext): Likewise.
4348 * manual/nss.texi (NSS Module Function Internals): Likewise.
4349 * manual/search.texi (Hash Search Function): Likewise.
4350 * manual/setjmp.texi (System V contexts): Likewise.
4351 * manual/time.texi (Sleeping): Likewise.
4352 * manual/users.texi (Lookup User): Likewise.
4353 (Lookup Group): Likewise.
4355 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4357 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4360 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
4363 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4364 __builtin_unreachable for default case in switch.
4365 (__ieee754_yn): Likewise.
4366 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4367 (__ieee754_ynl): Likewise.
4368 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4369 (__ieee754_ynl): Likewise.
4370 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4371 (__ieee754_ynl): Likewise.
4373 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4375 * manual/maint.texi: Use @{ and @}.
4377 2019-01-04 Florian Weimer <fweimer@redhat.com>
4379 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4381 (do_in_chroot_1): Call it.
4383 Improve error reporting in case it is not possible to create a
4384 collision for the PTY name required by the test.
4386 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4388 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4389 lll_wait_tid with timeout.
4390 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4391 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4392 futex_reltimed_wait_cancelable for cancelabla mode.
4393 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4394 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4396 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4397 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4398 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4399 SYSCALL_CANCEL_NCS): New macro.
4400 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4401 (lll_timedwait_tid): Remove macro.
4402 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4404 (lll_timedwait_tid): Likewise.
4405 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4407 (lll_timedwait_tid): Likewise.
4408 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4410 (lll_timedwait_tid): Likewise.
4411 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4412 Use INTERNAL_SYSCALL_CANCEL.
4413 * sysdeps/unix/sysv/linux/futex-internal.h
4414 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4415 instead of __pthread_{enable,disable}_asynccancel.
4416 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4417 (lll_futex_wait_cancel): New macro.
4419 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4420 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4422 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4423 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4425 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4426 in backtrace analysis.
4427 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4429 (tf_send): Likewise.
4431 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4432 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4433 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4434 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4435 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4436 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4437 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4438 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4439 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4440 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4441 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4442 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4444 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4445 tst-cancel-wrappers.sh.
4446 (generated): Remove tst-cancel-wrappers.out.
4447 (tst-cancel-wrappers.out): Remove rule.
4448 * nptl/tst-cancel-wrappers.sh: Remove file.
4450 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4452 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4453 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4456 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4459 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4460 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4461 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4462 close-on-exec reset for adddup2 file action.
4463 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4465 2019-01-03 Zack Weinberg <zackw@panix.com>
4467 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4468 parameter. Only use deprecated scanf when __USE_GNU is defined
4469 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4470 than 201103L, whichever is relevant for the language being compiled.
4472 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4473 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4474 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4475 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4476 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4480 * libio/iovswscanf.c
4485 * stdio-common/fscanf.c
4486 * stdio-common/scanf.c
4487 * stdio-common/vfscanf.c
4488 * stdio-common/vfwscanf.c
4489 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4490 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4491 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4492 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4493 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4494 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4495 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4496 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4497 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4498 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4499 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4500 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4501 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4502 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4503 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4505 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4506 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4507 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4509 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4510 with a preprocessor macro.
4512 * stdio-common/bug21.c, stdio-common/scanf14.c:
4513 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4514 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4515 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4516 to xscanf, xfscanf, xsscanf.
4518 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4519 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4520 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4521 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4523 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4524 override feature selection macros or provide definitions of u_char etc.
4525 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4526 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4527 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4530 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4532 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4533 bits/termios-misc.h.
4534 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4535 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4536 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4537 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4538 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4539 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4541 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4542 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4543 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4544 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4545 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4546 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4548 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4549 (sysdep_headers): Add termios-misc.h.
4551 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4552 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4553 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4555 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4557 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4558 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4559 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4560 TCSAFLUSH): Move to termios-tcflow.h.
4561 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4562 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4563 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4564 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4568 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4569 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4570 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4571 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4572 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4573 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4574 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4575 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4577 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4578 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4579 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4580 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4584 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4585 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4586 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4587 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4588 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4590 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4591 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4592 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4593 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4598 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4599 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4600 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4601 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4602 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4603 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4604 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4605 __MAX_BAUD): Move to termios-baud.h.
4606 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4607 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4608 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4609 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4610 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4612 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4614 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4615 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4616 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4617 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4618 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4619 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4621 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4622 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4624 [USE_MISC] (XTABS): Likewise.
4625 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4626 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4627 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4628 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4630 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4632 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4633 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4634 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4635 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4636 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4637 IUTF8): Move to termios-c_iflag.h.
4638 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4639 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4640 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4641 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4643 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4645 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4646 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4647 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4648 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4649 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4650 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4651 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4652 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4653 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4654 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4655 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4656 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4658 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4659 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4660 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4661 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4664 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4666 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4668 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4670 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4672 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4674 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4675 _HAVE_C_OSPEED): Define.
4676 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4677 _HAVE_C_OSPEED): Likewise.
4678 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4679 _HAVE_C_OSPEED): Likewise.
4680 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4681 (cfsetospeed): Check for define value instead of existence.
4682 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4683 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4684 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4685 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4686 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4689 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4691 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4692 (TIOCSER_TEMT): Likewise.
4693 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4694 (TEOCSER_TEMT): Likewise.
4696 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
4699 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4701 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4703 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4705 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4707 * sysdeps/htl/pt-barrierattr-setpshared.c
4708 (pthread_barrierattr_setpshared): Add stub warning.
4709 * sysdeps/htl/pt-condattr-setpshared.c
4710 (pthread_condattr_setpshared): Likewise.
4711 * sysdeps/htl/pt-mutexattr-setpshared.c
4712 (pthread_mutexattr_setpshared): Likewise.
4713 * sysdeps/htl/pt-rwlockattr-setpshared.c
4714 (pthread_rwlockattr_setpshared): Likewise.
4715 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4716 (pthread_mutexattr_setpshared): Likewise.
4718 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4720 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4721 constants to match with Linux 4.20.
4723 * sysdeps/mips/mips32/libm-test-ulps: Update.
4724 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4726 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4729 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4730 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4731 than __typeof (...) for the a_ptr variable.
4733 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4735 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4736 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4737 * libio/Makefile (tests): Add tst-sprintf-ub and
4739 (CFLAGS-tst-sprintf-ub.c): New variable.
4740 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4741 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4742 destination buffer and check for overflows in fortified mode.
4743 * libio/libioP.h (PRINTF_CHK): New macro.
4744 * libio/tst-sprintf-chk-ub.c: New file.
4745 * libio/tst-sprintf-ub.c: Likewise.
4747 2019-01-02 Florian Weimer <fweimer@redhat.com>
4750 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4753 2019-01-02 Florian Weimer <fweimer@redhat.com>
4755 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4757 2019-01-01 Joseph Myers <joseph@codesourcery.com>
4759 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4762 * sysdeps/unix/sysv/linux/netpacket/packet.h
4763 (PACKET_IGNORE_OUTGOING): New macro.
4765 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4768 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4770 (riscv_flush_icache): New syscall.
4772 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4773 trailing whitespace removed.
4774 * scripts/config.guess: Update to version 2019-01-01.
4775 * scripts/config.sub: Update to version 2019-01-01.
4776 * scripts/move-if-change: Update from gnulib.
4778 * NEWS: Update copyright dates.
4779 * catgets/gencat.c (print_version): Likewise.
4780 * csu/version.c (banner): Likewise.
4781 * debug/catchsegv.sh: Likewise.
4782 * debug/pcprofiledump.c (print_version): Likewise.
4783 * debug/xtrace.sh (do_version): Likewise.
4784 * elf/ldconfig.c (print_version): Likewise.
4785 * elf/ldd.bash.in: Likewise.
4786 * elf/pldd.c (print_version): Likewise.
4787 * elf/sotruss.sh: Likewise.
4788 * elf/sprof.c (print_version): Likewise.
4789 * iconv/iconv_prog.c (print_version): Likewise.
4790 * iconv/iconvconfig.c (print_version): Likewise.
4791 * locale/programs/locale.c (print_version): Likewise.
4792 * locale/programs/localedef.c (print_version): Likewise.
4793 * login/programs/pt_chown.c (print_version): Likewise.
4794 * malloc/memusage.sh (do_version): Likewise.
4795 * malloc/memusagestat.c (print_version): Likewise.
4796 * malloc/mtrace.pl: Likewise.
4797 * manual/libc.texinfo: Likewise.
4798 * nptl/version.c (banner): Likewise.
4799 * nscd/nscd.c (print_version): Likewise.
4800 * nss/getent.c (print_version): Likewise.
4801 * nss/makedb.c (print_version): Likewise.
4802 * posix/getconf.c (main): Likewise.
4803 * scripts/test-installation.pl: Likewise.
4804 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4806 * All files with FSF copyright notices: Update copyright dates
4807 using scripts/update-copyrights.
4808 * locale/programs/charmap-kw.h: Regenerated.
4809 * locale/programs/locfile-kw.h: Likewise.
4811 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4813 * timezone/zdump.c: Update from tzcode 2018i.
4814 * timezone/zic.c: Likewise.
4816 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4818 regex: improve Gnulib port to AIX
4819 From the glibc point of view, this removes duplicate macro
4820 definitions and is obviously safe.
4821 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4822 * posix/regex_internal.h:
4823 (__attribute__, __attribute_warn_unused_result__):
4824 Remove; already defined elsewhere.
4826 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
4829 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4830 copying operation. (ncopies had the wrong type, resulting in an
4831 integer wraparound and too few elements being copied.)
4833 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4836 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4837 <asm/syscalls.h> exists with __has_include__ before including it.
4839 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4841 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4844 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
4846 * hurd/lookup-retry: Include <unistd.h>.
4847 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4848 Release it on return. Handle "pid" magical lookup retry.
4850 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4853 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4854 (t_fmt_ampm): Likewise.
4855 * localedata/locales/aa_ER (t_fmt): Likewise.
4856 (t_fmt_ampm): Likewise.
4857 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4858 (t_fmt_ampm): Likewise.
4859 * localedata/locales/aa_ET (t_fmt): Likewise.
4860 (t_fmt_ampm): Likewise.
4861 * localedata/locales/am_ET (t_fmt): Likewise.
4862 (t_fmt_ampm): Likewise.
4863 * localedata/locales/byn_ER (t_fmt): Likewise.
4864 (t_fmt_ampm): Likewise.
4865 * localedata/locales/om_ET (t_fmt): Likewise.
4866 (t_fmt_ampm): Likewise.
4867 * localedata/locales/sid_ET (t_fmt): Likewise.
4868 (t_fmt_ampm): Likewise.
4869 * localedata/locales/so_DJ (t_fmt): Likewise.
4870 (t_fmt_ampm): Likewise.
4871 * localedata/locales/so_ET (t_fmt): Likewise.
4872 (t_fmt_ampm): Likewise.
4873 * localedata/locales/so_SO (t_fmt): Likewise.
4874 (t_fmt_ampm): Likewise.
4875 * localedata/locales/ti_ER (t_fmt): Likewise.
4876 (t_fmt_ampm): Likewise.
4877 * localedata/locales/ti_ET (t_fmt): Likewise.
4878 (t_fmt_ampm): Likewise.
4879 * localedata/locales/tig_ER (t_fmt): Likewise.
4880 (t_fmt_ampm): Likewise.
4881 * localedata/locales/wal_ET (t_fmt): Likewise.
4882 (t_fmt_ampm): Likewise.
4884 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4885 * localedata/locales/ar_IN (t_fmt): Likewise.
4886 * localedata/locales/bhb_IN (t_fmt): Likewise.
4887 * localedata/locales/bho_IN (t_fmt): Likewise.
4888 * localedata/locales/bi_VU (t_fmt): Likewise.
4889 * localedata/locales/bn_BD (t_fmt): Likewise.
4890 * localedata/locales/bn_IN (t_fmt): Likewise.
4891 * localedata/locales/brx_IN (t_fmt): Likewise.
4892 * localedata/locales/doi_IN (t_fmt): Likewise.
4893 * localedata/locales/en_HK (t_fmt): Likewise.
4894 (t_fmt_ampm): Likewise.
4895 * localedata/locales/en_IN (t_fmt): Likewise.
4896 * localedata/locales/en_PH (t_fmt): Likewise.
4897 * localedata/locales/gu_IN (t_fmt): Likewise.
4898 * localedata/locales/hi_IN (t_fmt): Likewise.
4899 * localedata/locales/hif_FJ (t_fmt): Likewise.
4900 * localedata/locales/hne_IN (t_fmt): Likewise.
4901 * localedata/locales/kn_IN (t_fmt): Likewise.
4902 * localedata/locales/kok_IN (t_fmt): Likewise.
4903 * localedata/locales/ks_IN (t_fmt): Likewise.
4904 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4905 * localedata/locales/mag_IN (t_fmt): Likewise.
4906 * localedata/locales/mai_IN (t_fmt): Likewise.
4907 * localedata/locales/mjw_IN (t_fmt): Likewise.
4908 * localedata/locales/ml_IN (t_fmt): Likewise.
4909 * localedata/locales/mni_IN (t_fmt): Likewise.
4910 * localedata/locales/mr_IN (t_fmt): Likewise.
4911 * localedata/locales/ms_MY (t_fmt): Likewise.
4912 * localedata/locales/pa_IN (t_fmt): Likewise.
4913 * localedata/locales/raj_IN (t_fmt): Likewise.
4914 * localedata/locales/sa_IN (t_fmt): Likewise.
4915 * localedata/locales/sat_IN (t_fmt): Likewise.
4916 * localedata/locales/sd_IN (t_fmt): Likewise.
4917 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4918 * localedata/locales/tcy_IN (t_fmt): Likewise.
4919 * localedata/locales/the_NP (t_fmt): Likewise.
4920 * localedata/locales/to_TO (t_fmt): Likewise.
4921 * localedata/locales/ur_IN (t_fmt): Likewise.
4923 * localedata/locales/hif_FJ (d_t_fmt): Set to
4924 "%A %d %b %Y %I:%M:%S %p".
4925 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4927 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4928 * localedata/locales/ar_BH (t_fmt): Likewise.
4929 * localedata/locales/ar_DZ (t_fmt): Likewise.
4930 * localedata/locales/ar_EG (t_fmt): Likewise.
4931 * localedata/locales/ar_IQ (t_fmt): Likewise.
4932 * localedata/locales/ar_JO (t_fmt): Likewise.
4933 * localedata/locales/ar_KW (t_fmt): Likewise.
4934 * localedata/locales/ar_LB (t_fmt): Likewise.
4935 * localedata/locales/ar_LY (t_fmt): Likewise.
4936 * localedata/locales/ar_OM (t_fmt): Likewise.
4937 * localedata/locales/ar_QA (t_fmt): Likewise.
4938 * localedata/locales/ar_SD (t_fmt): Likewise.
4939 * localedata/locales/ar_SS (t_fmt): Likewise.
4940 * localedata/locales/ar_SY (t_fmt): Likewise.
4941 * localedata/locales/ar_TN (t_fmt): Likewise.
4942 * localedata/locales/ar_YE (t_fmt): Likewise.
4944 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4945 (t_fmt_ampm): Likewise.
4946 * localedata/locales/gez_ET (t_fmt): Likewise.
4947 (t_fmt_ampm): Likewise.
4949 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4950 (t_fmt_ampm): Likewise.
4951 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4953 * localedata/locales/zh_HK (t_fmt):
4954 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4956 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4957 because this locale does not use the 12-hour clock.
4958 (t_fmt): Set to "%Z %H:%M:%S".
4959 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4961 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4962 because this locale does not use the 12-hour clock.
4963 (t_fmt): Set to "%H:%M:%S %Z".
4964 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4966 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4967 because this locale does not use the 12-hour clock.
4968 (t_fmt): Set to "%T".
4969 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4970 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4972 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4973 because this locale does not use the 12-hour clock.
4974 (t_fmt): Set to "%H:%M:%S %Z".
4975 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4977 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4978 because this locale does not use the 12-hour clock.
4979 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4980 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4982 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4986 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4987 (t_fmt_ampm): Likewise.
4988 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4989 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4990 (d_fmt): Set to "%-d.%-m.%y".
4992 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4994 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4995 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4996 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4998 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4999 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
5000 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
5002 * support/blob_repeat.c (check_mul_overflow_size_t,
5003 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
5005 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
5007 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
5009 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
5011 regex: simplify Gnulib port
5012 This simplifies the code, by removing stuff intended for porting
5013 to Gnulib but no longer needed there.
5014 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
5015 uses of libc_hidden_def, weak_alias.
5016 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
5017 _Restrict_ except for public-facing headers.
5018 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
5019 Remove; already defined elsewhere.
5020 * posix/regex.c, posix/regex_internal.h:
5021 Use __GNUC_PREREQ instead of rolling our own.
5022 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
5024 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
5026 * benchtests/bench-strlen.c (generic_strlen): New function.
5027 (memchr_strlen): New function.
5029 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5031 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
5032 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
5033 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
5035 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5037 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5039 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5041 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
5042 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
5043 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
5044 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
5045 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
5046 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
5047 <sysdeps/ieee754/flt-32/s_sincosf.c>.
5049 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5052 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
5053 PLT reference in libc.so.
5054 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
5055 _Q_lltoq and _Q_qtod PLT references in libc.so.
5057 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
5059 * benchtests/bench-memchr.c: Cleanup defines.
5060 * benchtests/bench-memcmp.c: Likewise.
5061 * benchtests/bench-memset.c: Likewise.
5062 * benchtests/bench-memset-large.c: Likewise.
5063 * benchtests/bench-memset-walk.c: Likewise.
5064 * benchtests/bench-stpcpy.c: Likewise.
5065 * benchtests/bench-stpncpy.c: Likewise.
5066 * benchtests/bench-strcat.c: Likewise.
5067 * benchtests/bench-strchr.c: Likewise.
5068 * benchtests/bench-strcmp.c: Likewise.
5069 * benchtests/bench-strcpy.c: Likewise.
5070 * benchtests/bench-strcspn.c: Likewise.
5071 * benchtests/bench-string.h: Likewise.
5072 * benchtests/bench-strlen.c: Likewise.
5073 * benchtests/bench-strncat.c: Likewise.
5074 * benchtests/bench-strncmp.c: Likewise.
5075 * benchtests/bench-strncpy.c: Likewise.
5076 * benchtests/bench-strnlen.c: Likewise.
5077 * benchtests/bench-strpbrk.c: Likewise.
5078 * benchtests/bench-strrchr.c: Likewise.
5079 * benchtests/bench-strspn.c: Likewise.
5081 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5083 * stdlib/longlong.h: Update from GCC.
5086 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
5087 * configure: Regenerated.
5088 * manual/install.texi (Tools for Compilation): Update minimum GCC
5090 * INSTALL: Regenerated.
5092 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
5094 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
5096 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
5098 * malloc/malloc.c (mremap_chunk): Additional checks.
5100 2018-12-21 Mao Han <han_mao@c-sky.com>
5102 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
5103 * scripts/build-many-glibcs.py: Add C-SKY targets.
5104 * sysdeps/csky/Implies: New file.
5105 * sysdeps/csky/Makefile: Likewise.
5106 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
5107 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
5108 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
5109 * sysdeps/csky/abiv2/memcmp.S: Likewise.
5110 * sysdeps/csky/abiv2/memcpy.S: Likewise.
5111 * sysdeps/csky/abiv2/memmove.S: Likewise.
5112 * sysdeps/csky/abiv2/memset.S: Likewise.
5113 * sysdeps/csky/abiv2/setjmp.S: Likewise.
5114 * sysdeps/csky/abiv2/start.S: Likewise.
5115 * sysdeps/csky/abiv2/strcmp.S: Likewise.
5116 * sysdeps/csky/abiv2/strcpy.S: Likewise.
5117 * sysdeps/csky/abiv2/strlen.S: Likewise.
5118 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
5119 * sysdeps/csky/abort-instr.h: Likewise.
5120 * sysdeps/csky/atomic-machine.h: Likewise.
5121 * sysdeps/csky/bits/endian.h: Likewise.
5122 * sysdeps/csky/bits/fenv.h: Likewise.
5123 * sysdeps/csky/bits/link.h: Likewise.
5124 * sysdeps/csky/bits/setjmp.h: Likewise.
5125 * sysdeps/csky/bsd-_setjmp.S: Likewise.
5126 * sysdeps/csky/bsd-setjmp.S: Likewise.
5127 * sysdeps/csky/configure: Likewise.
5128 * sysdeps/csky/configure.ac: Likewise.
5129 * sysdeps/csky/dl-machine.h: Likewise.
5130 * sysdeps/csky/dl-procinfo.c: Likewise.
5131 * sysdeps/csky/dl-procinfo.h: Likewise.
5132 * sysdeps/csky/dl-sysdep.h: Likewise.
5133 * sysdeps/csky/dl-tls.h: Likewise.
5134 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
5135 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
5136 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
5137 * sysdeps/csky/fpu/fegetenv.c: Likewise.
5138 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
5139 * sysdeps/csky/fpu/fegetmode.c: Likewise.
5140 * sysdeps/csky/fpu/fegetround.c: Likewise.
5141 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
5142 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
5143 * sysdeps/csky/fpu/fenv_private.h: Likewise.
5144 * sysdeps/csky/fpu/fesetenv.c: Likewise.
5145 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
5146 * sysdeps/csky/fpu/fesetmode.c: Likewise.
5147 * sysdeps/csky/fpu/fesetround.c: Likewise.
5148 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
5149 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
5150 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
5151 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
5152 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
5153 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
5154 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
5155 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
5156 * sysdeps/csky/fpu_control.h: Likewise.
5157 * sysdeps/csky/gccframe.h: Likewise.
5158 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
5159 * sysdeps/csky/ldsodefs.h: Likewise.
5160 * sysdeps/csky/libc-tls.c: Likewise.
5161 * sysdeps/csky/linkmap.h: Likewise.
5162 * sysdeps/csky/machine-gmon.h: Likewise.
5163 * sysdeps/csky/memusage.h: Likewise.
5164 * sysdeps/csky/nofpu/Implies: Likewise.
5165 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
5166 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
5167 * sysdeps/csky/nptl/Makefile: Likewise.
5168 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
5169 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
5170 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
5171 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
5172 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
5173 * sysdeps/csky/nptl/tls.h: Likewise.
5174 * sysdeps/csky/preconfigure: Likewise.
5175 * sysdeps/csky/sfp-machine.h: Likewise.
5176 * sysdeps/csky/sotruss-lib.c: Likewise.
5177 * sysdeps/csky/stackinfo.h: Likewise.
5178 * sysdeps/csky/sysdep.h: Likewise.
5179 * sysdeps/csky/tininess.h: Likewise.
5180 * sysdeps/csky/tst-audit.h: Likewise.
5181 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
5182 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
5183 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
5184 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
5185 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5186 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
5187 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5188 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
5189 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
5190 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
5191 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
5192 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
5193 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
5194 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
5195 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
5196 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
5197 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
5198 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
5199 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
5200 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
5201 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
5202 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
5203 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
5204 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
5205 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
5206 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
5207 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
5208 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
5209 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
5210 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
5211 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
5212 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
5213 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
5214 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
5215 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
5216 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
5217 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
5218 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
5219 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
5220 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
5221 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
5222 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
5223 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
5224 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
5226 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5228 * include/time.h (__difftime64): Add.
5229 * time/difftime.c (subtract): convert to 64-bit time.
5230 * time/difftime.c (__difftime64): Add.
5231 * time/difftime.c (__difftime): Wrap around __difftime64.
5233 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
5235 * manual/examples/add.c: Remove redundant "if not".
5236 * manual/examples/argp-ex1.c: Likewise.
5237 * manual/examples/argp-ex2.c: Likewise.
5238 * manual/examples/argp-ex3.c: Likewise.
5239 * manual/examples/argp-ex4.c: Likewise.
5240 * manual/examples/atexit.c: Likewise.
5241 * manual/examples/db.c: Likewise.
5242 * manual/examples/dir.c: Likewise.
5243 * manual/examples/dir2.c: Likewise.
5244 * manual/examples/execinfo.c: Likewise.
5245 * manual/examples/filecli.c: Likewise.
5246 * manual/examples/filesrv.c: Likewise.
5247 * manual/examples/fmtmsgexpl.c: Likewise.
5248 * manual/examples/genpass.c: Likewise.
5249 * manual/examples/inetcli.c: Likewise.
5250 * manual/examples/inetsrv.c: Likewise.
5251 * manual/examples/isockad.c: Likewise.
5252 * manual/examples/longopt.c: Likewise.
5253 * manual/examples/memopen.c: Likewise.
5254 * manual/examples/memstrm.c: Likewise.
5255 * manual/examples/mkdirent.c: Likewise.
5256 * manual/examples/mkfsock.c: Likewise.
5257 * manual/examples/mkisock.c: Likewise.
5258 * manual/examples/mygetpass.c: Likewise.
5259 * manual/examples/pipe.c: Likewise.
5260 * manual/examples/popen.c: Likewise.
5261 * manual/examples/rprintf.c: Likewise.
5262 * manual/examples/search.c: Likewise.
5263 * manual/examples/select.c: Likewise.
5264 * manual/examples/setjmp.c: Likewise.
5265 * manual/examples/sigh1.c: Likewise.
5266 * manual/examples/sigusr.c: Likewise.
5267 * manual/examples/stpcpy.c: Likewise.
5268 * manual/examples/strdupa.c: Likewise.
5269 * manual/examples/strftim.c: Likewise.
5270 * manual/examples/subopt.c: Likewise.
5271 * manual/examples/swapcontext.c: Likewise.
5272 * manual/examples/termios.c: Likewise.
5273 * manual/examples/testopt.c: Likewise.
5274 * manual/examples/testpass.c: Likewise.
5275 * manual/examples/timeval_subtract.c: Likewise.
5277 2018-12-19 Joseph Myers <joseph@codesourcery.com>
5279 * sysdeps/x86/fpu/math_private.h: New file.
5280 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5282 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5287 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5289 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5290 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5291 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5292 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5294 (_dl_show_auxv): Give a special treatment to
5295 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5296 and AT_L3_CACHEGEOMETRY.
5297 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5298 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5299 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5300 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5302 2018-12-19 Andreas Schwab <schwab@suse.de>
5304 * nscd/connections.c (check_use): Don't abort on invalid len.
5306 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5308 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5309 values in the 64bit value cases.
5311 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5317 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5323 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5326 (__gmtime64_r): Add.
5328 (__gmtime64_r): Add.
5329 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5335 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5338 (__localtime64_r): Add.
5340 (__localtime64_r): Add.
5341 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5343 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5345 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5346 kernel_sigction definition.
5348 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5350 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5352 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5353 __syscall_rt_sigaction.
5354 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5355 (kernel_sigaction): Use Linux generic defintion.
5357 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5358 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5359 (__syscall_rt_sigaction): Remove implementation.
5360 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5362 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5363 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5364 INTERNAL_SYSCALL): Remove definitions.
5365 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5366 action and signal set size.
5367 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5368 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5370 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5371 James Clarke <jrtc27@jrtc27.com>
5374 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5375 Define if SA_RESTORER is defined.
5376 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5377 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5379 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5380 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5382 (HAS_SA_RESTORER): Define.
5383 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5384 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5385 (HAS_SA_RESTORER): Define.
5386 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5387 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5388 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5389 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5390 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5392 2018-12-18 Joseph Myers <joseph@codesourcery.com>
5394 * sysdeps/unix/sysv/linux/kernel-features.h
5395 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5396 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5397 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5398 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5399 (__ASSUME_ST_INO_64_BIT): Likewise.
5400 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5401 <kernel-features.h>.
5402 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5403 Remove conditional code.
5404 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5405 <kernel-features.h>.
5406 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5407 Remove conditional code.
5408 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5409 <kernel-features.h>.
5410 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5411 Remove conditional code.
5412 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5413 <kernel-features.h>.
5414 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5415 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5417 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5419 * sysdeps/s390/multiarch/ifunc-resolve.h
5420 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5421 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5422 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5423 Delete macro definition.
5424 (s390_libc_ifunc_init): Rename to
5425 s390_libc_ifunc_expr_stfle_init.
5426 * sysdeps/s390/bzero: Use
5427 s390_libc_ifunc_expr_stfle_init instead of
5428 s390_libc_ifunc_init.
5429 * sysdeps/s390/memcmp.c: Likewise.
5430 * sysdeps/s390/memcpy.c: Likewise.
5431 * sysdeps/s390/mempcpy.c: Likewise.
5432 * sysdeps/s390/memset.c: Likewise.
5434 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5436 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5437 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5439 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5441 * sysdeps/s390/multiarch/Makefile
5442 (sysdep_routines): Remove wmemcmp variants.
5443 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5444 * sysdeps/s390/multiarch/ifunc-impl-list.c
5445 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5446 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5447 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5448 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5449 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5450 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5451 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5452 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5454 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5456 * sysdeps/s390/multiarch/Makefile
5457 (sysdep_routines): Remove wmemset variants.
5458 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5459 * sysdeps/s390/multiarch/ifunc-impl-list.c
5460 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5461 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5462 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5463 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5464 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5465 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5466 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5467 * sysdeps/s390/ifunc-wmemset.h: New file.
5469 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5471 * sysdeps/s390/multiarch/Makefile
5472 (sysdep_routines): Remove wmemchr variants.
5473 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5474 * sysdeps/s390/multiarch/ifunc-impl-list.c
5475 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5476 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5477 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5478 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5479 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5480 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5481 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5482 * sysdeps/s390/ifunc-wmemchr.h: New file.
5484 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5486 * sysdeps/s390/multiarch/Makefile
5487 (sysdep_routines): Remove wcscspn variants.
5488 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5489 * sysdeps/s390/multiarch/ifunc-impl-list.c
5490 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5491 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5492 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5493 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5494 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5495 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5496 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5497 * sysdeps/s390/ifunc-wcscspn.h: New file.
5499 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5501 * sysdeps/s390/multiarch/Makefile
5502 (sysdep_routines): Remove wcspbrk variants.
5503 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5504 * sysdeps/s390/multiarch/ifunc-impl-list.c
5505 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5506 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5507 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5508 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5509 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5510 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5511 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5512 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5514 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5516 * sysdeps/s390/multiarch/Makefile
5517 (sysdep_routines): Remove wcsspn variants.
5518 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5519 * sysdeps/s390/multiarch/ifunc-impl-list.c
5520 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5521 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5522 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5523 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5524 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5525 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5526 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5527 * sysdeps/s390/ifunc-wcsspn.h: New file.
5529 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5531 * sysdeps/s390/multiarch/Makefile
5532 (sysdep_routines): Remove wcsrchr variants.
5533 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5534 * sysdeps/s390/multiarch/ifunc-impl-list.c
5535 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5536 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5537 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5538 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5539 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5540 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5541 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5542 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5544 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5546 * sysdeps/s390/multiarch/Makefile
5547 (sysdep_routines): Remove wcschrnul variants.
5548 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5549 * sysdeps/s390/multiarch/ifunc-impl-list.c
5550 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5551 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5552 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5553 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5554 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5555 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5556 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5557 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5559 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5561 * sysdeps/s390/multiarch/Makefile
5562 (sysdep_routines): Remove wcschr variants.
5563 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5564 * sysdeps/s390/multiarch/ifunc-impl-list.c
5565 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5566 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5567 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5568 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5569 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5570 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5571 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5572 * sysdeps/s390/ifunc-wcschr.h: New file.
5574 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5576 * sysdeps/s390/multiarch/Makefile
5577 (sysdep_routines): Remove wcsncmp variants.
5578 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5579 * sysdeps/s390/multiarch/ifunc-impl-list.c
5580 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5581 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5582 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5583 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5584 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5585 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5586 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5587 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5589 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5591 * sysdeps/s390/multiarch/Makefile
5592 (sysdep_routines): Remove wcscmp variants.
5593 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5594 * sysdeps/s390/multiarch/ifunc-impl-list.c
5595 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5596 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5597 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5598 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5599 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5600 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5601 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5602 * sysdeps/s390/ifunc-wcscmp.h: New file.
5604 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5606 * sysdeps/s390/multiarch/Makefile
5607 (sysdep_routines): Remove wcsncat variants.
5608 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5609 * sysdeps/s390/multiarch/ifunc-impl-list.c
5610 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5611 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5612 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5613 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5614 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5615 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5616 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5617 * sysdeps/s390/ifunc-wcsncat.h: New file.
5619 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5621 * sysdeps/s390/multiarch/Makefile
5622 (sysdep_routines): Remove wcscat variants.
5623 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5624 * sysdeps/s390/multiarch/ifunc-impl-list.c
5625 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5626 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5627 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5628 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5629 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5630 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5631 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5632 * sysdeps/s390/ifunc-wcscat.h: New file.
5634 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5636 * sysdeps/s390/multiarch/Makefile
5637 (sysdep_routines): Remove wcpncpy variants.
5638 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5639 * sysdeps/s390/multiarch/ifunc-impl-list.c
5640 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5641 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5642 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5643 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5644 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5645 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5646 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5647 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5649 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5651 * sysdeps/s390/multiarch/Makefile
5652 (sysdep_routines): Remove wcsncpy variants.
5653 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5654 * sysdeps/s390/multiarch/ifunc-impl-list.c
5655 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5656 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5657 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5658 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5659 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5660 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5661 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5662 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5664 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5666 * sysdeps/s390/multiarch/Makefile
5667 (sysdep_routines): Remove wcpcpy variants.
5668 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5669 * sysdeps/s390/multiarch/ifunc-impl-list.c
5670 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5671 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5672 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5673 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5674 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5675 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5676 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5677 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5679 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5681 * sysdeps/s390/multiarch/Makefile
5682 (sysdep_routines): Remove wcscpy variants.
5683 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5684 * sysdeps/s390/multiarch/ifunc-impl-list.c
5685 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5686 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5687 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5688 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5689 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5690 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5691 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5692 * sysdeps/s390/ifunc-wcscpy.h: New file.
5694 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5696 * sysdeps/s390/multiarch/Makefile
5697 (sysdep_routines): Remove wcsnlen variants.
5698 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5699 * sysdeps/s390/multiarch/ifunc-impl-list.c
5700 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5701 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5702 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5703 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5704 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5705 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5706 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5707 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5709 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5711 * sysdeps/s390/multiarch/Makefile
5712 (sysdep_routines): Remove wcslen variants.
5713 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5714 * sysdeps/s390/multiarch/ifunc-impl-list.c
5715 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5716 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5717 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5718 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5719 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5720 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5721 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5722 * sysdeps/s390/ifunc-wcslen.h: New file.
5724 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5726 * sysdeps/s390/multiarch/Makefile
5727 (sysdep_routines): Remove memrchr variants.
5728 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5729 * sysdeps/s390/multiarch/ifunc-impl-list.c
5730 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5731 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5732 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5733 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5734 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5735 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5736 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5737 * sysdeps/s390/ifunc-memrchr.h: New file.
5739 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5741 * sysdeps/s390/multiarch/Makefile
5742 (sysdep_routines): Remove memccpy variants.
5743 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5744 * sysdeps/s390/multiarch/ifunc-impl-list.c
5745 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5746 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5747 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5748 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5749 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5750 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5751 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5752 * sysdeps/s390/ifunc-memccpy.h: New file.
5754 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5756 * sysdeps/s390/multiarch/Makefile
5757 (sysdep_routines): Remove rawmemchr variants.
5758 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5759 * sysdeps/s390/multiarch/ifunc-impl-list.c
5760 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5761 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5762 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5763 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5764 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5765 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5766 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5767 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5769 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5771 * sysdeps/s390/multiarch/Makefile
5772 (sysdep_routines): Remove memchr variants.
5773 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5774 * sysdeps/s390/multiarch/ifunc-impl-list.c
5775 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5776 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5777 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5778 * sysdeps/s390/multiarch/memchr.c: Move to ...
5779 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5780 * sysdeps/s390/ifunc-memchr.h: New file.
5781 * sysdeps/s390/s390-64/memchr.S: Move to ...
5782 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5783 for 31/64bit and ifunc handling.
5784 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5785 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5786 * sysdeps/s390/s390-32/memchr.S: Likewise.
5788 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5790 * sysdeps/s390/multiarch/Makefile
5791 (sysdep_routines): Remove strcspn variants.
5792 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5793 * sysdeps/s390/multiarch/ifunc-impl-list.c
5794 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5795 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5796 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5797 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5798 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5799 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5800 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5801 * sysdeps/s390/ifunc-strcspn.h: New file.
5803 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5805 * sysdeps/s390/multiarch/Makefile
5806 (sysdep_routines): Remove strpbrk variants.
5807 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5808 * sysdeps/s390/multiarch/ifunc-impl-list.c
5809 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5810 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5811 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5812 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5813 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5814 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5815 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5816 * sysdeps/s390/ifunc-strpbrk.h: New file.
5818 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5820 * sysdeps/s390/multiarch/Makefile
5821 (sysdep_routines): Remove strspn variants.
5822 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5823 * sysdeps/s390/multiarch/ifunc-impl-list.c
5824 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5825 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5826 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5827 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5828 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5829 * sysdeps/s390/multiarch/strspn.c: Move to ...
5830 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5831 * sysdeps/s390/ifunc-strspn.h: New file.
5833 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5835 * sysdeps/s390/multiarch/Makefile
5836 (sysdep_routines): Remove strrchr variants.
5837 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5838 * sysdeps/s390/multiarch/ifunc-impl-list.c
5839 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5840 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5841 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5842 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5843 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5844 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5845 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5846 * sysdeps/s390/ifunc-strrchr.h: New file.
5848 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5850 * sysdeps/s390/multiarch/Makefile
5851 (sysdep_routines): Remove strchrnul variants.
5852 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5853 * sysdeps/s390/multiarch/ifunc-impl-list.c
5854 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5855 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5856 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5857 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5858 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5859 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5860 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5861 * sysdeps/s390/ifunc-strchrnul.h: New file.
5863 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5865 * sysdeps/s390/multiarch/Makefile
5866 (sysdep_routines): Remove strchr variants.
5867 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5868 * sysdeps/s390/multiarch/ifunc-impl-list.c
5869 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5870 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5871 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5872 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5873 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5874 * sysdeps/s390/multiarch/strchr.c: Move to ...
5875 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5876 * sysdeps/s390/ifunc-strchr.h: New file.
5878 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5880 * sysdeps/s390/multiarch/Makefile
5881 (sysdep_routines): Remove strncmp variants.
5882 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5883 * sysdeps/s390/multiarch/ifunc-impl-list.c
5884 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5885 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5886 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5887 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5888 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5889 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5890 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5891 * sysdeps/s390/ifunc-strncmp.h: New file.
5893 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5895 * sysdeps/s390/multiarch/Makefile
5896 (sysdep_routines): Remove strcmp variants.
5897 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5898 * sysdeps/s390/multiarch/ifunc-impl-list.c
5899 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5900 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5901 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5902 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5903 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5904 * sysdeps/s390/ifunc-strcmp.h: New file.
5905 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5906 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5907 for 31/64bit and ifunc handling.
5908 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5909 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5910 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5912 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5914 * sysdeps/s390/multiarch/Makefile
5915 (sysdep_routines): Remove strncat variants.
5916 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5917 * sysdeps/s390/multiarch/ifunc-impl-list.c
5918 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5919 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5920 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5921 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5922 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5923 * sysdeps/s390/multiarch/strncat.c: Move to ...
5924 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5925 * sysdeps/s390/ifunc-strncat.h: New file.
5927 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5929 * sysdeps/s390/multiarch/Makefile
5930 (sysdep_routines): Remove strcat variants.
5931 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5932 * sysdeps/s390/multiarch/ifunc-impl-list.c
5933 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5934 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5935 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5936 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5937 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5938 * sysdeps/s390/multiarch/strcat.c: Move to ...
5939 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5940 * sysdeps/s390/ifunc-strcat.h: New file.
5942 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5944 * sysdeps/s390/multiarch/Makefile
5945 (sysdep_routines): Remove stpncpy variants.
5946 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5947 * sysdeps/s390/multiarch/ifunc-impl-list.c
5948 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5949 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5950 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5951 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5952 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5953 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5954 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5955 * sysdeps/s390/ifunc-stpncpy.h: New file.
5957 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5959 * sysdeps/s390/multiarch/Makefile
5960 (sysdep_routines): Remove strncpy variants.
5961 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5962 * sysdeps/s390/multiarch/ifunc-impl-list.c
5963 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5964 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5965 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5966 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5967 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5968 * sysdeps/s390/ifunc-strncpy.h: New file.
5969 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5970 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5971 and adjust ifunc handling.
5972 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5973 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5974 and adjust ifunc handling.
5975 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5976 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5978 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5980 * sysdeps/s390/multiarch/Makefile
5981 (sysdep_routines): Remove stpcpy variants.
5982 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5983 * sysdeps/s390/multiarch/ifunc-impl-list.c
5984 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5985 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5986 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5987 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5988 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5989 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5990 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5991 * sysdeps/s390/ifunc-stpcpy.h: New file.
5993 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5995 * sysdeps/s390/multiarch/Makefile
5996 (sysdep_routines): Remove strcpy variants.
5997 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5998 * sysdeps/s390/multiarch/ifunc-impl-list.c
5999 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
6000 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
6001 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
6002 * sysdeps/s390/multiarch/strcpy.c: Move to ...
6003 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
6004 * sysdeps/s390/ifunc-strcpy.h: New file.
6005 * sysdeps/s390/s390-64/strcpy.S: Move to ...
6006 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
6007 for 31/64bit and ifunc handling.
6008 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
6009 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6010 * sysdeps/s390/s390-32/strcpy.S: Likewise.
6012 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6014 * sysdeps/s390/multiarch/Makefile
6015 (sysdep_routines): Remove strnlen variants.
6016 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
6017 * sysdeps/s390/multiarch/ifunc-impl-list.c
6018 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
6019 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
6020 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
6021 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
6022 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
6023 * sysdeps/s390/multiarch/strnlen.c: Move to ...
6024 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
6025 * sysdeps/s390/ifunc-strnlen.h: New file.
6027 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6029 * sysdeps/s390/multiarch/Makefile
6030 (sysdep_routines): Remove strlen variants.
6031 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
6032 * sysdeps/s390/multiarch/ifunc-impl-list.c
6033 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
6034 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
6035 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
6036 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
6037 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
6038 * sysdeps/s390/multiarch/strlen.c: Move to ...
6039 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
6040 * sysdeps/s390/ifunc-strlen.h: New file.
6042 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6044 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
6045 * sysdeps/s390/multiarch/ifunc-impl-list.c
6046 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
6047 * sysdeps/s390/ifunc-memmem.h: New file.
6048 * sysdeps/s390/memmem.c: Likewise.
6049 * sysdeps/s390/memmem-c.c: Likewise.
6050 * sysdeps/s390/memmem-vx.c: Likewise.
6052 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6054 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
6055 * sysdeps/s390/multiarch/ifunc-impl-list.c
6056 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
6057 * sysdeps/s390/ifunc-strstr.h: New file.
6058 * sysdeps/s390/strstr.c: Likewise.
6059 * sysdeps/s390/strstr-c.c: Likewise.
6060 * sysdeps/s390/strstr-vx.c: Likewise.
6062 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6064 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
6065 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
6066 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
6067 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
6069 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
6070 * sysdeps/s390/memmove-c.c: New file.
6071 * sysdeps/s390/memmove.c: Likewise.
6072 * sysdeps/s390/multiarch/ifunc-impl-list.c
6073 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
6075 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6077 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
6078 * sysdeps/s390/configure.ac: Add check for z13 support.
6079 * sysdeps/s390/configure: Regenerated.
6081 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6083 * sysdeps/s390/memcopy.h: New file.
6085 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6087 * sysdeps/s390/s390-32/bcopy.S: Remove.
6088 * sysdeps/s390/s390-64/bcopy.S: Likewise.
6090 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6092 * sysdeps/s390/ifunc-memcpy.h: New File.
6093 * sysdeps/s390/memcpy.S: Move to ...
6094 * sysdeps/s390/memcpy-z900.S ... here.
6095 Move implementations from memcpy-s390x.s to here.
6096 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
6097 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6098 Remove memcpy/mempcpy variants.
6099 * sysdeps/s390/Makefile (sysdep_routines):
6100 Add memcpy/mempcpy variants.
6101 * sysdeps/s390/multiarch/ifunc-impl-list.c
6102 (__libc_ifunc_impl_list): Adjust ifunc variants for
6104 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
6106 * sysdeps/s390/memcpy.c: ... here.
6107 Adjust ifunc variants for memcpy.
6108 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
6109 * sysdeps/s390/mempcpy.c: ... here.
6110 Adjust ifunc variants for mempcpy.
6111 * sysdeps/s390/mempcpy.S: Delete file.
6113 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6115 * sysdeps/s390/s390-64/memcpy.S: Move to ...
6116 * sysdeps/s390/memcpy.S: ... here.
6117 Adjust to be usable for 31/64bit.
6118 * sysdeps/s390/s390-32/memcpy.S: Delete File.
6119 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
6120 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
6121 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6122 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
6123 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
6124 Adjust to be usable for 31/64bit.
6125 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
6126 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
6127 * sysdeps/s390/multiarch/memcpy.c: ... here.
6128 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
6130 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6132 * sysdeps/s390/ifunc-memcmp.h: New File.
6133 * sysdeps/s390/memcmp.S: Move to ...
6134 * sysdeps/s390/memcmp-z900.S ... here.
6135 Move implementations from memcmp-s390x.s to here.
6136 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
6137 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6138 Remove memcmp variants.
6139 * sysdeps/s390/Makefile (sysdep_routines):
6140 Add memcmp variants.
6141 * sysdeps/s390/multiarch/ifunc-impl-list.c
6142 (__libc_ifunc_impl_list): Adjust ifunc variants for
6144 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
6146 * sysdeps/s390/memcmp.c: ... here.
6147 Adjust ifunc variants for memcmp.
6149 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6151 * sysdeps/s390/s390-64/memcmp.S: Move to ...
6152 * sysdeps/s390/memcmp.S: ... here.
6153 Adjust to be usable for 31/64bit.
6154 * sysdeps/s390/s390-32/memcmp.S: Delete File.
6155 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
6156 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6158 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6159 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
6160 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
6161 Adjust to be usable for 31/64bit.
6162 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
6163 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
6164 * sysdeps/s390/multiarch/memcmp.c: ... here.
6165 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
6167 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6169 * sysdeps/s390/s390-32/bzero.S: Delete file.
6170 * sysdeps/s390/s390-64/bzero.S: Likewise.
6171 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
6172 * sysdeps/s390/bzero.c: New file.
6173 * sysdeps/s390/memset-z900.S: Add bzero entry points.
6174 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
6175 * sysdeps/s390/multiarch/ifunc-impl-list.c
6176 (__libc_ifunc_impl_list): Add bzero ifunc variants.
6178 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6180 * sysdeps/s390/ifunc-memset.h: New File.
6181 * sysdeps/s390/memset.S: Move to ...
6182 * sysdeps/s390/memset-z900.S ... here.
6183 Move implementations from memset-s390x.s to here.
6184 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
6185 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6186 Remove memset variants.
6187 * sysdeps/s390/Makefile (sysdep_routines):
6188 Add memset variants.
6189 * sysdeps/s390/multiarch/ifunc-impl-list.c
6190 (__libc_ifunc_impl_list): Adjust ifunc variants for
6192 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
6194 * sysdeps/s390/memset.c: ... here.
6195 Adjust ifunc variants for memset.
6197 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6199 * sysdeps/s390/s390-64/memset.S: Move to ...
6200 * sysdeps/s390/memset.S: ... here.
6201 Adjust to be usable for 31/64bit.
6202 * sysdeps/s390/s390-32/memset.S: Delete File.
6203 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
6204 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6206 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6207 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
6208 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
6209 Adjust to be usable for 31/64bit.
6210 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
6211 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
6212 * sysdeps/s390/multiarch/memset.c: ... here.
6213 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
6215 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6217 * sysdeps/s390/multiarch/ifunc-resolve.h
6218 (s390_libc_ifunc_init, s390_libc_ifunc,
6219 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
6221 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6223 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
6224 * sysdeps/s390/configure.ac: Add check for z10 support.
6225 * sysdeps/s390/configure: Regenerated.
6227 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
6229 * sysdeps/i386/atomic-machine.h: Merged with ...
6230 * sysdeps/x86_64/atomic-machine.h: To ...
6231 * sysdeps/x86/atomic-machine.h: This. New file.
6233 2018-12-18 Florian Weimer <fweimer@redhat.com>
6235 Rewrite locale/gen-translit.pl in Python.
6236 * locale/Makefile (generated): Add C-translit.h.
6237 (before-compile): Add $(objpfx)C-translit.h.
6238 (C-translit.h): Move to $(objpfx). Create target directory.
6239 Build using Python script.
6240 * locale/gen-translit.py: New file.
6241 * locale/gen-translit.pl: Remove file.
6242 * locale/C-translit.h.in: Change comment character to '#' for
6243 easier parsing without a C preprocessor.
6244 * locale/C-translit.h: Remove generated file.
6245 * manual/install.texi (Tools for Compilation): Do not mention
6247 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6248 Remove locale/C-translit.h.
6249 * scripts/update-copyrights: Likewise.
6250 * INSTALL: Regenerate.
6252 2018-12-18 Florian Weimer <fweimer@redhat.com>
6255 * localedata/locales/bi_VU: Remove executable bit from file.
6257 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6260 (__localtime64): Add.
6261 * manual/maint.texi: Document Y2038 symbol handling.
6263 (__localtime64): Add.
6264 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6266 2018-12-17 Joseph Myers <joseph@codesourcery.com>
6268 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6271 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6272 to allow extra macros from first or second sources.
6273 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6274 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6275 (tests-special): Add $(objpfx)tst-mman-consts.out.
6276 ($(objpfx)tst-mman-consts.out): New makefile target.
6278 2018-12-17 Mao Han <han_mao@c-sky.com>
6280 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6281 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6282 without stat64 system call support.
6283 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6284 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6285 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6286 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6287 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6288 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6289 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6290 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6291 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6292 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6293 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6295 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6297 regex: fix storage-exhaustion error
6299 * posix/regexec.c (get_subexp):
6300 Do not continue if storage is exhausted.
6302 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
6304 regex: fix heap-use-after-free error
6306 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6307 https://debbugs.gnu.org/32592
6308 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6309 call extend_buffers which reallocates the re_string_t internal buffer.
6310 Local variable 'buf' was not updated in such case, resulting in
6312 * posix/regexec.c (get_subexp): Update 'buf' after call to
6315 2018-12-15 Florian Weimer <fweimer@redhat.com>
6317 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6318 (minimum_stride_size): Use it.
6319 (support_blob_repeat_allocate): Likewise.
6321 2018-12-14 Joseph Myers <joseph@codesourcery.com>
6323 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6328 2018-12-14 Florian Weimer <fweimer@redhat.com>
6330 * manual/process.texi (Process Creation Concepts): Remove
6331 documentation of process (ID) lifetime. List more process
6332 creation functions. Reference Process Identification section.
6333 (Process Identification): Add information about process ID
6334 lifetime. Describe Linux thread/task IDs.
6335 * manual/signal.texi (Signaling Another Process): Mention that the
6336 signal is always sent to the process.
6338 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6340 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6341 and tst-ldbl-efgcvt.
6342 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6343 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6344 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6345 (fcvt_tests, output_error, output_r_error, do_test): Use the
6346 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6347 select the type of floating-point variables and arguments; to
6348 produce extra tests for double and conversion specifiers for
6349 printf; and to set the names of called functions.
6350 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6351 in tst-efgcvt-template.c.
6352 * misc/tst-ldbl-efgcvt.c: Likewise.
6354 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
6356 * nss/Makefile (tst-nss-test3.out): New rule.
6358 2018-12-13 Joseph Myers <joseph@codesourcery.com>
6360 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6363 2018-12-13 fanjinke <fanjinke@hygon.cn>
6365 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6368 2018-12-13 Andreas Schwab <schwab@suse.de>
6371 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
6372 (__pthread_rwlock_rdlock_full): Update expected value for
6373 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6374 * nptl/tst-rwlock-pwn.c: New file.
6375 * nptl/Makefile (tests): Add tst-rwlock-pwn.
6377 2018-12-12 Joseph Myers <joseph@codesourcery.com>
6379 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6382 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6384 * benchtests/scripts/compare_bench.py (do_compare): write to
6385 stderr in casestat is not present.
6386 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6387 stderr in case timings field is not present. Also string showing
6388 the output filename goes into the stderr.
6390 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6392 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6393 and ZeroDivisorError exceptions.
6394 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6395 argument to loop through user provided statistics.
6396 * benchtests/scripts/compare_bench.py (main): Include the --stats
6399 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6401 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6404 2018-12-12 Florian Weimer <fweimer@redhat.com>
6406 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6407 clause to copyright header.
6409 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6412 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6413 registers saved in the stack frame.
6414 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6415 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6417 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6419 * include/bits/monetary-ldbl.h: New file.
6420 * include/bits/printf-ldbl.h: Likewise.
6421 * include/bits/stdio-ldbl.h: Likewise.
6422 * include/bits/stdlib-ldbl.h: Likewise.
6423 * include/bits/syslog-ldbl.h: Likewise.
6424 * include/bits/wchar-ldbl.h: Likewise.
6426 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6428 * libio/libio.h: Remove redirection for _IO_vfprintf.
6430 2018-12-11 Andreas Schwab <schwab@suse.de>
6432 * Makerules: Remove all references to abilist-pattern.
6433 (update-all-abi): Simplify find expression.
6435 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6438 * math/auto-libm-test-in: Add new test case.
6439 * math/auto-libm-test-out-pow: Regenerated.
6440 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6442 2018-12-10 DJ Delorie <dj@redhat.com>
6445 * support/test-container.c: Move postclean step to before we
6448 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6450 * scripts/gen-as-const.py (main): Handle --python option.
6451 * scripts/gen-py-const.awk: Remove.
6452 * Makerules (py-const-script): Use gen-as-const.py.
6453 ($(py-const)): Likewise.
6454 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6455 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6456 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6457 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6458 ~PTHREAD_MUTEX_NO_ELISION_NP.
6459 * manual/README.pretty-printers: Update reference to
6462 * scripts/glibcextract.py: New file.
6463 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6464 or tempfile. Import glibcexctract.
6465 (compute_c_consts): Remove. Moved to glibcextract.py.
6466 (gen_test): Update reference to compute_c_consts.
6468 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6469 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6470 * sysdeps/unix/sysv/linux/Makefile
6471 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6472 Redirect stderr as well as stdout.
6474 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6477 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
6478 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6479 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
6480 ALWAYS_USE_VSYSCALL.
6481 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
6482 ALWAYS_USE_VSYSCALL.
6483 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6484 ALWAYS_USE_VSYSCALL.
6486 2018-12-10 Florian Weimer <fweimer@redhat.com>
6489 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6490 offset instead of count for clarity. Fix typo in comment.
6491 (__old_getdents64): Keep track of previous offset. Use it to call
6493 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6494 that d_off is never zero.
6496 2018-12-10 Andreas Schwab <schwab@suse.de>
6498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6499 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6501 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6502 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6504 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6506 * timezone/private.h: Update from tzcode 2018g.
6507 * timezone/tzfile.h: Likewise.
6508 * timezone/tzselect.ksh: Likewise.
6509 * timezone/zdump.c: Likewise.
6510 * timezone/zic.c: Likewise.
6512 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6515 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6516 (do_test): Adjust buffer size and fix format.
6518 2018-12-07 DJ Delorie <dj@redhat.com>
6521 * malloc/tst-tcfree3.c: New.
6522 * malloc/Makefile: Add it.
6524 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6526 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6528 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6530 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6531 used as a mask for the mode argument of __vfscanf_internal and
6532 __vfwscanf_internal.
6533 * stdio-common/vfscanf-internal.c
6534 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6535 (__strtof128_internal): Define to __wcstof128_internal.
6536 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6537 __strtof128_internal or __wcstof128_internal when the format of
6538 long double is the same as _Float128.
6540 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6542 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6543 * posix/confstr.c (confstr): Rename to __confstr.
6544 (__confstr): Add hidden def.
6545 (confstr): Add weak alias for __confstr.
6546 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6549 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6551 * NEWS: Mention getcpu.
6552 * include/sched.h (__getcpu): New libc_hidden_proto.
6553 * manual/resource.texi: Document getcpu.
6554 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6555 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6556 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6557 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6558 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6559 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6560 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6561 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6562 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6563 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6564 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6565 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6566 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6568 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6569 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6570 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6579 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6580 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6581 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6582 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6583 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6584 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6585 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6586 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6587 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6588 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6589 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6592 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6594 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6596 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6598 2018-12-07 Florian Weimer <fweimer@redhat.com>
6601 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6602 * posix/Versions (GLIBC_2.29): Export
6603 posix_spawn_file_actions_addfchdir_np.
6604 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6605 * posix/spawn_faction_destroy.c
6606 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6607 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6608 and the field action.fchdir_action.
6609 * posix/tst-spawn-chdir.c (add_chdir): New function.
6610 (do_test): Add do_fchdir loop. Call add_chdir.
6611 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6612 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6613 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6614 posix_spawn_file_actions_addfchdir_np.
6615 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6617 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6619 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6620 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6622 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6624 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6626 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6628 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6630 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6632 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6633 (GLIBC_2.29): Likewise.
6634 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6635 (GLIBC_2.29): Likewise.
6636 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6637 (GLIBC_2.29): Likewise.
6638 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6639 (GLIBC_2.29): Likewise.
6640 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6643 (GLIBC_2.29): Likewise.
6644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6645 (GLIBC_2.29): Likewise.
6646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6647 (GLIBC_2.29): Likewise.
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6649 (GLIBC_2.29): Likewise.
6650 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6652 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6654 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6656 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6657 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6659 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6661 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6663 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6666 2018-12-06 Joseph Myers <joseph@codesourcery.com>
6668 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6669 trailing whitespace removed.
6670 * scripts/config.guess: Update to version 2018-11-28.
6671 * scripts/config.sub: Update to version 2018-11-28.
6672 * scripts/install-sh: Update to version 2018-03-11.20.
6673 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6674 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6676 2018-12-07 Florian Weimer <fweimer@redhat.com>
6680 * inet/tst-if_index-long.c: New file.
6681 * inet/Makefile (tests): Add tst-if_index-long.
6683 2018-12-07 Florian Weimer <fweimer@redhat.com>
6685 * support/check.h (support_record_failure_is_failed): Declare.
6686 * support/descriptors.h: New file.
6687 * support/support_descriptors.c: Likewise.
6688 * support/tst-support_descriptors.c: Likewise.
6689 * support/support_record_failure.c
6690 (support_record_failure_is_failed): New function.
6691 * support/Makefile (libsupport-routines): Add support_descriptors.
6692 (tests): Add tst-support_descriptors.
6694 2018-12-05 Zack Weinberg <zackw@panix.com>
6695 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6697 * stdio-common/vfprintf-internal.c
6698 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6699 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6700 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6701 and __no_long_double.
6702 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6703 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6704 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6705 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6706 and __nldbl_*syslog* functions.
6707 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6708 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6709 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6710 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6711 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6712 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6713 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6714 (__nldbl_vwprintf, __nldbl_wprintf):
6715 Directly call the appropriate __v*printf_internal routine, passing
6716 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6718 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6719 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6720 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6721 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6722 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6723 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6724 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6725 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6726 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6727 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6728 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6729 (__nldbl_syslog, __nldbl_vsyslog):
6730 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6731 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6733 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6736 2018-12-05 Zack Weinberg <zackw@panix.com>
6737 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6740 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6741 Moved here from debug/vsprintf_chk.c.
6742 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6743 and completion logic for the strfile to match exactly what
6744 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6745 _IO_str_init_static_internal instead of maxlen-1.
6746 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6747 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6748 __vsprintf_internal.
6750 * debug/vsprintf_chk.c (__vsprintf_chk)
6751 * debug/sprintf_chk.c (__sprintf_chk):
6752 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6753 'flags' argument is positive, and slen as maxlen. No need to lock
6754 the FILE and/or construct a temporary FILE. Minimize and normalize
6755 header inclusions and variable names. Do not libc_hidden_def anything.
6757 * debug/asprintf_chk.c (__asprintf_chk)
6758 * debug/dprintf_chk.c (__dprintf_chk)
6759 * debug/fprintf_chk.c (__fprintf_chk)
6760 * debug/fwprintf_chk.c (__fwprintf_chk)
6761 * debug/printf_chk.c (__printf_chk)
6762 * debug/snprintf_chk.c (__snprintf_chk)
6763 * debug/swprintf_chk.c (__swprintf_chk)
6764 * debug/vasprintf_chk.c (__vasprintf_chk)
6765 * debug/vdprintf_chk.c (__vdprintf_chk)
6766 * debug/vfprintf_chk.c (__vfprintf_chk)
6767 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6768 * debug/vprintf_chk.c (__vprintf_chk)
6769 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6770 * debug/vswprintf_chk.c (__vswprintf_chk)
6771 * debug/vwprintf_chk.c (__vwprintf_chk)
6772 * debug/wprintf_chk.c (__wprintf_chk):
6773 Directly call the corresponding vxxprintf_internal function, passing
6774 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6775 the FILE and/or construct a temporary FILE. Minimize and normalize
6776 header inclusions and variable names. Do not libc_hidden_def anything.
6778 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6779 __obstack_vprintf_internal.
6780 (__obstack_vprintf_chk): Convert into a wrapper that calls
6781 __obstack_vprintf_internal (these two functions already had the
6782 same code) and move to new file...
6783 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6785 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6786 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6787 * debug/Makefile (routines): Add vobprintf_chk.
6789 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6790 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6791 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6792 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6793 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6794 (__nldbl___obstack_vfprintf_chk):
6795 Directly call the corresponding vxxprintf_internal function,
6796 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6797 duplicate comparison of slen with 0 or maxlen from the corresponding
6798 non-__nldbl function.
6800 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6801 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6802 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6803 Remove libc_hidden_proto.
6805 * stdio-common/vfprintf-internal.c
6806 (__vfprintf_internal, __vfwprintf_internal):
6807 Do not check _IO_FLAGS2_FORTIFY.
6808 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6809 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6810 a comment explaining why it has the maxlen argument.
6811 (_IO_acquire_lock_clear_flags2_fct): Remove.
6812 (_IO_acquire_lock_clear_flags2): Remove.
6813 (_IO_release_lock): Remove conditional statement which will
6815 (_IO_acquire_lock): Remove variable which is now unused.
6816 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6817 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6819 * stdio-common/Makefile (tests): Add tst-bz11319 and
6820 tst-bz11319-fortify2.
6821 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6822 * stdio-common/tst-bz11319-fortify2.c: New file.
6823 * stdio-common/tst-bz11319.c: Likewise.
6825 2018-12-05 Zack Weinberg <zackw@panix.com>
6826 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6828 * misc/syslog.c: Include libioP.h, not iolibio.h.
6829 (__vsyslog_internal): New function with the former body of
6830 __vsyslog_chk; takes mode_flags argument same as
6831 __v*printf_internal. Call __vfprintf_internal directly.
6833 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6834 Remove libc_hidden_def.
6835 (__syslog, __syslog_chk): Use __vsyslog_internal.
6836 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6838 * include/sys/syslog.h: Add multiple inclusion guard.
6839 Add prototype for __vsyslog_internal.
6840 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6842 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6843 Use __vsyslog_internal.
6845 2018-12-05 Zack Weinberg <zackw@panix.com>
6846 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6848 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6849 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6850 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6852 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6853 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6855 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6856 Include wctype.h here if COMPILE_WPRINTF is defined.
6857 Define __vfprintf_internal or __vfwprintf_internal, depending
6859 Temporarily, on entry to this function, update mode_flags
6860 according to the environmental settings corresponding to
6861 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6862 Throughout, check mode_flags instead of __ldbl_is_dbl and
6863 _IO_FLAGS2_FORTIFY on the destination FILE.
6864 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6865 Include vfprintf-internal.c. Don't include wctype.h.
6866 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6867 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6869 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6870 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6872 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6874 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6875 and add mode_flags argument; use __vfprintf_internal.
6876 (__vdprintf): New function. Alias vdprintf to this.
6877 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6878 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6879 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6880 (__obstack_printf): Use __obstack_printf_internal.
6881 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6882 public aliases __vsnprintf and vsnprintf.
6883 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6885 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6886 public aliases _IO_vsprintf and vsprintf.
6887 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6888 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6889 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6890 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6891 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6893 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6894 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6895 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6896 * stdio-common/printf.c: Use __vfprintf_internal.
6898 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6899 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6900 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6902 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6903 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6904 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6905 __vfwprintf_internal.
6907 * libio/libio.h: Remove libc_hidden_proto and declaration for
6909 Remove declaration of _IO_vfwprintf.
6910 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6912 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6914 * include/stdio.h: Add prototype for __vasprintf.
6915 (__vsnprintf): Remove declaration, because there are no more
6917 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6918 declaration, because there are no more internal calls.
6920 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6921 __vsnprintf_internal, instead of _IO_vsnprintf.
6922 * argp/argp-help.c (__argp_error, __argp_failure): Use
6923 __vasprintf_internal, instead of _IO_vasprintf.
6924 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6925 redefine, because there are no more internal calls.
6927 2018-12-05 Zack Weinberg <zackw@panix.com>
6928 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6930 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6931 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6932 Include libio/strfile.h instead of libioP.h.
6933 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6934 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6935 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6936 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6937 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6938 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6939 necessary. Do not set __no_long_double. Normalize variable names.
6940 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6941 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6942 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6943 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6944 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6945 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6946 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6947 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6948 Do not set __no_long_double. Normalize variable names.
6950 2018-12-05 Zack Weinberg <zackw@panix.com>
6951 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6953 * stdio-common/isoc99_scanf.c
6954 * stdio-common/isoc99_fscanf.c
6955 * stdio-common/isoc99_sscanf.c
6956 * stdio-common/isoc99_vscanf.c
6957 * stdio-common/isoc99_vfscanf.c
6958 * stdio-common/isoc99_vsscanf.c
6959 * wcsmbs/isoc99_wscanf.c
6960 * wcsmbs/isoc99_fwscanf.c
6961 * wcsmbs/isoc99_swscanf.c
6962 * wcsmbs/isoc99_vwscanf.c
6963 * wcsmbs/isoc99_vfwscanf.c
6964 * wcsmbs/isoc99_vswscanf.c:
6965 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6966 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6967 No need to lock and unlock the FILE passed to that function.
6969 * stdio-common/vfscanf-internal.c
6970 (__vfscanf_internal, __vfwscanf_internal):
6971 Don't look at _IO_FLAGS2_SCANF_STD.
6972 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6973 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6974 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6976 2018-12-05 Zack Weinberg <zackw@panix.com>
6977 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6979 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6980 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6981 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6982 * libio/strfile.h: Add multiple inclusion guard.
6983 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6985 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6986 consistency with the other version of this file.
6987 (ldbl_compat_symbol): New macro.
6988 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6991 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6992 Define __vfscanf_internal or __vfwscanf_internal, depending on
6993 COMPILE_WSCANF; don't define any other public symbols.
6994 Remove errval and code to set errp.
6995 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6996 as the mode_flags argument.
6997 (encode_error, conv_error, input_error): Don't set errval.
6998 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6999 Include vfscanf-internal.c.
7000 * stdio-common/vfscanf.c: New file defining the public entry
7001 point vfscanf, which calls __vfscanf_internal.
7002 * stdio-common/vfwscanf.c: New file defining the public entry
7003 point vfwscanf, which calls __vfwscanf_internal.
7005 * stdio-common/iovfscanf.c: New file.
7006 * stdio-common/iovfwscanf.c: Likewise.
7008 * stdio-common/Makefile (routines): Add vfscanf-internal,
7009 vfwscanf-internal, iovfscanf, iovfwscanf.
7010 * stdio-common/Versions: Mention GLIBC_2.29, so that
7011 it can be used in SHLIB_COMPAT expressions.
7012 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
7013 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
7014 Call __vfscanf_internal, instead of _IO_vfscanf.
7015 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
7017 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
7020 * libio/iovsscanf.c: Clean up includes, when possible. Use
7021 _IO_strfile_read or _IO_strfile_readw, when needed. Call
7022 __vfscanf_internal or __vfwscanf_internal directly.
7023 * libio/iovswscanf.c: Likewise.
7024 * libio/swscanf.c: Likewise.
7025 * libio/vscanf.c: Likewise.
7026 * libio/vwscanf.c: Likewise.
7027 * libio/wscanf.c: Likewise.
7028 * stdio-common/isoc99_fscanf.c: Likewise.
7029 * stdio-common/isoc99_scanf.c: Likewise.
7030 * stdio-common/isoc99_sscanf.c: Likewise.
7031 * stdio-common/isoc99_vfscanf.c: Likewise.
7032 * stdio-common/isoc99_vscanf.c: Likewise.
7033 * stdio-common/isoc99_vsscanf.c: Likewise.
7034 * stdio-common/scanf.c: Likewise.
7035 * stdio-common/sscanf.c: Likewise.
7036 * wcsmbs/isoc99_fwscanf.c: Likewise.
7037 * wcsmbs/isoc99_swscanf.c: Likewise.
7038 * wcsmbs/isoc99_vfwscanf.c: Likewise.
7039 * wcsmbs/isoc99_vswscanf.c: Likewise.
7040 * wcsmbs/isoc99_vwscanf.c: Likewise.
7041 * wcsmbs/isoc99_wscanf.c: Likewise.
7043 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
7046 (__tz_compute): Replace time_t with __time64_t.
7047 (__tz_convert): Replace time_t* with __time64_t.
7048 (__offtime): Replace time_t* with __time64_t.
7050 (__gmtime_r): Adjust call to __tz_convert.
7053 (__localtime_r): Likewise.
7054 (localtime): Likewise.
7055 * time/offtime.c: Replace time_t with __time64_t.
7056 * time/tzset.c: Likewise.
7058 2018-12-04 Joseph Myers <joseph@codesourcery.com>
7060 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
7061 dynamic linker unless [$(run-built-tests) = yes].
7063 2018-12-03 DJ Delorie <dj@delorie.com>
7065 * support/test-container.c (check_for_unshare_hints): New.
7066 (main): Call it if unshare fails. Add support for "su" scriptlet
7069 2018-12-03 Joseph Myers <joseph@codesourcery.com>
7071 * scripts/gen-as-const.py (compute_c_consts): Take an argument
7072 'START' to indicate that start text should be output.
7073 (gen_test): Likewise.
7074 (main): Generate 'START' for first symbol or '--' line, or at end
7075 of input if not previously generated.
7077 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
7080 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
7081 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
7082 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
7083 ALWAYS_USE_VSYSCALL.
7085 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7088 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
7091 2018-12-03 Carlos O'Donell <carlos@redhat.com>
7094 * locale/programs/localedef.c: Declare boolean hard_links default true.
7095 (options): Add --no-hard-links option.
7096 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
7097 * locale/programs/localedef.h: Declare prototype for hard_links.
7098 * locale/programs/locfile.c (write_locale_data): Don't use hard
7099 links if hard_links is false.
7101 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
7103 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
7105 (__cache_sysconf): Likewise.
7106 (init_cacheinfo): Likewise.
7107 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
7108 populate COMMON_CPUID_INDEX_80000007 and
7109 COMMON_CPUID_INDEX_80000008.
7110 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
7111 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
7112 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
7113 (init_cpu_features): Use _Static_assert on
7114 index_arch_Fast_Unaligned_Load.
7115 __get_cpuid_registers and __get_arch_feature. Updated for
7116 cpu_features_basic. Set stepping in cpu_features.
7117 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
7118 (FEATURE_INDEX_2): New.
7119 (FEATURE_INDEX_MAX): Changed to enum.
7120 (COMMON_CPUID_INDEX_D_ECX_1): New.
7121 (COMMON_CPUID_INDEX_80000007): Likewise.
7122 (COMMON_CPUID_INDEX_80000008): Likewise.
7123 (cpuid_registers): Likewise.
7124 (cpu_features_basic): Likewise.
7125 (CPU_FEATURE_USABLE): Likewise.
7126 (bit_arch_XXX_Usable): Likewise.
7127 (cpu_features): Use cpuid_registers and cpu_features_basic.
7128 (bit_arch_XXX): Reweritten.
7129 (bit_cpu_XXX): Likewise.
7130 (index_cpu_XXX): Likewise.
7131 (reg_XXX): Likewise.
7132 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
7134 (CHECK_CPU_FEATURE): New.
7135 (CHECK_CPU_FEATURE_USABLE): Likewise.
7136 (cpu_kinds): Likewise.
7137 (do_test): Print vendor, family, model and stepping. Check
7138 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
7139 (TEST_FUNCTION): Removed.
7140 Include <support/test-driver.c> instead of
7141 "../../test-skeleton.c".
7142 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
7143 Check POPCNT instead of POPCOUNT.
7144 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
7146 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7148 * scripts/gen-as-const.py (main): Avoid emitting empty line when
7149 there is no element in `consts'.
7151 2018-12-01 Florian Weimer <fweimer@redhat.com>
7153 * support/support_capture_subprocess.c
7154 (support_capture_subprocess): Check that pipe descriptors have
7155 expected values. Close original pipe descriptors in subprocess.
7157 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7160 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
7161 attr with __pthread_default_barrierattr.
7162 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
7163 attr with __pthread_default_condattr.
7164 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
7165 attr with __pthread_default_mutexattr.
7166 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
7167 attr with __pthread_default_rwlockattr.
7169 2018-12-01 Kemi Wang <kemi.wang@intel.com>
7171 * manual/tunables.texi (POSIX Thread Tunables): New node.
7172 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
7173 * nptl/nptl-init.c: Include pthread_mutex_conf.h
7174 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
7175 __pthread_tunables_init.
7176 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
7177 (max_adaptive_count): Define.
7178 * nptl/pthread_mutex_conf.c: New file.
7179 * nptl/pthread_mutex_conf.h: New file.
7180 * sysdeps/generic/adaptive_spin_count.h: New file.
7181 * sysdeps/nptl/dl-tunables.list: New file.
7182 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7183 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
7184 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
7187 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7190 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
7191 * stdlib/on_exit.c (__on_exit): Likewise.
7192 * stdlib/Makefile (tests): Add tst-bz20544.
7193 * stdlib/tst-bz20544.c: New test.
7195 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
7198 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
7199 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
7202 2018-11-30 Florian Weimer <fweimer@redhat.com>
7204 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
7205 Extend error logging.
7206 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
7209 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7211 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
7212 __sigismember instead of sigismember.
7213 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
7214 cancel_handler): New definitions.
7215 (do_system): Use posix_spawn instead of fork and execl and remove
7217 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
7218 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
7219 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
7220 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7221 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7222 * sysdeps/unix/sysv/linux/system.c: Likewise.
7226 * NEWS: Add new semantic for atfork with popen and system.
7227 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
7230 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7233 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
7234 modification order when accessing reloc_result->addr.
7235 * include/link.h (reloc_result): Add field init.
7236 * nptl/Makefile (tests): Add tst-audit-threads.
7237 (modules-names): Add tst-audit-threads-mod1 and
7238 tst-audit-threads-mod2.
7239 Add rules to build tst-audit-threads.
7240 * nptl/tst-audit-threads-mod1.c: New file.
7241 * nptl/tst-audit-threads-mod2.c: Likewise.
7242 * nptl/tst-audit-threads.c: Likewise.
7243 * nptl/tst-audit-threads.h: Likewise.
7245 2018-11-30 Joseph Myers <joseph@codesourcery.com>
7247 * scripts/gen-as-const.py: New file.
7248 * scripts/gen-as-const.awk: Remove.
7249 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
7251 ($(objpfx)test-as-const-%.c): Likewise.
7253 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7255 * elf/dl-exception.c: Include <_itoa.h>.
7257 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7259 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
7260 returned by __f_setlk.
7262 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7263 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7265 * elf/Makefile (tests-internal): Add tst-create_format1.
7266 * elf/dl-exception.c (_dl_exception_create_format): Support
7268 * elf/tst-create_format1.c: New file.
7270 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7272 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7273 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7275 * argp/argp-help.c (__argp_failure): Likewise.
7277 2018-11-29 Mao Han <han_mao@c-sky.com>
7279 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7280 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7281 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7282 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7283 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7284 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7285 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7286 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7287 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7288 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7289 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7290 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7291 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7292 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7293 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7294 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7295 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7296 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7297 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7298 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7299 (R_CKCORE_TLS_TPOFF32): New defines.
7301 2018-11-29 Florian Weimer <fweimer@redhat.com>
7303 * posix/Makefile (before-compile): Remove testcases.h and
7305 (generated): Add testcases.h and ptestcases.h.
7306 (testcases.h, ptestcases.h): Move to $(objpfx).
7307 (runtests.o): Add dependency on testcases.h.
7308 (runptests.o): Add dependency on ptestcases.h.
7309 * posix/testcases.h, posix/ptestcases.h: Remove files.
7310 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7311 not touch posix/testcases.h and posix/ptestcases.h.
7313 2018-11-28 Florian Weimer <fweimer@redhat.com>
7315 support: Add signal support to support_capture_subprocess_check.
7316 * support/capture_subprocess.h (support_capture_subprocess_check):
7317 Adjust comment and rename parameter.
7318 * support/support_capture_subprocess_check.c
7319 (print_actual_status): New function.
7320 (support_capture_subprocess_check): Support negative
7321 status_or_signal. Call print_actual_status.
7322 * support/tst-support_capture_subprocess.c (do_test): Call
7323 support_capture_subprocess_check.
7324 * libio/tst-vtables-common.c (termination_status)
7325 (init_termination_status): Remove.
7326 (check_for_termination): Adjust support_capture_subprocess_check
7328 (do_test): Remove call to init_termination_status.
7330 2018-11-28 Joseph Myers <joseph@codesourcery.com>
7332 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7333 source directory instead of a copy.
7334 (CommandList.create_copy_dir): Remove.
7336 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
7338 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7340 2018-11-28 Florian Weimer <fweimer@redhat.com>
7342 * support/support.h (support_quote_string): Do not use str
7345 2018-11-27 Joseph Myers <joseph@codesourcery.com>
7347 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7348 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7350 2018-11-27 Florian Weimer <fweimer@redhat.com>
7352 * support/support.h (support_quote_string): Declare.
7353 * support/support_quote_string.c: New file.
7354 * support/tst-support_quote_string.c: Likewise.
7355 * support/Makefile (libsupport-routines): Add
7356 support_quote_string.
7357 (tests): Add tst-support_quote_string.
7359 2018-11-27 Florian Weimer <fweimer@redhat.com>
7363 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7364 descriptor leak in case of ENODEV error.
7366 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7369 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7370 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7371 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7373 2018-11-26 Carlos O'Donell <carlos@redhat.com>
7375 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7376 Error for unknown lines.
7378 2018-11-26 Joseph Myers <joseph@codesourcery.com>
7380 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7381 Touch additional files.
7383 2018-11-26 Florian Weimer <fweimer@redhat.com>
7386 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7389 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7392 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7393 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7394 SHARED. Include sysdep.h.
7395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7396 ALWAYS_USE_VSYSCALL.
7397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7398 ALWAYS_USE_VSYSCALL.
7400 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7403 * nptl/Makefile (tests-static): Add tst-cond11-static.
7405 * nptl/tst-cond11-static.c: New File.
7406 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7407 tst-affinity-static.
7409 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7411 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7412 (USE_VSYSCALL): Likewise.
7413 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7414 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7416 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7421 2018-11-23 Joseph Myers <joseph@codesourcery.com>
7424 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7425 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7428 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7430 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7431 (tst-cet-legacy-1a-ARGS): New.
7432 ($(objpfx)tst-cet-legacy-1a): New target.
7433 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7435 2018-11-22 Joseph Myers <joseph@codesourcery.com>
7437 * conform/conformtest.py (CompileSubTest.__init__): Set
7438 self.run_early to False.
7439 (ExecuteSubTest.__init__): Likewise.
7440 (HeaderTests.run): Try running all non-optional, non-XFAILed
7441 compilation tests in a single execution of the compiler.
7443 * conform/conformtest.py (CompileSubTest): New class.
7444 (ExecuteSubTest): Likewise.
7445 (ElementTest.run): Rename to gen_subtests. Append tests to
7446 self.subtests instead of running them.
7447 (ConstantTest.run): Likewise.
7448 (SymbolTest.run): Likewise.
7449 (TypeTest.run): Likewise.
7450 (TagTest.run): Likewise.
7451 (FunctionTest.run): Likewise.
7452 (VariableTest.run): Likewise.
7453 (MacroFunctionTest.run): Likewise.
7454 (MacroStrTest.run): Likewise.
7455 (HeaderTests.handle_test_line): Generate subtests for tests.
7456 (HeaderTests.run): Run subtests for tests.
7458 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7460 * math/Versions (GLIBC_2.29): Add pow.
7461 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7463 * math/w_pow.c: New file.
7464 * sysdeps/i386/fpu/w_pow.c: New file.
7465 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7466 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7467 and add necessary aliases.
7468 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7469 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7470 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7471 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7472 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7473 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7474 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7475 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7476 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7477 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7478 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7479 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7480 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7481 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7482 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7487 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7488 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7489 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7490 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7491 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7492 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7493 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7494 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7496 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7497 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7498 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7500 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7502 * math/Versions (GLIBC_2.29): Add log2.
7503 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7505 * math/w_log2.c: New file.
7506 * sysdeps/i386/fpu/w_log2.c: New file.
7507 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7508 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7509 and add necessary aliases.
7510 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7511 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7512 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7513 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7514 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7515 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7516 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7517 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7518 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7519 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7520 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7521 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7522 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7523 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7524 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7529 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7530 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7531 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7532 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7533 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7534 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7535 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7537 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7539 * math/Versions (GLIBC_2.29): Add log.
7540 * math/w_log_compat.c (__log_compat): Change to versioned compat
7542 * math/w_log.c: New file.
7543 * sysdeps/i386/fpu/w_log.c: New file.
7544 * sysdeps/ia64/fpu/e_log.S: Update.
7545 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7546 and add necessary aliases.
7547 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7548 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7549 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7550 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7551 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7552 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7553 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7554 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7555 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7556 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7557 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7558 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7559 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7560 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7561 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7566 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7567 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7568 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7569 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7570 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7571 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7572 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7573 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7575 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7576 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7577 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7578 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7580 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7582 * math/Versions (GLIBC_2.29): Add exp and exp2.
7583 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7584 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7585 * math/w_exp_compat.c (__exp_compat): Likewise.
7586 * math/w_exp.c: New file.
7587 * math/w_exp2.c: New file.
7588 * sysdeps/i386/fpu/w_exp.c: New file.
7589 * sysdeps/i386/fpu/w_exp2.c: New file.
7590 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7591 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7592 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7593 and add necessary aliases.
7594 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7595 and add necessary aliases.
7596 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7597 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7598 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7599 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7600 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7601 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7602 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7603 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7604 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7605 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7606 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7607 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7608 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7609 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7610 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7611 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7612 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7617 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7618 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7619 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7620 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7621 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7622 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7623 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7624 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7625 (__ieee754_exp): Rename to __exp.
7626 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7627 (__ieee754_exp): Rename to __exp.
7628 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7629 (__ieee754_exp): Rename to __exp.
7630 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7632 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7634 2018-11-20 DJ Delorie <dj@redhat.com>
7636 * malloc/malloc.c (tcache_entry): Add key field.
7637 (tcache_put): Set it.
7638 (tcache_get): Likewise.
7639 (_int_free): Check for double free in tcache.
7640 * malloc/tst-tcfree1.c: New.
7641 * malloc/tst-tcfree2.c: New.
7642 * malloc/Makefile: Run the new tests.
7643 * manual/probes.texi: Document memory_tcache_double_free probe.
7645 * dlfcn/dlerror.c (check_free): Prevent double frees.
7647 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7649 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7651 2018-11-20 Joseph Myers <joseph@codesourcery.com>
7653 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7654 in tests. Use names for format arguments.
7655 (ConstantTest.run): Likewise.
7656 (SymbolTest.run): Likewise.
7657 (TypeTest.run): Likewise.
7658 (TagTest.run): Likewise.
7659 (FunctionTest.run): Likewise.
7660 (VariableTest.run): Likewise.
7661 (MacroFunctionTest.run): Likewise.
7662 (MacroStrTest.run): Likewise.
7663 (HeaderTests.__init__): Set self.num_tests.
7664 (HeaderTests.handle_test_line): Set test.num. Increment
7667 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7669 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7670 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7673 2018-11-19 Mao Han <han_mao@c-sky.com>
7675 * scripts/config.guess: Update to version 2018-08-29.
7676 * scripts/config.sub: Update to version 2018-08-29.
7678 2018-11-19 Florian Weimer <fweimer@redhat.com>
7680 support: Print timestamps in timeout handler.
7681 * support/support_test_main.c (print_timestamp): New function.
7682 (signal_handler): Use it to print the termination time and the
7683 time of the last write to standard output.
7685 2018-11-16 Zack Weinberg <zackw@panix.com>
7686 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7688 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7689 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7691 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7692 and add flags argument. Check flags instead of __ldbl_is_dbl when
7693 deciding whether to set is_long_double.
7694 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7695 passing zero for flags argument.
7696 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7698 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7699 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7700 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7701 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7702 variable names. Remove libc_hidden_def/libc_hidden_proto from
7703 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7704 longer called from within the library.
7705 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7706 for __nldbl___vstrfmon_l, declare it explicitly.
7708 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7710 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7712 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7714 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7715 F_SETLK64, F_SETLKW64, respectively.
7716 * sysdeps/mach/hurd/f_setlk.c: New file.
7717 * sysdeps/mach/hurd/f_setlk.h: New file.
7718 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7720 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7721 (__libc_fcntl): Move non-flock operations to...
7722 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7723 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7725 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7727 mktime: DEBUG_MKTIME cleanup
7728 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7729 And it’s no longer needed now that glibc and Gnulib both have
7730 their own testing mechanisms for mktime.
7731 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7733 mktime: fix non-EOVERFLOW errno handling
7735 mktime was not properly reporting failures when the underlying
7736 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7737 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7738 The problem could happen on non-glibc platforms, with Gnulib.
7739 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7740 (tm_diff): ... this simpler function, which does not change errno.
7741 All callers changed to deal with errno themselves.
7742 (ranged_convert, __mktime_internal): Return failure immediately if
7743 the underlying function reports any failure other than EOVERFLOW.
7744 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7747 mktime: fix bug with Y2038 DST transition
7749 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7750 mishandle a DST transition that jumps over the Y2038 boundary.
7751 No such DST transitions are known so this is only a theoretical
7752 bug, but we might as well do things right.
7754 mktime: make more room for overflow
7756 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7757 This is so that we can add tm_diff results to a previous guess,
7758 which will be useful in a later patch.
7760 mktime: simplify offset guess
7762 * time/mktime.c (__mktime_internal): Omit excess precision.
7764 mktime: new test for mktime failure
7766 Based on a test suggested by Albert Aribaud in:
7767 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7768 * time/Makefile (tests): Add bug-mktime4.
7769 * time/bug-mktime4.c: New file.
7771 mktime: fix EOVERFLOW bug
7773 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7774 Include libc-config.h, not config.h, for __set_errno.
7775 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7777 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7779 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7780 __attribute_copy__ to copy attributes from name. Drop static qualifier
7781 to avoid warnings about leaf attribute not having effect on static
7784 2018-11-13 Florian Weimer <fweimer@redhat.com>
7786 * malloc/malloc.c (fastbin_push_entry): New function.
7787 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7788 (REMOVE_FB): Remove macro.
7789 (_int_malloc): Use fastbin_pop_entry and reindent.
7790 (_int_free): Use fastbin_push_entry.
7791 (malloc_consolidate): Use atomic_exchange_acquire.
7793 2018-11-13 Joseph Myers <joseph@codesourcery.com>
7795 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7796 alias attribute, not with strong_alias.
7798 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7799 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7800 with additional parameter thread.
7801 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7802 in terms of __hidden_ver2.
7803 (hidden_tls_def): New macro.
7804 (libc_hidden_tls_def): Likewise.
7805 (rtld_hidden_tls_def): Likewise.
7806 (libm_hidden_tls_def): Likewise.
7807 (libmvec_hidden_tls_def): Likewise.
7808 (libresolv_hidden_tls_def): Likewise.
7809 (librt_hidden_tls_def): Likewise.
7810 (libdl_hidden_tls_def): Likewise.
7811 (libnss_files_hidden_tls_def): Likewise.
7812 (libnsl_hidden_tls_def): Likewise.
7813 (libnss_nisplus_hidden_tls_def): Likewise.
7814 (libutil_hidden_tls_def): Likewise.
7815 (libutil_hidden_tls_def): Likweise.
7816 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7817 libc_hidden_tls_def.
7818 (__sim_disabled_exceptions_thread): Likewise.
7819 (__sim_round_mode_thread): Likewise.
7821 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7822 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7823 copy attributes from name.
7825 2018-11-12 Joseph Myers <joseph@codesourcery.com>
7827 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7828 Use __attribute_copy__ to copy attributes from name.
7830 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7831 with __hidden_ver1 call.
7832 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7833 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7834 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7835 (__cosf): Do not declare here.
7836 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7837 (__sincosf): Do not declare here.
7838 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7839 (__sinf): Do not declare here.
7841 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7842 (__BIG_ENDIAN): Likewise.
7843 (__BYTE_ORDER): Likewise.
7844 (strong_alias): Likewise.
7845 (_strong_alias): Likewise.
7847 2018-11-12 Florian Weimer <fweimer@redhat.com>
7849 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7850 function. Move after the definition of in_smallbin_range. Do not
7851 use __builtin_expect for paths that lead to a noreturn function.
7852 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7853 because it is unclear whether this is in fact an unlikely
7855 (_int_malloc, _int_free): Adjust.
7856 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7858 * malloc/arena.c (heap_trim): Likewise.
7860 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7862 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7863 it, free it if needed.
7864 (reauthenticate): Test and use ccwdir.
7865 (child_init_port): In non-resetids case, test and use ccwdir.
7866 (child_chdir): New nested function to set ccwdir.
7867 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7868 * hurd/hurd/port.h (_hurd_port_move): New function.
7869 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7870 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
7871 * hurd/Versions (_hurd_port_move): Export function.
7872 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7874 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7875 of dtablesize for allocating dtable_cloexec.
7877 2018-11-09 Martin Sebor <msebor@redhat.com>
7879 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7880 it's already defined.
7881 (_strong_alias): Use __attribute_copy__.
7882 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7883 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7884 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7885 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7886 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7887 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7888 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7889 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7890 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7891 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7892 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7893 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7894 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7895 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7896 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7897 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7898 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7899 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7900 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7902 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7904 * misc/tst-efgcvt.c: Include support/check.h and
7905 support/test-driver.c. Do not include test-skeleton.c.
7906 (error_count): Remove.
7907 (output_error): Replace increments to error_count with calls to
7908 support_record_failure.
7909 (output_r_error): Likewise.
7910 (special): Likewise.
7911 (do_test): Unconditionally return zero.
7912 (TEST_FUNCTION): Remove.
7914 2018-11-09 Joseph Myers <joseph@codesourcery.com>
7916 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7918 ($(linknamespace-header-tests)): Likewise.
7920 * conform/conformtest.py: New file.
7921 * conform/conformtest.pl: Remove.
7922 * conform/GlibcConform.pm: Likewise.
7923 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7924 (KEYWORDS_C99): Likewise.
7925 (KEYWORDS): Likewise.
7926 * conform/Makefile ($(conformtest-header-tests)): Use
7927 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7928 option. Use --header instead of --headers.
7929 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7931 * conform/data/spawn.h-data: Likewise.
7932 * conform/data/fcntl.h-data (openat): Add space after function
7934 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7935 (wcscasecmp_l): Likewise.
7936 * conform/data/termios.h-data (c_cc): Add space after element
7939 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7941 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7942 instead of manually comparing and reporting mismatching strings.
7943 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7944 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7946 2018-11-08 Joseph Myers <joseph@codesourcery.com>
7948 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7949 __ASSUME_SOCKETCALL.
7950 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7951 (__ASSUME_SOCKETCALL): Remove.
7952 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7953 (__ASSUME_SOCKETCALL): Likewise.
7954 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7955 (__ASSUME_SOCKETCALL): Likewise.
7956 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7957 (__ASSUME_SOCKETCALL): Likewise.
7958 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7959 (__ASSUME_SOCKETCALL): Likewise.
7960 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7961 (__ASSUME_SOCKETCALL): Likewise.
7962 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7963 (__ASSUME_SOCKETCALL): Likewise.
7965 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7968 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7969 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7970 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7971 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7972 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7975 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7978 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7980 2018-11-07 Joseph Myers <joseph@codesourcery.com>
7983 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7984 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7985 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7986 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7988 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7990 * support/support_test_compare_string.c
7991 (support_test_compare_string): Fix printf format.
7993 2018-11-07 Florian Weimer <fweimer@redhat.com>
7995 Implement TEST_COMPARE_STRING.
7996 * support/check.h (TEST_COMPARE_STRING): Define.
7997 (support_test_compare_string): Declare.
7998 * support/Makefile (libsupport-routines): Add
7999 support_test_compare_string.
8000 (tests): Add tst-test_compare_string.
8001 * support/support_test_compare_string.c: New file.
8002 * support/tst-test_compare_string.c: Likewise.
8004 2018-11-07 Andreas Schwab <schwab@suse.de>
8007 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
8008 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
8011 2018-11-06 Joseph Myers <joseph@codesourcery.com>
8014 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8015 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
8016 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
8017 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
8020 2018-11-06 Florian Weimer <fweimer@redhat.com>
8023 * posix/Makefile (routines): Add spawn_faction_addchdir.
8024 (tests): Add tst-spawn-chdir.
8025 * posix/Versions (GLIBC_2.29): Add
8026 posix_spawn_file_actions_addchdir_np.
8027 * posix/spawn_faction_addchdir.c: New file.
8028 * posix/spawn_faction_destroy.c
8029 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
8030 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
8031 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
8033 * posix/tst-spawn-chdir.c: New file.
8034 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
8035 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8036 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8037 posix_spawn_file_actions_addchdir_np.
8038 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8040 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8042 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8043 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8045 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8047 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8049 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8051 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8053 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8055 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8056 (GLIBC_2.29): Likewise.
8057 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8058 (GLIBC_2.29): Likewise.
8059 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8060 (GLIBC_2.29): Likewise.
8061 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8062 (GLIBC_2.29): Likewise.
8063 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8066 (GLIBC_2.29): Likewise.
8067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8068 (GLIBC_2.29): Likewise.
8069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8070 (GLIBC_2.29): Likewise.
8071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8072 (GLIBC_2.29): Likewise.
8073 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8075 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8077 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8079 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8080 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8082 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8084 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8086 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8089 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8091 * misc/Makefile (tests): Add tst-ldbl-error.
8092 * misc/tst-ldbl-error.c: New file.
8094 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8096 * misc/Makefile (tests): Add tst-ldbl-warn.
8097 * misc/tst-ldbl-warn.c: New file.
8099 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8101 * argp/Makefile (tests): Add tst-ldbl-argp.
8102 * argp/tst-ldbl-argp.c: New file.
8104 2018-11-05 Arjun Shankar <arjun@redhat.com>
8106 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
8107 __gconv_path_elem and call __gconv_get_path unconditionally.
8109 2018-11-05 Andreas Schwab <schwab@suse.de>
8112 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
8113 creating the first helper thread failed.
8115 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8117 * sysdeps/mach/hurd/msync.c: New file.
8119 2018-11-02 Florian Weimer <fweimer@redhat.com>
8121 * support/shell-container.c (copy_func): Call
8122 support_copy_file_range instead of copy_file_range to support
8123 cross-device copies.
8125 2018-11-02 Florian Weimer <fweimer@redhat.com>
8127 * support/test-container.c: Include <libc-pointer-arith.h> for
8130 2018-11-01 Zong Li <zong@andestech.com>
8132 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
8133 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
8134 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
8135 (__FP_FRAC_SET_8): Add implementation for RV32 use.
8137 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
8138 variable to avoid overlap arguments.
8140 2018-11-01 Joseph Myers <joseph@codesourcery.com>
8142 * posix/bug-regex22.c (main): Use puts with distinct error
8143 messages for unexpected success of re_compile_pattern, not printf
8144 with NULL argument to %s.
8146 * stdio-common/bug22.c: Include <libc-diag.h>.
8147 (do_test): Disable -Wformat-overflow= warnings around fprintf
8148 calls outputting more than INT_MAX characters.
8149 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
8150 around printf call with NULL %s argument.
8153 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
8154 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
8156 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8157 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8158 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8159 (__ASSUME_SENDTO_SYSCALL): Likewise.
8160 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8161 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
8163 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8164 (__ASSUME_CONNECT_SYSCALL): Likewise.
8165 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8166 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8167 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
8169 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
8171 [__LINUX_KERNEL_VERSION >= 0x040400]
8172 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8173 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
8176 (setsockopt): Likewise.
8178 2018-11-01 Fredrik Noring <noring@nocrew.org>
8180 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
8181 with the ISA override.
8183 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
8185 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
8188 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8190 * manual/errno.texi (EIEIO): Document how translators should
8191 translate the error message.
8192 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
8193 printing trailing whitespaces refused by git.
8194 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
8195 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8196 * hurd/Makefile (user-interfaces): Add pci.
8198 2018-10-30 Joseph Myers <joseph@codesourcery.com>
8200 * conform/linknamespace.py: New file.
8201 * conform/linknamespace.pl: Remove file.
8202 * conform/Makefile ($(linknamespace-header-tests)): Use
8203 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
8206 2018-10-30 Florian Weimer <fweimer@redhat.com>
8208 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
8211 2018-10-30 Florian Weimer <fweimer@redhat.com>
8213 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
8215 2018-10-30 Florian Weimer <fweimer@redhat.com>
8217 * stdlib/tst-strtod-overflow.c (do_test): Switch to
8218 support_blob_repeat.
8220 2018-10-30 Florian Weimer <fweimer@redhat.com>
8222 Avoid spurious test failures in stdlib/test-bz22786.
8223 * support/Makefile (libsupport-routines): Add blob_repeat.
8224 (tests): Add tst-support_blob_repeat.
8225 * support/blob_repeat.h: New file.
8226 * support/blob_repeat.c: Likewise.
8227 * support/tst-support_blob_repeat.c: Likewise.
8228 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
8229 support_blob_repeat_allocate.
8231 2018-10-30 Andreas Schwab <schwab@suse.de>
8234 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
8235 Don't use tail call.
8236 * elf/tst-unwind-main.c: New file.
8237 * elf/Makefile (tests): Add tst-unwind-main.
8238 (CFLAGS-tst-unwind-main.c): Define.
8240 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
8243 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
8245 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
8247 2018-10-29 Joseph Myers <joseph@codesourcery.com>
8249 * conform/glibcconform.py: Do not import shutil.
8250 (list_exported_functions): Use tempfile.TemporaryDirectory instead
8253 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
8254 critic_missing for versions before 3.4.
8255 * configure: Regenerated.
8256 * manual/install.texi (Tools for Compilation): Document
8257 requirement for Python to build glibc.
8258 * INSTALL: Regenerated.
8259 * Rules [PYTHON]: Make code unconditional.
8260 * benchtests/Makefile [PYTHON]: Likewise.
8261 * conform/Makefile [PYTHON]: Likewise.
8262 * manual/Makefile [PYTHON]: Likewise.
8263 * math/Makefile [PYTHON]: Likewise.
8265 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8267 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
8268 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
8269 answer to interrupt_operation, return EIEIO instead of EINTR.
8270 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8271 _hurd_intr_rpc_msg_about_to global point to start of controlled
8272 assembly snippet. Make it check canceled flag.
8273 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8274 the _hurd_intr_rpc_msg_about_to point.
8275 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8276 issue, remove cancel flag check.
8278 2018-10-26 Joseph Myers <joseph@codesourcery.com>
8280 * scripts/build-many-glibcs.py: Remove compatibility for missing
8281 os.cpu_count and re.fullmatch.
8283 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8286 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8287 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8288 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8290 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8292 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8295 2018-10-25 Florian Weimer <fweimer@redhat.com>
8299 XFAIL siginfo_t si_band conform test on sparc64.
8300 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8301 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8302 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8303 (conformtest-xfail-conds): Add sparc64-linux.
8304 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8306 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8308 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8310 * elf/elf.h (NT_MIPS_DSP): New macro.
8311 (NT_MIPS_FP_MODE): Likewise.
8313 2018-10-25 Zong Li <zong@andestech.com>
8315 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8316 name by adding the file extension (.so).
8318 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8320 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8321 (test-xfail-ISO11/threads.h/linknamespace,
8322 test-xfail-ISO11/threads.h/conform): Add.
8324 2018-10-24 Joseph Myers <joseph@codesourcery.com>
8326 * math/gen-libm-test.py: Import os.
8327 (ALL_FLOATS_MANUAL): New constant.
8328 (ALL_FLOATS_SUFFIX): Likewise.
8329 (Ulps.all_functions): New function.
8330 (real_all_ulps): Likewise.
8331 (generate_err_table_sub): Likewise.
8332 (generate_err_table): Likewise.
8333 (main): Handle -s and -m options.
8334 * manual/libm-err-tab.pl: Remove.
8335 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8336 instead of libm-err-tab.pl.
8337 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8339 * manual/install.texi (Tools for Compilation): Document
8340 requirement for Python to build manual.
8341 * INSTALL: Regenerated.
8343 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8345 * bits/time64.h: New file.
8346 * include/time.h: Replace internal_time_t with __time64_t.
8347 * posix/bits/types (__time64_t): Add.
8348 * stdlib/Makefile: Add bits/time64.h to includes.
8349 * time/tzfile.c: Replace internal_time_t with __time64_t.
8351 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8353 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8354 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8355 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8356 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8357 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8359 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8360 * posix/spawn_faction_addclose.c
8361 (__posix_spawn_file_actions_addclose): Add hidden definition.
8362 * posix/spawn_faction_adddup2.c
8363 (__posix_spawn_file_actions_adddup2): Likewise.
8364 * posix/spawn_faction_destroy.c
8365 (__posix_spawn_file_actions_destroy): Likewise.
8366 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8368 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8369 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8370 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8372 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8373 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8376 2018-10-24 Andreas Schwab <schwab@suse.de>
8379 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8381 * elf/cache.c (print_cache): Likewise.
8383 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8385 * bits/timesize.h: New file.
8386 * stdlib/Makefile (headers): Add bits/timesize.h.
8387 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8388 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8389 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8390 (__SEM_PAD_AFTER_TIME): Likewise.
8391 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8392 (__SHM_PAD_AFTER_TIME): Likewise.
8393 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8394 (__MSQ_PAD_BEFORE_TIME): Likewise.
8395 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8396 (__SEM_PAD_BEFORE_TIME): Likewise.
8397 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8398 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8399 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
8400 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8401 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8402 (__MSQ_PAD_BEFORE_TIME): Likewise.
8403 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8404 (__SEM_PAD_BEFORE_TIME): Likewise.
8405 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8406 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8407 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8408 (__MSQ_PAD_BEFORE_TIME): Likewise.
8409 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8410 (__SEM_PAD_BEFORE_TIME): Likewise.
8411 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8412 (__SHM_PAD_BEFORE_TIME): Likewise.
8413 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8414 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8415 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8417 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8419 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8420 USE_RDTSCP is defined.
8421 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8422 USE_RDTSCP is defined.
8424 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8426 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8430 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8431 independently of other flags.
8433 2018-10-23 Florian Weimer <fweimer@redhat.com>
8435 * time/tst-mktime2.c (N_STRINGS): Remove.
8436 (set_timezone): New function.
8437 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8438 (mktime_test1): Report localtime failure and check errno value.
8440 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8441 (do_test): Remove alarm call. Use set_timezone and array_length.
8443 2018-10-23 Andreas Schwab <schwab@suse.de>
8445 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8446 (__start_context): Use END instead of PSEUDO_END.
8448 2018-10-22 Joseph Myers <joseph@codesourcery.com>
8450 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8453 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8457 * wcsmbs/c32rtomb.c: New file.
8458 * wcsmbs/mbrtoc32.c: Likewise.
8459 * wcsmbs/tst-c32-state.c: Likewise.
8460 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8461 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8462 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8463 (tests): Add tst-c32-state.
8464 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8467 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8469 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8470 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8472 2018-10-19 Joseph Myers <joseph@codesourcery.com>
8475 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8476 pair and return 0 in that case, and use saved character to
8477 interpret following character.
8478 * wcsmbs/tst-c16-surrogate.c: New file.
8479 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8480 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8481 Depend on $(gen-locales)
8483 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8486 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8487 (struct siginfo_t): Use correct type for si_band.
8489 2018-10-19 Florian Weimer <fweimer@redhat.com>
8492 * resource/bits/types/struct_rusage.h (struct rusage): Update
8493 comment on struct. Remove extraneous field comment.
8495 2018-10-18 David S. Miller <davem@davemloft.net>
8497 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8498 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8499 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8500 sysdep_routines in subdir elf.
8501 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8502 version for __vdso_clock_gettime.
8503 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8505 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8506 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8508 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8510 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8512 * sysdeps/i386/init-arch.h: Removed.
8513 * sysdeps/i386/i586/init-arch.h: Likewise.
8514 * sysdeps/i386/i686/init-arch.h: Likewise.
8515 * sysdeps/i386/i686/hp-timing.h: Likewise.
8516 * sysdeps/x86_64/hp-timing.h: Likewise.
8517 * sysdeps/i386/isa.h: New file.
8518 * sysdeps/i386/i586/isa.h: Likewise.
8519 * sysdeps/i386/i686/isa.h: Likewise.
8520 * sysdeps/x86_64/isa.h: Likewise.
8521 * sysdeps/x86/hp-timing.h: New file.
8522 * sysdeps/x86/init-arch.h: Include <isa.h>.
8524 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8526 * math/libm-test-pow.inc (pow_test_data): Do not allow
8527 divide-by-zero exception for pow(+/- 0, -Inf).
8529 2018-10-17 Zack Weinberg <zackw@panix.com>
8531 * manual/job.texi (Job Control is Optional): Remove node, as
8532 job control has not been optional in quite some time.
8533 (Job Control): Mention briefly that systems older than
8534 POSIX.1-2001 might not support job control.
8535 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8536 defined on systems conforming to POSIX.1-2001.
8538 2018-10-17 Arjun Shankar <arjun@redhat.com>
8541 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8543 * (__gconv_read_conf): Mark function static.
8544 * (once): New static variable.
8545 * (__gconv_load_conf): New function.
8546 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8547 * iconv/gconv_db.c (once): Remove static variable.
8548 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8550 * (__gconv_find_transform): Likewise.
8551 * iconv/tst-iconv-mt.c: New test.
8552 * iconv/Makefile: Add tst-iconv_mt.
8554 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8556 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8558 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8559 (shmatt_t): Define as __syscall_ulong_t.
8560 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8561 and [__SHM_PAD_AFTER_TIME].
8562 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8563 Define shm_segsz and associated padding based on
8564 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8565 Use __syscall_ulong_t instead of unsigned long int.
8566 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8568 [__USE_MISC] (struct shm_info): Likewise.
8569 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8570 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8571 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8572 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8573 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8574 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8575 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8576 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8577 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8578 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8579 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8583 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8584 (SHMLBA): Remove macro.
8585 (__getpagesize): Remove function declaration.
8586 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8588 (SHMLBA): Remove macro.
8589 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8591 (SHMLBA): Remove macro.
8592 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8594 (SHMLBA): Remove macro.
8595 (__getpagesize): Remove function declaration.
8596 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8598 (SHMLBA): Remove macro.
8599 (__getshmlba): Remove function declaration.
8600 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8601 (SHMLBA): Remove macro.
8602 (__getpagesize): Remove function declaration.
8603 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8604 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8605 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8606 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8607 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8608 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8609 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8610 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8611 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8612 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8614 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
8617 * nptl/tst-mutex10.c: New File.
8618 * nptl/Makefile (tests): Add tst-mutex10.
8619 (tst-mutex10-ENV): New variable.
8620 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8621 Ensure that elision path is used if elision is available.
8622 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8624 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8626 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8627 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8628 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8629 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8631 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8632 (__pthread_mutex_cond_lock_adjust): Likewise.
8633 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8635 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8636 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8637 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8638 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8640 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8641 Use atomic_load_relaxed and atomic_store_relaxed.
8642 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8643 Use atomic_store_relaxed.
8645 2018-10-17 Andreas Schwab <schwab@suse.de>
8647 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8648 * crypt/badsalttest.c (TIMEOUT): Likewise.
8649 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8650 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8651 * io/test-lfs.c (TIMEOUT): Likewise.
8652 * libio/tst-atime.c (TIMEOUT): Likewise.
8653 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8654 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8655 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8656 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8657 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8658 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8659 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8660 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8661 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8662 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8663 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8664 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8665 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8666 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8667 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8668 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8669 * nptl/tst-once2.c (TIMEOUT): Likewise.
8670 * nptl/tst-once3.c (TIMEOUT): Likewise.
8671 * nptl/tst-once4.c (TIMEOUT): Likewise.
8672 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8673 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8674 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8675 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8676 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8677 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8678 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8679 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8680 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8681 * posix/tst-chmod.c (TIMEOUT): Likewise.
8682 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8683 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8684 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8685 * posix/tst-regex2.c (TIMEOUT): Likewise.
8686 * posix/tst-waitid.c (TIMEOUT): Likewise.
8687 * rt/tst-aio.c (TIMEOUT): Likewise.
8688 * rt/tst-aio10.c (TIMEOUT): Likewise.
8689 * rt/tst-aio4.c (TIMEOUT): Likewise.
8690 * rt/tst-aio5.c (TIMEOUT): Likewise.
8691 * rt/tst-aio6.c (TIMEOUT): Likewise.
8692 * rt/tst-aio64.c (TIMEOUT): Likewise.
8693 * rt/tst-aio7.c (TIMEOUT): Likewise.
8694 * rt/tst-aio9.c (TIMEOUT): Likewise.
8695 * rt/tst-clock.c (TIMEOUT): Likewise.
8696 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8697 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8698 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8699 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8700 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8701 * rt/tst-timer4.c (TIMEOUT): Likewise.
8702 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8703 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8704 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8705 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8706 * time/tst-ftime.c (TIMEOUT): Likewise.
8707 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8709 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
8711 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8712 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8715 2018-10-15 Joseph Myers <joseph@codesourcery.com>
8717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8719 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8720 instead of <bits/wordsize.h>.
8721 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8722 and [__SEM_PAD_AFTER_TIME].
8723 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8724 __syscall_ulong_t instead of unsigned long int.
8725 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8726 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8727 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8728 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8729 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8730 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8731 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8732 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8733 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8734 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8735 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8737 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8739 regex: simplify by using intprops.h
8741 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8742 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8743 intprops.h defines them.
8745 regex: __builtin_expect → __glibc_unlikely
8747 This refactoring was prompted by a problem when the regex code is
8748 used as part of Gnulib and when the builder’s compiler does not grok
8749 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8750 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8751 Although this refactoring does not fix the problem directly,
8752 we might as well have Gawk use the now-preferred glibc style for when
8753 __builtin_expect is unavailable.
8754 * posix/regex_internal.h (BE): Remove.
8755 All uses replaced by __glibc_unlikely or __glibc_likely.
8757 2018-10-11 Joseph Myers <joseph@codesourcery.com>
8759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8761 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8762 instead of <bits/wordsize.h>.
8763 (msgqnum_t): Define as __syscall_ulong_t.
8764 (msglen_t): Likewise.
8765 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8766 and [__MSQ_PAD_AFTER_TIME].
8767 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8768 __syscall_ulong_t instead of unsigned long int.
8769 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8770 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8771 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8772 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8773 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8774 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8775 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8776 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8777 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8778 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8779 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8781 2018-10-10 Joseph Myers <joseph@codesourcery.com>
8783 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8784 (struct shmid_ds): Condition padding after time fields on
8786 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8787 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8788 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8790 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8791 (struct semid_ds): Condition padding after time fields on
8793 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8794 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8795 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8796 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8798 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8799 (struct msqid_ds): Condition padding after time fields on
8801 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8802 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8803 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8804 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8806 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8808 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8810 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8812 * libio/tst-readline.c (TIMEOUT): Define.
8814 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8816 mktime fix for Gnulib + coreutils
8818 This fix affects only Gnulib. Problem discovered when
8819 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8821 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8822 Do not define since it is not used. Defining an unused static
8823 function prompts a warning from GCC when Coreutils is configured
8824 with --enable-gcc-warnings.
8826 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8828 * benchtests/scripts/compare_bench.py (main): set float type on
8831 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8834 * localedata/locales/kl_GL (mon): Update, the relative case.
8835 (alt_mon): Add, fill with month names in the nominative case.
8836 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8837 (d_fmt): Set to "%b %d %Y".
8839 2018-10-04 Joseph Myers <joseph@codesourcery.com>
8841 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8842 <bits/mman-linux.h>.
8843 (PROT_READ): Don't define here.
8844 (PROT_WRITE): Likewise.
8845 (PROT_EXEC): Likewise.
8846 (PROT_NONE): Likewise.
8847 (PROT_GROWSDOWN): Likewise.
8848 (PROT_GROWSUP): Likewise.
8849 (MAP_SHARED): Likewise.
8850 (MAP_PRIVATE): Likewise.
8851 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8852 [__USE_MISC] (MAP_FILE): Likewise.
8853 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8854 [__USE_MISC] (MAP_ANON): Likewise.
8855 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8856 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8857 (MCL_CURRENT): Likewise.
8858 (MCL_FUTURE): Likewise.
8859 (MCL_ONFAULT): Likewise.
8860 [__USE_MISC] (MADV_NORMAL): Likewise.
8861 [__USE_MISC] (MADV_RANDOM): Likewise.
8862 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8863 [__USE_MISC] (MADV_WILLNEED): Likewise.
8864 [__USE_MISC] (MADV_DONTNEED): Likewise.
8865 [__USE_MISC] (MADV_FREE): Likewise.
8866 [__USE_MISC] (MADV_REMOVE): Likewise.
8867 [__USE_MISC] (MADV_DONTFORK): Likewise.
8868 [__USE_MISC] (MADV_DOFORK): Likewise.
8869 [__USE_MISC] (MADV_HWPOISON): Likewise.
8870 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8871 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8872 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8873 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8874 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8875 (__MAP_ANONYMOUS): New macro.
8876 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8877 <bits/mman-linux.h> inclusion.
8878 (MAP_FIXED): Likewise.
8879 (MS_SYNC): Likewise.
8880 (MS_ASYNC): Likewise.
8881 (MS_INVALIDATE): Likewise.
8882 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8883 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8884 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8885 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8886 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8887 [__USE_MISC] (MADV_DODUMP): Likewise.
8888 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8889 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8892 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8894 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8895 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8896 Add test-nldbl-redirect.
8897 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8898 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8899 $(objpfx)libnldbl_nonshared.a.
8901 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
8903 * support/support.h (support_objdir_elf_ldso): New variable.
8904 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8905 * support/Makefile (CFLAGS-support_paths.c): Add definition
8906 for OBJDIR_ELF_LDSO_PATH.
8907 * support/test-container.c (main): Search for the ld.so
8908 which is also used by the testsuite.
8910 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8913 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8914 should be "sap" rather than "sab".
8915 (day): Fix spelling of Sunday, should be "sapaat" rather than
8918 2018-10-02 Joseph Myers <joseph@codesourcery.com>
8920 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8922 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8925 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8926 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8927 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8929 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8931 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8933 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8935 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8937 (CFLAGS-elision-unlock.c): Likewise.
8938 (CFLAGS-elision-timed.c): Likewise.
8939 (CFLAGS-elision-trylock.c): Likewise.
8940 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8942 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8945 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8946 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8947 new fd_to_filename interface.
8948 * libio/freopen64.c (freopen64): Likewise.
8949 * libio/tst-memstream.h: New file.
8950 * libio/tst-memstream4.c: Likewise.
8951 * libio/tst-wmemstream4.c: Likewise.
8952 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8953 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8954 and remove internal dynamic allocation.
8956 2018-10-01 Joseph Myers <joseph@codesourcery.com>
8958 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8959 (MREMAP_MAYMOVE): Do not define here.
8960 [__USE_GNU] (MREMAP_FIXED): Likewise.
8961 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8962 (MREMAP_MAYMOVE): Define here instead.
8963 [__USE_GNU] (MREMAP_FIXED): Likewise.
8964 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8965 (MREMAP_MAYMOVE): Remove.
8966 [__USE_GNU] (MREMAP_FIXED): Likewise.
8968 2018-09-28 Joseph Myers <joseph@codesourcery.com>
8970 * math/fromfp.h: Do not include <math_private.h>.
8971 * math/s_cacosh_template.c: Likewise.
8972 * math/s_casin_template.c: Likewise.
8973 * math/s_casinh_template.c: Likewise.
8974 * math/s_ccos_template.c: Likewise.
8975 * math/s_cproj_template.c: Likewise.
8976 * math/s_fdim_template.c: Likewise.
8977 * math/s_fmaxmag_template.c: Likewise.
8978 * math/s_fminmag_template.c: Likewise.
8979 * math/s_iseqsig_template.c: Likewise.
8980 * math/s_ldexp_template.c: Likewise.
8981 * math/s_nextdown_template.c: Likewise.
8982 * math/w_log1p_template.c: Likewise.
8983 * math/w_scalbln_template.c: Likewise.
8984 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8985 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8986 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8987 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8988 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8989 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8990 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8991 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8992 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8993 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8994 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8995 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8996 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8997 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8998 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8999 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
9000 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9002 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9003 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9004 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9005 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9006 * sysdeps/ieee754/k_standardf.c: Likewise.
9007 * sysdeps/ieee754/k_standardl.c: Likewise.
9008 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9009 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9010 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
9011 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9012 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9013 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9014 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9015 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9016 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9017 * sysdeps/ieee754/s_signgam.c: Likewise.
9018 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9019 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
9020 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
9021 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9022 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9023 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9024 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9025 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9026 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9027 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9028 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9029 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9030 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9031 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9032 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9033 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9034 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9035 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9036 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9037 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9038 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9039 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9040 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9041 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9042 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9043 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9044 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9045 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9046 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9047 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9048 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9049 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9050 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9051 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9052 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9053 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9054 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
9056 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9058 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
9061 * sysdeps/i386/dl-cet.c: Removed.
9062 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
9064 (_dl_runtime_profile_shstk): Likewise.
9065 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
9066 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
9068 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9071 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
9072 do_test_with_invalid_iov): New tests.
9073 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
9074 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
9075 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
9077 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9078 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9079 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9081 2018-09-27 Joseph Myers <joseph@codesourcery.com>
9083 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9084 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
9085 (MATH_REDIRECT_BINARY_ARGS): New macro.
9086 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9087 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
9088 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
9090 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
9091 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9092 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
9093 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9094 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
9101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
9103 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
9104 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
9105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
9107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
9109 * sysdeps/generic/math_private_calls.h
9110 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
9111 Do not declare and define as an inline function.
9112 * math/divtc3.c (__divtc3): Use copysign functions instead of
9113 __copysign variants.
9114 * math/multc3.c (__multc3): Likewise.
9115 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
9116 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
9117 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9118 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9120 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9121 (__ieee754_yn): Likewise.
9122 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9123 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
9124 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9125 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9126 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
9128 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9129 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9131 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9133 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9135 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9136 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9138 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9139 (__ieee754_ynf): Likewise.
9140 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9141 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9142 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9143 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9145 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9146 (__ieee754_ynl): Likewise.
9147 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9148 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9149 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9151 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9152 (__ieee754_ynl): Likewise.
9153 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
9154 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9155 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9156 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9158 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9160 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
9161 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9162 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
9163 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9164 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9166 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9167 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
9168 using MATH_REDIRECT.
9169 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
9171 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9173 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9174 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
9175 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9176 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9177 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
9179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
9180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
9181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
9182 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9183 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9184 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9185 (round): Redirect to __round.
9186 (__roundl): Call round instead of __round.
9187 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
9189 [_ARCH_PWR5X] (__roundf): Likewise.
9190 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
9191 functions instead of __round variants.
9192 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9193 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9195 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9197 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9199 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
9200 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
9202 (__ieee754_expl): Call roundl instead of __roundl.
9204 2018-09-27 Andreas Schwab <schwab@suse.de>
9207 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
9208 (do_test): Make st1 static.
9210 2018-09-26 Andreas Schwab <schwab@suse.de>
9213 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
9214 * elf/Makefile (tests): Add tst-unwind-ctor.
9215 (modules-names): Add tst-unwind-ctor-lib.
9216 ($(objpfx)tst-unwind-ctor): Depend on
9217 $(objpfx)tst-unwind-ctor-lib.so.
9219 2018-09-26 Joseph Myers <joseph@codesourcery.com>
9221 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
9222 file. Most contents moved from ....
9223 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
9224 and include <bits/mman-map-flags-generic.h>.
9225 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9226 (sysdep_headers): Add bits/mman-map-flags-generic.h.
9227 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
9228 <bits/mman-map-flags-generic.h>.
9229 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
9230 macros defined in <bits/mman-map-flags-generic.h>.
9231 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
9232 <bits/mman-map-flags-generic.h>.
9233 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
9234 defined in <bits/mman-map-flags-generic.h>.
9236 2018-09-26 Andreas Schwab <schwab@suse.de>
9238 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
9241 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
9242 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9243 Fangrui Song <maskray@google.com>
9246 * config.make.in (have-textrel_ifunc): New define.
9247 * configure.ac: Add check if linker supports textrel relocation with
9249 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
9251 (CFLAGS-tst-ifunc-textrel.c): New rule.
9252 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
9253 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
9254 * elf/tst-ifunc-textrel.c: New file.
9256 2018-09-25 Joseph Myers <joseph@codesourcery.com>
9258 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9259 <bits/procfs-prregset.h>.
9260 (prgregset_t): Define using __prgregset_t.
9261 (prfpregset_t): Define using __prfpregset_t.
9262 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9263 (sysdep_headers): Add bits/procfs-prregset.h.
9264 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9265 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9266 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9267 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9269 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9270 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9271 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9273 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9274 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9275 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9276 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9277 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9278 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9279 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9280 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9281 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9282 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9283 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9284 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9285 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9286 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9287 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9288 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9289 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9290 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9291 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9292 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9293 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9294 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9295 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9296 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9298 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9299 AArch64 version. Include <bits/procfs.h>.
9300 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9301 (sysdep_headers): Add bits/procfs.h.
9302 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9303 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9304 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9305 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9306 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9307 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9308 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9309 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9310 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9311 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9312 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9313 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9314 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9315 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9316 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9317 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9318 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9320 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9322 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9325 2018-09-25 Arjun Shankar <arjun@redhat.com>
9327 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9328 (__gconv_max_path_elem_len): Likewise.
9329 (__gconv_nmodules): Likewise.
9330 (__gconv_get_path): Likewise.
9331 (path_elem): Move to ...
9332 * iconv/gconv_conf.c: ... here.
9333 (__gconv_get_path): Mark function static.
9334 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9335 * iconv/gconv_open.c: ... here.
9337 2018-09-24 Andreas Schwab <schwab@suse.de>
9339 * scripts/haveversions.awk: New file.
9340 * Makerules ($(common-objpfx)Versions.def)
9341 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9342 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9344 * Makeconfig ($(common-objpfx)Versions.def)
9345 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9346 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9348 ($(common-objpfx)Versions.mk): New rule. Include it.
9349 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9350 Emit error if build-obsolete-nsl = yes.
9351 * manual/install.texi (Configuring and compiling): Describe
9352 --enable-obsolete-nsl as unavaiable after version 2.28.
9353 * INSTALL: Regenerate.
9355 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9357 * NEWS: Add note about new TLE support on powerpc64le.
9358 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9359 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9361 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9362 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9363 * sysdeps/powerpc/powerpc32/sysdep.h,
9364 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9365 ABORT_TRANSACTION): Remove macros.
9366 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9367 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9368 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9370 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9371 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9373 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9375 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9378 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9379 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9380 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9381 which is the same as in it_IT.
9382 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9383 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9385 2018-09-20 Joseph Myers <joseph@codesourcery.com>
9387 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9388 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9389 using MATH_REDIRECT.
9390 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9392 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9393 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9394 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9395 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9396 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9397 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9402 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9403 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9404 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9405 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9406 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9407 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9408 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9409 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9410 (ceil): Redirect to __ceil.
9411 (floor): Redirect to __floor.
9412 (trunc): Redirect to __trunc.
9413 (__truncl): Call trunc instead of __trunc.
9414 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9416 [_ARCH_PWR5X] (__truncf): Likewise.
9417 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9418 trunc functions instead of __trunc variants.
9419 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9421 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9423 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9425 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9428 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9429 [__i586__ || __pentium__].
9430 [__i486__]: Handle explicitly.
9431 (HAS_CPUID): Define to 1 if above macros are undefined.
9432 (HAS_I586): Likewise.
9433 (HAS_I686): Likewise.
9435 2018-09-20 Florian Weimer <fweimer@redhat.com>
9437 * misc/tst-gethostid.c: New file.
9438 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9439 (tst-gethostid): Link with -ldl.
9441 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9443 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9444 value from gethostbyname_r.
9446 2018-09-19 Carlos O'Donell <carlos@redhat.com>
9448 * stdlib/tst-setcontext9.c (f1): Rename to...
9450 (f1b): New function implementing lower half of f1 in alternate stack.
9452 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9454 Fix mktime localtime offset confusion
9456 * include/time.h (__mktime_internal): The localtime offset is now
9457 of type long int instead of time_t. This is the longstanding type
9458 in glibc, and it is more than enough to represent difference
9459 between localtime and gmtime even if it is 32 bits and time_t is
9460 64. Changing it now will let us avoid an unnecessary change when
9461 time_t is widened to 64 bits on 32-bit platforms.
9462 * time/mktime-internal.h (mktime_offset_t): Now long int.
9464 Merge mktime, timegm from upstream Gnulib
9465 [BZ #23603][BZ #16346]
9466 This fixes some obscure problems with integer overflow.
9467 Although it looks scary, it is almost all a byte-for-byte copy
9468 from Gnulib, and the Gnulib code has been tested reasonably well.
9469 * include/intprops.h: New file, copied from Gnulib.
9470 * include/verify.h, time/mktime-internal.h:
9471 New tiny files, simplified from Gnulib.
9472 * time/mktime.c: Copy from Gnulib. This has the following changes:
9473 Do not include config.h if DEBUG_MKTIME is nonzero.
9474 Include stdbool.h, intprops.h, verify.h.
9475 Include string.h only if needed.
9476 Include stdlib.h on MS-Windows.
9477 Include mktime-internal.h.
9478 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9479 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9480 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9481 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9482 simplify later conditionals; default the others to zero. Use
9483 these conditionals to express only the code needed on the current
9484 platform. In uses of these conditionals, explicitly spell out how
9485 _LIBC affects things, so it’s easier to review from a glibc
9487 (WRAPV): Remove; no longer needed now that we have
9488 systematic overflow checking.
9489 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9490 compartmentalize tzset issues. Move system-dependent tzsettish
9491 code here from mktime.
9492 (verify): Remove; now done by verify.h. All uses changed.
9493 (long_int): Use a more-conservative definition, to avoid
9495 (SHR): Remove, replacing with ...
9496 (shr): New function, which means we needn’t worry about side
9497 effects in args, and conversion analysis is simpler.
9498 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9499 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9500 (time_t_avg, time_t_add_ok): Remove.
9501 (mktime_min, mktime_max): New constants.
9502 (leapyear, isdst_differ): Use bool for booleans.
9503 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9504 Use long_int, not time_t, for mktime differences.
9505 (long_int_avg): New function, replacing time_t_avg.
9506 INT_ADD_WRAPV replaces time_t_add_ok.
9507 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9509 (convert_time): New function.
9510 (ranged_convert): Use it.
9511 (__mktime_internal): Last arg now points to mktime_offset_t, not
9512 time_t. All uses changed. This is a no-op on glibc, where
9513 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9514 offset guess. Directly check for integer overflow instead of
9515 using a heuristic that works only 99.9...% of the time.
9516 Access *OFFSET only once, to avoid an unlikely race if the
9517 compiler delays a load and if this cascades into a signed integer
9519 (mktime): Move tzsettish code to my_tzset, and move
9520 localtime_offset to within mktime so that it doesn’t
9521 need a separate ifdef.
9522 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9523 instead of localtime.
9524 * time/timegm.c: Copy from Gnulib. This has the following changes:
9525 Include mktime-internal.h.
9526 [!_LIBC]: Include config.h and time.h. Do not include
9527 timegm.h or time_r.h. Make __mktime_internal a macro,
9528 and include mktime-internal.h to get its declaration.
9529 (timegm): Temporary is now mktime_offset_t, not time_t.
9530 This affects only Gnulib.
9532 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9535 * string/test-strstr.c (pr23637): New function.
9536 (test_main): Add tests with longer needles.
9537 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9538 * string/strstr.c (AVAILABLE): Likewise.
9540 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9542 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9544 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9546 * NEWS: Mention pow improvements.
9547 * math/Makefile (type-double-routines): Add e_pow_log_data.
9548 * sysdeps/generic/math_private.h (__exp1): Remove.
9549 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9550 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9551 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9553 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9554 (exp_inline): Remove.
9555 (__ieee754_exp): Only single double input is handled.
9556 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9557 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9558 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9559 (__pow_log_data): Define.
9560 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9561 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9562 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9563 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9565 (CFLAGS-e_pow-fma4.c): Likewise.
9567 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9569 Simplify tzfile fstat failure code
9571 * time/tzfile.c (__tzfile_read): Simplify slightly.
9573 Fix tzfile low-memory assertion failure
9575 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9576 when registering time zone abbreviations.
9578 2018-09-18 Joseph Myers <joseph@codesourcery.com>
9580 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9581 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9582 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9583 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9584 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9585 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9586 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9587 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9588 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9590 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9592 (__ceill): Call ceil instead of __ceil.
9593 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9595 (__floorl): Call floor instead of __floor.
9597 2018-09-17 Joseph Myers <joseph@codesourcery.com>
9599 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9600 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9601 using MATH_REDIRECT.
9602 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9604 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9605 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9606 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9607 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9608 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9609 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9610 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9611 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9616 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9617 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9620 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9621 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9622 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9624 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9625 functions instead of __ceil variants.
9626 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9627 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9629 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9631 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9632 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9634 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9635 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9638 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9640 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9641 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9642 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9643 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9644 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9645 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9646 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9647 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9648 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9649 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9650 (ILL_BADIADDR): Remove constant.
9651 (TRAP_BRANCH): Likewise.
9652 (TRAP_HWBKPT): Likewise.
9654 2018-09-14 Joseph Myers <joseph@codesourcery.com>
9657 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9658 Remove [_MIPS_SIM = _ABIN32] conditional case.
9659 (struct elf_prpsinfo): Likewise.
9662 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9663 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9664 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9666 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9667 elf_prpsinfo): Likewise.
9668 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9669 elf_prpsinfo): Likewise.
9670 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9673 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9674 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9675 using MATH_REDIRECT.
9676 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9678 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9679 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9680 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9681 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9682 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9683 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9684 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9685 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9686 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9687 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9688 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9689 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9690 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9691 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9692 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9693 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9694 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9695 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9696 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9699 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9700 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9701 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9702 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9703 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9704 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9706 * math/e_scalbf.c (invalid_fn): Likewise.
9707 * math/e_scalbl.c (invalid_fn): Likewise.
9708 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9710 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9712 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9713 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9714 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9716 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9718 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9720 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9721 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9723 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9724 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9726 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9727 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9728 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9729 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9730 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9731 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9732 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9733 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9734 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9735 && !NO_MATH_REDIRECT] (floor): Likewise.
9736 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9738 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9739 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9740 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9741 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9742 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9743 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9744 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9745 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9750 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9751 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9752 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9754 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9755 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9756 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9758 [_ARCH_PWR5X] (__floorf): Likewise.
9759 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9761 [__SSE4_1__] (__floorf): Likewise.
9762 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9763 instead of __floor variants.
9764 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9765 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9766 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9767 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9768 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9769 * math/w_tgamma_compat.c (__tgamma): Likewise.
9770 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9771 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9772 * math/w_tgammal_compat.c (__tgammal): Likewise.
9773 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9774 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9776 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9777 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9778 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9779 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9781 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9782 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9784 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9785 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9787 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9788 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9790 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9791 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9792 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9793 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9794 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9795 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9797 2018-09-12 Joseph Myers <joseph@codesourcery.com>
9799 * elf/Makefile (modules-names-tests): New variable.
9801 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9803 * NEWS: Mention log2 improvements.
9804 * math/Makefile (type-double-routines): Add e_log2_data.
9805 * sysdeps/i386/fpu/e_log2_data.c: New file.
9806 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9807 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9808 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9809 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9810 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9811 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9813 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9815 * NEWS: Mention log improvement.
9816 * math/Makefile (type-double-routines): Add e_log_data.
9817 * sysdeps/i386/fpu/e_log_data.c: New file.
9818 * sysdeps/ia64/fpu/e_log_data.c: New file.
9819 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9820 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9821 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9822 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9823 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9824 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9826 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9827 Xuepeng Guo <xuepeng.guo@intel.com>
9830 * sysdeps/i386/start.S: Include <sysdep.h>
9831 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9832 enabled. Add cfi_undefined (eip).
9834 2018-09-11 Joseph Myers <joseph@codesourcery.com>
9836 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9838 (EXTRACT_WORDS64): Likewise.
9839 (INSERT_WORDS64): Likewise.
9840 (GET_FLOAT_WORD): Likewise.
9841 (SET_FLOAT_WORD): Likewise.
9843 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9845 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9846 build, but not for second build if --full-gcc. Use
9847 --enable-languages=all for second build if --full-gcc.
9848 (get_parser): Add --full-gcc option.
9849 (main): Update call to Context.
9851 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9854 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9855 Single Quotation Mark).
9856 (thousands_sep): Likewise.
9857 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9858 * localedata/locales/it_IT (thousands_sep): Use ".".
9859 (grouping): Use "3;3".
9861 2018-09-10 Joseph Myers <joseph@codesourcery.com>
9863 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9864 x86_64 and i686 configs using --enable-obsolete-rpc
9865 --enable-obsolete-nsl.
9867 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9869 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9871 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9873 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9874 Increment size of new_argv by one.
9876 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9879 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9880 * localedata/locales/ar_IN (d_fmt): Likewise.
9881 * localedata/locales/bhb_IN (d_fmt): Likewise.
9882 * localedata/locales/bho_IN (d_fmt): Likewise.
9883 * localedata/locales/bn_BD (d_fmt): Likewise.
9884 * localedata/locales/bn_IN (d_fmt): Likewise.
9885 * localedata/locales/doi_IN (d_fmt): Likewise.
9886 * localedata/locales/gu_IN (d_fmt): Likewise.
9887 * localedata/locales/hi_IN (d_fmt): Likewise.
9888 * localedata/locales/hne_IN (d_fmt): Likewise.
9889 * localedata/locales/kn_IN (d_fmt): Likewise.
9890 * localedata/locales/mag_IN (d_fmt): Likewise.
9891 * localedata/locales/mai_IN (d_fmt): Likewise.
9892 * localedata/locales/mjw_IN (d_fmt): Likewise.
9893 * localedata/locales/ml_IN (d_fmt): Likewise.
9894 * localedata/locales/mni_IN (d_fmt): Likewise.
9895 * localedata/locales/mr_IN (d_fmt): Likewise.
9896 * localedata/locales/pa_IN (d_fmt): Likewise.
9897 * localedata/locales/raj_IN (d_fmt): Likewise.
9898 * localedata/locales/sat_IN (d_fmt): Likewise.
9899 * localedata/locales/sd_IN (d_fmt): Likewise.
9900 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9901 * localedata/locales/ta_IN (d_fmt): Likewise.
9902 * localedata/locales/ta_LK (d_fmt): Likewise.
9903 * localedata/locales/tcy_IN (d_fmt): Likewise.
9904 * localedata/locales/ur_IN (d_fmt): Likewise.
9906 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9907 * localedata/locales/ks_IN (d_fmt): Likewise.
9908 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9910 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9911 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9912 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9913 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9915 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9917 * NEWS: Mention exp and exp2 improvements.
9918 * math/Makefile (libm-support): Remove t_exp.
9919 (type-double-routines): Add math_err and e_exp_data.
9920 * sysdeps/aarch64/libm-test-ulps: Update.
9921 * sysdeps/arm/libm-test-ulps: Update.
9922 * sysdeps/i386/fpu/e_exp_data.c: New file.
9923 * sysdeps/i386/fpu/math_err.c: New file.
9924 * sysdeps/i386/fpu/t_exp.c: Remove.
9925 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9926 * sysdeps/ia64/fpu/math_err.c: New file.
9927 * sysdeps/ia64/fpu/t_exp.c: Remove.
9928 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9929 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9930 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9931 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9932 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9933 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9934 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9935 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9936 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9937 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9938 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9939 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9940 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9941 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9945 2018-09-05 Joseph Myers <joseph@codesourcery.com>
9947 * sysdeps/alpha/fpu/math_private.h: Remove.
9949 * sysdeps/generic/math_private.h
9950 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9951 Move this inline function ....
9952 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9953 * include/math.h [!_ISOMAC]: To here....
9955 2018-09-04 Joseph Myers <joseph@codesourcery.com>
9957 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9959 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9960 * include/fenv.h [!_ISOMAC]: ... to here.
9961 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9962 (feraiseexcept): Likewise.
9963 * math/fromfp.h: Do not include <fenv_private.h>.
9964 * math/s_cexp_template.c: Likewise.
9965 * math/s_csin_template.c: Likewise.
9966 * math/s_csinh_template.c: Likewise.
9967 * math/s_ctan_template.c: Likewise.
9968 * math/s_ctanh_template.c: Likewise.
9969 * math/s_iseqsig_template.c: Likewise.
9970 * math/w_acos_compat.c: Likewise.
9971 * math/w_acosf_compat.c: Likewise.
9972 * math/w_acosl_compat.c: Likewise.
9973 * math/w_asin_compat.c: Likewise.
9974 * math/w_asinf_compat.c: Likewise.
9975 * math/w_asinl_compat.c: Likewise.
9976 * math/w_j0_compat.c: Likewise.
9977 * math/w_j0f_compat.c: Likewise.
9978 * math/w_j0l_compat.c: Likewise.
9979 * math/w_j1_compat.c: Likewise.
9980 * math/w_j1f_compat.c: Likewise.
9981 * math/w_j1l_compat.c: Likewise.
9982 * math/w_jn_compat.c: Likewise.
9983 * math/w_jnf_compat.c: Likewise.
9984 * math/w_log10_compat.c: Likewise.
9985 * math/w_log10f_compat.c: Likewise.
9986 * math/w_log10l_compat.c: Likewise.
9987 * math/w_log2_compat.c: Likewise.
9988 * math/w_log2f_compat.c: Likewise.
9989 * math/w_log2l_compat.c: Likewise.
9990 * math/w_log_compat.c: Likewise.
9991 * math/w_logf_compat.c: Likewise.
9992 * math/w_logl_compat.c: Likewise.
9993 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9994 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9995 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9996 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9997 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9998 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9999 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10000 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10001 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10002 * sysdeps/ieee754/k_standardl.c: Likewise.
10003 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10004 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10005 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10006 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10007 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10008 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10009 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10010 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10011 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10012 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10013 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10014 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10015 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10016 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10017 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10018 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10019 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10020 * math/w_ilogb_template.c: Include <fenv.h> instead of
10022 * math/w_llogb_template.c: Likewise.
10023 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10024 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10026 2018-09-03 Joseph Myers <joseph@codesourcery.com>
10028 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
10029 * math/fromfp.h: Include <fenv_private.h>.
10030 * math/math-narrow.h: Likewise.
10031 * math/s_cexp_template.c: Likewise.
10032 * math/s_csin_template.c: Likewise.
10033 * math/s_csinh_template.c: Likewise.
10034 * math/s_ctan_template.c: Likewise.
10035 * math/s_ctanh_template.c: Likewise.
10036 * math/s_iseqsig_template.c: Likewise.
10037 * math/w_acos_compat.c: Likewise.
10038 * math/w_acosf_compat.c: Likewise.
10039 * math/w_acosl_compat.c: Likewise.
10040 * math/w_asin_compat.c: Likewise.
10041 * math/w_asinf_compat.c: Likewise.
10042 * math/w_asinl_compat.c: Likewise.
10043 * math/w_ilogb_template.c: Likewise.
10044 * math/w_j0_compat.c: Likewise.
10045 * math/w_j0f_compat.c: Likewise.
10046 * math/w_j0l_compat.c: Likewise.
10047 * math/w_j1_compat.c: Likewise.
10048 * math/w_j1f_compat.c: Likewise.
10049 * math/w_j1l_compat.c: Likewise.
10050 * math/w_jn_compat.c: Likewise.
10051 * math/w_jnf_compat.c: Likewise.
10052 * math/w_llogb_template.c: Likewise.
10053 * math/w_log10_compat.c: Likewise.
10054 * math/w_log10f_compat.c: Likewise.
10055 * math/w_log10l_compat.c: Likewise.
10056 * math/w_log2_compat.c: Likewise.
10057 * math/w_log2f_compat.c: Likewise.
10058 * math/w_log2l_compat.c: Likewise.
10059 * math/w_log_compat.c: Likewise.
10060 * math/w_logf_compat.c: Likewise.
10061 * math/w_logl_compat.c: Likewise.
10062 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10063 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10064 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10065 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10066 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10067 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10068 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10069 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10070 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10071 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10072 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10073 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10074 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
10075 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10076 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10077 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10079 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10090 * sysdeps/ieee754/float128/float128_private.h: Likewise.
10091 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10092 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10093 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10094 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10095 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10096 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10097 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10098 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10099 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10100 * sysdeps/ieee754/k_standardl.c: Likewise.
10101 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10102 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10103 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10104 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10105 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10106 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10107 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10108 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10109 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10110 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10111 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10112 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10113 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10114 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10115 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10116 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10117 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10118 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10119 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10120 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10121 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10122 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10123 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10124 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10125 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10126 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10127 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10128 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10129 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10130 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10131 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10132 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10133 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10134 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10135 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10136 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10137 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10138 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10139 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10140 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10141 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10142 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10143 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10144 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10145 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10146 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10147 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10148 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10149 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10150 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10151 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10152 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10153 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10154 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10155 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10156 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10157 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10158 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10159 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10160 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10161 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10162 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10163 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10164 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10165 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10166 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10167 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10168 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10169 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10170 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10171 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10173 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10176 * include/stdio.h (__libc_fatal): Mention newline in comment.
10177 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
10178 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
10179 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10180 * nss/nsswitch.c (__nss_next2): Likewise.
10181 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
10182 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
10183 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
10184 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10185 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
10186 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
10187 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
10188 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
10189 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
10190 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
10191 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
10192 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10193 (__netlink_assert_response): Likewise.
10195 2018-08-31 Joseph Myers <joseph@codesourcery.com>
10197 * conform/glibcconform.py: New file.
10198 * conform/list-header-symbols.py: Likewise.
10199 * conform/list-header-symbols.pl: Remove.
10200 * conform/Makefile (tests-special): Only add linknamespace tests
10202 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
10204 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
10207 * support/Makefile (libsupport-routines): Add
10208 support_copy_file_range and xcopy_file_range.
10209 * support/support.h: Include <sys/types.h>.
10210 (support_copy_file_range): New prototype.
10211 * support/support_copy_file_range.c: New file. Copied and
10212 modified from io/copy_file_range-compat.c.
10213 * support/test-container.c (copy_one_file): Call xcopy_file_rang
10214 instead of copy_file_range.
10215 * support/xcopy_file_range.c: New file.
10216 * support/xunistd.h (xcopy_file_range): New prototype.
10218 2018-08-30 Carlos O'Donell <carlos@redhat.com>
10220 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
10221 xpthread_create and xpthread_join.
10223 2018-08-30 Florian Weimer <fweimer@redhat.com>
10225 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
10227 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
10229 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
10232 2018-08-29 Joseph Myers <joseph@codesourcery.com>
10234 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
10235 and minus_oflow as non-finite.
10237 2018-08-28 Joseph Myers <joseph@codesourcery.com>
10239 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
10240 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
10241 moved to fenv_private.h except for ...
10242 (TOINT_INTRINSICS): Kept in math_private.h.
10243 (roundtoint): Likewise.
10244 (converttoint): Likewise.
10245 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
10246 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10247 * sysdeps/arm/math_private.h: Remove.
10248 * sysdeps/generic/fenv_private.h: New file. Contents moved from
10250 * sysdeps/generic/math_private.h: ... this file. Include
10251 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
10252 Include <fenv_private.h>. Remove functions and macros moved to
10254 * sysdeps/i386/fpu/math_private.h: Remove.
10255 * sysdeps/mips/math_private.h: Move to ....
10256 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
10257 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
10258 [__mips_hard_float] conditional. Include next <fenv_private.h>.
10259 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
10260 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10261 * sysdeps/powerpc/fpu/math_private.h: Do not include
10263 * sysdeps/riscv/rvf/math_private.h: Move to ....
10264 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10265 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10267 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10268 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10269 * sysdeps/sparc/fpu/math_private.h: Remove.
10270 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10271 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10272 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10274 * sysdeps/x86_64/fpu/math_private.h: Do not include
10275 <sysdeps/i386/fpu/fenv_private.h>.
10277 2018-08-28 Florian Weimer <fweimer@redhat.com>
10280 * posix/tst-regcomp-truncated.c: New file.
10281 * posix/Makefile (tests): Add it.
10282 (tst-regcomp-truncated.out): Depend on generated locales.
10284 2018-08-28 Florian Weimer <fweimer@redhat.com>
10286 * support/test-container.c (main): Treat unshare failure with
10287 EPERM as an unsupported test.
10289 2018-08-28 Florian Weimer <fweimer@redhat.com>
10292 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10293 * nscd/netgroupcache.c
10294 (addgetnetgrentX): Add tofreep parameter. Do not free
10295 heap-allocated buffer.
10296 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10297 (addgetnetgrentX_ignore): New function.
10298 (addgetnetgrent): Call it.
10299 (readdgetnetgrent): Likewise.
10301 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10303 * string/memmem.c: Use memcmp for first match.
10305 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10308 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10310 2018-08-27 DJ Delorie <dj@redhat.com>
10312 * support/Makefile (others): Don't list programs explicitly as a
10313 dependency of "others".
10315 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10317 * sysdeps/generic/math-tests-trap-force.h: New file.
10318 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10319 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10320 * sysdeps/powerpc/math-tests.h: Remove file.
10321 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10323 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10324 Torvald Riegel <triegel@redhat.com>
10327 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10328 Update r to include the set wake-request flag if waiters are
10329 remaining after spinning.
10331 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10333 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10335 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10338 regex: fix uninitialized memory access
10339 I introduced this bug into gnulib in commit
10340 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10341 eventually it was merged into glibc. The bug was found by
10342 project-repo <bugs@feusi.co> and reported here:
10343 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10344 Diagnosis and draft fix reported by Assaf Gordon here:
10345 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10346 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10347 * posix/regex_internal.c (build_wcs_upper_buffer):
10348 Fix bug when mbrtowc returns 0.
10350 2018-08-24 Carlos O'Donell <carlos@redhat.com>
10352 * po/be.po: Update translation.
10354 2018-08-24 DJ Delorie <dj@delorie.com>
10356 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10359 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10362 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10363 create temporary files in source tree.
10365 2018-08-24 Joseph Myers <joseph@codesourcery.com>
10367 * sysdeps/generic/math-tests-trap.h: New file.
10368 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10369 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10370 * sysdeps/aarch64/math-tests.h: Remove file.
10371 * sysdeps/arm/math-tests.h: Likewise.
10372 * sysdeps/riscv/math-tests.h: Likewise.
10373 * sysdeps/aarch64/math-tests-trap.h: New file.
10374 * sysdeps/arm/math-tests-trap.h: Likewise.
10375 * sysdeps/riscv/math-tests-trap.h: Likewise.
10377 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10379 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10380 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10381 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10382 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10383 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10384 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10385 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10386 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10387 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10388 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10389 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10390 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10391 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10392 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10393 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10394 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10395 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10396 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10398 2018-08-23 Joseph Myers <joseph@codesourcery.com>
10400 * sysdeps/generic/math-tests-exceptions.h: New file.
10401 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10402 (EXCEPTION_TESTS_float): Do not define here.
10403 (EXCEPTION_TESTS_double): Likewise.
10404 (EXCEPTION_TESTS_long_double): Likewise.
10405 (EXCEPTION_TESTS_float128): Likewise.
10406 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10408 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10409 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10410 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10411 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10412 * sysdeps/mips/math-tests.h: Likewise.
10413 * sysdeps/nios2/math-tests.h: Likewise.
10414 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10415 (EXCEPTION_TESTS_float): Do not define here.
10416 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10417 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10418 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10420 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10422 * NEWS: Move optimized sinf entry to 2.29.
10424 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10426 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10428 2018-08-22 DJ Delorie <dj@redhat.com>
10430 * Makefile (testroot.pristine): New rules to initialize the
10431 test-in-container "testroot".
10432 * Makerules (all-testsuite): Add tests-container.
10433 * Rules (tests-expected): Add tests-container.
10434 (binaries-all-tests): Likewise.
10435 (tests-container): New, run these tests in the testroot container.
10436 * support/Makefile (others): Add *-container, support_paths.c,
10437 xmkdirp, and links-dso-program.
10438 * support/links-dso-program-c.c: New.
10439 * support/links-dso-program.cc: New.
10440 * support/test-container.c: New.
10441 * support/shell-container.c: New.
10442 * support/echo-container.c: New.
10443 * support/true-container.c: New.
10444 * support/xmkdirp.c: New.
10445 * support/xsymlink.c: New.
10446 * support/support_paths.c: New.
10447 * support/support.h: Add support paths prototypes.
10448 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10450 * nss/tst-nss-test3.c: Convert to test-in-container.
10451 * nss/tst-nss-test3.root/: New.
10453 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10455 regex: port Gnulib code to z/OS POSIX environment
10456 Problem reported by Arnold Robbins in:
10457 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10458 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10461 2018-08-22 Joseph Myers <joseph@codesourcery.com>
10463 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10464 (ROUNDING_TESTS_double): Remove.
10465 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10466 (ROUNDING_TESTS_double): Remove.
10467 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10468 (ROUNDING_TESTS_double): Remove.
10469 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10470 (ROUNDING_TESTS_float): Remove.
10471 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10472 (ROUNDING_TESTS_float): Remove.
10473 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10474 (ROUNDING_TESTS_float): Remove.
10475 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10476 !TEST_MATHVEC here.
10477 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10478 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10480 * sysdeps/generic/math-tests-rounding.h: New file.
10481 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10482 (ROUNDING_TESTS_float): Do not define here.
10483 (ROUNDING_TESTS_double): Likewise.
10484 (ROUNDING_TESTS_long_double): Likewise.
10485 (ROUNDING_TESTS_float128): Likewise.
10486 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10487 (ROUNDING_TESTS_double): Undefine before defining.
10488 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10489 (ROUNDING_TESTS_double): Undefine before defining.
10490 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10491 (ROUNDING_TESTS_double): Undefine before defining.
10492 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10493 (ROUNDING_TESTS_float): Undefine before defining.
10494 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10495 (ROUNDING_TESTS_float): Undefine before defining.
10496 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10497 (ROUNDING_TESTS_float): Undefine before defining.
10498 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10499 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10501 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10502 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10503 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10504 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10505 (ROUNDING_TESTS_float): Do not define here.
10506 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10507 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10508 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10509 (ROUNDING_TESTS_float): Likewise.
10510 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10511 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10512 * sysdeps/mips/math-tests.h [__mips_soft_float]
10513 (ROUNDING_TESTS_float): Likewise.
10514 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10515 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10516 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10517 (ROUNDING_TESTS_double): Likewise.
10518 (ROUNDING_TESTS_long_double): Likewise.
10520 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
10522 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10523 (PF_XDP): New macro.
10524 (AF_XDP): New macro.
10525 (SOL_XDP): New macro.
10527 2018-08-21 Joseph Myers <joseph@codesourcery.com>
10529 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10530 (TCP_INQ): Likewise.
10531 (TCP_CM_INQ): Likewise.
10532 (TCP_REPAIR_ON): Likewise.
10533 (TCP_REPAIR_OFF): Likewise.
10534 (TCP_REPAIR_OFF_NO_WP): Likewise.
10535 (struct tcp_zerocopy_receive): New type.
10537 2018-08-21 Florian Weimer <fweimer@redhat.com>
10539 * support/support.h (support_descriptor_supports_holes): Declare.
10540 * support/Makefile (libsupport-routines): Add
10541 support_descriptor_supports_holes.
10542 * support/support_descriptor_supports_holes.c: New file.
10543 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10544 and stop testing if holes are not supported.
10545 * io/test-lfs.c (do_prepare): Likewise.
10546 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10548 * timezone/tst-tzset.c (create_tz_file): Likewise.
10549 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10551 (do_prepare): Set it.
10552 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10554 2018-08-21 Florian Weimer <fweimer@redhat.com>
10557 * Makeconfig (+cflags): Do not sort (and deduplicate).
10559 2018-08-21 Florian Weimer <fweimer@redhat.com>
10561 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10562 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10564 2018-08-20 Florian Weimer <fweimer@redhat.com>
10566 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10567 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10569 2018-08-20 Joseph Myers <joseph@codesourcery.com>
10571 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10572 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10573 and ssi_arch members.
10575 * elf/elf.c (NT_VMCOREDD): New macro.
10576 (AT_MINSIGSTKSZ): Likewise.
10578 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10580 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10581 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10582 s_cosf-ppc64 and s_cosf-power8.
10583 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10584 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10585 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10586 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10593 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10594 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10596 2018-08-17 Florian Weimer <fweimer@redhat.com>
10598 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10600 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10602 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10604 2018-08-16 Florian Weimer <fweimer@redhat.com>
10606 * configure.ac: Add --with-nonshared-cflags option.
10607 * config.make.in (extra-nonshared-cflags): Set variable.
10608 * Makeconfig (CFLAGS-.oS): Use it.
10609 * manual/install.texi (Configuring and compiling): Document
10610 --with-nonshared-cflags.
10611 * configure: Regenerate.
10612 * INSTALL: Likewise.
10614 2018-08-16 Florian Weimer <fweimer@redhat.com>
10616 * Makeconfig (ASFLAGS): Always append required assembler flags.
10618 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
10620 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10621 (malloc_consolidate): Likewise.
10623 2018-08-16 Pochang Chen <johnchen902@gmail.com>
10625 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10627 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10629 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10632 * benchtests/bench-strlen.c: Print performance numbers in json.
10634 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10636 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10637 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10638 only for little endian.
10639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10640 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10641 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10642 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10643 Add check for little endian.
10644 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10645 (__strcmp_power9): Add check for little endian.
10646 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10647 Add check for little endian.
10648 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10649 (__strncmp_power9): Add check for little endian.
10650 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10651 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10652 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10653 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10654 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10656 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10658 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10659 [!STRLEN](STRLEN): Set to __strlen.
10660 * sysdeps/aarch64/multiarch/strlen.c: New file.
10661 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10662 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10663 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10664 (__libc_ifunc_impl_list): Add strlen.
10665 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10666 strlen_generic and strlen_asimd.
10668 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10670 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10671 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10672 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10674 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10676 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10678 2018-08-14 Florian Weimer <fweimer@redhat.com>
10681 * include/stdio.h (__vfxprintf): Declare.
10682 * stdio-common/fxprintf.c (__vfxprintf): New function.
10683 (__fxprintf): Call it.
10684 * misc/err.c (convert_and_print): Remove function.
10685 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10686 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10687 * misc/Makefile (tests): Add tst-warn-wide.
10688 * misc/tst-warn-wide.c: New file.
10690 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10691 Szabolcs Nagy <szabolcs.nagy@arm.com>
10693 * NEWS: Mention sinf, cosf, sincosf.
10694 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10695 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10696 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10697 constants rather than including generic sincosf.h.
10698 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10699 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10700 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10701 (reduced_cos): Remove.
10702 (sinf_poly): New function.
10703 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10705 2018-08-14 Florian Weimer <fweimer@redhat.com>
10709 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10710 processing, bail out if no room, and close the stream before
10712 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10713 (tst-nss-files-alias-leak): Link with libdl.
10714 (tst-nss-files-alias-leak.out): Depend on nss_files.
10716 * nss/tst-nss-files-alias-leak.c: New file.
10718 2018-08-14 Florian Weimer <fweimer@redhat.com>
10720 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10721 server_user, stat_user.
10723 2018-08-13 Joseph Myers <joseph@codesourcery.com>
10725 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10727 (io_pgetevents): New syscall.
10730 * manual/install.texi (Configuring and compiling): Do not list
10731 tools used for testing pretty printers here.
10732 (Tools for Compilation): List Python, PExpect and GDB here.
10733 Update descriptions of uses of Perl and Python.
10734 * INSTALL: Regenerate.
10736 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10739 2018-08-13 Florian Weimer <fweimer@redhat.com>
10741 * misc/error.c (error): Add missing va_end call.
10742 (error_at_line): Likewise.
10744 2018-08-13 Florian Weimer <fweimer@redhat.com>
10746 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10748 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10750 * benchtests/scripts/benchout.schema.json (properties): Add
10753 * benchtests/bench-skeleton.c (main): Add duration and
10754 iterations attributes.
10756 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10758 regex: Gnulib unibyte RRI uses bytes not chars
10759 Adjust the non-glibc code to agree with what Gawk needs for
10760 rational range interpretation (RRI) for regular expression ranges.
10761 In unibyte locales, Gawk wants ranges to use the underlying byte
10762 rather than the character code point. This change does not affect
10764 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10765 In unibyte locales, use the byte value rather than
10766 running it through btowc.
10768 2018-08-10 Joseph Myers <joseph@codesourcery.com>
10770 * sysdeps/generic/math-tests-snan.h: New file.
10771 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10772 (SNAN_TESTS_float): Do not define here.
10773 (SNAN_TESTS_double): Likewise.
10774 (SNAN_TESTS_long_double): Likewise.
10775 (SNAN_TESTS_float128): Likewise.
10776 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10777 * sysdeps/i386/fpu/math-tests.h: Remove file.
10778 * sysdeps/ia64/math-tests-snan.h: New file.
10779 * sysdeps/ia64/math-tests.h: Remove file.
10780 * sysdeps/x86/math-tests.h: Likewise.
10781 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10783 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10784 Szabolcs Nagy <szabolcs.nagy@arm.com>
10786 * math/Makefile: Add s_sincosf_data.c.
10787 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10788 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10789 (sincosf_poly): Likewise.
10790 (reduce_small): Likewise.
10791 (reduce_large): Likewise.
10792 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10793 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10794 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10795 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10797 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10798 Szabolcs Nagy <szabolcs.nagy@arm.com>
10800 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10801 (converttoint): Use lround.
10802 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10803 document the semantics when TOINT_INTRINSICS is set.
10804 (converttoint): Likewise.
10805 (TOINT_RINT): Remove.
10806 (TOINT_SHIFT): Remove.
10807 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10810 2018-08-10 Florian Weimer <fweimer@redhat.com>
10813 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10815 (__old_getdents64): Use getdents64. Convert entries without
10817 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10818 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10819 tst-readdir64-compat.
10821 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10823 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10826 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10828 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10829 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10830 code to s390x-mcount.h and #include it.
10831 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10832 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10835 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10837 * stdlib/Versions: Remove __fentry__.
10838 * sysdeps/i386/Versions: Add __fentry__.
10839 * sysdeps/x86_64/Versions: Add __fentry__.
10841 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10843 * sysdeps/s390/Makefile: Register the new tests.
10844 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10845 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10846 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10847 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10848 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10849 * sysdeps/s390/tst-dl-runtime.c: New file.
10851 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10853 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10856 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10858 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10861 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10863 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10866 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10868 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10871 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10873 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10874 Use symbolic offsets for stack variables.
10876 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10878 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10879 Use symbolic offsets for stack variables.
10881 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10883 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10884 Use symbolic offsets for stack variables.
10886 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10888 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10889 Use symbolic offsets for stack variables.
10891 2018-08-09 Joseph Myers <joseph@codesourcery.com>
10893 * math/gen-libm-test.py: New file.
10894 * math/gen-libm-test.pl: Remove.
10895 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10896 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10898 ($(libm-test-c-noauto-obj)): Likewise.
10899 ($(libm-test-c-auto-obj)): Likewise.
10900 ($(libm-test-c-narrow-obj)): Likewise.
10901 (regen-ulps): Likewise.
10902 * math/README.libm-test: Update references to gen-libm-test.pl.
10903 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10904 referencing gen-libm-test.pl.
10905 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10906 * math/libm-test-support.c: Likewise.
10907 * math/libm-test-support.h: Likewise.
10908 * sysdeps/generic/libm-test-ulps: Likewise.
10910 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10912 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10915 2018-08-08 Joseph Myers <joseph@codesourcery.com>
10917 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10918 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10920 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10922 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10924 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10925 __pthread_setspecific): Add hidden proto.
10926 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10927 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
10929 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10931 * benchtests/bench-string.h (buf1_size, buf2_size): New
10933 (init_sizes): New function.
10934 (test_init): Use it.
10935 (alloc_buf, exit_error): New functions.
10936 (alloc_bufs): Use ALLOC_BUF.
10937 (realloc_bufs): Remove.
10938 * benchtests/bench-memcmp.c (do_test): Adjust.
10939 * benchtests/bench-memset-large.c (do_test): Likewise.
10940 * benchtests/bench-memset-walk.c (do_test): Likewise.
10941 * benchtests/bench-memset.c (do_test): Likewise.
10942 * benchtests/bench-strncmp.c (do_test): Likewise.
10944 2018-08-06 Andreas Schwab <schwab@suse.de>
10946 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10947 of CONST_THREAD_AREA.
10949 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10951 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10952 (STATE_SAVE_MASK): Likewise.
10953 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10954 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10955 (STATE_SAVE_MASK): Likewise.
10956 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10957 instead of <cpu-features.h>.
10959 2018-08-03 DJ Delorie <dj@redhat.com>
10961 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
10962 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
10964 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10966 2018-08-03 Joseph Myers <joseph@codesourcery.com>
10968 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10969 after TEST_* calls.
10970 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10971 * math/libm-test-logb.inc (logb_test_data): Likewise.
10973 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10975 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10976 * string/strstr.c (AVAILABLE): Likewise.
10978 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10980 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10982 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10983 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10984 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10986 2018-08-03 Carlos O'Donell <carlos@redhat.com>
10988 * po/be.po: Update translation.
10990 * po/be.po: Update translation.
10992 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10994 * sysdeps/x86/cpu-features-offsets.sym
10995 (rtld_global_ro_offsetof): Removed.
10996 (CPU_FEATURES_SIZE): Likewise.
10997 (CPUID_OFFSET): Likewise.
10998 (CPUID_SIZE): Likewise.
10999 (CPUID_EAX_OFFSET): Likewise.
11000 (CPUID_EBX_OFFSET): Likewise.
11001 (CPUID_ECX_OFFSET): Likewise.
11002 (CPUID_EDX_OFFSET): Likewise.
11003 (FAMILY_OFFSET): Likewise.
11004 (MODEL_OFFSET): Likewise.
11005 (FEATURE_OFFSET): Likewise.
11006 (FEATURE_SIZ): Likewise.
11007 (COMMON_CPUID_INDEX_1): Likewise.
11008 (COMMON_CPUID_INDEX_7): Likewise.
11009 (FEATURE_INDEX_1): Likewise.
11010 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
11012 2018-08-02 Carlos O'Donell <carlos@redhat.com>
11014 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
11015 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
11016 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
11017 (install-locales): Depend on install-locale-archive.
11018 (install-locale-archive): Define.
11019 (install-locale-files): Define.
11020 (build-one-locale): Define macro.
11021 * manual/install.texi (Running make install): Document.
11022 * manual/INSTALL: Regenerate.
11024 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
11026 * benchtests/scripts/compare_strings.py: Import traceback.
11027 (parse_file): Pretty-print error.
11029 * NEWS: Mention the change.
11030 * elf/dl-tunables.list: Rename tune namespace to cpu.
11031 * sysdeps/powerpc/dl-tunables.list: Likewise.
11032 * sysdeps/x86/dl-tunables.list: Likewise.
11033 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
11035 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
11036 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
11037 * manual/README.tunables: Likewise.
11038 * manual/tunables.texi: Likewise.
11039 * sysdeps/powerpc/cpu-features.c: Likewise.
11040 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
11041 (init_cpu_features): Likewise.
11042 * sysdeps/x86/cpu-features.c: Likewise.
11043 * sysdeps/x86/cpu-features.h: Likewise.
11044 * sysdeps/x86/cpu-tunables.c: Likewise.
11045 * sysdeps/x86_64/Makefile: Likewise.
11046 * sysdeps/x86/dl-cet.c: Likewise.
11048 2018-08-02 Joseph Myers <joseph@codesourcery.com>
11051 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
11052 [__mips_hard_float].
11053 (FE_UNDERFLOW): Likewise.
11054 (FE_OVERFLOW): Likewise.
11055 (FE_DIVBYZERO): Likewise.
11056 (FE_INVALID): Likewise.
11057 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
11058 (FE_TOWARDZERO): Define only if [__mips_hard_float].
11059 (FE_UPWARD): Likewise.
11060 (FE_DOWNWARD): Likewise.
11061 (__FE_UNDEFINED): Define if [!__mips_hard_float]
11062 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
11063 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
11064 [__mips_hard_float].
11065 (FP_ROUNDMODE): Likewise.
11066 (FP_RND_NEAREST): Likewise.
11067 (FP_RND_ZERO): Likewise.
11068 (FP_RND_PINF): Likewise.
11069 (FP_RND_MINF): Likewise.
11070 (FP_EX_INVALID): Likewise.
11071 (FP_EX_OVERFLOW): Likewise.
11072 (FP_EX_UNDERFLOW): Likewise.
11073 (FP_EX_DIVZERO): Likewise.
11074 (FP_EX_INEXACT): Likewise.
11075 (FP_INIT_ROUNDMODE): Likewise.
11076 * sysdeps/mips/nofpu/fesetenv.c: New file.
11077 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
11079 2018-08-01 Joseph Myers <joseph@codesourcery.com>
11081 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
11082 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
11083 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
11084 conditional on [FE_UPWARD].
11086 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
11088 regex: fix memory leak in Gnulib
11089 Problem and fix reported by Assaf Gordon in:
11090 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
11091 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
11092 range_ends members too, as they are defined in 'struct
11093 re_charset_t' even if not _LIBC. This affects only Gnulib.
11095 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
11097 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
11099 (get_common_indices): This.
11100 (init_cpu_features): Updated.
11102 2018-08-01 Joseph Myers <joseph@codesourcery.com>
11104 * sysdeps/generic/math-tests-snan-payload.h: New file.
11105 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
11106 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
11107 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
11108 * sysdeps/generic/math-tests.h: Include
11109 <math-tests-snan-payload.h>.
11110 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11111 * sysdeps/hppa/math-tests.h: Remove file.
11112 * sysdeps/mips/math-tests.h [!__mips_nan2008]
11113 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11114 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
11117 * sysdeps/generic/math-tests-snan-cast.h: New file.
11118 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
11119 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
11120 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
11121 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
11123 2018-08-01 Carlos O'Donel <carlos@redhat.com>
11125 * version.h (RELEASE): Set to "development".
11126 (VERSION): Set to "2.28.9000".
11127 * NEWS (2.29): New section.
11129 * version.h (RELEASE): Set to "stable".
11130 (VERSION): Set to "2.28".
11131 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
11132 * NEWS: Add the list of bugs fixed in 2.28.
11134 * po/ca.po: Update to latest version.
11135 * po/cs.po: Likewise
11136 * po/da.po: Likewise
11137 * po/el.po: Likewise
11138 * po/eo.po: Likewise
11139 * po/es.po: Likewise
11140 * po/fi.po: Likewise
11141 * po/fr.po: Likewise
11142 * po/gl.po: Likewise
11143 * po/hu.po: Likewise
11144 * po/ia.po: Likewise
11145 * po/id.po: Likewise
11146 * po/it.po: Likewise
11147 * po/ja.po: Likewise
11148 * po/ko.po: Likewise
11149 * po/lt.po: Likewise
11150 * po/nb.po: Likewise
11151 * po/nl.po: Likewise
11152 * po/pt_BR.po: Likewise
11153 * po/ru.po: Likewise
11154 * po/rw.po: Likewise
11155 * po/sk.po: Likewise
11156 * po/sl.po: Likewise
11157 * po/tr.po: Likewise
11158 * po/zh_CN.po: Likewise
11159 * po/zh_TW.po: Likewise
11161 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11163 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
11165 (init): ... before initializing libpthread.
11167 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
11168 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
11169 (__mach_setup_tls): ... new function.
11170 (mach_setup_tls): New alias.
11171 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
11172 __mach_setup_thread.
11173 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
11174 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
11175 * mach/Versions [libc] (mach_setup_tls): Add symbol.
11176 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
11178 2018-07-31 Carlos O'Donell <carlos@redhat.com>
11180 * manual/install.texi: Update versions.
11181 * INSTALL: Regenerate.
11183 * manual/contrib.texi (Contributors): Update contributions.
11185 2018-07-31 Carlos O'Donell <carlos@redhat.com>
11187 * po/be.po: Update translations.
11189 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11191 * sysdeps/sh/libm-test-ulps: Update.
11193 2018-07-30 Carlos O'Donell <carlos@redhat.com>
11195 * po/bg.po: Update translations.
11196 * po/de.po: Likewise.
11197 * po/hr.po: Likewise.
11198 * po/pt_BR.po: Likewise.
11199 * po/sv.po: Likewise.
11200 * po/vi.po: Likewise.
11202 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11205 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11206 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
11207 (CFLAGS-tst-cet-property-1.o): New.
11208 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
11209 ($(objpfx)tst-cet-property-2): Likewise.
11210 ($(objpfx)tst-cet-property-2.out): Likewise.
11211 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
11212 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
11213 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
11214 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
11215 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
11217 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11220 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
11222 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11224 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
11225 __sbrk): Do not set attribute_hidden.
11226 * sysdeps/mach/hurd/not-errno.h: New file.
11227 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11228 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
11230 2018-07-27 Carlos O'Donell <carlos@redhat.com>
11232 * po/uk.po: Update translations.
11233 * po/cs.po: Likewise.
11234 * po/pl.po: Likewise.
11236 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
11238 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
11239 parse beyond the note end.
11241 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11243 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
11244 kernel does not support OFD locks.
11245 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
11247 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11249 * sysdeps/mach/hurd/Versions (libc): Make __access and
11250 __access_noerrno external so they can override the ld symbols.
11251 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
11252 __writev, __open64, __access_noerrno extern so they can be overrided.
11253 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
11254 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11256 2018-07-26 Carlos O'Donell <carlos@redhat.com>
11258 * po/libc.pot: Regenerate.
11260 2018-07-26 Joseph Myers <joseph@codesourcery.com>
11262 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11264 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11267 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11269 (init_cpu_features): Call get_extended_indices for both Intel
11271 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11272 Remove "for AMD" comment.
11274 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11277 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11278 COMMON_CPUID_INDEX_80000001.
11280 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
11282 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11283 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11285 2018-07-26 Florian Weimer <fweimer@redhat.com>
11287 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11288 aliases for symbols not in the implementation namespace.
11290 2018-07-25 Carlos O'Donell <carlos@redhat.com>
11293 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11294 lowercase in LATIN script.
11295 * localedata/Makefile (test-input): Add en_US.UTF-8.
11296 * localedata/en_US.UTF-8.in: New file.
11297 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11298 and restore old tests.
11299 * posix/tst-regexloc.c (do_test): Add back range expression test.
11301 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11303 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11305 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11307 * nptl/threads.h: Move to ...
11308 * sysdeps/nptl/threads.h: ... here.
11309 * sysdeps/hurd/stdc-predef.h: New file.
11311 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11313 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11314 tst-cet-setcontext-1 if CET is enabled.
11315 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11316 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11318 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11320 * include/threads.h: Move to ...
11321 * sysdeps/nptl/threads.h: ... here.
11322 * sysdeps/htl/threads.h: New file.
11323 * conform/Makefile (linknamespace-libs-ISO11): Use
11324 static-thread-library instead of linking libpthread.
11325 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11327 2018-07-25 Florian Weimer <fweimer@redhat.com>
11329 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11330 nanoseconds into seconds.
11331 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11332 (do_test): Likewise.
11333 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11334 (do_test): Likewise. Avoid nanosecond overflow and spurious
11335 timeouts due to system load.
11336 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11337 (child_wait): Increment it.
11338 (do_test): Wait as long as necessary until all expected threads
11341 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11342 H.J. Lu <hongjiu.lu@intel.com>
11344 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11346 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11347 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11348 (__push___start_context): New.
11349 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11351 (__getcontext): Record the current shadow stack base. Save the
11352 caller's shadow stack pointer and base.
11353 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11354 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11355 (__push___start_context): New prototype.
11356 (__makecontext): Call __push___start_context to allocate a new
11357 shadow stack, push __start_context onto the new stack as well
11358 as the new shadow stack.
11359 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11361 (__setcontext): Restore the target shadow stack.
11362 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11364 (__swapcontext): Record the current shadow stack base. Save
11365 the caller's shadow stack pointer and base. Restore the target
11367 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11368 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11369 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11371 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11373 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11374 tst-setcontext8 and tst-setcontext9.
11375 * stdlib/tst-setcontext6.c: New file.
11376 * stdlib/tst-setcontext7.c: Likewise.
11377 * stdlib/tst-setcontext8.c: Likewise.
11378 * stdlib/tst-setcontext9.c: Likewise.
11380 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11382 * stdlib/Makefile ((tests): Add tst-setcontext5.
11383 * stdlib/tst-setcontext5.c: New file.
11385 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11387 * stdlib/Makefile (tests): Add tst-setcontext4.
11388 * stdlib/tst-setcontext4.c: New file.
11390 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11392 * stdlib/Makefile (tests): Add tst-swapcontext1.
11393 * stdlib/tst-swapcontext1.c: New test.
11395 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11397 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11398 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11399 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11400 and tst-cet-legacy-4c.
11401 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11402 and tst-cet-legacy-mod-4.
11403 (CFLAGS-tst-cet-legacy-2.c): New.
11404 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11405 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11406 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11407 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11408 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11409 ($(objpfx)tst-cet-legacy-1): Likewise.
11410 ($(objpfx)tst-cet-legacy-2): Likewise.
11411 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11412 ($(objpfx)tst-cet-legacy-2a): Likewise.
11413 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11414 ($(objpfx)tst-cet-legacy-4): Likewise.
11415 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11416 ($(objpfx)tst-cet-legacy-4a): Likewise.
11417 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11418 (tst-cet-legacy-4a-ENV): Likewise.
11419 ($(objpfx)tst-cet-legacy-4b): Likewise.
11420 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11421 (tst-cet-legacy-4b-ENV): Likewise.
11422 ($(objpfx)tst-cet-legacy-4c): Likewise.
11423 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11424 (tst-cet-legacy-4c-ENV): Likewise.
11425 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11426 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11427 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11428 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11429 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11430 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11431 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11432 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11433 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11434 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11435 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11437 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11439 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11440 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11442 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11443 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11446 2018-07-25 Andreas Schwab <schwab@suse.de>
11449 * locale/weightwc.h (findidx): Handle the case where usrc is a
11450 prefix of cp but one character too short.
11452 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11454 * NEWS: Add ISO C threads addition.
11456 2018-07-24 Florian Weimer <fweimer@redhat.com>
11458 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11459 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11460 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11463 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11465 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11466 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11467 <sys/prctl.h> and <asm/prctl.h>.
11468 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11469 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11471 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11472 ARCH_CET_LEGACY_BITMAP.
11473 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11474 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11475 * sysdeps/x86/libc-start.c: Include <startup.h>.
11477 2018-07-24 Florian Weimer <fweimer@redhat.com>
11479 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11480 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11482 2018-07-24 Rical Jasan <rj@2c3t.io>
11483 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11484 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11487 * manual/debug.texi: Update adjacent chapter name.
11488 * manual/probes.texi: Likewise.
11489 * manual/threads.texi (ISO C Threads): New section.
11490 (POSIX Threads): Convert to a section.
11492 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11493 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11496 * nptl/Makefile (tests): Add new test files.
11497 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11498 * nptl/tst-cnd-basic.c: Likewise.
11499 * nptl/tst-cnd-broadcast.c: Likewise.
11500 * nptl/tst-cnd-timedwait.c: Likewise.
11501 * nptl/tst-mtx-basic.c: Likewise.
11502 * nptl/tst-mtx-recursive.c: Likewise.
11503 * nptl/tst-mtx-timedlock.c: Likewise.
11504 * nptl/tst-mtx-trylock.c: Likewise.
11505 * nptl/tst-thrd-basic.c: Likewise.
11506 * nptl/tst-thrd-detach.c: Likewise.
11507 * nptl/tst-thrd-sleep.c: Likewise.
11508 * nptl/tst-tss-basic.c: Likewise.
11510 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11513 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11514 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11516 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11517 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11518 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11519 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11520 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11521 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11522 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11523 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11524 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11525 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11526 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11527 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11535 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11536 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11537 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11538 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11539 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11540 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11541 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11542 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11543 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11544 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11545 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11546 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11547 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11549 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11550 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11551 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11552 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11553 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11554 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11555 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11556 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11557 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11558 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11559 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11560 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11567 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11568 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11569 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11570 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11571 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11572 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11573 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11574 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11577 * conform/data/threads.h-data (thread_local): New macro.
11578 (TSS_DTOR_ITERATIONS): Likewise.
11580 (tss_dtor_t): Likewise.
11581 (tss_create): New function.
11582 (tss_get): Likewise.
11583 (tss_set): Likewise.
11584 (tss_delete): Likewise.
11585 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11586 tss_get, and tss_set objects.
11587 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11588 * nptl/tss_create.c: New file.
11589 * nptl/tss_delete.c: Likewise.
11590 * nptl/tss_get.c: Likewise.
11591 * nptl/tss_set.c: Likewise.
11592 * sysdeps/nptl/threads.h (thread_local): New define.
11593 (TSS_DTOR_ITERATIONS): Likewise.
11594 (tss_t): New typedef.
11595 (tss_dtor_t): Likewise.
11596 (tss_create): New prototype.
11597 (tss_get): Likewise.
11598 (tss_set): Likewise.
11599 (tss_delete): Likewise.
11602 * conform/data/threads.h-data (cnd_t): New type.
11603 (cnd_init): New function.
11604 (cnd_signal): Likewise.
11605 (cnd_broadcast): Likewise.
11606 (cnd_wait): Likewise.
11607 (cnd_timedwait): Likewise.
11608 (cnd_destroy): Likewise.
11609 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11610 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11612 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11613 * nptl/cnd_broadcast.c: New file.
11614 * nptl/cnd_destroy.c: Likewise.
11615 * nptl/cnd_init.c: Likewise.
11616 * nptl/cnd_signal.c: Likewise.
11617 * nptl/cnd_timedwait.c: Likewise.
11618 * nptl/cnd_wait.c: Likewise.
11619 * sysdeps/nptl/threads.h (cnd_t): New type.
11620 (cnd_init): New prototype.
11621 (cnd_signa): Likewise.
11622 (cnd_broadcast): Likewise.
11623 (cnd_wait): Likewise.
11624 (cnd_timedwait): Likewise.
11625 (cnd_destroy): Likewise.
11628 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11629 (once_flag): New type.
11630 (call_once): New function.
11631 * nptl/Makefile (libpthread-routines): Add call_once object.
11632 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11633 * nptl/call_once.c: New file.
11634 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11635 (once_flag): New type.
11636 (call_once): New prototype.
11639 * conform/data/threads.h-data (mtx_plain): New constant.
11640 (mtx_recursive): Likewise.
11641 (mtx_timed): Likewise.
11643 (mtx_init): New function.
11644 (mtx_lock): Likewise.
11645 (mtx_timedlock): Likewise.
11646 (mtx_trylock): Likewise.
11647 (mtx_unlock): Likewise.
11648 (mtx_destroy): Likewise.
11649 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11650 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11651 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11652 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11653 * nptl/mtx_destroy.c: New file.
11654 * nptl/mtx_init.c: Likewise.
11655 * nptl/mtx_lock.c: Likewise.
11656 * nptl/mtx_timedlock.c: Likewise.
11657 * nptl/mtx_trylock.c: Likewise.
11658 * nptl/mtx_unlock.c: Likewise.
11659 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11660 (mtx_recursive): Likewise.
11661 (mtx_timed): Likewise.
11663 (mtx_init): New prototype.
11664 (mtx_lock): Likewise.
11665 (mtx_timedlock): Likewise.
11666 (mtx_trylock): Likewise.
11667 (mtx_unlock): Likewise.
11668 (mtx_destroy): Likewise.
11671 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11672 (linknamespace-libs-ISO11): Add libpthread.a.
11673 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11675 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11676 * nptl/Makefile (headers): Add threads.h.
11677 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11678 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11680 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11681 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11682 thrd_join, thrd_sleep, and thrd_yield symbols.
11683 * nptl/descr.h (struct pthread): Add c11 field.
11684 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11685 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11686 routine with expected function prototype.
11687 (__pthread_create_2_1): Add C11 threads check based on attribute
11689 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11690 * nptl/thrd_create.c: New file.
11691 * nptl/thrd_current.c: Likewise.
11692 * nptl/thrd_detach.c: Likewise.
11693 * nptl/thrd_equal.c: Likewise.
11694 * nptl/thrd_exit.c: Likewise.
11695 * nptl/thrd_join.c: Likewise.
11696 * nptl/thrd_priv.h: Likewise.
11697 * nptl/thrd_sleep.c: Likewise.
11698 * nptl/thrd_yield.c: Likewise.
11699 * include/threads.h: Likewise.
11701 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11703 * bits/indirect-return.h: New file.
11704 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11705 * sysdeps/x86/bits/indirect-return.h: Likewise.
11706 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11707 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11708 (swapcontext): Add __INDIRECT_RETURN.
11709 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11710 (prepare_test_buffer): Use it.
11712 2018-07-24 Andreas Schwab <schwab@suse.de>
11715 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11716 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11718 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11720 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11721 Redefine if shadow stack is enabled.
11722 (SYSCALL_ERROR_LABEL): Likewise.
11723 (__vfork): Pop shadow stack and jump back to to caller directly
11724 when shadow stack is in use.
11725 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11726 Redefine if shadow stack is enabled.
11727 (SYSCALL_ERROR_LABEL): Likewise.
11728 (__vfork): Pop shadow stack and jump back to to caller directly
11729 when shadow stack is in use.
11731 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11733 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11736 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11739 2018-07-20 Joseph Myers <joseph@codesourcery.com>
11741 * scripts/build-many-glibcs.py (Context.checkout): Default
11742 binutils version to 2.31 branch.
11744 2018-07-20 Zong Li <zong@andestech.com>
11746 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11747 URL of gcc's tarball.
11749 2018-07-20 Florian Weimer <fweimer@redhat.com>
11752 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11753 not compare an extra byte after the end of the weights.
11755 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11757 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11759 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11761 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11762 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
11763 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11764 list of libraries whose stack executability is expected.
11765 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11766 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11768 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11769 libc.so libpthread.so.
11771 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11773 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11775 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11777 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11779 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
11781 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11783 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11784 library to improve command line parsing.
11785 (__main__): make schema file as optional parameter (--schema),
11786 defaulting to benchtests/scripts/benchout.schema.json.
11787 (main): move out of the parsing stuff to __main_ and leave it
11788 only as caller of main comparison functions.
11790 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11792 * NEWS: Add a note for Intel CET status.
11793 * manual/install.texi: Likewise.
11794 * INSTALL: Regenerated.
11796 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11799 * localedata/locales/oc_FR (mon): Rename to...
11800 (alt_mon): This, then update October (typo fix).
11801 (mon): New content (genitive case, month names preceded by
11805 * localedata/locales/oc_FR (abday): Update all items.
11806 (day): Update Wednesday and Saturday (typo fixes).
11807 (abmon): Update all items, except May.
11808 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11809 (LC_IDENTIFICATION): Bump the revision number and date.
11810 Keep the "category" entries in alphabetic order.
11811 (LC_ADDRESS): Remove no longer needed comment.
11812 (LC_COLLATE): Use “copy "ca_ES"”.
11813 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11816 2018-07-18 Joseph Myers <joseph@codesourcery.com>
11818 * grp/tst_fgetgrent.c: Include <unistd.h>.
11819 (main): Use mkstemp instead of tmpnam.
11820 * io/test-utime.c (main): Likewise.
11821 * posix/annexc.c (macrofile): Change to modifiable array.
11822 (main): Remove macrofile here.
11823 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11825 (check_header): Do not remove macrofile here.
11826 * posix/bug-getopt1.c: Include <stdlib.h>.
11827 (do_test): Use mkstemp instead of tmpnam.
11828 * posix/bug-getopt2.c: Include <stdlib.h>.
11829 (do_test): Use mkstemp instead of tmpnam.
11830 * posix/bug-getopt3.c: Include <stdlib.h>.
11831 (do_test): Use mkstemp instead of tmpnam.
11832 * posix/bug-getopt4.c: Include <stdlib.h>.
11833 (do_test): Use mkstemp instead of tmpnam.
11834 * posix/bug-getopt5.c: Include <stdlib.h>.
11835 (do_test): Use mkstemp instead of tmpnam.
11836 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11837 (main): Use mkstemp instead of tmpnam.
11838 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11839 (main): Use mkstemp instead of tmpnam.
11840 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11841 (main): use mkstemp instead of tmpnam.
11842 * stdlib/isomac.c (macrofile): Change to modifiable array.
11843 (main): Remove macrofile here.
11844 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11846 (check_header): Do not remove macrofile here.
11848 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11850 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11851 glibc.tune.x86_shstk.
11853 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11855 * NEWS: Mention --enable-cet.
11856 * manual/install.texi: Document --enable-cet.
11857 * INSTALL: Regenerated.
11859 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11861 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11862 Add _CET_NOTRACK before indirect jump to jump table.
11864 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11866 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11867 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11870 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11872 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11873 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11876 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11878 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11879 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11882 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11884 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11885 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11888 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11890 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11891 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11893 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11895 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11897 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11898 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11901 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11903 * sysdeps/i386/i686/multiarch/memset-sse2.S
11904 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11907 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11909 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11910 indirect jump to jump table.
11912 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11914 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11915 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11917 (MEMCPY): Likewise.
11919 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11921 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11922 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11924 (MEMCPY): Likewise.
11926 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11928 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11929 _CET_NOTRACK before indirect jump to jump table.
11931 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11933 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11934 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11937 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11939 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11940 indirect jump to jump table.
11942 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11945 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11946 (LOCALES): Likewise.
11947 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11948 * localedata/locales/sah_RU: New file.
11949 * localedata/sah_RU.UTF-8.in: New file.
11951 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11953 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11955 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11956 _CET_ENDBR to indirect jump targets and adjust jump destination
11958 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11960 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11961 _CET_ENDBR to indirect jump targets and adjust jump destination
11963 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11965 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11966 _CET_ENDBR to indirect jump targets and adjust jump destination
11969 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11971 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11974 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11976 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11978 (_dl_tlsdesc_undefweak): Likewise.
11979 (_dl_tlsdesc_dynamic): Likewise.
11980 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11981 (_dl_tlsdesc_resolve_rel): Likewise.
11982 (_dl_tlsdesc_resolve_rela): Likewise.
11983 (_dl_tlsdesc_resolve_hold): Likewise.
11984 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11985 (_dl_tlsdesc_undefweak): Likewise.
11986 (_dl_tlsdesc_dynamic): Likewise.
11987 (_dl_tlsdesc_resolve_rela): Likewise.
11988 (_dl_tlsdesc_resolve_hold): Likewise.
11990 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11992 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11994 * sysdeps/x86_64/crti.S (_init): Likewise.
11997 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
12000 * localedata/locales/os_RU (mon): Rename to...
12002 (mon): Import from CLDR (genitive case).
12004 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12006 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
12007 cet-tunables.h> when CET is enabled.
12009 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
12012 * configure.ac: Add --enable-cet.
12013 * configure: Regenerated.
12014 * elf/Makefille (all-built-dso): Add a comment.
12015 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
12016 Include <dl-prop.h>.
12017 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
12019 * elf/dl-open.c: Include <dl-prop.h>.
12020 (dl_open_worker): Call _dl_open_check.
12021 * elf/rtld.c: Include <dl-prop.h>.
12022 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
12024 * sysdeps/generic/dl-prop.h: New file.
12025 * sysdeps/i386/dl-cet.c: Likewise.
12026 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
12027 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
12028 * sysdeps/x86/cet-tunables.h: Likewise.
12029 * sysdeps/x86/check-cet.awk: Likewise.
12030 * sysdeps/x86/configure: Likewise.
12031 * sysdeps/x86/configure.ac: Likewise.
12032 * sysdeps/x86/dl-cet.c: Likewise.
12033 * sysdeps/x86/dl-procruntime.c: Likewise.
12034 * sysdeps/x86/dl-prop.h: Likewise.
12035 * sysdeps/x86/libc-start.h: Likewise.
12036 * sysdeps/x86/link_map.h: Likewise.
12037 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
12039 (_dl_runtime_profile): Likewise.
12040 (_dl_runtime_resolve_shstk): New.
12041 (_dl_runtime_profile_shstk): Likewise.
12042 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
12044 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
12045 (CFLAGS-.os): Likewise.
12046 (CFLAGS-.op): Likewise.
12047 (CFLAGS-.oS): Likewise.
12048 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
12050 (tests-special): Add $(objpfx)check-cet.out.
12051 (cet-built-dso): New.
12052 (+$(cet-built-dso:=.note)): Likewise.
12053 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
12054 ($(objpfx)check-cet.out): New.
12055 (generated): Add check-cet.out.
12056 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
12058 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
12059 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12060 (init_cpu_features): Call get_cet_status to check CET status
12061 and update dl_x86_feature_1 with CET status. Call
12062 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
12063 (set_x86_shstk). Disable and lock CET in libc.a.
12064 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
12065 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
12066 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12067 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
12068 (_CET_ENDBR): Define if not defined.
12069 (ENTRY): Add _CET_ENDBR.
12070 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
12072 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
12074 (_dl_runtime_profile): Likewise.
12076 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
12079 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
12080 restore r2 on longjmp.
12081 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
12083 Added rules to build test tst-setjmp-bug21895-static.
12084 Added module setjmp-bug21895 and rules to build a shared object from it.
12085 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
12086 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
12088 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
12090 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
12091 * benchtests/bench-strstr.c: Likewise.
12092 * string/memmem.c (FASTSEARCH): Define.
12093 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
12094 Add support for FASTSEARCH.
12095 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
12096 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
12097 (FASTSEARCH): Define.
12098 * string/test-strcasestr.c: Rename __strnlen to strnlen.
12099 * string/test-strstr.c: Likewise.
12101 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
12103 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
12104 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
12106 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12107 H.J. Lu <hongjiu.lu@intel.com>
12109 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
12110 (__longjmp): Restore shadow stack pointer if shadow stack is
12111 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12112 isn't defined for __longjmp_cancel.
12113 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
12114 (_setjmp): Save shadow stack pointer if shadow stack is enabled
12115 and SHADOW_STACK_POINTER_OFFSET is defined.
12116 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
12117 (setjmp): Save shadow stack pointer if shadow stack is enabled
12118 and SHADOW_STACK_POINTER_OFFSET is defined.
12119 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
12120 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12121 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12122 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
12124 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12125 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12126 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
12127 Remove jmp_buf-ssp.sym.
12128 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12130 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12131 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12132 * sysdeps/x86/Makefile (gen-as-const-headers): Add
12134 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
12135 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
12136 (__longjmp): Restore shadow stack pointer if shadow stack is
12137 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12138 isn't defined for __longjmp_cancel.
12139 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
12140 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12141 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12143 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
12146 * nptl/pthread_create.c: Include <tls-setup.h>.
12147 (__pthread_create_2_1): Call tls_setup_tcbhead.
12148 * sysdeps/generic/tls-setup.h: New file.
12149 * sysdeps/x86/nptl/tls-setup.h: Likewise.
12150 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
12151 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
12153 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
12155 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12156 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
12157 (X86_FEATURE_1_SHSTK): Likewise.
12158 (CET_ENABLED): Likewise.
12159 (IBT_ENABLED): Likewise.
12160 (SHSTK_ENABLED): Likewise.
12162 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
12165 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
12166 (LOCALES): Likewise.
12167 * localedata/dsb_DE.UTF-8.in: New file.
12168 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
12170 2018-07-12 Florian Weimer <fweimer@redhat.com>
12172 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
12173 __mprotect, not mprotect.
12175 2018-07-11 Florian Weimer <fweimer@redhat.com>
12177 * io/Makefile (headers): Add bits/statx.h.
12179 2018-07-10 Mike FABIAN <mfabian@redhat.com>
12181 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
12182 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
12184 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
12185 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
12188 2018-07-10 Florian Weimer <fweimer@redhat.com>
12190 * io/Makefile (routines): Add statx.
12191 (tests-internal): Add tst-statx.
12192 * io/Versions (GLIBC_2.28): Export statx.
12193 * io/bits/statx.h: New file.
12194 * io/sys/stat.h [__USE_GNU]: Include it.
12195 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
12196 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
12198 * io/statx.c: New file.
12199 * io/statx_generic.: Likewise.
12200 * io/tst-statx.: Likewise.
12201 * include/bits/statx.h: Likewise.
12202 * sysdeps/unix/sysv/linux/kernel-features.h
12203 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
12204 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12205 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
12206 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
12208 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12209 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
12210 * sysdeps/unix/sysv/linux/statx.c: New file.
12211 * manual/filesys.texi: Note that statx is undocumented.
12212 * sysdeps/**/libc*.abilist: Update.
12214 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12216 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
12217 a kernel issue which lead to test failure in some cases.
12219 2018-07-10 Florian Weimer <fweimer@redhat.com>
12222 * posix/regexec.c (check_node_accept_bytes): When comparing
12223 weights, do not compare an extra byte after the end of the
12226 2018-07-10 Florian Weimer <fweimer@redhat.com>
12228 * libio/readline.c: Fix copyright year.
12229 * libio/tst-readline.c Likewise.
12230 * nss/tst-nss-files-hosts-getent.c: Likewise.
12232 2018-07-06 Florian Weimer <fweimer@redhat.com>
12235 * nss/nss_files/files-XXX.c (internal_getent): Use
12236 __libc_readline_unlocked. Seek back to the start of the line if
12237 parsing failes with ERANGE.
12238 (get_contents_ret, get_contents): Remove.
12239 * nss/tst-nss-files-hosts-getent.c: New file.
12240 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
12241 (tst-nss-files-hosts-getent): Link with -ldl.
12243 2018-07-06 Florian Weimer <fweimer@redhat.com>
12245 * include/stdio.h (__libc_readline_unlocked): Declare.
12246 (__ftello64, __fseeko64): Declare aliases.
12247 * libio/readline.c: New file.
12248 * libio/tst-readline.c: Likewise.
12249 (routines): Add readline.
12250 (tests-internal): Add tst-readlime.
12251 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
12252 __libc_readline_unlocked.
12253 * libio/fseeko.c (__fseeko): Rename from fseeko.
12254 (fseeko): Add alias.
12255 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
12256 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
12257 (fseeko64): Add alias.
12258 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
12259 * libio/ftello64.c (__ftello64): Rename from ftello64.
12260 (ftello64): Add alias.
12262 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12264 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12267 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12269 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12270 Use dl_hwcap without masking.
12271 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12272 Remove HWCAP_CPUID.
12274 2018-07-06 Florian Weimer <fweimer@redhat.com>
12276 * conform/conformtest.pl (checknamespace): Escape literal braces
12277 in regular expressions.
12279 2018-07-06 Amit Pawar <amit.pawar@amd.com>
12281 * sysdeps/x86/cpu-features.c (get_common_indeces):
12282 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12283 * sysdeps/x86/cpu-features.c (init_cpu_features):
12284 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12286 2018-07-05 Florian Weimer <fweimer@redhat.com>
12288 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12290 (CFLAGS-elf-init.oS): Likewise.
12292 2018-07-05 Florian Weimer <fweimer@redhat.com>
12293 Carlos O'Donell <carlos@redhat.com>
12295 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12296 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12297 with stack protector enabled because there is no risk of infinite
12300 2018-07-05 Maciej W. Rozycki <macro@mips.com>
12304 * libc-abis (ABSOLUTE): New ABI.
12305 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12306 * NEWS: Mention the new ABI.
12308 2018-07-05 Florian Weimer <fweimer@redhat.com>
12311 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12312 (RENAME_WHITEOUT): Define.
12313 [__USE_GNU] (renameat2): Declare.
12314 * stdio-common/Makefile (routines): Add renameat2.
12315 (tests): Add tst-renameat2.
12316 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12317 * stdio-common/renameat2.c: New file.
12318 * stdio-common/tst-renameat2.c: Likewise.
12319 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12320 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12322 * sysdeps/unix/sysv/linux/kernel-features.h
12323 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12324 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12325 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12326 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12327 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12328 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12329 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12330 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12331 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12332 * include/stdio.h (__renameat): Add alias for renameat.
12333 * stdio-common/renameat.c (__renameat): Rename from renameat.
12334 Add hidden definition and alias.
12335 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12336 * sysdeps/mach/hurd/renameat.c: Likewise.
12337 * sysdeps/**/libc*.abilist: Add renameat2.
12339 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12341 * posix/bug-regex33.c: Fix build after regex sync.
12343 2018-07-04 Carlos O'Donell <carlos@redhat.com>
12346 * localedata/tst-langinfo-setlocale.c: New file.
12347 * localedata/tst-langinfo-setlocale-static.c: New file.
12348 * localedata/tst-langinfo-newlocale.c: New file.
12349 * localedata/tst-langinfo-newlocale-static.c: New file.
12350 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12351 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12352 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12353 (tests-static): Remove tst-langinfo-static. Add
12354 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12355 (tests-special): Remove $(objpfx)tst-langinfo.out,
12356 $(objpfx)tst-langinfo-static.out. Add
12357 $(objpfx)tst-langinfo-setlocale.out,
12358 $(objpfx)tst-langinfo-newlocale.out,
12359 $(objpfx)tst-langinfo-setlocale-static.out,
12360 $(objpfx)tst-langinfo-newlocale-static.out.
12361 ($(objpfx)tst-langinfo.out): Remove.
12362 ($(objpfx)tst-langinfo-static.out): Remove.
12363 ($(objpfx)tst-langinfo-newlocale.out): New target.
12364 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12365 (test-xfail-tst-langinfo-newlocale-static): Add.
12366 ($(objpfx)tst-langinfo-setlocale.out): New target.
12367 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12368 * localedata/tst-langinfo.c: Call test_locale.
12369 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12372 2018-07-04 Florian Weimer <fweimer@redhat.com>
12374 testrun.sh: Implement --tool=strace, --tool=valgrind
12375 * Makefile (testrun-script): Define variable.
12376 (testrun.sh): Use variable.
12377 * manual/install.texi (Tools for Compilation): make 4.0 or later
12379 * configure.ac: Check for make 4.0 or later.
12380 * INSTALL: Regenerate.
12381 * configure: Likewise.
12383 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12389 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12390 * posix/PCRE.tests: Remove invalid test.
12391 * posix/bug-regex28.c: Fix expected values for used syntax.
12392 * posix/bug-regex37.c: New file.
12393 * posix/bug-regex38.c: Likewise.
12394 * posix/regcomp.c: Sync with gnulib.
12395 * posix/regex.c: Likewise.
12396 * posix/regex.h: Likewise.
12397 * posix/regex_internal.c: Likewise.
12398 * posix/regex_internal.h: Likewise.
12399 * posix/regexec.c: Likewise.
12401 2018-06-26 Mike FABIAN <mfabian@redhat.com>
12404 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12405 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12406 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12407 * localedata/unicode-gen/PropList.txt: likewise.
12408 * localedata/unicode-gen/UnicodeData.txt: likewise.
12409 * localedata/charmaps/UTF-8: Regenerate.
12410 * localedata/locales/i18n_ctype: likewise.
12411 * localedata/locales/tr_TR: likewise.
12412 * localedata/locales/translit_circle: likewise.
12413 * localedata/locales/translit_cjk_compat: likewise.
12414 * localedata/locales/translit_combining: likewise.
12415 * localedata/locales/translit_compat: likewise.
12416 * localedata/locales/translit_font: likewise.
12417 * localedata/locales/translit_fraction: likewise.
12419 2018-07-03 Florian Weimer <fweimer@redhat.com>
12422 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12423 * stdio-common/tst-printf.sh: Adjust expected output.
12424 * LICENSES: Update.
12426 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12428 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12431 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12433 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12434 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12435 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12436 * stdio-common/tst-printfsz-islongdouble.c: New file.
12437 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12438 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12439 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12440 [subdir == stdio-common] (tests-internal): Add
12441 test-printf-size-ieee128, and test-printf-size-ibm128.
12442 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12443 (CFLAGS-test-printf-size-ibm128.c): New variables.
12444 [subdir == stdio-common] (tests-special): Add
12445 $(objpfx)test-printf-size-ieee128.out and
12446 $(objpfx)test-printf-size-ibm128.out.
12447 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12448 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12449 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12450 __printf_sizeieee128.
12451 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12453 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12455 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12458 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12460 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12461 (exp2f_inline): Likewise.
12462 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12463 (__math_uflowf): Likewise.
12464 (__math_may_uflowf): Likewise.
12465 (__math_divzerof): Likewise.
12466 (__math_invalidf): Likewise.
12467 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12468 (__math_oflowf): Likewise.
12469 (__math_uflowf): Likewise.
12470 (__math_may_uflowf): Likewise.
12471 (__math_divzerof): Likewise.
12472 (__math_invalidf): Likewise.
12474 2018-06-29 DJ Delorie <dj@redhat.com>
12475 Carlos O'Donell <carlos@redhat.com>
12478 * include/libc-symbols.h: Comment the freeres framework.
12479 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12480 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12481 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12482 * dlfcn/dlerror.c: Include libc-symbols.h
12483 (__dlerror_main_freeres): New function.
12484 * dlfcn/dlfreeres.c: New file.
12485 * dlfcn/sdlfreeres.c: New file.
12486 * include/dlfcn.h: Declare __dlerror_main_freeres.
12487 * malloc/set-freeres.c: Declare __libdl_freeres, and
12488 __libpthread_freeres.
12489 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12490 the releavant libraries are loaded.
12491 * malloc/thread-freeres.c: Add comments.
12492 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12493 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12494 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12495 (__free_stacks): Rename to...
12496 (free_stacks): ...this. Mark static.
12497 (queue_stack): Call free_stacks.
12498 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12499 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12500 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12501 ptr_freeres element from struct.
12502 (pthread_functions): Remove .ptr_freeres from struct initializer.
12503 [SHARED] (nptl_freeres): Remove.
12504 * nptl/nptlfreeres.c: New file.
12506 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12507 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12509 (__free_stacks): Rename to...
12510 (__nptl_stacks_freeres): ...this.
12511 (__shm_directory_freeres): Declare.
12512 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12513 (__nptl_unwind_freeres): ...this.
12514 * resolv/res-close.c: Add comment.
12515 * resolv/resolv_conf.c: Include libc-symbols.h.
12516 * string/strerror_l.c: Include libc-symbols.h.
12517 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12518 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12519 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12520 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12522 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12524 * stdlib/tst-strfmon_l.c: Add tests for long double.
12526 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
12529 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12530 * localedata/locales/dsb_DE: New file.
12532 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12535 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12537 (alt_mon): New entry, import from CLDR (nominative case).
12539 2018-06-29 Sylvain Lesage <severo@rednegra.net>
12542 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12544 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12546 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12547 Use vector registers.
12549 * sysdeps/aarch64/multiarch/memmove_falkor.S
12550 (__memcpy_falkor): Use vector registers.
12552 2018-06-29 Martin Sebor <msebor@redhat.com>
12554 * manual/stdio.texi (Customizing Printf): Mention interaction
12555 with GCC built-ins.
12557 2018-06-29 Maciej W. Rozycki <macro@mips.com>
12560 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12561 `st_value' is 0 if `st_shndx' is SHN_ABS.
12562 * elf/tst-absolute-zero.c: New file.
12563 * elf/tst-absolute-zero-lib.c: New file.
12564 * elf/tst-absolute-zero-lib.lds: New file.
12565 * elf/Makefile (tests): Add `tst-absolute-zero'.
12566 (modules-names): Add `tst-absolute-zero-lib'.
12567 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12568 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12569 ($(objpfx)tst-absolute-zero: New dependency.
12571 2018-06-29 Zack Weinberg <zackw@panix.com>
12573 * configure.ac: New command-line option --disable-crypt.
12574 Force --disable-nss-crypt when --disable-crypt is given, with a
12575 warning if it was explicitly enabled.
12576 * configure: Regenerate.
12577 * config.make.in: New boolean substitution variable $(build-crypt).
12578 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12579 when $(build-crypt).
12580 * manual/install.texi: Document --disable-crypt.
12581 * INSTALL: Regenerate.
12583 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12584 which is never set.
12585 * conform/Makefile: Only include libcrypt.a in
12586 linknamespace-libs-xsi and linknamespace-libs-XPG4
12587 when $(build-crypt).
12588 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12589 USE_CRYPT to 1 when $(build-crypt).
12590 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12591 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12592 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12594 2018-06-29 Zack Weinberg <zackw@panix.com>
12596 * crypt/crypt.h, posix/unistd.h: Update comments and
12597 prototypes for crypt and crypt_r.
12599 * manual/crypt.texi (Cryptographic Functions): New initial
12601 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12602 (Unpredictable Bytes): Improve initial exposition. Clarify error
12603 behavior of getentropy and getrandom.
12604 * manual/examples/genpass.c: Generate a salt using getentropy
12605 instead of the current time. Use hash $5$ (SHA-2-256).
12606 * manual/examples/testpass.c: Demonstrate validation against
12607 hashes generated with three different one-way functions.
12609 * manual/intro.texi: crypt.texi does not need an overview
12612 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12613 * manual/terminal.texi: Consistently refer to "passphrases"
12614 * instead of "passwords", and to the "user database" instead
12615 * of the "password database".
12616 * manual/users.texi: Similarly. Add notes about how actual
12617 passphrase hashes are now stored in the shadow database.
12618 Remove 20-year-old junk todo note.
12620 2018-06-29 Zack Weinberg <zackw@panix.com>
12622 * manual/crypt.texi: Use a normal top-level @node declaration.
12623 Move most of the introductory text to the 'crypt' section.
12624 Move the example programs below the @deftypefun for 'crypt_r'.
12625 Move the 'getpass' section...
12626 * manual/terminal.texi: ...here.
12628 2018-06-29 Zack Weinberg <zackw@panix.com>
12629 Florian Weimer <fweimer@redhat.com>
12631 * posix/unistd.h: Do not declare encrypt.
12632 (_XOPEN_CRYPT): Remove macro definition.
12633 (crypt): Declare only for _USE_MISC.
12634 * stdlib/stdlib.h: Do not declare setkey.
12635 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12636 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12638 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12639 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12640 into compat symbols. Don't define initial_perm if it's not
12642 * crypt/cert.c: Link explicitly with the expected versions for
12643 setkey and encrypt. If they are not available at all, mark
12644 the test as unsupported.
12646 * sunrpc/des_crypt.c: Unconditionally block linkage with
12647 cbc_crypt and ecb_crypt for new binaries.
12648 * sunrpc/des_soft.c: Unconditionally block linkage with
12649 des_setparity for new binaries.
12651 * manual/crypt.texi: Remove the entire "DES Encryption"
12652 section. Also remove the paragraph talking about FIPS 140-2
12653 from the introduction.
12654 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12655 of libgcrypt for "real" encryption, not DES.
12656 * manual/conf.texi (Constants for Sysconf): Mention that
12657 _XOPEN_CRYPT is no longer impelemented.
12659 * conform/data/unistd.h-data: Remove crypt function declaration.
12661 2018-06-29 Florian Weimer <fweimer@redhat.com>
12664 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12665 (disallow_malloc_check): Remove variable.
12666 (__malloc_check_init): Adjust.
12667 (malloc_set_state): Update comment.
12668 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12671 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12674 * localedata/locales/ast_ES (mon): Rename to...
12676 (mon): Import from CLDR (genitive case).
12678 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12679 Jakub Sitnicki <jkbs@redhat.com>
12682 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12683 on NLM_F_DUMP_INTR.
12685 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12687 * manual/llio.texi: Remove spurious space.
12689 2018-06-28 Florian Weimer <fweimer@redhat.com>
12692 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12695 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12697 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
12698 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
12699 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12700 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12701 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12702 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12703 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12705 2018-06-27 Maciej W. Rozycki <macro@mips.com>
12708 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12709 Copy and null-terminate entries that are not terminated, in
12710 addition to empty ones.
12712 2018-06-27 Florian Weimer <fweimer@redhat.com>
12715 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12716 (extend_alloca_account): Remove.
12717 * manual/stdio.texi (Variable Arguments Output): Update comment.
12719 2018-06-27 Joseph Myers <joseph@codesourcery.com>
12721 * nptl/sockperf.c: Remove file.
12723 2018-06-27 Florian Weimer <fweimer@redhat.com>
12726 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12727 scratch_buffer instead of extend_alloca.
12729 2018-06-27 Florian Weimer <fweimer@redhat.com>
12732 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12733 scratch_buffer instead of extend_alloca. Update comments.
12735 2018-06-27 Florian Weimer <fweimer@redhat.com>
12738 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12739 instead of extend_alloca.
12741 2018-06-26 Joseph Myers <joseph@codesourcery.com>
12744 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12745 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12747 * scripts/test-installation.pl: Put temporary files in build
12748 directory, not /tmp.
12749 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12750 (CFLAGS-bug4.c): Likewise.
12751 (CFLAGS-bug5.c): Likewise.
12752 (CFLAGS-test-fseek.c): Likewise.
12753 (CFLAGS-test-popen.c): Likewise.
12754 (CFLAGS-test_rdwr.c): Likewise.
12755 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12757 * stdio-common/bug4.c (main): Likewise.
12758 * stdio-common/bug5.c (main): Likewise.
12759 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12760 * stdio-common/test-popen.c (do_test): Likewise.
12761 * stdio-common/test_rdwr.c (main): Likewise.
12763 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
12765 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12766 (sem_open): Set sem.newsem.pad to zero for valgrind.
12768 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12771 * NEWS: Mention fcntl64 addition.
12772 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12773 * login/utmp_file.c: Likewise.
12774 * sysdeps/posix/fdopendir.c: Likewise.
12775 * sysdeps/posix/opendir.c: Likewise.
12776 * sysdeps/unix/pt-fcntl.c: Likewise.
12777 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12778 __fcntl64_nocancel_adjusted): New prototype.
12779 (__fcntl_nocancel_adjusted): Remove prototype.
12780 * io/Makefile (routines): Add fcntl64.
12781 (CFLAGS-fcntl64.c): New rule.
12782 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12783 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12784 * io/fcntl.h (fcntl64): Add prototype and redirect if
12785 __USE_FILE_OFFSET64 is defined.
12786 * io/fcntl64.c: New file.
12787 * manual/llio.text: Add a note for which commands fcntl acts a
12788 cancellation point.
12789 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12790 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12791 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12793 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12794 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12796 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12797 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12798 to __fcntl64_nocancel.
12799 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12800 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12801 to __fcntl64_nocancel.
12802 * sysdeps/generic/not-cancel.h: Likewise.
12803 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12804 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12805 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12806 (fcntl64): New symbol.
12807 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12808 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12809 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12812 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12813 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12814 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12815 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12816 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12817 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12818 fcntl64): Likewise.
12819 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12820 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12821 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12822 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12823 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12824 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12825 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12826 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12827 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12832 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12833 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12834 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12836 2018-06-26 Florian Weimer <fweimer@redhat.com>
12838 Run thread shutdown functions in an explicit order.
12839 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12841 (__libc_thread_freeres): Call thread shutdown functions
12843 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12844 * include/string.h (__strerror_thread_freeres): Declare.
12845 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12846 arena_thread_freeres. No longer static. Remove thread shutdown
12848 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12850 * resolv/res-close.c (__res_thread_freeres): Renamed from
12851 res_thread_freeres. No longer static. Remove thread shutdown
12853 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12854 * resolv/resolv_conf.c (freeres): Remove incorrect section
12855 attribute and use libc_freeres_fn.
12856 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12857 strerror_thread_freeres. No longer static. Remove thread
12858 shutdown hook registration.
12859 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12860 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12861 shutdown hook registration.
12862 * Makerules (shlib.lds): Do not provide section boundary symbols
12863 for __libc_thread_subfreeres.
12864 * manual/memory.texi (Basic Allocation): Update comment.
12866 2018-06-26 Florian Weimer <fweimer@redhat.com>
12868 Remove always-defined _RPC_THREAD_SAFE_ macro.
12869 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12870 Do not define _RPC_THREAD_SAFE_.
12871 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12873 * sunrpc/clnt_perr.c: Likewise.
12874 * sunrpc/clnt_raw.c: Likewise.
12875 * sunrpc/clnt_simp.c: Likewise.
12876 * sunrpc/key_call.c: Likewise.
12877 * sunrpc/rpc_common.c: Likewise.
12878 * sunrpc/rpc_main.c: Likewise.
12879 * sunrpc/rpc_thread.c: Likewise.
12880 * sunrpc/svc.c: Likewise.
12881 * sunrpc/svc_raw.c: Likewise.
12882 * sunrpc/svc_simple.c: Likewise.
12883 * sumrpc/svcauth_des.c: Likewise.
12885 2018-06-26 Florian Weimer <fweimer@redhat.com>
12887 * libio/Makefile (tests-internal): Add tst-vtables,
12888 tst-vtables-interposed.
12889 * libio/tst-vtables.c: New file.
12890 * libio/tst-vtables-common.c: Likewise.
12891 * libio/tst-vtables-interposed.c: Likewise.
12893 2018-06-26 Florian Weimer <fweimer@redhat.com>
12895 * support/support_test_main.c (support_test_main): Only call
12896 setvbuf if not disables.
12897 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12898 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12900 2018-06-26 Florian Weimer <fweimer@redhat.com>
12903 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12905 2018-06-25 Florian Weimer <fweimer@redhat.com>
12908 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12909 Use struct scratch_buffer instead of extend_alloca.
12911 2018-06-25 Florian Weimer <fweimer@redhat.com>
12914 * nss/getent.c (initgroups_keys): Use dynarray instead of
12917 2018-06-25 Florian Weimer <fweimer@redhat.com>
12920 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12921 Use struct scratch_buffer instead of extend_alloca.
12923 2018-06-25 Florian Weimer <fweimer@redhat.com>
12926 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12927 back to malloc directly, without stack allocations.
12929 2018-06-25 Florian Weimer <fweimer@redhat.com>
12932 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12935 2018-06-25 Florian Weimer <fweimer@redhat.com>
12938 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12940 * nscd/hstcache.c (addhstbyX): Likewise.
12941 * nscd/pwdcache.c (addpwbyX): Likewise.
12942 * nscd/servicescache.c (addservbyX): Likewise.
12944 2018-06-25 Florian Weimer <fweimer@redhat.com>
12947 * nscd/connections.c (read_cmdline): New function.
12948 (restart): Use it. Update comment.
12950 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12953 * localedata/locales/csb_PL (mon): Rename to...
12955 (abmon): Rename to...
12956 (ab_alt_mon): This.
12957 (mon): Add with proper genitive forms, copy from Wikipedia.
12960 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12963 * localedata/locales/csb_PL (mon): Fix typos:
12964 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12965 (yesstr): Add, value is "jo".
12966 (nostr): Add, value is "nié".
12968 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12970 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12971 all log1p and significand functions on m680x0.
12972 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12973 of s_significand.c..
12974 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12975 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12976 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12977 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12978 s_log1p.c and include it..
12980 2018-06-21 Vincent Chen <vincentc@andestech.com>
12982 * elf/elf.h (R_NDS32_NONE): New define.
12983 (R_NDS32_32_RELA): Likewise.
12984 (R_NDS32_COPY): Likewise.
12985 (R_NDS32_GLOB_DAT): Likewise.
12986 (R_NDS32_JUMP_SLOT): Likewise.
12987 (R_NDS32_RELATIVE): Likewise.
12988 (R_NDS32_TLS_TPOFF): Likewise.
12989 (R_NDS32_TLS_DESC): Likewise.
12991 2018-06-21 Mark Wielaard <mark@klomp.org>
12993 * elf/elf.h (R_BPF_MAP_FD): Removed.
12994 (R_BPF_64_64, R_BPF_64_32): New.
12996 2018-06-21 Florian Weimer <fweimer@redhat.com>
12999 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
13000 Renamed from libc_feholdsetround_ctx.
13001 (default_libc_feresetround_ctx): Renamed from
13002 libc_feresetround_ctx.
13003 (default_libc_feholdsetround_noex_ctx): Renamed from
13004 libc_feholdsetround_noex_ctx.
13005 (default_libc_feresetround_noex_ctx): Renamed from
13006 libc_feresetround_noex_ctx.
13007 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
13008 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
13009 forwardning to the old implementations under the new names.
13010 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
13011 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
13012 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
13013 (libc_feresetround_ctx): Forward to default implements for i386
13014 and MATH_SET_BOTH_ROUNDING_MODES.
13015 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
13016 Add -DMATH_SET_BOTH_ROUNDING_MODES.
13018 2018-06-20 Joseph Myers <joseph@codesourcery.com>
13020 * string/tst-cmp.c: Include <libc-diag.h>.
13021 (strncmp_max): Disable -Wstringop-overflow= around call to
13023 (strncasecmp_max): Disable -Wstringop-overflow= around call to
13026 * string/bug-strpbrk1.c: Include <libc-diag.h>.
13027 (main): Disable -Wunused-value around call to strpbrk.
13028 * string/bug-strspn1.c: Include <libc-diag.h>.
13029 (main): Disable -Wunused-value around call to strspn.
13031 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13032 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13034 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
13035 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
13037 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13039 * math/Makefile (libm-calls): Move s_significandF to...
13040 (gen-libm-calls): ... here.
13041 * math/s_significand_template.c: New file.
13042 * math/s_significand.c: Removed.
13043 * math/s_significandf.c: Removed.
13044 * math/s_significandl.c: Removed.
13045 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
13046 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
13048 * math/e_exp2_template.c (declare_mgen_finite_alias,
13049 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
13050 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
13051 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
13053 2018-06-20 Florian Weimer <fweimer@redhat.com>
13055 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
13057 2018-06-19 Joseph Myers <joseph@codesourcery.com>
13060 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
13061 floating-point number to strtod functions rather than possibly
13062 negating result of those functions.
13063 * stdio-common/tst-scanf-round.c: New file.
13064 * stdio-common/Makefile (tests): Add tst-scanf-round.
13065 ($(objpfx)tst-scanf-round): Depend on $(libm).
13067 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13069 * sysdeps/mach/hurd/localplt.data: Move to...
13070 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
13071 R_386_GLOB_DAT like on Linux i386.
13073 2018-06-18 Joseph Myers <joseph@codesourcery.com>
13075 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
13076 (SHM_STAT_ANY): New macro.
13077 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
13078 (SHM_STAT_ANY): Likewise.
13079 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
13080 (SHM_STAT_ANY): Likewise.
13081 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
13082 (SHM_STAT_ANY): Likewise.
13083 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
13084 (SHM_STAT_ANY): Likewise.
13085 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
13086 (SHM_STAT_ANY): Likewise.
13087 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
13088 (SHM_STAT_ANY): Likewise.
13089 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
13090 (SHM_STAT_ANY): Likewise.
13091 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
13092 (SHM_STAT_ANY): Likewise.
13093 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
13094 (SHM_STAT_ANY): Likewise.
13095 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
13096 (SHM_STAT_ANY): Likewise.
13097 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
13098 (SHM_STAT_ANY): Likewise.
13100 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
13101 (SEM_STAT_ANY): New macro.
13102 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
13103 (SEM_STAT_ANY): Likewise.
13104 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
13105 (SEM_STAT_ANY): Likewise.
13106 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
13107 (SEM_STAT_ANY): Likewise.
13108 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
13109 (SEM_STAT_ANY): Likewise.
13110 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
13111 (SEM_STAT_ANY): Likewise.
13112 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
13113 (SEM_STAT_ANY): Likewise.
13114 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
13115 (SEM_STAT_ANY): Likewise.
13116 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
13117 (SEM_STAT_ANY): Likewise.
13118 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
13119 (SEM_STAT_ANY): Likewise.
13121 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
13122 (MSG_STAT_ANY): New macro.
13123 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
13124 (MSG_STAT_ANY): Likewise.
13125 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
13126 (MSG_STAT_ANY): Likewise.
13127 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
13128 (MSG_STAT_ANY): Likewise.
13129 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
13130 (MSG_STAT_ANY): Likewise.
13131 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
13132 (MSG_STAT_ANY): Likewise.
13133 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
13134 (MSG_STAT_ANY): Likewise.
13135 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
13136 (MSG_STAT_ANY): Likewise.
13137 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
13138 (MSG_STAT_ANY): Likewise.
13139 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
13140 (MSG_STAT_ANY): Likewise.
13142 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13143 (MAP_TYPE): Change value to 0x2b.
13145 2018-06-18 Florian Weimer <fweimer@redhat.com>
13148 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
13149 socket with SOCK_CLOEXEC.
13151 2018-06-18 Joseph Myers <joseph@codesourcery.com>
13154 * sysdeps/powerpc/powerpc64/le/Makefile
13155 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
13156 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
13157 (gnulib-tests): Also add $(f128-loader-link) for
13158 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
13160 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
13162 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
13163 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
13165 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
13166 (sendfile64): New strong alias.
13167 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
13168 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
13169 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
13170 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
13172 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
13173 ___pthread_get_cleanup_stack.
13174 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
13175 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
13176 * mach/shortcut.awk: Make syscall stubs include
13177 <mach-shortcuts-hidden.h> and add hidden definition.
13178 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
13179 (__mach_msg): Add hidden prototype.
13180 * mach/msg.c: Include <mach.h>.
13181 (__mach_msg): Add hidden definition.
13182 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
13183 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
13184 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
13185 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
13186 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
13187 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
13188 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
13189 prototype and definition.
13190 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
13191 hidden target for _hurd_self_sigstate.
13193 2018-06-15 Joseph Myers <joseph@codesourcery.com>
13196 * stdlib/tst-strtod-nan-sign-main.c: New file.
13197 * stdlib/tst-strtod-nan-sign.c: Likewise.
13198 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
13199 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
13200 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
13201 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
13202 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
13204 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
13207 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
13210 2018-06-14 Florian Weimer <fweimer@redhat.com>
13213 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
13214 that the result stays within the ISO-8859-1 range.
13215 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
13216 characters are defined in IBM273.
13218 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
13220 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
13221 __mach_task_self): Remove attribute_hidden.
13223 2018-06-14 Joseph Myers <joseph@codesourcery.com>
13225 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
13226 ignore -Wrestrict for one test.
13228 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
13229 Szabolcs Nagy <szabolcs.nagy@arm.com>
13231 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
13233 2018-06-14 Florian Weimer <fweimer@redhat.com>
13235 * scripts/update-abilist.sh: Accept empty list of files to patch.
13237 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13239 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
13240 test-xfail-check-abi-libmachuser): Add.
13241 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
13242 __libc_read and __libc_write to __read and __write.
13243 * sysdeps/hurd/include/hurd/port.h: New file.
13244 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
13245 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
13246 __thread_switch, __evc_wait): Move declarations to...
13247 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
13249 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
13250 use PLT to call _hurd_self_sigstate.
13252 2018-06-13 Joseph Myers <joseph@codesourcery.com>
13255 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
13256 MAX_EXP as overflowing.
13257 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
13259 (round_str): Output also whether result overflows in each rounding
13261 * stdlib/tst-strtod-round-data: Add more tests.
13262 * stdlib/tst-strtod-round-data.h: Regenerated.
13263 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13264 (TEST): Handle extra arguments for overflow flags.
13265 (struct test_overflow): New type.
13266 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13267 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13268 (test_in_one_mode): Take argument with overflow information.
13269 (do_test): Update calls to test_in_one_mode.
13271 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13273 * elf/dl-load (_dl_dst_substitute): Correct comment.
13274 (_dl_dst_count): Likewise.
13276 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13277 lll_futex_timed_wait.
13279 2018-06-12 Joseph Myers <joseph@codesourcery.com>
13282 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13284 * math/test-nan-const.c: New file.
13285 * math/Makefile (tests): Add test-nan-const.
13286 (CFLAGS-test-nan-const.c): New variable.
13288 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13290 * benchtests/scripts/compare_strings.py (process_results): Add
13291 funcs argument. Compare only functions which are selected.
13292 (main): Check if base function is among selected functions.
13293 Pass selected functions to process_results.
13294 (__main__): Add -f/--functions argument.
13296 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13297 Hongbo Zhang <hongbo.zhang@linaro.org>
13299 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13300 __memcpy_falkor for phecda core.
13301 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13302 __memmove_falkor for phecda core.
13303 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13304 __memset_falkor for phecda core.
13305 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13307 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13308 macro to identify phecda core.
13310 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13311 Andreas Schwab <schwab@suse.de>
13312 Dmitry V. Levin <ldv@altlinux.org>
13313 Florian Weimer <fweimer@redhat.com>
13320 * elf/dl-dst.h: Remove DL_DST_COUNT.
13321 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13322 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13323 (is_dst): Comment. Support ELF gABI.
13324 (_dl_dst_count): Comment. Simplify and count DSTs.
13325 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13326 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13329 2018-06-12 Zack Weinberg <zackw@panix.com>
13331 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13332 * sysdeps/unix/sysv/linux/dl-sysdep.c
13333 Include not-cancel.h. Use __close_nocancel instead of __close,
13334 __open64_nocancel instead of __open, __read_nocancel instead of
13335 __libc_read, and __write_nocancel instead of __libc_write.
13337 * csu/check_fds.c (check_one_fd)
13338 * sysdeps/posix/fdopendir.c (__fdopendir)
13339 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
13340 instead of __fcntl and/or __libc_fcntl.
13342 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13343 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
13344 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
13345 Use __open64_nocancel instead of __open_nocancel.
13347 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13348 hidden_proto declarations to the end and issue them if either
13349 IS_IN(libc) or IS_IN(rtld).
13350 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13351 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13352 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13353 read_nocancel, waitpid_nocancel, write_nocancel.
13355 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13356 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13357 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
13359 * nptl/pt-fcntl.c: New file.
13360 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13361 (libpthread-routines): Add pt-fcntl.
13362 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13363 (__libc_fcntl): Remove attribute_hidden.
13364 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13365 __fcntl_nocancel_adjusted, not fcntl_common.
13366 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
13367 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13368 to fcntl_nocancel.c.
13369 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13372 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13374 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13375 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13376 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13377 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13378 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13379 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13380 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13381 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13382 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13383 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13384 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13385 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13386 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13387 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13388 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13389 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13390 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13391 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13392 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13393 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13395 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13396 libpthread-routines.
13397 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13400 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13401 __libc_read, and __write instead of __libc_write. Define
13402 __open64 in addition to __open.
13404 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13408 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13409 to _private_tm[3] and add __glibc_reserved2.
13410 Add _Static_assert of offset of __private_ss == 0x30.
13411 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13412 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13414 2018-06-12 Florian Weimer <fweimer@redhat.com>
13416 x86: Make strncmp usable from rtld.
13417 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13418 __strncmp_ia32 if in libc (and not in rtld).
13419 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13420 strncmp if not in libc (and not to __strncmp_sse2).
13422 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13425 * localedata/locales/gd_GB (mon): Rename to...
13427 (mon): Import from CLDR (genitive case).
13428 * localedata/locales/hsb_DE (mon): Rename to...
13430 (mon): Import from CLDR (genitive case).
13431 * localedata/locales/wa_BE (mon): Rename to...
13433 (mon): Add, fill with the proper genitive forms, but CLDR data
13434 is incomplete; completed according to the comments in this file.
13435 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13437 * localedata/locales/wa_BE (country_name): Reword
13438 "Beljike" -> "Beldjike".
13440 2018-06-11 Joseph Myers <joseph@codesourcery.com>
13443 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13444 cases of non-finite arguments.
13445 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13447 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
13450 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13452 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13455 * include/unistd.h (__execvpex): New prototype.
13456 * posix/Makefile (tests): Add tst-spawn4.
13457 (tests-internal): Add tst-spawn4-compat.
13458 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13459 * posix/tst-spawn4-compat.c: New file.
13460 * posix/tst-spawn4.c: Likewise.
13461 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13462 binaries as shell scripts.
13463 * sysdeps/posix/spawni.c (__spawni): Likewise.
13465 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13468 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13469 ($(all-built-dso:=.dynsym): New target.
13470 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13471 ($(objpfx)check-initfini.out): New target.
13472 (generated): Add check-initfini.out.
13473 * scripts/check-initfini.awk: New file.
13474 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13476 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13478 * sysdeps/arm/crti.S (_init): Mark as hidden.
13480 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13482 * sysdeps/i386/crti.S (_init): Mark as hidden.
13484 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13486 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13488 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13490 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13492 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13494 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13496 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13498 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13500 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13502 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13504 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13506 * sysdeps/sh/crti.S (_init): Mark as hidden.
13508 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13510 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13513 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13515 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13516 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13517 and TF redirection to KFtype and KF only when the default
13518 long double type is not the IEEE 128-bit floating point type.
13520 2018-06-05 Joseph Myers <joseph@codesourcery.com>
13522 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13524 (HWCAP_USCAT): Likewise.
13525 (HWCAP_ILRCPC): Likewise.
13526 (HWCAP_FLAGM): Likewise.
13527 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13529 (_dl_aarch64_cap_flags): Add new flag names.
13531 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13532 (MAP_FIXED_NOREPLACE): New macro.
13533 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13534 (MAP_FIXED_NOREPLACE): Likewise.
13535 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13536 (MAP_FIXED_NOREPLACE): Likewise.
13537 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13538 (MAP_FIXED_NOREPLACE): Likewise.
13539 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13540 (MAP_FIXED_NOREPLACE): Likewise.
13541 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13542 (MAP_FIXED_NOREPLACE): Likewise.
13543 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13544 (MAP_FIXED_NOREPLACE): Likewise.
13545 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13546 (MAP_FIXED_NOREPLACE): Likewise.
13547 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13548 (MAP_FIXED_NOREPLACE): Likewise.
13549 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13550 (MAP_FIXED_NOREPLACE): Likewise.
13551 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13552 (MAP_FIXED_NOREPLACE): Likewise.
13553 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13554 (MAP_FIXED_NOREPLACE): Likewise.
13555 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13556 (MAP_FIXED_NOREPLACE): Likewise.
13557 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13558 (MAP_FIXED_NOREPLACE): Likewise.
13559 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13560 (MAP_FIXED_NOREPLACE): Likewise.
13562 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13565 2018-06-04 Joseph Myers <joseph@codesourcery.com>
13567 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13570 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13572 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13574 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13576 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13578 * benchtests/scripts/compare_string.py: (process_results) Catch
13579 exception in non-existent base_func and catch exception in
13580 non-existent attribute.
13581 (parse_file) Catch exception if input file does not exist.
13583 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13585 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13586 options to avoid diff calculation and omit header, respectively.
13587 (main): process --no-diff and --no-header
13589 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13590 H.J. Lu <hongjiu.lu@intel.com>
13592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13593 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13595 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13596 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13597 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13598 and __wcsncmp_sse2.
13599 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13600 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13601 AVX unaligned load is fast and vzeroupper is preferred.
13602 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13603 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13604 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13605 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13606 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13607 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13608 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13609 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13610 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13611 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13614 2018-06-01 Florian Weimer <fweimer@redhat.com>
13616 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13617 configuring with --disable-multi-arch, building with
13618 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13621 2018-06-01 Florian Weimer <fweimer@redhat.com>
13623 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13624 results from building with “-march=x86-64 -mtune=generic
13625 -mfpmath=sse” and running on a Haswell-era CPU.
13627 2018-06-01 Joseph Myers <joseph@codesourcery.com>
13630 * soft-fp/sqrttf2.c: Remove file.
13631 * soft-fp/sqrtdf2.c: Move to ....
13632 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13634 (__sqrtdf2): Make conditional on
13635 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13637 * soft-fp/sqrtsf2.c: Move to ....
13638 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13640 (__sqrtsf2): Make conditional on
13641 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13643 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13644 (gcc-double-routines): Remove sqrtdf2.
13645 (gcc-quad-routines): Remove sqrttf2.
13646 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13647 Do not filter out sqrtsf2 and sqrtdf2.
13648 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13649 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13651 2018-06-01 Florian Weimer <fweimer@redhat.com>
13653 * sysdeps/generic/libcidn.abilist: Remove file.
13655 2018-06-01 Florian Weimer <fweimer@redhat.com>
13658 * libio/strfile.h (struct _IO_str_fields): Rename members to
13659 discourage their use and add comment.
13660 (_IO_STR_DYNAMIC): Remove unused macro.
13661 * libio/strops.c (_IO_str_init_static_internal): Do not use
13662 callback pointers. Call malloc and free.
13663 (_IO_str_overflow): Do not use callback pointers. Call malloc
13665 (enlarge_userbuf): Likewise.
13666 (_IO_str_finish): Call free.
13667 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13668 _allocate_buffer_unused.
13669 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13671 (enlarge_userbuf): Likewise.
13672 (_IO_wstr_finish): Call free.
13673 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13674 _allocate_buffer_unused, _free_buffer_unused.
13675 * libio/memstream.c (__open_memstream): Likewise.
13676 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13677 * libio/wmemstream.c (open_wmemstream): Likewise.
13679 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13681 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13684 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13686 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13687 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13688 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13690 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13692 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13694 2018-05-29 Florian Weimer <fweimer@redhat.com>
13696 * support/Makefile (libsupport-routines): Add
13697 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13698 xpthread_barrierattr_setpshared.
13699 * support/xpthread_barrierattr_destroy.c: New file.
13700 * support/xpthread_barrierattr_init.c: Likewise.
13701 * support/xpthread_barrierattr_setpshared.c: Likewise.
13703 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13706 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13707 _r_debug and update DT_DEBUG for debugger.
13709 2018-05-29 Florian Weimer <fweimer@redhat.com>
13711 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13712 (tst-strtod5i.out): Likewise.
13714 2018-05-25 Joseph Myers <joseph@codesourcery.com>
13716 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13717 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13718 (sparc64-quad-routines): New variable. Moved from ....
13719 [$(subdir) = soft-fp] (sysdep_routines): Add
13720 $(sparc64-quad-routines). Moved from ....
13721 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13722 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13723 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13725 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13726 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13727 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13728 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13729 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13730 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13731 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13732 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13733 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13734 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13735 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13736 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13737 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13738 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13739 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13740 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13741 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13742 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13743 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13744 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13745 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13746 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13747 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13748 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13749 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13750 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13751 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13752 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13753 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13754 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13755 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13756 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13757 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13758 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13759 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13760 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13761 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13762 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13763 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13764 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13765 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13766 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13767 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13768 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13769 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13770 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13771 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13772 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13773 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13774 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13775 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13776 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13777 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13778 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13779 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13780 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13781 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13782 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13784 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13785 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13786 (sparc32-quad-routines): New variable. Moved from ....
13787 [$(subdir) = soft-fp] (sysdep_routines): Add
13788 $(sparc32-quad-routines). Moved from ....
13789 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13790 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13792 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13793 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13794 * sysdeps/sparc/sparc32/q_add.c: ... here.
13795 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13796 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13797 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13798 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13799 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13800 * sysdeps/sparc/sparc32/q_div.c: ... here.
13801 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13802 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13803 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13804 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13805 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13806 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13807 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13808 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13809 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13810 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13811 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13812 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13813 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13814 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13815 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13816 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13817 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13818 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13819 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13820 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13821 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13822 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13823 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13824 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13825 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13826 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13827 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13828 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13829 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13830 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13831 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13832 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13833 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13834 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13835 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13836 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13837 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13838 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13839 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13840 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13841 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13842 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13843 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13844 * sysdeps/sparc/sparc32/q_util.c: ... here.
13845 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13846 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13847 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13848 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13850 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13851 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13853 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13854 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13855 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13856 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13858 2018-05-24 Joseph Myers <joseph@codesourcery.com>
13860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13864 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13865 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13867 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13870 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13873 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13875 * sysdeps/sh/Implies: Remove sh/soft-fp.
13876 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13877 * sysdeps/sh/sfp-machine.h: ... here.
13879 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13881 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13882 (__mempcpy_erms): Skip zero length.
13883 (__memmove_erms): Likewise.
13884 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13885 (__memset_erms): Likewise.
13887 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13889 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13890 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13891 Add functions moved from ....
13892 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13893 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13894 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13896 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13897 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13898 * sysdeps/alpha/e_sqrtl.c: ... here.
13899 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13900 * sysdeps/alpha/local-soft-fp.h: ... here.
13901 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13902 * sysdeps/alpha/ots_add.c: ... here.
13903 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13904 * sysdeps/alpha/ots_cmp.c: ... here.
13905 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13906 * sysdeps/alpha/ots_cmpe.c: ... here.
13907 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13908 * sysdeps/alpha/ots_cvtqux.c: ... here.
13909 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13910 * sysdeps/alpha/ots_cvtqx.c: ... here.
13911 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13912 * sysdeps/alpha/ots_cvttx.c: ... here.
13913 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13914 * sysdeps/alpha/ots_cvtxq.c: ... here.
13915 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13916 * sysdeps/alpha/ots_cvtxt.c: ... here.
13917 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13918 * sysdeps/alpha/ots_div.c: ... here.
13919 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13920 * sysdeps/alpha/ots_mul.c: ... here.
13921 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13922 * sysdeps/alpha/ots_nintxq.c: ... here.
13923 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13924 * sysdeps/alpha/ots_sub.c: ... here.
13925 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13926 * sysdeps/alpha/sfp-machine.h: ... here.
13928 2018-05-23 Florian Weimer <fweimer@redhat.com>
13936 Switch to extern IDNA implementation (libidn2).
13937 * libidn: Remove subdirectory.
13938 * LICENSES: Do not mention licensing conditions for the removed
13940 * config.h.in (HAVE_LIBIDN): Remove.
13941 * include/dlfcn.h (__libc_dlopen): Update comment.
13942 * include/idna.h: Remove file.
13943 * inet/Makefile (routines): Add idna.
13944 (tests-static, tests-internal): Add tst-idna_name_classify.
13945 (LOCALES): Generate locales for tests.
13946 (tst-idna_name_classify.out): Depend on generated locales.
13947 * inet/idna_name_classify.c: New file.
13948 * inet/tst-idna_name_classify.c: Likewise.
13949 * inet/net-internal.h (__idna_to_dns_encoding)
13950 (__idna_from_dns_encoding): Declare.
13951 * inet/net-internal.h (enum idna_name_classification): Define.
13952 (__idna_name_classify): Declare.
13953 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13954 __idna_from_dns_encoding.
13955 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13956 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13957 name as a fallback in case of encoding errors.
13958 (getnameinfo): Use DEPRECATED_NI_IDN.
13959 * inet/idna.c: New file.
13960 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13961 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13962 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13963 (modules-names): Add tst-no-libidn2.
13964 (extra-test-objs): Add tst-no-libidn2.os.
13965 (LDFLAGS-tst-no-libidn2.so): Set soname.
13966 (LOCALES): Set, and generate locales.
13967 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13968 (tst-resolv-ai_idn-latin1): Likewise.
13969 (tst-resolv-ai_idn-nolibidn2): Likewise.
13970 (tst-resolv-ai_idn.out): Depend on locales.
13971 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13972 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13974 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13975 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13976 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13977 * resolv/tst-resolv-ai_idn.c: New file.
13978 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13979 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13980 * resolv/tst-no-libidn2.c: Likewise.
13981 * support/support_format_addrinfo.c (format_ai_flags): Do not
13982 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13983 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13984 (gaih_inet): Call __idna_to_dns_encoding and
13985 __idna_from_dns_encoding, and use the original (punycode) name if
13986 __idna_from_dns_encoding fails due to an encoding error.
13987 (getaddrinfo): Use DEPRECATED_AI_IDN.
13988 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13989 * sysdeps/unix/inet/configure: Remove file.
13990 * sysdeps/unix/inet/configure.ac: Likewise.
13992 2018-05-23 Florian Weimer <fweimer@redhat.com>
13994 Implement allocate_once.
13995 * include/allocate_once.h: New file.
13996 * misc/allocate_once.c: Likewise.
13997 * misc/tst-allocate_once.c: Likewise.
13998 * misc/Makefile (routines): Add allocate_once.
13999 (tests-internal): Add tst-allocate_once.
14000 (generated): Add tst-allocate_once.mtrace,
14001 tst-allocate_once-mem.out.
14002 (tests-special): Add tst-allocate_once-mem.out.
14003 (tst-allocate_once-ENV): Set MALLOC_TRACE.
14004 (tst-allocate_once-mem.out): Call mtrace.
14005 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
14007 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14010 * string/test-memcpy.c (do_test1): New function.
14011 (test_main): Call it.
14013 2018-05-23 Andreas Schwab <schwab@suse.de>
14017 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
14018 (L(preloop_large)): Save initial destination pointer in %r11 and
14019 use it instead of %rax after the loop.
14020 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
14022 2018-05-22 Joseph Myers <joseph@codesourcery.com>
14024 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
14025 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
14026 -I../soft-fp. Moved from ....
14027 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
14028 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
14029 * sysdeps/aarch64/e_sqrtl.c: ... here.
14030 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
14031 * sysdeps/aarch64/sfp-machine.h: ... here.
14033 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
14034 -Wmaybe-uninitialized around access to fq[0].
14035 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14039 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
14040 aliases for non-libc case of versioned symbols.
14041 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
14042 (llseek): Define as compat symbol if
14043 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
14045 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
14046 Make into a compat symbol, disabled for minimum symbol version
14047 GLIBC_2.28 and later.
14048 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
14050 2018-05-22 Florian Weimer <fweimer@redhat.com>
14052 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
14053 not add -mpreferred-stack-boundary=4.
14054 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
14055 (stack-align-test-flags): Likewise.
14056 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
14058 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
14059 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
14060 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
14061 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
14062 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
14063 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
14064 (CFLAGS-tst-align2.c): Likewise.
14066 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14068 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
14069 (index_arch_Prefer_FSRM): Likewise.
14070 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14071 Also check Prefer_FSRM.
14072 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
14073 Also return OPTIMIZE (erms) for Prefer_FSRM.
14075 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14077 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
14078 (index_cpu_FSRM): Likewise.
14079 (reg_FSRM): Likewise.
14081 2018-05-18 Joseph Myers <joseph@codesourcery.com>
14083 * math/gen-tgmath-tests.py: Import sys.
14084 (Tests.__init__): Initialize macros_seen.
14085 (Tests.add_tests): Add macro to macros_seen. Only generate tests
14086 if requested to do so for this macro.
14087 (Tests.add_all_tests): Take argument for macro for which to
14089 (Tests.check_macro_list): New function.
14090 (main): Handle check-list argument and argument specifying macro
14091 for which to generate tests.
14092 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
14093 [PYTHON] (tgmath3-macro-tests): Likewise.
14094 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
14095 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
14096 not test-tgmath3.c.
14097 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
14098 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
14100 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
14101 [PYTHON] ($(foreach
14102 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
14104 [PYTHON] (tests-special): Add
14105 $(objpfx)test-tgmath3-macro-list.out.
14106 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
14108 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
14109 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
14113 * time/tzset.c (SECSPERDAY): Cast to time_t.
14114 * time/tst-y2039.c: New file.
14115 * time/Makefile (tests): Add tst-y2039.
14117 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14119 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14120 (PREFETCH_ONE_SET): Remove duplicate line.
14122 2018-05-17 Florian Weimer <fweimer@redhat.com>
14124 * sysdeps/generic/math-type-macros-double.h: Include
14125 <math-nan-payload-double.h> after <libm-alias-double.h>.
14126 * sysdeps/generic/math-type-macros-float.h: Include
14127 <math-nan-payload-float.h> after <libm-alias-float.h>.
14128 * sysdeps/generic/math-type-macros-float128.h: Include
14129 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
14130 * sysdeps/generic/math-type-macros-ldouble.h: Include
14131 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
14133 2018-05-17 Andreas Schwab <schwab@suse.de>
14135 * resolv/res_send.c (__res_context_send): Don't set errno when
14136 returing error after malloc failure.
14138 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
14140 * nptl/allocatestack.c (allocate_stack): Remove the
14141 !__ASSUME_PRIVATE_FUTEX paths.
14142 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
14143 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14145 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
14146 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14147 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14148 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14149 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
14150 !__ASSUME_PRIVATE_FUTEX path.
14151 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
14152 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
14153 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14154 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
14155 !__ASSUME_PRIVATE_FUTEX macros.
14156 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14157 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14158 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14159 * sysdeps/unix/sysv/linux/kernel-features.h
14160 (__ASSUME_PRIVATE_FUTEX): Removed.
14162 2018-05-17 Joseph Myers <joseph@codesourcery.com>
14164 * math/Makefile (libm-narrow-fns): Add div.
14165 (libm-test-funcs-narrow): Likewise.
14166 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
14167 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
14168 * math/gen-auto-libm-tests.c (test_functions): Add div.
14169 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
14170 (NARROW_DIV_ROUND_TO_ODD): Likewise.
14171 (NARROW_DIV_TRIVIAL): Likewise.
14172 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
14174 (__ddivl): Likewise.
14175 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
14177 (CFLAGS-nldbl-ddiv.c): New variable.
14178 (CFLAGS-nldbl-fdiv.c): Likewise.
14179 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14181 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
14183 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
14184 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
14185 * math/auto-libm-test-in: Add tests of div.
14186 * math/auto-libm-test-out-narrow-div: New generated file.
14187 * math/libm-test-narrow-div.inc: New file.
14188 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
14189 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
14190 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
14191 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
14192 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
14193 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
14194 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
14195 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
14196 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
14197 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
14198 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
14199 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
14200 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
14201 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
14202 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
14203 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
14204 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
14205 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
14206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14207 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14208 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14209 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14210 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14211 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14212 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14213 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14214 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14215 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14216 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14219 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14230 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14231 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14233 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14236 * nscd/nscd-client.h (sendfileall): Remove prototype.
14237 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
14238 (handle_request): Use writeall instead of sendfileall.
14239 * nscd/aicache.c (addhstaiX): Likewise.
14240 * nscd/grpcache.c (cache_addgr): Likewise.
14241 * nscd/hstcache.c (cache_addhst): Likewise.
14242 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14243 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
14244 * nscd/pwdcache.c (cache_addpw): Likewise.
14245 * nscd/servicescache.c (cache_addserv): Likewise.
14246 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
14247 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
14248 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
14251 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
14253 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
14254 Include <string/strncat.c>.
14255 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
14257 (__GI___strncat): New hidden alias.
14259 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14261 * sysdeps/mips/mips32/libm-test-ulps: Update.
14262 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14264 2018-05-16 Florian Weimer <fweimer@redhat.com>
14266 * support/Makefile (libsupport-routines): Add support_quote_blob,
14267 support_test_compare_blob.
14268 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14269 * support/check.h (TEST_COMPARE_BLOB): Define.
14270 (support_test_compare_blob): Declare.
14271 * support/support.h (support_quote_blob): Declare.
14272 * support/support_quote_blob.c: New file.
14273 * support/support_test_compare_blob.c: Likewise.
14274 * support/tst-support_quote_blob.c: Likewise.
14275 * support/tst-test_compare_blob.c: Likewise.
14277 2018-05-16 Florian Weimer <fweimer@redhat.com>
14279 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14280 of <strtod_nan_double.h>.
14281 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14282 instead of SET_MANTISSA.
14283 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14284 of include <strtod_nan_float.h>.
14285 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14286 instead of <strtod_nan_ldouble.h>.
14287 * stdlib/strtod_nan_double.h: Move to ...
14288 * sysdeps/generic/math-nan-payload-double.h: ... here.
14289 (FLOAT): Remove definition.
14290 (SET_MANTISSA): Rename to ...
14291 (SET_NAN_PAYLOAD): ... this.
14292 * stdlib/strtod_nan_float.h: Move to ...
14293 * sysdeps/generic/math-nan-payload-float.h: ... here.
14294 (FLOAT): Remove definition.
14295 (SET_MANTISSA): Rename to ...
14296 (SET_NAN_PAYLOAD): ... this.
14297 * sysdeps/generic/math-type-macros-double.h: Include
14298 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14299 instead of <math-svid-compat.h>.
14300 * sysdeps/generic/math-type-macros-float.h: Include
14301 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14302 instead of <math-svid-compat.h>.
14303 * sysdeps/generic/math-type-macros-float128.h: Include
14304 <math-nan-payload-float128.h>.
14305 * sysdeps/generic/math-type-macros-ldouble.h: Include
14306 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14307 instead of <math-svid-compat.h>.
14308 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14309 check for definition.
14310 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14311 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14312 Include <ieee754_float128.h>.
14313 (FLOAT): Remove definition.
14314 (SET_MANTISSA): Rename to ...
14315 (SET_NAN_PAYLOAD): ... this.
14316 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14317 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14318 Do not include <float128_private.h>.
14319 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14320 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14321 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14322 (FLOAT): Remove definition.
14323 (SET_MANTISSA): Rename to ...
14324 (SET_NAN_PAYLOAD): ... this.
14325 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14326 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14327 (FLOAT): Remove definition.
14328 (SET_MANTISSA): Rename to ...
14329 (SET_NAN_PAYLOAD): ... this.
14330 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14331 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14332 (FLOAT): Remove definition.
14333 (SET_MANTISSA): Rename to ...
14334 (SET_NAN_PAYLOAD): ... this.
14335 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14336 of "../stdlib/strtod_nan_double.h".
14337 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14338 of "../stdlib/strtod_nan_float.h".
14339 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14340 instead of "../stdlib/strtod_nan_ldouble.h".
14341 * manual/arith.texi (Parsing of Floats): Adjust comment.
14343 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14345 * math/Makefile (libm-narrow-fns): Add mul.
14346 (libm-test-funcs-narrow): Likewise.
14347 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14348 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14349 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14350 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14351 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14352 (NARROW_MUL_TRIVIAL): Likewise.
14353 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14354 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14356 (__dmull): Likewise.
14357 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14359 (CFLAGS-nldbl-dmul.c): New variable.
14360 (CFLAGS-nldbl-fmul.c): Likewise.
14361 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14363 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14365 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14366 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14367 * math/auto-libm-test-in: Add tests of mul.
14368 * math/auto-libm-test-out-narrow-mul: New generated file.
14369 * math/libm-test-narrow-mul.inc: New file.
14370 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14371 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14372 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14373 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14374 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14375 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14376 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14377 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14378 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14379 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14380 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14381 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14382 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14383 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14384 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14385 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14386 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14387 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14389 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14390 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14391 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14392 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14393 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14394 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14395 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14396 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14397 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14398 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14399 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14400 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14401 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14406 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14407 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14408 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14409 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14410 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14411 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14412 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14413 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14415 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14417 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14418 with *%eax in call.
14420 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14422 * sysdeps/i386/ldsodefs.h: Removed.
14423 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14424 * sysdeps/x86/ldsodefs.h: This.
14425 (La_i86_regs): New.
14426 (La_i86_retval): Likewise.
14427 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14428 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14430 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14432 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14435 2018-05-13 Alan Modra <amodra@gmail.com>
14437 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14438 R_PARISC_TLS_DTPOFF32 reloc addend.
14440 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14442 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14443 * math/math.h: Restrict the prototype definition for the functions
14444 issignaling(_Float128) and iszero(_Float128); and template
14445 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14446 __HAVE_FLOAT128_UNLIKE_LDBL.
14447 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14448 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14449 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14450 __f128() constants; define the type _Float128 as long double;
14451 and reuse long double in __CFLOAT128.
14453 2018-05-11 Joseph Myers <joseph@codesourcery.com>
14455 * sysdeps/generic/math_private.h: Do not include
14457 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14459 * math/fromfp.h: Include <math-barriers.h>.
14460 * math/math-narrow.h: Likewise.
14461 * math/s_nextafter.c: Likewise.
14462 * math/s_nexttowardf.c: Likewise.
14463 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14464 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14465 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14466 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14467 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14468 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14469 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14471 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14472 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14473 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14474 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14475 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14476 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14477 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14478 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14479 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14480 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14481 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14482 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14483 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14484 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14485 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14486 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14487 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14488 * sysdeps/ieee754/k_standardl.c: Likewise.
14489 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14490 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14491 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14492 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14493 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14494 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14495 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14496 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14497 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14498 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14499 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14500 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14501 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14502 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14503 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14504 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14505 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14506 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14507 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14508 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14509 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14510 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14512 2018-05-11 Florian Weimer <fweimer@redhat.com>
14514 Use 64-bit epoch values in the time zone file parser.
14515 * include/time.h (internal_time_t): Define.
14516 (__tzfile_compute): Use it.
14517 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14519 (transitions): Switch to internal_time_t.
14520 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14522 (__tzfile_compute): Use internal_time_t for timer argument. Check
14523 for truncation before calling __offtime.
14525 2018-05-11 Florian Weimer <fweimer@redhat.com>
14528 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14529 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14531 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14532 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14533 export without --enable-obsolete-rpc.
14534 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14535 symbol. This should not have been exported, ever.
14537 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14540 * localedata/locales/gd_GB (abmon): Fix typo in May:
14541 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14543 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14545 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14546 Use multiple registers to copy data in loop tail.
14548 * sysdeps/aarch64/multiarch/memmove_falkor.S
14549 (__memmove_falkor): Use multiple registers to move data in
14552 2018-05-10 Joseph Myers <joseph@codesourcery.com>
14554 * math/math-underflow.h: New file.
14555 * sysdeps/generic/math_private.h: Do not include <float.h>.
14556 (fabs_tg): Remove macro. Moved to math-underflow.h.
14557 (min_of_type_f): Likewise.
14558 (min_of_type_): Likewise.
14559 (min_of_type_l): Likewise.
14560 (min_of_type_f128): Likewise.
14561 (min_of_type): Likewise.
14562 (math_check_force_underflow): Likewise.
14563 (math_check_force_underflow_nonneg): Likewise.
14564 (math_check_force_underflow_complex): Likewise.
14565 * math/e_exp2_template.c: Include <math-underflow.h>.
14566 * math/k_casinh_template.c: Likewise.
14567 * math/s_catan_template.c: Likewise.
14568 * math/s_catanh_template.c: Likewise.
14569 * math/s_ccosh_template.c: Likewise.
14570 * math/s_cexp_template.c: Likewise.
14571 * math/s_clog10_template.c: Likewise.
14572 * math/s_clog_template.c: Likewise.
14573 * math/s_csin_template.c: Likewise.
14574 * math/s_csinh_template.c: Likewise.
14575 * math/s_csqrt_template.c: Likewise.
14576 * math/s_ctan_template.c: Likewise.
14577 * math/s_ctanh_template.c: Likewise.
14578 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14579 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14580 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14581 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14582 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14583 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14584 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14585 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14586 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14587 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14588 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14589 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14590 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14591 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14592 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14593 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14594 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14595 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14596 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14597 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14598 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14599 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14600 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14601 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14602 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14603 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14604 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14605 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14606 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14607 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14608 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14609 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14610 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14611 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14612 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14613 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14614 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14615 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14616 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14617 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14618 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14619 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14620 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14621 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14622 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14623 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14624 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14625 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14626 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14627 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14628 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14629 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14630 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14631 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14632 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14633 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14634 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14635 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14636 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14637 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14638 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14639 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14640 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14641 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14642 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14643 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14644 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14645 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14646 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14647 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14648 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14649 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14650 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14651 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14652 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14653 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14654 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14655 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14656 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14657 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14658 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14659 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14660 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14661 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14663 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14665 * sysdeps/generic/math-barriers.h: New file.
14666 * sysdeps/generic/math_private.h [!math_opt_barrier]
14667 (math_opt_barrier): Move to math-barriers.h.
14668 [!math_opt_barrier] (math_force_eval): Likewise.
14669 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14670 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14672 (math_force_eval): Likewise.
14673 * sysdeps/alpha/fpu/math-barriers.h: New file.
14674 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14676 (math_force_eval): Likewise.
14677 * sysdeps/x86/fpu/math-barriers.h: New file.
14678 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14680 (math_force_eval): Likewise.
14681 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14682 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14683 multiple-include guard for rename.
14684 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14685 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14687 (math_force_eval): Likewise.
14689 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14693 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14695 * stdlib/Makefile (test-bz22786): New test.
14696 * stdlib/test-bz22786.c: New test.
14698 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14700 * include/math-narrow-eval.h: New file. Contents moved from ....
14701 * sysdeps/generic/math_private.h: ... here.
14702 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14703 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14704 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14705 * stdlib/strtod_l.c: Likewise.
14706 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14707 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14708 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14709 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14710 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14711 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14712 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14713 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14714 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14715 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14716 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14717 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14718 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14719 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14720 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14721 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14722 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14723 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14724 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14725 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14726 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14727 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14728 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14729 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14730 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14731 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14732 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14733 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14734 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14736 2018-05-08 Andreas Schwab <schwab@suse.de>
14738 * sysdeps/nptl/internaltypes.h: Fix comment.
14740 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14742 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14743 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14746 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14748 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14749 of I into loop header.
14750 * benchtests/bench-memmove-walk.c
14751 (test_main): Likewise.
14753 2018-05-07 Alexandre Oliva <oliva@gnu.org>
14756 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14757 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14759 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14762 * elf/dl-load.c (open_verify): Fix stack overflow.
14763 * elf/Makefile (tst-big-note): New test.
14764 * elf/tst-big-note-lib.S: New.
14765 * elf/tst-big-note.c: New.
14767 2018-05-04 Joseph Myers <joseph@codesourcery.com>
14769 * scripts/abilist.awk: Ignore absolute symbols.
14770 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14771 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14772 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14773 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14774 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14775 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14776 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14777 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14778 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14779 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14780 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14781 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14782 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14783 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14784 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14785 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14786 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14787 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14788 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14789 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14790 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14791 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14792 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14793 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14794 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14795 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14796 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14797 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14798 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14799 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14800 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14801 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14802 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14803 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14804 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14805 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14806 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14807 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14808 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14809 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14810 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14811 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14812 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14813 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14814 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14815 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14816 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14817 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14818 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14819 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14820 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14821 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14822 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14823 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14824 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14825 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14826 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14827 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14828 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14829 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14830 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14831 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14832 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14833 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14834 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14835 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14836 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14837 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14838 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14839 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14840 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14841 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14842 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14843 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14844 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14845 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14846 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14847 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14848 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14849 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14850 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14851 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14852 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14853 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14854 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14855 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14856 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14857 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14858 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14859 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14860 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14861 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14863 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14864 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14865 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14866 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14867 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14868 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14869 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14870 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14871 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14872 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14873 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14874 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14875 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14877 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14878 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14879 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14880 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14881 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14882 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14883 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14884 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14885 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14886 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14887 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14888 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14889 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14890 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14891 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14892 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14893 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14894 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14895 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14896 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14897 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14898 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14899 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14900 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14901 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14902 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14903 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14905 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14906 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14907 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14908 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14909 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14910 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14911 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14912 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14913 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14914 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14915 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14916 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14917 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14918 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14919 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14920 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14921 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14922 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14923 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14924 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14926 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14927 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14928 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14929 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14930 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14931 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14932 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14933 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14934 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14935 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14936 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14937 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14938 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14939 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14940 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14941 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14942 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14943 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14944 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14945 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14946 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14947 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14948 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14949 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14950 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14951 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14952 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14953 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
15004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
15005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
15006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
15013 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15014 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
15016 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15017 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15018 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
15019 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15020 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15021 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15022 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
15023 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
15024 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15025 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
15026 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15027 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
15028 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
15029 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15031 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15032 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
15033 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
15034 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15035 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
15036 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15037 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
15038 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
15039 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
15040 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
15041 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
15042 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15044 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15045 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
15046 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
15047 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15048 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
15049 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15050 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
15051 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
15052 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
15053 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
15054 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
15055 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
15056 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
15057 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15058 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
15059 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
15060 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15061 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
15062 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15063 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
15064 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
15065 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
15066 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
15067 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
15068 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15070 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
15071 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15072 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
15073 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
15074 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15075 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
15076 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15077 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
15078 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
15079 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
15080 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
15081 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
15082 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15084 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
15085 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15086 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
15087 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
15088 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15089 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
15090 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15091 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
15092 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
15093 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
15094 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
15095 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
15096 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
15097 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
15098 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15099 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
15100 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
15101 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15102 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
15103 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15104 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
15105 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
15106 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
15107 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
15108 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15109 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
15110 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
15111 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
15112 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15113 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
15114 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
15115 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15116 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
15117 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15118 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
15119 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
15120 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
15121 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
15123 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15126 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
15127 Use atomic_load_acquire to load __tid.
15129 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15131 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
15132 Restore the pointer into %rdx, after syscall and use %rdx,
15133 instead of %rsi, to restore context.
15135 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15137 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
15138 Pop the pointer into %rdx after syscall and use %rdx, instead
15139 of %rsi, to restore context.
15141 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15143 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
15144 handlers after setjmp.
15145 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
15147 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
15148 <libc-pointer-arith.h>.
15149 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
15150 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
15151 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
15152 _JUMP_BUF_SIGSET_BITS_PER_WORD.
15153 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
15154 * sysdeps/x86/__longjmp_cancel.S: New file.
15155 * sysdeps/x86/longjmp.c: Likewise.
15156 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
15158 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15160 * NEWS: Add ustat.h deprecation entry.
15161 * bits/ustat.h: Remove file.
15162 * misc/sys/ustat.h: Likewise.
15163 * misc/ustat.h: Likewise.
15164 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
15165 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
15166 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
15167 compatibility mode.
15168 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
15169 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
15170 generic Linux implementation.
15172 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15174 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
15175 * math/w_expl_compat.c: Likewise.
15176 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
15178 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15180 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15182 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15184 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
15185 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
15186 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
15188 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
15189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15190 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15191 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
15192 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
15195 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15197 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
15199 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
15200 * math/w_asin_template.c: Likewise.
15201 * math/w_atanh_template.c: Likewise.
15203 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15205 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
15206 to powerpc/powerpc64/be for big-endian.
15207 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
15210 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
15211 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
15212 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
15213 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
15214 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15215 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
15216 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
15217 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
15218 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
15219 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15220 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
15221 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
15222 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
15223 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
15224 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
15225 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
15226 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
15227 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
15228 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
15229 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
15230 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
15231 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15232 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
15233 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
15234 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
15235 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15236 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
15237 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
15238 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
15239 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15240 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15241 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15243 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
15244 adjusted to imply powerpc64 and older processors on powerpc64/be.
15245 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
15246 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
15247 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
15248 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
15249 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
15250 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
15251 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
15252 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
15253 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
15254 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
15255 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
15256 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
15257 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
15258 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
15259 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
15260 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
15261 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
15262 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15263 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15264 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15265 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15266 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15267 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15268 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15269 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15270 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15271 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15272 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15273 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15274 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15275 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15277 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15278 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15279 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15280 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15282 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15283 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15284 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15285 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15287 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15288 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15289 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15290 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15291 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15292 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15293 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15294 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15295 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15296 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15297 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15299 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15300 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15301 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15302 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15303 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15304 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15305 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15306 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15307 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15308 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15309 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15311 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15312 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15313 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15314 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15315 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15316 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15317 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15318 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15319 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15320 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15321 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15322 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15324 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15325 and adjusted to imply olders processors.
15326 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15327 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15328 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15329 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15330 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15331 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15332 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15333 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15334 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15335 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15336 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15338 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15340 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15341 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15355 powerpc64 and adjusted.
15356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15361 2018-04-27 Joseph Myers <joseph@codesourcery.com>
15363 * sysdeps/tile: Remove.
15364 * sysdeps/unix/sysv/linux/tile: Likewise.
15365 * README (tilegx-*-linux-gnu): Remove from list of supported
15367 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15368 contribution of support for generic Linux kernel syscall
15370 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15371 tilegx configurations.
15372 (Config.install_linux_headers): Do not handle tile.
15373 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15375 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15376 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15377 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15378 conditional undefine and redefine.
15379 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15381 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15382 conditional undefine and redefine.
15384 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15386 * signal/tst-sigaction.c: New file to test BZ #23069.
15387 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15389 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15392 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15393 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15394 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15395 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15397 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15399 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15400 _DIRENT_MATCHES_DIRENT64 is not defined.
15401 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15402 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15404 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15405 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15407 2018-04-25 Joseph Myers <joseph@codesourcery.com>
15409 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15410 version to GCC 8 branch.
15412 2018-04-24 Joseph Myers <joseph@codesourcery.com>
15414 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15415 (check_no_hidden): Use type of original function when declaring
15418 * sysdeps/unix/sysv/linux/sys/ptrace.h
15419 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15420 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15421 (struct __ptrace_seccomp_metadata): New type.
15422 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15423 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15424 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15425 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15426 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15427 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15428 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15429 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15430 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15431 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15432 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15433 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15434 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15435 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15436 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15437 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15439 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15441 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15443 * dirent/versionsort.c (versionsort): Likewise.
15444 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15445 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15446 * dirent/versionsort64.c (versionsort64): Likewise.
15447 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15448 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15449 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15450 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15451 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15452 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15453 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15454 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15455 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15456 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15459 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15460 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15462 2018-04-23 Joseph Myers <joseph@codesourcery.com>
15464 * elf/elf.h (NT_PPC_PKEY): New macro.
15466 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
15469 * localedata/locales/hr_HR: fix thousands_sep and
15472 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15474 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15475 (XTABS): Define to TAB3.
15477 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15479 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15481 * dirent/scandir-tail-common.c: New file.
15482 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15483 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15484 * dirent/scandir.c: Use scandir-tail-common.c.
15485 * dirent/scandirat.c: Likewise.
15486 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15487 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15488 if _DIRENT_MATCHES_DIRENT64 is defined.
15489 * dirent/scandirat64.c (scandirat64): Likewise.
15490 * include/dirent.h (__scandir_tail): Only define iff
15491 _DIRENT_MATCHES_DIRENT64 is not defined.
15492 (__scandir64_tail): Define regardless.
15493 (__scandirat, scandirat64): Remove libc_hidden_proto.
15494 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15495 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15497 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15498 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15499 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15500 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15502 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15504 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15506 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15508 (_dl_aarch64_cap_flags): Add asimdfhm.
15510 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15512 * sysdeps/nios2/libm-test-ulps: Update.
15514 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15516 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15517 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15519 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15521 (_DIRENT_MATCHES_DIRENT64): Undef
15522 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15523 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15524 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15525 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15526 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15527 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15528 use getdents64 syscalls as base.
15529 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15530 symbol if required.
15531 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15532 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15533 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15534 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15535 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15536 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15537 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15538 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15539 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15540 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15541 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15543 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15545 * scripts/test_printers_common.py (init_test): Disable lock elision.
15547 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15549 * math/test-tgmath.c (count_double, count_float,
15550 count_ldouble, count_cdouble, count_cfloat,
15551 count_cldouble): Use volatile int.
15553 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15555 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15556 (conformtest-xfail-conds): Add i386-gnu.
15557 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
15559 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15560 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15561 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15562 msqid_ds.msg_lrpid): Likewise.
15563 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15565 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15566 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
15567 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15568 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15570 (struct statvfs64): Likewise.
15571 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15573 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15574 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15575 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15576 instead of wait_queue.
15577 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15578 instead of vm_area_struct.
15579 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15580 struct sched_param definition to it.
15581 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15582 * bits/types/struct_sched_param.h: New file.
15583 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15584 <bits/types/struct_sched_param.h> instead of <sched.h>.
15585 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
15586 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15587 generic version but include <bits/pthreadtypes.h> to make struct
15588 sigevent's sigev_notify_attributes field a pthread_attr_t*.
15589 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15591 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15592 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15593 [__USE_XOPEN] (OFDEL): New macro.
15594 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
15595 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
15596 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15598 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15599 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
15600 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15602 * sysdeps/i386/sys/ucontext.h: Likewise.
15603 * sysdeps/m68k/sys/ucontext.h: Likewise.
15604 * sysdeps/mips/sys/ucontext.h: Likewise.
15605 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
15606 * sysdeps/mach/hurd/i386/Makefile
15607 (test-xfail-POSIX/fcntl.h/conform): Add.
15608 (test-xfail-POSIX/signal.h/conform): Add.
15609 (test-xfail-POSIX/semaphore.h/conform): Add.
15610 (test-xfail-POSIX/regex.h/conform): Add.
15611 (test-xfail-POSIX/aio.h/conform): Add.
15612 (test-xfail-POSIX/mqueue.h/conform): Add.
15613 (test-xfail-POSIX/sys/types.h/conform): Add.
15614 (test-xfail-UNIX98/fcntl.h/conform): Add.
15615 (test-xfail-UNIX98/netdb.h/conform): Add.
15616 (test-xfail-UNIX98/signal.h/conform): Add.
15617 (test-xfail-UNIX98/semaphore.h/conform): Add.
15618 (test-xfail-UNIX98/regex.h/conform): Add.
15619 (test-xfail-UNIX98/aio.h/conform): Add.
15620 (test-xfail-UNIX98/ftw.h/conform): Add.
15621 (test-xfail-UNIX98/mqueue.h/conform): Add.
15622 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15623 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15624 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15625 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15626 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15627 (test-xfail-UNIX98/sys/types.h/conform): Add.
15628 (test-xfail-UNIX98/stdlib.h/conform): Add.
15629 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15630 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15631 (test-xfail-POSIX2008/netdb.h/conform): Add.
15632 (test-xfail-POSIX2008/signal.h/conform): Add.
15633 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15634 (test-xfail-POSIX2008/regex.h/conform): Add.
15635 (test-xfail-POSIX2008/aio.h/conform): Add.
15636 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15637 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15638 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15639 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15640 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15641 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15642 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15643 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15644 (test-xfail-XOPEN2K/signal.h/conform): Add.
15645 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15646 (test-xfail-XOPEN2K/regex.h/conform): Add.
15647 (test-xfail-XOPEN2K/aio.h/conform): Add.
15648 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15649 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15650 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15651 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15652 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15653 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15654 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15655 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15656 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15657 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15658 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15659 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15660 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15661 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15662 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15663 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15664 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15665 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15666 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15667 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15668 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15669 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15670 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15671 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15672 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15673 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
15674 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15676 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15677 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
15679 2018-04-18 Joseph Myers <joseph@codesourcery.com>
15681 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15682 --enable-obsolete for powerpc-linux-gnuspe.
15684 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15686 * conform/data/sys/un.h-data: Allow sun_ prefix.
15687 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
15689 * sysdeps/mach/include/mach.h: Likewise.
15690 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15691 * sysdeps/mach/include/mach_error.h: Likewise.
15693 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15695 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15696 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15697 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15698 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15700 2018-04-16 Andreas Schwab <schwab@suse.de>
15703 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15705 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15707 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15708 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15710 2018-04-12 DJ Delorie <dj@redhat.com>
15712 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15715 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15717 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15718 (struct kernel_sigaction): Use the same definition on 31bit as is used
15721 2018-04-09 Florian Weimer <fweimer@redhat.com>
15724 * resolv/res_send.c (send_dg): Use designated initializers instead
15725 of assignment to zero-initialize other fields of struct mmsghdr.
15727 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15729 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15730 __READDIR_ALIAS): Undefine after usage.
15731 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15732 __READDIR_R_ALIAS): Likewise.
15733 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15734 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15735 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15736 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15737 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15738 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15739 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15740 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15741 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15742 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15743 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15744 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15745 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15746 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15747 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15748 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15749 * sysdeps/unix/sysv/linux/readdir.c: New file.
15750 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15751 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15752 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15754 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15756 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15758 * manual/charset.texi (Converting a Character): Fix typo.
15760 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15764 * sysdeps/arm/libm-test-ulps: Update.
15766 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15767 as base implementation.
15768 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15769 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15770 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15771 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15772 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15773 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15774 remove unrequired definitions and update comments.
15775 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15776 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15777 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15778 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15779 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15780 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15781 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15782 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15783 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15784 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15785 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15786 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15787 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15788 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15789 and RESET_SA_RESTORER hooks.
15791 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15793 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15795 2018-04-05 Florian Weimer <fweimer@redhat.com>
15797 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15798 integer overflow, memory leak on error, and indeterminate errno
15799 value. Add a null wide character to terminate the result string.
15800 * manual/charset.texi (Converting a Character): Mention embedded
15801 null bytes in the mbrtowc input string. Explain what happens in
15802 the -2 result case. Do not claim that mbrtowc is simple or
15803 obvious to use. Adjust the description of the code example. Use
15804 @code, not @var, for concrete variables.
15806 2018-04-05 Florian Weimer <fweimer@redhat.com>
15808 * manual/examples/mbstouwcs.c: New file.
15809 * manual/charset.texi (Converting a Character): Include it.
15811 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15813 * include/dirent.h (dirfd): Add hidden proto.
15814 * dirent/dirfd.c (dirfd): Add hidden def.
15815 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15816 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
15818 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15820 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15821 sin, cos and sincos to 1 ULP.
15823 2018-04-04 Maciej W. Rozycki <macro@mips.com>
15826 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15828 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15829 * elf/tst-absolute-sym.c: New file.
15830 * elf/tst-absolute-sym-lib.c: New file.
15831 * elf/tst-absolute-sym-lib.lds: New file.
15832 * elf/Makefile (tests): Add `tst-absolute-sym'.
15833 (modules-names): Add `tst-absolute-sym-lib'.
15834 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15835 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15836 ($(objpfx)tst-absolute-sym): New dependency.
15839 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15841 (SYMBOL_ADDRESS): New macro.
15842 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15843 SYMBOL_ADDRESS for symbol address calculation.
15844 * elf/dl-runtime.c (_dl_fixup): Likewise.
15845 (_dl_profile_fixup): Likewise.
15846 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15847 * elf/rtld.c (dl_main): Likewise.
15848 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15849 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15850 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15851 (elf_machine_rela): Likewise.
15852 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15853 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15854 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15855 (elf_machine_rela): Likewise.
15856 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15857 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15858 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15859 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15861 (elf_machine_reloc): Likewise.
15862 (elf_machine_got_rel): Likewise.
15863 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15864 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15865 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15867 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15869 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15870 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15872 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15874 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15875 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15877 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15879 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15880 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15882 2018-04-04 Zack Weinberg <zackw@panix.com>
15884 * sysdeps/generic/internal-signals.h: Include signal.h,
15885 sigsetops.h, and stdbool.h.
15886 (__libc_signal_block_all): Actually block all signals.
15887 (__libc_signal_block_app): Likewise.
15888 (__libc_signal_restore_set): Actually restore the signal mask.
15890 2018-04-04 Florian Weimer <fweimer@redhat.com>
15892 inet: Actually build and run tst-deadline.
15893 * inet/Makefile (tests-internal): Add tst-deadline and do not
15894 overwrite the variable.
15895 (tests-static-internal): Remove variable.
15897 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15900 * bits/uio-ext.h (RWF_APPEND): New.
15901 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15902 * manual/llio.texi: Document RWF_APPEND.
15903 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15904 (RWF_SUPPORTED): Add RWF_APPEND.
15906 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15909 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15910 check for internal nptl signals.
15911 * nptl/sigaction.c (__sigaction): Likewise.
15912 * signal/sigaddset.c (sigaddset): Likewise.
15913 * signal/sigdelset.c (sigdelset): Likewise.
15914 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15915 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15917 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15918 to filter out internal nptl signals.
15919 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15920 also check realtime signals using standard macros.
15921 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15922 __is_internal_signal, __libc_signal_block_all,
15923 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15924 * sysdeps/nptl/sigfillset.c: Remove file.
15925 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15926 Change return to bool.
15927 (__clear_internal_signals): Remove SIGTIMER clean since it is
15928 equal to SIGCANEL on Linux.
15929 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15930 signal set was constructed using standard functions.
15932 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15934 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15935 ifname is too long.
15936 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15937 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
15938 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15940 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
15941 * signal/sigaddset.c: Include <sigsetopts.h>.
15942 * signal/sigdelset.c: Likewise.
15944 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15946 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15948 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15949 logic as sin and cos.
15951 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15953 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15954 inputs. Return correct sign.
15955 (do_sincos): Remove small input check before do_sin, let do_sin set
15960 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15962 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15963 (do_cos_slow): Likewise.
15964 (do_sin_slow): Likewise.
15965 (reduce_and_compute): Likewise.
15970 (sloww1): Likewise.
15971 (sloww2): Likewise.
15973 (bslow1): Likewise.
15974 (bslow2): Likewise.
15975 (cslow2): Likewise.
15977 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15979 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15980 (do_cos): Remove corp parameter and calculations.
15981 (do_sin): Likewise.
15982 (do_sincos): Remove cor variable.
15983 (__sin): Use do_sincos for huge inputs.
15985 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15986 (reduce_and_compute_sincos): Remove unused function.
15988 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15990 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15991 reduce_sincos, improve accuracy to 136 bits.
15992 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15993 (__sin): Use improved reduction and simplified do_sincos calculation.
15995 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15997 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15999 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
16000 (do_sincos_2): Likewise.
16001 (__sin): Remove middle range reduction case.
16003 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
16006 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16008 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
16009 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
16012 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
16014 2018-04-03 Joseph Myers <joseph@codesourcery.com>
16016 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16019 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16021 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
16022 Remove definitions.
16023 (opendir_oflags): Use O_DIRECTORY regardless.
16024 (__opendir, __opendirat): Remove need_isdir_precheck usage.
16025 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
16027 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16029 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
16030 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
16032 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
16033 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
16034 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
16035 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
16036 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
16037 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
16039 * htl/Makefile: Bump licence to LGPL 2.1+.
16040 * htl/alloca_cutoff.c: Likewise.
16041 * htl/cthreads-compat.c: Likewise.
16042 * htl/lockfile.c: Likewise.
16043 * htl/pt-alloc.c: Likewise.
16044 * htl/pt-cancel.c: Likewise.
16045 * htl/pt-cleanup.c: Likewise.
16046 * htl/pt-create.c: Likewise.
16047 * htl/pt-dealloc.c: Likewise.
16048 * htl/pt-detach.c: Likewise.
16049 * htl/pt-exit.c: Likewise.
16050 * htl/pt-getattr.c: Likewise.
16051 * htl/pt-initialize.c: Likewise.
16052 * htl/pt-internal.h: Likewise.
16053 * htl/pt-join.c: Likewise.
16054 * htl/pt-self.c: Likewise.
16055 * htl/pt-setcancelstate.c: Likewise.
16056 * htl/pt-setcanceltype.c: Likewise.
16057 * htl/pt-sigmask.c: Likewise.
16058 * htl/pt-spin-inlines.c: Likewise.
16059 * htl/pt-testcancel.c: Likewise.
16060 * htl/pt-yield.c: Likewise.
16061 * htl/tests/test-1.c: Likewise.
16062 * htl/tests/test-10.c: Likewise.
16063 * htl/tests/test-11.c: Likewise.
16064 * htl/tests/test-12.c: Likewise.
16065 * htl/tests/test-13.c: Likewise.
16066 * htl/tests/test-14.c: Likewise.
16067 * htl/tests/test-15.c: Likewise.
16068 * htl/tests/test-16.c: Likewise.
16069 * htl/tests/test-17.c: Likewise.
16070 * htl/tests/test-2.c: Likewise.
16071 * htl/tests/test-3.c: Likewise.
16072 * htl/tests/test-4.c: Likewise.
16073 * htl/tests/test-5.c: Likewise.
16074 * htl/tests/test-6.c: Likewise.
16075 * htl/tests/test-7.c: Likewise.
16076 * htl/tests/test-8.c: Likewise.
16077 * htl/tests/test-9.c: Likewise.
16078 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
16079 * sysdeps/htl/bits/cancelation.h: Likewise.
16080 * sysdeps/htl/bits/pthread-np.h: Likewise.
16081 * sysdeps/htl/bits/pthread.h: Likewise.
16082 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
16083 * sysdeps/htl/bits/semaphore.h: Likewise.
16084 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
16085 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
16086 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
16087 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
16088 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
16089 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
16090 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
16091 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
16092 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
16093 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
16094 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
16095 * sysdeps/htl/old_pt-atfork.c: Likewise.
16096 * sysdeps/htl/pt-atfork.c: Likewise.
16097 * sysdeps/htl/pt-attr-destroy.c: Likewise.
16098 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
16099 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
16100 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
16101 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
16102 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
16103 * sysdeps/htl/pt-attr-getscope.c: Likewise.
16104 * sysdeps/htl/pt-attr-getstack.c: Likewise.
16105 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
16106 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
16107 * sysdeps/htl/pt-attr-init.c: Likewise.
16108 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
16109 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
16110 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
16111 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
16112 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
16113 * sysdeps/htl/pt-attr-setscope.c: Likewise.
16114 * sysdeps/htl/pt-attr-setstack.c: Likewise.
16115 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
16116 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
16117 * sysdeps/htl/pt-attr.c: Likewise.
16118 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
16119 * sysdeps/htl/pt-barrier-init.c: Likewise.
16120 * sysdeps/htl/pt-barrier-wait.c: Likewise.
16121 * sysdeps/htl/pt-barrier.c: Likewise.
16122 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
16123 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
16124 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
16125 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
16126 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
16127 * sysdeps/htl/pt-cond-destroy.c: Likewise.
16128 * sysdeps/htl/pt-cond-init.c: Likewise.
16129 * sysdeps/htl/pt-cond-signal.c: Likewise.
16130 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
16131 * sysdeps/htl/pt-cond-wait.c: Likewise.
16132 * sysdeps/htl/pt-cond.c: Likewise.
16133 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
16134 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
16135 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
16136 * sysdeps/htl/pt-condattr-init.c: Likewise.
16137 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
16138 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
16139 * sysdeps/htl/pt-destroy-specific.c: Likewise.
16140 * sysdeps/htl/pt-equal.c: Likewise.
16141 * sysdeps/htl/pt-getconcurrency.c: Likewise.
16142 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
16143 * sysdeps/htl/pt-getschedparam.c: Likewise.
16144 * sysdeps/htl/pt-getspecific.c: Likewise.
16145 * sysdeps/htl/pt-init-specific.c: Likewise.
16146 * sysdeps/htl/pt-key-create.c: Likewise.
16147 * sysdeps/htl/pt-key-delete.c: Likewise.
16148 * sysdeps/htl/pt-key.h: Likewise.
16149 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
16150 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
16151 * sysdeps/htl/pt-mutex-init.c: Likewise.
16152 * sysdeps/htl/pt-mutex-lock.c: Likewise.
16153 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
16154 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
16155 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
16156 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
16157 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
16158 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
16159 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
16160 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
16161 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
16162 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
16163 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
16164 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
16165 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
16166 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
16167 * sysdeps/htl/pt-mutexattr.c: Likewise.
16168 * sysdeps/htl/pt-once.c: Likewise.
16169 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
16170 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
16171 * sysdeps/htl/pt-rwlock-init.c: Likewise.
16172 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
16173 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
16174 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
16175 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
16176 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
16177 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
16178 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
16179 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
16180 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
16181 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
16182 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
16183 * sysdeps/htl/pt-setconcurrency.c: Likewise.
16184 * sysdeps/htl/pt-setschedparam.c: Likewise.
16185 * sysdeps/htl/pt-setschedprio.c: Likewise.
16186 * sysdeps/htl/pt-setspecific.c: Likewise.
16187 * sysdeps/htl/pt-spin.c: Likewise.
16188 * sysdeps/htl/pt-startup.c: Likewise.
16189 * sysdeps/htl/pthread.h: Likewise.
16190 * sysdeps/htl/sem-close.c: Likewise.
16191 * sysdeps/htl/sem-destroy.c: Likewise.
16192 * sysdeps/htl/sem-getvalue.c: Likewise.
16193 * sysdeps/htl/sem-init.c: Likewise.
16194 * sysdeps/htl/sem-open.c: Likewise.
16195 * sysdeps/htl/sem-post.c: Likewise.
16196 * sysdeps/htl/sem-timedwait.c: Likewise.
16197 * sysdeps/htl/sem-trywait.c: Likewise.
16198 * sysdeps/htl/sem-unlink.c: Likewise.
16199 * sysdeps/htl/sem-wait.c: Likewise.
16200 * sysdeps/hurd/htl/pt-kill.c: Likewise.
16201 * sysdeps/i386/htl/pt-machdep.h: Likewise.
16202 * sysdeps/mach/htl/pt-block.c: Likewise.
16203 * sysdeps/mach/htl/pt-spin.c: Likewise.
16204 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
16205 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
16206 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
16207 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
16208 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
16209 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
16210 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
16211 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
16212 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
16213 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
16214 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
16215 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
16216 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
16217 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
16218 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
16219 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
16220 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
16221 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
16222 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
16223 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
16224 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
16225 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
16226 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
16227 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
16228 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
16229 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
16230 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
16231 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
16232 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
16233 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
16234 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
16235 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
16236 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
16237 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
16238 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
16239 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
16240 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
16241 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
16242 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
16243 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
16244 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
16245 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
16246 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
16248 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
16249 * README: Remove the mention of out-of-tree patches needed for
16252 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
16253 (UTIME_NOW, UTIME_OMIT): Define macros.
16255 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
16256 instead of pthread_detach.
16257 (__cthread_fork): Call __pthread_create instead of pthread_create.
16258 (__cthread_keycreate): Call __pthread_key_create instead of
16259 pthread_key_create.
16260 (__cthread_getspecific): Call __pthread_getspecific instead of
16261 pthread_getspecific.
16262 (__cthread_setspecific): Call __pthread_setspecific instead of
16263 pthread_setspecific.
16264 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16265 __pthread_mutex_unlock instead of pthread_mutex_lock and
16266 pthread_mutex_unlock.
16267 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16268 ___pthread_get_cleanup_stack.
16269 (__pthread_get_cleanup_stack): New strong alias.
16270 * htl/pt-create.c: Include <pthreadP.h>.
16271 (entry_point): Call __pthread_exit instead of pthread_exit.
16272 (pthread_create): Rename to __pthread_create.
16273 (pthread_create): New strong alias.
16274 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16275 (pthread_detach): New strong alias.
16276 (__pthread_detach): Call __pthread_cond_broadcast instead of
16277 pthread_cond_broadcast.
16278 * htl/pt-exit.c: Include <pthreadP.h>.
16279 (__pthread_exit): Call __pthread_setcancelstate and
16280 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16281 __pthread_get_cleanup_stack.
16282 * htl/pt-testcancel.c: Include <pthreadP.h>.
16283 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16284 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16285 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16286 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16287 pthread_attr_getstacksize.
16288 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16289 Rename to __pthread_attr_getstackaddr.
16290 (pthread_attr_getstackaddr): New strong alias.
16291 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16292 Rename to __pthread_attr_getstacksize.
16293 (pthread_attr_getstacksize): New strong alias.
16294 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16295 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16296 (pthread_attr_setstack): New strong alias.
16297 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16298 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16299 pthread_attr_getstacksize, pthread_attr_setstacksize and
16300 pthread_attr_setstackaddr.
16301 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16302 Rename to __pthread_attr_setstackaddr.
16303 (pthread_attr_setstackaddr): New strong alias.
16304 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16305 Rename to __pthread_attr_setstacksize.
16306 (pthread_attr_setstacksize): New strong alias.
16307 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16308 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16310 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16311 (__pthread_key_create): New hidden def.
16312 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16313 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16314 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16315 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16316 __pthread_setspecific, __pthread_setcancelstate,
16317 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16318 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16319 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16321 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16322 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16323 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16324 (pthread_attr_setstackaddr): New strong alias.
16325 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16326 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16327 (pthread_attr_setstacksize): New strong alias.
16328 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16329 (call_exit): Call __pthread_exit instead of pthread_exit.
16330 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16331 (_pthread_mutex_init): New hidden definition.
16332 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16333 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16334 instead of pthread_attr_init and pthread_attr_setstack.
16336 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16337 __vm_deallocate instead of vm_allocate and vm_deallocate.
16338 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16340 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16342 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16344 * hurd/siginfo.c: Include <libioP.h>.
16345 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16346 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16348 * mach/devstream.c: Include <libioP.h>.
16349 (dealloc_ref): Call __mach_port_deallocate instead of
16350 mach_port_deallocate.
16351 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16352 Call __mach_port_deallocate instead of mach_port_deallocate.
16353 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16355 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16357 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16358 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16359 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16361 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16363 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16364 instead of sysconf.
16365 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16366 __clock_gettime instead of clock_gettime.
16367 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16368 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16369 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16370 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16371 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16373 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16374 __clock_gettime and __nanosleep instead of clock_gettime and
16376 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16377 __hurd_catch_signal.
16378 (hurd_catch_signal): New strong alias.
16379 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16380 __hurd_catch_signal instead of hurd_catch_signal.
16381 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16382 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16383 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16384 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16385 (_hurd_thread_sigstate): Add hidden def.
16386 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16388 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16389 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16390 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16391 __hurd_file_name_path_lookup.
16392 (hurd_file_name_path_lookup): New strong alias.
16393 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16394 hurd_file_name_path_lookup.
16395 * mach/errstring.c (mach_error_type): Add hidden def.
16396 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16397 * mach/mutex-init.c (__mutex_init): Add hidden def.
16398 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16399 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16400 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16401 * sysdeps/mach/hurd/getcwd.c
16402 (_hurd_canonicalize_directory_name_internal): Rename to
16403 __hurd_canonicalize_directory_name_internal.
16404 (_hurd_canonicalize_directory_name_internal): New strong alias.
16405 (__canonicalize_directory_name_internal, __getcwd): Call
16406 __hurd_canonicalize_directory_name_internal instead of
16407 _hurd_canonicalize_directory_name_internal.
16408 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16409 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16411 * sysdeps/hurd/include/hurd.h: New file.
16412 * sysdeps/hurd/include/hurd/fd.h: New file.
16413 * sysdeps/hurd/include/hurd/signal.h: New file.
16414 * sysdeps/mach/include/lock-intern.h: New file.
16415 * sysdeps/mach/include/mach.h: New file.
16416 * sysdeps/mach/include/mach/mig_support.h: New file.
16417 * sysdeps/mach/include/mach_error.h: New file.
16418 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16420 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16421 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16422 _HEADER_H_HIDDEN_DEF macro.
16423 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16424 _hurd_fd_error_signal): Add hidden prototype.
16425 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16427 * libio/iolibio.h (_IO_puts): New hidden prototype.
16428 * libio/ioputs.c (_IO_puts): New hidden def.
16429 * sysdeps/mach/hurd/localplt.data: New file.
16431 2018-04-02 Agustina Arzille <avarzille@riseup.net>
16432 Amos Jeffries <squid3@treenet.co.nz>
16433 David Michael <fedora.dm0@gmail.com>
16434 Marco Gerards <marco@gnu.org>
16435 Marcus Brinkmann <marcus@gnu.org>
16436 Neal H. Walfield <neal@gnu.org>
16437 Pino Toscano <toscano.pino@tiscali.it>
16438 Richard Braun <rbraun@sceen.net>
16439 Roland McGrath <roland@gnu.org>
16440 Samuel Thibault <samuel.thibault@ens-lyon.org>
16441 Thomas DiModica <ricinwich@yahoo.com>
16442 Thomas Schwinge <tschwinge@gnu.org>
16444 * htl: New directory.
16445 * sysdeps/htl: New directory.
16446 * sysdeps/hurd/htl: New directory.
16447 * sysdeps/i386/htl: New directory.
16448 * sysdeps/mach/htl: New directory.
16449 * sysdeps/mach/hurd/htl: New directory.
16450 * sysdeps/mach/hurd/i386/htl: New directory.
16451 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16452 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16453 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16455 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16457 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16458 signals in thread created for runing timers.
16460 2018-04-01 Florian Weimer <fweimer@redhat.com>
16462 * support/support_format_addrinfo.c (support_format_addrinfo):
16463 Include unknown error number in formatted result.
16465 2018-03-29 Florian Weimer <fweimer@redhat.com>
16467 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16470 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16472 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16473 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16474 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16475 (__ASSUME_CLONE_BACKWARDS): Define.
16477 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16480 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16481 early when linux sentinel value is set.
16483 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16485 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16487 2018-03-27 Andreas Schwab <schwab@suse.de>
16490 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16491 allocation of private copy of nsaddr_list fails.
16493 2018-03-26 Joseph Myers <joseph@codesourcery.com>
16496 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16497 * sysdeps/unix/sysv/linux/umount.c: ... here.
16498 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16499 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16500 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16501 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16503 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16504 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16506 2018-03-26 Andreas Schwab <schwab@suse.de>
16508 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16509 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16510 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16511 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16512 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16513 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16514 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16515 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16516 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16517 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16518 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16519 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16520 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16521 (R_RISCV_NUM): Define.
16523 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16525 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16526 TLS declaration of errno.
16527 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16529 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16530 (ARCH_SETUP_TLS): Likewise.
16531 * sysdeps/mach/hurd/libc-start.h: New file copied from
16532 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
16533 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16534 instead of __libc_setup_tls.
16535 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
16536 __libc_setup_tls before initializing libpthread and running _hurd_init
16537 which starts the signal thread.
16538 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16540 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16542 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16545 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16546 after it is defined.
16548 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16549 Max Horn <max@quendi.de>
16553 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16555 * string/test-memmove.c (do_test2): New testcase.
16557 2018-03-22 Joseph Myers <joseph@codesourcery.com>
16559 * sysdeps/generic/frame.h: Remove file.
16560 * sysdeps/arm/frame.h: Likewise.
16561 * sysdeps/hppa/frame.h: Likewise.
16562 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16564 (GET_FRAME): Likewise.
16565 (GET_STACK): Likewise.
16566 (CALL_SIGHANDLER): Likewise.
16567 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16569 (GET_FRAME): Likewise.
16570 (GET_STACK): Likewise.
16571 (CALL_SIGHANDLER): Likewise.
16572 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16573 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16574 (GET_FRAME): Likewise.
16575 (GET_STACK): Likewise.
16576 (CALL_SIGHANDLER): Likewise.
16577 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16578 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16579 (GET_FRAME): Likewise.
16580 (GET_STACK): Likewise.
16581 (ADVANCE_STACK_FRAME): Likewise.
16582 (CALL_SIGHANDLER): Likewise.
16583 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16584 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16585 (GET_FRAME): Likewise.
16586 (GET_STACK): Likewise.
16587 (CALL_SIGHANDLER): Likewise.
16588 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16589 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16590 (GET_FRAME): Likewise.
16591 (GET_STACK): Likewise.
16592 (CALL_SIGHANDLER): Likewise.
16593 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16594 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16595 (GET_FRAME): Likewise.
16596 (GET_STACK): Likewise.
16597 (CALL_SIGHANDLER): Likewise.
16598 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16599 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16600 (GET_FRAME): Likewise.
16601 (GET_STACK): Likewise.
16602 (CALL_SIGHANDLER): Likewise.
16603 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16604 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16605 (GET_FRAME): Likewise.
16606 (GET_STACK): Likewise.
16607 (CALL_SIGHANDLER): Likewise.
16608 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16609 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16610 (GET_FRAME): Likewise.
16611 (GET_STACK): Likewise.
16612 (CALL_SIGHANDLER): Likewise.
16613 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16614 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16615 (GET_FRAME): Likewise.
16616 (GET_STACK): Likewise.
16617 (CALL_SIGHANDLER): Likewise.
16618 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16619 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16620 (GET_FRAME): Likewise.
16621 (GET_STACK): Likewise.
16622 (CALL_SIGHANDLER): Likewise.
16623 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16624 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16625 (GET_FRAME): Likewise.
16626 (GET_STACK): Likewise.
16627 (CALL_SIGHANDLER): Likewise.
16628 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16629 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16630 (FIRST_FRAME_POINTER): Likewise.
16631 (ADVANCE_STACK_FRAME): Likewise.
16632 (GET_STACK): Likewise.
16633 (GET_FRAME): Likewise.
16634 (CALL_SIGHANDLER): Likewise.
16635 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16636 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16637 (ADVANCE_STACK_FRAME): Likewise.
16638 (GET_STACK): Likewise.
16639 (GET_FRAME): Likewise.
16640 (CALL_SIGHANDLER): Likewise.
16641 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16642 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16643 (GET_FRAME): Likewise.
16644 (GET_STACK): Likewise.
16645 (CALL_SIGHANDLER): Likewise.
16646 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16647 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16648 (GET_FRAME): Likewise.
16649 (GET_STACK): Likewise.
16650 (CALL_SIGHANDLER): Likewise.
16652 2018-03-21 Joseph Myers <joseph@codesourcery.com>
16654 * sysdeps/x86_64/backtrace.c: Move to ....
16655 * debug/backtrace.c: ... here.
16656 * sysdeps/aarch64/backtrace.c: Remove file.
16657 * sysdeps/alpha/backtrace.c: Likewise.
16658 * sysdeps/hppa/backtrace.c: Likewise.
16659 * sysdeps/ia64/backtrace.c: Likewise.
16660 * sysdeps/mips/backtrace.c: Likewise.
16661 * sysdeps/nios2/backtrace.c: Likewise.
16662 * sysdeps/riscv/backtrace.c: Likewise.
16663 * sysdeps/sh/backtrace.c: Likewise.
16664 * sysdeps/tile/backtrace.c: Likewise.
16666 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16669 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16672 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16675 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16676 possibly overflowing computations.
16678 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16680 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16681 values from Linux-specific section now that it is in the GNU section.
16682 * sysdeps/gnu/errlist.c: Regenerate.
16684 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16686 * math/Makefile (libm-narrow-fns): Add sub.
16687 (libm-test-funcs-narrow): Likewise.
16688 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16689 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16690 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16691 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16692 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16693 (NARROW_SUB_TRIVIAL): Likewise.
16694 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16696 (__dsubl): Likewise.
16697 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16699 (CFLAGS-nldbl-dsub.c): New variable.
16700 (CFLAGS-nldbl-fsub.c): Likewise.
16701 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16703 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16705 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16706 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16707 * math/auto-libm-test-in: Add tests of sub.
16708 * math/auto-libm-test-out-narrow-sub: New generated file.
16709 * math/libm-test-narrow-sub.inc: New file.
16710 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16711 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16712 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16713 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16714 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16715 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16716 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16717 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16718 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16721 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16722 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16723 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16724 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16725 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16726 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16727 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16729 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16730 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16731 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16732 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16733 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16734 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16735 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16736 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16737 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16738 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16739 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16740 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16741 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16746 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16747 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16748 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16749 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16750 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16751 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16752 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16753 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16754 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16755 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16757 2018-03-19 Joseph Myers <joseph@codesourcery.com>
16760 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16762 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16764 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16766 2018-03-18 Richard Braun <rbraun@sceen.net>
16768 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16771 2018-03-18 Agustina Arzille <avarzille@riseup.net>
16773 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16774 (__libc_cleanup_fct): Define function.
16775 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16776 __libc_cleanup_end): Rewrite implementation using
16777 __attribute__ ((__cleanup__)).
16778 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
16779 * hurd/Makefile (routines): Add hurdlock.
16780 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16782 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16783 * hurd/hurdpid.c: Include <lowlevellock.h>
16784 (_S_msg_proc_newids): Use lll_wait to synchronize.
16785 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16786 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16787 * mach/Makefile (lock-headers): Remove machine-lock.h.
16788 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16790 (__spin_lock_t): New type.
16791 (__SPIN_LOCK_INITIALIZER): New macro.
16792 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16793 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16794 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16795 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16796 (__mutex_init): Initialize with lll.
16797 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16798 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16800 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16801 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16802 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16803 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16804 (__setpgid): Use lll for synchronization.
16805 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16806 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16807 instead of <cthreads.h>.
16808 (_IO_lock_inexpensive): New macro
16809 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16810 (__libc_lock_self0): New declaration.
16811 (__libc_lock_owner_self): New macro.
16812 (__libc_key_t): Remove type.
16813 (_LIBC_LOCK_INITIALIZER): New macro.
16814 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16815 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16816 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16817 __libc_lock_define_initialized_recursive,
16818 __rtld_lock_define_initialized_recursive,
16819 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16820 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16821 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16822 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16823 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16824 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16825 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16827 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16828 * hurd/hurdlock.c: New file.
16829 * hurd/hurdlock.h: New file.
16830 * mach/lowlevellock.h: New file
16832 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16834 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
16835 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16836 when opening a symlink with O_NOFOLLOW.
16837 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16838 path when flags contains O_NOFOLLOW.
16839 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16840 if flags contains O_DIRECTORY and the result is a directory.
16841 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16842 oneself when the pointer given in D is nul (as set by ext2fs).
16843 * sysdeps/mach/hurd/mlockall.c: New file.
16844 * sysdeps/mach/hurd/munlockall.c: New file.
16846 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16848 * hurd/hurdsig.c: Include <pthread.h>.
16849 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16850 get the signal thread stack layout.
16851 * hurd/Makefile (headers): Remove threadvar.h.
16852 (inline-headers): Remove threadvar.h.
16853 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16854 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16855 __hurd_threadvar_max, __hurd_errno_location.
16856 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16857 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16858 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16859 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16860 unless TLS is not initialized yet, in which case we do not need a
16861 critical section yet anyway.
16862 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16864 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16866 (__hurd_threadvar_index): Remove enum.
16867 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16868 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16870 (__hurd_reply_port0): New variable declaration.
16871 (__hurd_local_reply_port): New macro.
16872 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16873 (interrupted_reply_port_location): Add thread_t parameter. Use it
16874 with THREAD_TCB to access thread-local variables.
16875 (_hurdsig_abort_rpcs): Pass ss->thread to
16876 interrupted_reply_port_location.
16877 (_hurd_internal_post_signal): Likewise.
16878 (_hurdsig_init): Use presence of cthread_fork instead of
16879 __hurd_threadvar_stack_mask to start signal thread by hand.
16880 Remove signal thread threadvar initialization.
16881 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16882 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16883 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16885 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16887 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16888 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16889 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16890 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16891 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16892 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16893 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16895 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16896 <hurd/threadvar.h>.
16897 [IS_IN(rtld)] (rtld_errno): New variable.
16898 [IS_IN(rtld)] (__errno_location): New weak function.
16899 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16900 * sysdeps/mach/hurd/errno.c: Remove file.
16901 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16902 (__fork): Remove THREADVAR_SPACE macro and its use.
16903 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16905 (init): Do not initialize threadvar.
16906 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16908 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16909 __hurd_local_reply_port instead of threadvar.
16910 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16911 _hurd_sigstate fields.
16912 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16913 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16914 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16915 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16916 instead of threadvar.
16917 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16918 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16919 (use_threadvar, global_reply_port): Remove variables.
16920 (__hurd_reply_port0): New variable.
16921 (__mig_get_reply_port): Use __hurd_local_reply_port and
16922 __hurd_reply_port0 instead of threadvar.
16923 (__mig_dealloc_reply_port): Likewise.
16924 (__mig_init): Do not initialize threadvar.
16925 * sysdeps/mach/hurd/profil.c: Fix comment.
16926 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16927 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16928 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16929 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16930 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16931 __cthread_setspecific.
16932 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16933 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16934 __cthread_t instead of cthread_fork, cthread_detach,
16935 pthread_getattr_np, pthread_attr_getstack.
16936 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16937 __cthread_keycreate.
16938 (cthread_getspecific): Rename to __cthread_getspecific.
16939 (cthread_setspecific): Rename to __cthread_setspecific.
16940 (__libc_getspecific): Use __cthread_getspecific instead of
16941 cthread_getspecific.
16942 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16943 __cthread_keycreate instead of cthread_keycreate.
16944 (__libc_setspecific): Use __cthread_setspecific instead of
16945 cthread_setspecific.
16946 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16948 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16949 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16950 testing whether it is defined.
16952 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16954 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16956 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16957 * sysdeps/mach/i386/thread_state.h
16958 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16960 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16962 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16964 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16965 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16967 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16969 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16970 descriptor instead of creating a new one.
16971 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16973 * mach/setup-thread.c: Include <ldsodefs.h>.
16974 (__mach_setup_thread): Call _dl_allocate_tls, pass
16975 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16976 MACHINE_THREAD_STATE_FLAVOR, before getting
16977 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16978 MACHINE_THREAD_STATE_FLAVOR with the result.
16979 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16980 MACHINE_THREAD_STATE_FIX_NEW.
16981 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16982 too. Add original thread parameter.
16984 2018-03-16 Joseph Myers <joseph@codesourcery.com>
16986 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16987 Remove inline function.
16989 * sysdeps/i386/fpu/libm-test-ulps: Update.
16990 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16992 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16994 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16997 2018-03-15 Joseph Myers <joseph@codesourcery.com>
16999 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
17000 (__sincos_code): Remove define and undefine.
17001 [__FAST_MATH__] (__sincos): Remove inline function.
17002 [__FAST_MATH__] (__sincosf): Remove inline function.
17003 [__FAST_MATH__] (__sincosl): Remove inline function.
17004 (__atan2l): Remove inline functions.
17005 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
17006 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
17008 (floor): Remove inline function.
17010 [__FAST_MATH__] (__ldexp_code): Remove macro.
17011 [__FAST_MATH__] (ldexp): Remove inline function.
17012 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
17013 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
17014 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
17015 [__USE_ISOC99] (__lrint_code): Remove macro.
17016 [__USE_ISOC99] (__llrint_code): Likewise.
17017 [__USE_ISOC99] (lrintf): Remove inline function.
17018 [__USE_ISOC99] (lrint): Likewise.
17019 [__USE_ISOC99] (lrintl): Likewise.
17020 [__USE_ISOC99] (llrint): Likewise.
17021 [__USE_ISOC99] (llrintf): Likewise.
17022 [__USE_ISOC99] (llrintl): Likewise.
17024 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17026 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
17027 (__ieee754_sqrtf): Remove.
17028 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
17029 (__ieee754_sqrtf): Remove.
17030 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
17031 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17032 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
17033 (__ieee754_sqrtf): Remove.
17034 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
17035 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
17038 (__ieee754_sqrt): Remove.
17039 (__ieee754_sqrtf): Remove.
17040 (__ieee754_sqrtl): Remove.
17041 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17042 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
17043 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
17044 (__ieee754_sqrtf): Remove.
17045 (__ieee754_sqrtl): Remove.
17047 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17049 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
17050 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17051 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17052 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
17053 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
17054 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17055 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17056 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17058 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
17059 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
17060 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17061 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17062 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
17063 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
17064 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17065 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17066 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17067 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17068 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
17069 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17070 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
17071 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
17072 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
17073 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17074 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17075 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17076 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
17077 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
17078 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17079 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17080 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
17081 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
17082 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
17083 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
17084 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17085 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17086 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
17087 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17088 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17089 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
17090 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17091 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
17092 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17093 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17094 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
17095 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
17096 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17097 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
17099 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17101 * include/math.h (sqrt): Declare with asm redirect.
17104 (sqrtf128): Likewise.
17105 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
17106 nonlib and libnldbl with -fmath-errno.
17107 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
17108 * math/w_sqrt_template.c: Likewise.
17109 * math/w_sqrtf_compat.c: Likewise.
17110 * math/w_sqrtl_compat.c: Likewise.
17111 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
17112 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
17113 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
17116 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17118 * benchtests/Makefile: Define _ISOMAC.
17119 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
17120 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
17121 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
17122 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
17123 * benchtests/bench-timing.h: Define attribute_hidden.
17125 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
17127 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
17130 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17133 * localedata/locales/cs_CZ (mon): Rename to...
17135 (mon): Import from CLDR (genitive case).
17137 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17140 * localedata/locales/el_CY (abmon): Rename to...
17141 (ab_alt_mon): This.
17142 (abmon): Import from CLDR (abbreviated genitive case).
17143 * localedata/locales/el_GR (abmon): Rename to...
17144 (ab_alt_mon): This.
17145 (abmon): Import from CLDR (abbreviated genitive case).
17147 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17150 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
17152 2018-03-15 Robert Buj <robert.buj@gmail.com>
17155 * localedata/locales/ca_ES (abmon): Rename to...
17156 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17157 (mon): Rename to...
17159 (abmon): Import from CLDR (genitive case, month names preceded by
17162 (abday): Synchronize with CLDR.
17163 (d_t_fmt): Likewise.
17167 (LC_TIME): Improve indentation.
17168 (LC_TELEPHONE): Likewise.
17169 (LC_NAME): Likewise.
17170 (LC_ADDRESS): Likewise.
17172 2018-03-14 Joseph Myers <joseph@codesourcery.com>
17174 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
17175 (lrintf): Remove definitions used only with old GCC.
17176 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
17177 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
17178 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
17179 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
17180 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
17181 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
17182 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
17183 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
17184 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
17185 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
17186 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
17187 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
17188 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
17189 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
17190 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
17191 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
17192 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
17193 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
17194 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
17195 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
17196 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
17197 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
17198 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
17199 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
17200 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
17201 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
17202 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
17203 [__FAST_MATH__] (__M_SQRT2): Remove macro.
17205 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17207 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
17208 instruction to unbreak builds with binutils 2.26 and older.
17210 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17212 * sysdeps/aarch64/strncmp.S (count): New macro.
17213 (strncmp): Store misaligned length in SRC1 in COUNT.
17214 (mutual_align): Adjust.
17215 (misaligned8): Load dword at a time when it is safe.
17217 2018-03-12 Zack Weinberg <zackw@panix.com>
17221 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
17222 if the _IO_EOF_SEEN bit is already set; update commentary.
17223 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
17224 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17226 * support/support_openpty.c, support/tty.h: New files.
17227 * support/Makefile (libsupport-routines): Add support_openpty.
17229 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
17231 * libio/Makefile (tests): Add tst-fgetc-after-eof.
17232 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
17234 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
17236 * po/pt_BR.po: Update translations.
17238 2018-03-12 David Michael <fedora.dm0@gmail.com>
17240 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
17241 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
17242 get a port to the startup server.
17244 2018-03-11 Zack Weinberg <zackw@panix.com>
17246 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
17247 before nldbl-compat.h.
17249 2018-03-10 Zack Weinberg <zackw@panix.com>
17251 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
17252 math.h or math_private.h.
17254 * sysdeps/alpha/fpu/s_isnan.c
17255 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
17256 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
17257 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
17258 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
17259 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
17260 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
17261 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
17262 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17263 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17266 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17267 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17268 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17269 Include math_private.h.
17271 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17272 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17273 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17274 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17275 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17276 * sysdeps/powerpc/power7/fpu/s_logb.c:
17277 Include math.h and math_private.h.
17279 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17280 uses of $at in .set noat / .set at.
17282 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17284 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17285 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17286 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17287 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17290 2018-03-09 Florian Weimer <fweimer@redhat.com>
17292 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17295 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17298 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17299 Add nop before __startcontext, add explaining comments.
17301 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17304 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17306 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17307 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17308 Do not build hardware transactional code for __SPE__.
17309 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17310 (__lll_trylock_elision): Likewise.
17311 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17312 (__lll_unlock_elision): Likewise.
17314 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
17315 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17316 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17317 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17318 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17319 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17320 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17321 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17322 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17323 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17324 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17325 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17326 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17327 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17328 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17329 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17330 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17331 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17332 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17333 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17334 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17335 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17336 (__ASSUME_CLONE_BACKWARDS): Define.
17337 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17338 __clone2 if __NR_clone2 is defined.
17339 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17340 (__ASSUME_CLONE_BACKWARDS): Likewise.
17341 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17342 (__ASSUME_CLONE_BACKWARDS): Likewise.
17343 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17344 (__ASSUME_CLONE2): Likewise.
17345 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17346 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17347 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17348 variants and the define architecture can use.
17349 (__ASSUME_CLONE_DEFAULT): Define as default.
17350 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17351 (__ASSUME_CLONE_BACKWARDS): Likewise.
17352 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17353 (__ASSUME_CLONE_BACKWARDS): Likewise.
17354 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17355 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17357 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17359 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17361 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17364 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17365 (do_test_limit): Likewise.
17367 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17368 for every implementation.
17369 (do_test): Likewise.
17371 * benchtests/bench-strncmp.c: Convert output to json.
17373 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17375 * io/futimens.c: Add missing start-of-file descriptive comment.
17376 * io/utime.c: Likewise.
17377 * misc/futimesat.c: Likewise.
17378 * misc/utimes.c: Likewise.
17379 * sysdeps/mach/hurd/futimesat.c: Likewise.
17380 * sysdeps/mach/hurd/utimes.c: Likewise.
17381 * sysdeps/posix/utime.c: Likewise.
17382 * sysdeps/posix/utimes.c: Likewise.
17383 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17384 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17385 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17386 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17388 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17390 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17392 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17393 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17394 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17395 (__futimens): Move implementation to...
17396 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17397 utime_tvalue_from_tspec): ... new helper functions.
17398 (hurd_futimens): New function.
17399 * sysdeps/mach/hurd/futimesat.c: New file.
17400 * sysdeps/mach/hurd/utimensat.c: New file.
17402 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17404 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17405 UTIME_OMIT): New macros.
17406 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17407 before reverting to converting time spec to time value and calling
17409 * sysdeps/mach/hurd/utime-helper.c: New file.
17410 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17411 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17412 reverting to utime_tvalue_from_tval and __file_utimes.
17413 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17414 (__lutimes): Just call hurd_futimens after lookup.
17415 * sysdeps/mach/hurd/utimes.c: Likewise.
17417 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17419 * bits/sigaction.h: Add include guard.
17420 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17421 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17422 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17423 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17424 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17425 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17426 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17427 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17428 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17430 2018-03-05 Joseph Myers <joseph@codesourcery.com>
17432 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17433 -Wmaybe-uninitialized for -Os.
17434 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17437 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17439 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17440 __INO_T_MATCHES_INO64_T is defined.
17441 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17442 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17444 * dirent/alphasort64.c: Likewise.
17445 * dirent/scandir.c: Likewise.
17446 * dirent/scandir64-tail.c: Likewise.
17447 * dirent/scandir64.c: Likewise.
17448 * dirent/scandirat.c: Likewise.
17449 * dirent/scandirat64.c: Likewise.
17450 * dirent/versionsort.c: Likewise.
17451 * dirent/versionsort64.c: Likewise.
17452 * include/dirent.h: Likewise.
17454 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17455 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17456 for socketpair endpoint.
17457 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17458 WRITE_BUFFER_SIZE as buffer size for sending socket.
17459 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17460 issue on system where send is implemented with sendto syscall.
17461 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17462 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17463 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17464 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17467 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17468 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17469 sa_restorer for vDSO case.
17470 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17472 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17474 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
17475 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17476 * hurd/hurd/ioctl.h: Include <mach/port.h>
17477 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
17478 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17479 <mach/mach_types.h> and <mach/message.h>.
17480 (headers): Move mach/param.h to bits/mach/param.h.
17481 * sysdeps/mach/i386/mach/param.h: Move file to ...
17482 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17483 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17485 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17486 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17487 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
17488 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17489 trivial, for C++ conformity.
17490 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
17491 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17492 Process mig output through $(migheadersed).
17493 * hurd/Makefile (migheadersed): Define variable.
17494 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17495 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17497 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17498 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17499 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17500 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17501 <bits/types/sigset_t.h>.
17502 [!defined __USE_GNU]: Do not #error out.
17503 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17504 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17505 Include <stddef.h> and <bits/types/sigset_t.h>
17506 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17507 instead of sighandler_t.
17508 * stdlib/errno.h (error_t): Move definition to...
17509 * bits/types/error_t.h: ... new header.
17510 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17511 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17512 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17513 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17514 * hurd/hurd.h: Include <bits/types/error_t.h>
17515 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17516 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17517 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17518 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17519 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17520 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
17521 * sysdeps/mach/hurd/futimens.c: New file.
17523 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17526 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17527 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17528 * nscd/gai.c (__nss_hosts_database): Readd definition.
17529 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17530 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17531 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17533 2018-03-02 Joseph Myers <joseph@codesourcery.com>
17535 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17536 (ifunc_one): Likewise.
17538 2018-03-01 DJ Delorie <dj@delorie.com>
17541 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17544 2018-03-01 Maciej W. Rozycki <macro@mips.com>
17546 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17547 `match_pid' parameter.
17548 (td_ta_thr_iter): Update accordingly.
17550 2018-03-01 Florian Weimer <fweimer@redhat.com>
17552 * nptl/Makefile (install-lib-ldscripts): Remove.
17553 (install): Remove rule.
17554 ($(inst_libdir)/libpthread.so): Likewise.
17556 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17559 * localedata/locales/an_ES: update month and day names,
17560 improve d_fmt, improve postal_fmt, add country_post,
17563 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17565 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17566 Ukrainian instead of Bulgarian.
17568 2018-03-01 Florian Weimer <fweimer@redhat.com>
17570 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17573 2018-03-01 Florian Weimer <fweimer@redhat.com>
17575 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17576 * nptl/Makefile (routines): Add pthread_atfork.
17577 (static-only-routines): Set to pthread_atfork.
17578 (libpthread-routines): Remove pthread_atfork.
17579 (libpthread-static-only-routines): Remove.
17580 (install): Update comment.
17581 (libpthread.so): Do not install libpthread_nonshared.a.
17582 (tests): Do not link with libpthread_nonshared.a.
17583 (generated): Remove libpthread_nonshared.a.
17584 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17585 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17586 with libpthread_nonshared.a.
17588 2018-02-28 Joseph Myers <joseph@codesourcery.com>
17591 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17592 (libc_feholdexcept_setroundf128): New macro.
17593 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17596 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17598 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17599 * include/inttypes.h: New file.
17601 2018-02-27 Joseph Myers <joseph@codesourcery.com>
17603 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17604 -Os in two more places.
17606 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17608 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17609 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17610 be sorted correctly at the moment because of a bug.
17612 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17614 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17615 treat ñ as a primary different character, sync the collation
17616 for Spanish with CLDR.
17617 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17618 * localedata/Makefile: Add new test files.
17619 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17620 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17622 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17623 * localedata/am_ET.UTF-8.in: New test file.
17624 * localedata/az_AZ.UTF-8.in: Likewise.
17625 * localedata/be_BY.UTF-8.in: Likewise.
17626 * localedata/ber_DZ.UTF-8.in: Likewise.
17627 * localedata/ber_MA.UTF-8.in: Likewise.
17628 * localedata/bg_BG.UTF-8.in: Likewise.
17629 * localedata/br_FR.UTF-8.in: Likewise.
17630 * localedata/cmn_TW.UTF-8.in: Likewise.
17631 * localedata/crh_UA.UTF-8.in: Likewise.
17632 * localedata/csb_PL.UTF-8.in: Likewise.
17633 * localedata/cv_RU.UTF-8.in: Likewise.
17634 * localedata/cy_GB.UTF-8.in: Likewise.
17635 * localedata/dz_BT.UTF-8.in: Likewise.
17636 * localedata/eo.UTF-8.in: Likewise.
17637 * localedata/es_ES.UTF-8.in: Likewise.
17638 * localedata/fa_IR.UTF-8.in: Likewise.
17639 * localedata/fi_FI.UTF-8.in: Likewise.
17640 * localedata/fil_PH.UTF-8.in: Likewise.
17641 * localedata/fur_IT.UTF-8.in: Likewise.
17642 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17643 * localedata/ha_NG.UTF-8.in: Likewise.
17644 * localedata/ig_NG.UTF-8.in: Likewise.
17645 * localedata/ik_CA.UTF-8.in: Likewise.
17646 * localedata/kk_KZ.UTF-8.in: Likewise.
17647 * localedata/ku_TR.UTF-8.in: Likewise.
17648 * localedata/ky_KG.UTF-8.in: Likewise.
17649 * localedata/ln_CD.UTF-8.in: Likewise.
17650 * localedata/mi_NZ.UTF-8.in: Likewise.
17651 * localedata/ml_IN.UTF-8.in: Likewise.
17652 * localedata/mn_MN.UTF-8.in: Likewise.
17653 * localedata/mr_IN.UTF-8.in: Likewise.
17654 * localedata/mt_MT.UTF-8.in: Likewise.
17655 * localedata/nb_NO.UTF-8.in: Likewise.
17656 * localedata/om_KE.UTF-8.in: Likewise.
17657 * localedata/os_RU.UTF-8.in: Likewise.
17658 * localedata/ps_AF.UTF-8.in: Likewise.
17659 * localedata/ro_RO.UTF-8.in: Likewise.
17660 * localedata/ru_RU.UTF-8.in: Likewise.
17661 * localedata/sc_IT.UTF-8.in: Likewise.
17662 * localedata/se_NO.UTF-8.in: Likewise.
17663 * localedata/sq_AL.UTF-8.in: Likewise.
17664 * localedata/sv_SE.UTF-8.in: Likewise.
17665 * localedata/szl_PL.UTF-8.in: Likewise.
17666 * localedata/tg_TJ.UTF-8.in: Likewise.
17667 * localedata/tk_TM.UTF-8.in: Likewise.
17668 * localedata/tt_RU.UTF-8.in: Likewise.
17669 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17670 * localedata/ug_CN.UTF-8.in: Likewise.
17671 * localedata/uz_UZ.UTF-8.in: Likewise.
17672 * localedata/vi_VN.UTF-8.in: Likewise.
17673 * localedata/yi_US.UTF-8.in: Likewise.
17674 * localedata/yo_NG.UTF-8.in: Likewise.
17675 * localedata/zh_CN.UTF-8.in: Likewise.
17676 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17677 file and fix bugs in the collation.
17678 * localedata/locales/az_AZ: Likewise.
17679 * localedata/locales/be_BY: Likewise.
17680 * localedata/locales/ber_DZ: Likewise.
17681 * localedata/locales/ber_MA: Likewise.
17682 * localedata/locales/bg_BG: Likewise.
17683 * localedata/locales/br_FR: Likewise.
17684 * localedata/locales/br_FR@euro: Likewise.
17685 * localedata/locales/ca_ES: Likewise.
17686 * localedata/locales/cns11643_stroke: Likewise.
17687 * localedata/locales/crh_UA: Likewise.
17688 * localedata/locales/cs_CZ: Likewise.
17689 * localedata/locales/csb_PL: Likewise.
17690 * localedata/locales/cv_RU: Likewise.
17691 * localedata/locales/cy_GB: Likewise.
17692 * localedata/locales/da_DK: Likewise.
17693 * localedata/locales/dz_BT: Likewise.
17694 * localedata/locales/en_CA: Likewise.
17695 * localedata/locales/eo: Likewise.
17696 * localedata/locales/es_CU: Likewise.
17697 * localedata/locales/es_EC: Likewise.
17698 * localedata/locales/es_ES: Likewise.
17699 * localedata/locales/es_US: Likewise.
17700 * localedata/locales/et_EE: Likewise.
17701 * localedata/locales/fa_IR: Likewise.
17702 * localedata/locales/fi_FI: Likewise.
17703 * localedata/locales/fil_PH: Likewise.
17704 * localedata/locales/fur_IT: Likewise.
17705 * localedata/locales/gez_ER@abegede: Likewise.
17706 * localedata/locales/ha_NG: Likewise.
17707 * localedata/locales/hr_HR: Likewise.
17708 * localedata/locales/hsb_DE: Likewise.
17709 * localedata/locales/hu_HU: Likewise.
17710 * localedata/locales/ig_NG: Likewise.
17711 * localedata/locales/ik_CA: Likewise.
17712 * localedata/locales/is_IS: Likewise.
17713 * localedata/locales/iso14651_t1_pinyin: Likewise.
17714 * localedata/locales/kk_KZ: Likewise.
17715 * localedata/locales/ku_TR: Likewise.
17716 * localedata/locales/ky_KG: Likewise.
17717 * localedata/locales/ln_CD: Likewise.
17718 * localedata/locales/lt_LT: Likewise.
17719 * localedata/locales/lv_LV: Likewise.
17720 * localedata/locales/mi_NZ: Likewise.
17721 * localedata/locales/ml_IN: Likewise.
17722 * localedata/locales/mn_MN: Likewise.
17723 * localedata/locales/mr_IN: Likewise.
17724 * localedata/locales/mt_MT: Likewise.
17725 * localedata/locales/nb_NO: Likewise.
17726 * localedata/locales/om_KE: Likewise.
17727 * localedata/locales/os_RU: Likewise.
17728 * localedata/locales/pl_PL: Likewise.
17729 * localedata/locales/ps_AF: Likewise.
17730 * localedata/locales/ro_RO: Likewise.
17731 * localedata/locales/ru_RU: Likewise.
17732 * localedata/locales/ru_UA: Likewise.
17733 * localedata/locales/sc_IT: Likewise.
17734 * localedata/locales/se_NO: Likewise.
17735 * localedata/locales/si_LK: Likewise.
17736 * localedata/locales/sq_AL: Likewise.
17737 * localedata/locales/sv_FI: Likewise.
17738 * localedata/locales/sv_FI@euro: Likewise.
17739 * localedata/locales/sv_SE: Likewise.
17740 * localedata/locales/szl_PL: Likewise.
17741 * localedata/locales/tg_TJ: Likewise.
17742 * localedata/locales/ti_ER: Likewise.
17743 * localedata/locales/tk_TM: Likewise.
17744 * localedata/locales/tl_PH: Likewise.
17745 * localedata/locales/tr_TR: Likewise.
17746 * localedata/locales/tt_RU: Likewise.
17747 * localedata/locales/tt_RU@iqtelif: Likewise.
17748 * localedata/locales/ug_CN: Likewise.
17749 * localedata/locales/uk_UA: Likewise.
17750 * localedata/locales/uz_UZ: Likewise.
17751 * localedata/locales/uz_UZ@cyrillic: Likewise.
17752 * localedata/locales/vi_VN: Likewise.
17753 * localedata/locales/yi_US: Likewise.
17754 * localedata/locales/yo_NG: Likewise.
17756 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17758 * gen-locales.mk: Make test files which contain @ modifiers in their
17760 * localedata/gen-locale.sh: Likewise.
17762 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17764 * posix/tst-fnmatch.input: Fix results for range expressions
17766 * posix/tst-regexloc.c: Do not use a range expression for
17767 de_DE.ISO-8859-1 locale.
17769 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17771 * posix/bug-regex5.c: Fix test case because with the new
17772 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17773 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17776 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17778 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17779 downloaded from ISO, the collation order of @-. and space has changed.
17780 Therefore, this test file needed to be adapted.
17781 * localedata/fr_CA.UTF-8.in: Likewise.
17782 * localedata/fr_FR.UTF-8.in: Likewise.
17783 * localedata/uk_UA.UTF-8.in: Likewise.
17785 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17787 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17788 order of ȥ in the new iso14651_t1_common file.
17789 * localedata/pl_PL.UTF-8.in: Likewise.
17791 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17793 * localedata/locales/iso14651_t1_common: Add sections for various
17794 scripts to the iso14651_t1_common file.
17796 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17798 * localedata/locales/iso14651_t1_common: Use the code point of a
17799 character in the fourth collation level instead of IGNORE for all
17800 entries which have IGNORE on all 4 levels.
17802 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17804 * localedata/locales/iso14651_t1_common: Add some convenient collation
17805 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17806 rules similar to those in CLDR.
17808 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17810 * localedata/locales/iso14651_t1_common: The new version of this
17811 file downloaded from ISO contained several syntax errors which
17812 are fixed by this patch.
17814 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17816 * localedata/locales/iso14651_t1_common: replace all <U.....>
17817 with <U000.....> because glibc understands only 4 digit or 8 digit
17819 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17821 * localedata/locales/iso14651_t1_common: Necessary changes
17822 to make the file downloaded from ISO usable by glibc.
17824 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17827 * localedata/locales/iso14651_t1_common: Update file to
17828 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17830 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17832 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17833 of <nptl/pthreadP.h>
17834 (thread_attr_compare): Move function to...
17835 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
17836 * sysdeps/nptl/timer_routines.h: ... new header.
17837 * sysdeps/mach/hurd/gai_misc.h: New file.
17839 2018-02-26 Joseph Myers <joseph@codesourcery.com>
17841 * string/strcoll_l.c: Include <libc-diag.h>.
17842 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17843 declarations of seq1 and seq2.
17846 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17847 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17849 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17853 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17854 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17855 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17856 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17857 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17858 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17860 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17862 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17863 macros used in __ptrace_request.
17865 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17868 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17870 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17871 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17872 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17875 2018-02-23 Joseph Myers <joseph@codesourcery.com>
17878 * ctype/ctype.c (tolower): Use libc_hidden_def.
17879 (toupper): Likewise.
17880 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17881 [!_ISOMAC] (toupper): Likewise.
17883 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17885 * localedata/Makefile: Remove --quiet argument when
17888 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17891 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17893 * localedata/locales/pt_PT (LC_TIME): likewise
17895 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17898 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17899 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17900 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17902 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17906 * nptl/Makefile (routines): Remove unregister-atfork.
17907 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17908 (fork_handler_alloc): Remove function.
17909 (fork_handlers, fork_handler_init): New variables.
17910 (__fork_lock): Rename to atfork_lock.
17911 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17912 to use a dynamic array to add/remove atfork handlers.
17913 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17914 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17915 Remove declaration.
17916 (fork_handler): Remove next, refcntr, and need_signal member.
17917 (__run_fork_handler_type): New enum.
17918 (__run_fork_handlers): New prototype.
17919 * nptl/register-atfork.c: Remove file.
17920 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17922 * sysdeps/nptl/nptl-signals.h: Move to ...
17923 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17925 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17926 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17927 unnecessary check for SIGTIMER.
17928 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17929 remove unnecessary removal of SIGTIMER.
17930 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17931 include-signals.h rename.
17932 * nptl/pthreadP.h: Likewise.
17933 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17934 __is_internal_signal instead of __nptl_is_internal_signal.
17936 2018-02-22 Andrew Waterman <andrew@sifive.com>
17939 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17940 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17941 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17942 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17944 2018-02-22 DJ Delorie <dj@delorie.com>
17946 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17948 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17950 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17951 do_misaligned, not misaligned8.
17953 2018-02-22 Steve Ellcey <sellcey@cavium.com>
17955 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17956 Add memcpy_thunderx2.
17957 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17959 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17960 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17961 and IS_THUNDERX2PA checks.
17962 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17963 Use macro to set name appropriately.
17964 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17965 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17966 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17968 (IS_THUNDERX2): New macro.
17970 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17972 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17974 2018-02-21 Zack Weinberg <zackw@panix.com>
17976 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17977 Define here, unconditionally.
17978 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17979 * libio/libioP.h: Remove #if 0 blocks.
17980 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17981 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17982 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17984 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17985 Assume weak_alias is always defined.
17987 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17988 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17989 Remove #if 0 and #ifdef TODO blocks.
17990 Assume text_set_element is always defined.
17992 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17993 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17994 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17996 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17997 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17998 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17999 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
18000 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
18001 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
18002 Reformat bit flags for _flags field to make occupancy clearer.
18004 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
18005 Keep definitions consistent with those in libio/libio.h.
18007 * libio/libio.h (_IO_file_flags): Remove macro.
18008 All uses changed to _flags.
18010 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
18011 (__HAVE_COLUMN, _IO_BE): Don't define.
18012 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
18013 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
18014 * libio/libioP.h (EOF): Don't define.
18015 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
18016 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
18017 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
18018 testing _IO_UNIFIED_JUMPTABLES.
18020 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
18021 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
18022 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
18023 (_IO_size_t): Delete; all uses changed to size_t.
18024 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
18025 (_IO_off_t): Delete; all uses changed to off_t.
18026 (_IO_off64_t): Delete; all uses changed to off64_t.
18027 (_IO_pid_t): Delete; all uses changed to pid_t.
18028 (_IO_uid_t): Delete; all uses changed to uid_t.
18029 (_IO_wint_t): Delete; all uses changed to wint_t.
18030 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
18031 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
18032 (_IO_cookie_io_functions_t): Delete; all uses changed to
18033 cookie_io_functions_t.
18034 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
18035 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
18036 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
18037 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
18039 * libio/iofopncook.c: Remove unnecessary forward declarations.
18040 * libio/iolibio.h: Correct outdated commentary.
18041 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
18042 * stdio-common/fxprintf.c (__fxprintf_nocancel):
18043 Remove unnecessary casts.
18044 * stdio-common/getline.c: Use _IO_getdelim directly.
18045 Don't redefine ssize_t.
18046 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
18047 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
18048 Remove outdated comments.
18049 * stdio-common/vfscanf.c: Don't redefine va_list.
18051 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
18052 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
18053 Remove preprocessor conditionals on _LIBC and __USE_GNU,
18054 which are always true, and __cplusplus, which is always false.
18056 2018-02-21 Joseph Myers <joseph@codesourcery.com>
18060 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
18061 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
18062 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
18063 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
18065 [!_ISOMAC] (putc_unlocked): Likewise.
18066 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
18067 define inline if [__USE_EXTERN_INLINES].
18068 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
18073 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
18074 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
18075 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
18076 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
18077 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
18079 * time/tzfile.c (__tzfile_read): Likewise.
18081 2018-02-21 Mike FABIAN <mfabian@redhat.com>
18084 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
18086 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
18088 * io/fcntl.h: Fix a typo in a comment.
18090 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
18093 * include/features.h: Add _ISOC11_SOURCE to test for whether to
18094 define _DEFAULT_SOURCE.
18095 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
18097 2018-02-21 Florian Weimer <fweimer@redhat.com>
18100 * elf/cache.c (save_cache): Call fsync on temporary file before
18102 (save_aux_cache): Call fdatasync on temporary file before renaming
18105 2018-02-21 Florian Weimer <fweimer@redhat.com>
18108 * include/caller.h: Remove file.
18109 * elf/dl-caller.c: Likewise.
18110 * elf/Makefile (dl-routines): Remove dl-caller.
18111 (shared-only-routines): Do not add dl-caller.
18112 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
18114 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
18116 (dl_open_worker): Do not call __check_caller.
18117 (_dl_open): Do not set caller_dl_open member.
18118 * elf/rtld.c (_rtld_global_ro): Do not initialize
18119 _dl_check_caller member.
18120 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
18121 _dl_check_caller member.
18122 (_dl_check_caller): Remove declaration.
18123 * sysdeps/unix/sysv/linux/dl-execstack.c
18124 (_dl_make_stack_executable): Do not call __check_caller.
18126 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18128 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
18129 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
18131 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
18133 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
18136 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
18139 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
18140 of 199606L, 200112L, and 200809L.
18141 (_XOPEN_SOURCE): Document special values of 600 and 700.
18142 (_ISOC11_SOURCE): Document macro.
18143 (_ATFILE_SOURCE): Likewise.
18144 (_FORTIFY_SOURCE): Likewise.
18146 2018-02-19 Joseph Myers <joseph@codesourcery.com>
18150 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
18151 and define as weak alias of __ferror_unlocked. Use
18153 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
18155 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
18156 function if [__USE_EXTERN_INLINES].
18157 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
18160 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
18163 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
18165 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18168 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
18169 the GLIBC_2.1 version.
18171 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18174 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
18175 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
18176 intl/tst-gettext-de.po from po/de.po by removing the
18177 POT-Creation-Date line.
18178 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
18180 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
18183 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18185 * mach/Makefile (headers): Add mach/param.h.
18186 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
18187 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
18188 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
18189 (__ptsname_r): Move implementation to...
18190 (__ptsname_internal): ... new function. Add filling the STP
18193 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
18195 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
18198 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
18200 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
18203 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18205 * nptl/Makefile (tst-mutex8-ENV): Delete.
18206 * nptl/tst-mutex8.c (check_type):
18207 Add runtime check if mutex will be elided.
18209 2018-02-15 Joseph Myers <joseph@codesourcery.com>
18213 * manual/install.texi (Configuring and compiling): Describe
18214 passing CC and CFLAGS on configure command line, not as
18215 environment variables. Use @code markup on those variables.
18216 Specify what options go in CC and what go in CFLAGS. Note the
18217 requirement to compile with optimization.
18218 * INSTALL: Regenerated.
18221 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
18222 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
18223 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
18224 __sigprocmask instead of sigprocmask.
18225 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
18227 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
18228 __sigsetjmp and sigprocmask.
18231 * include/argz.h (argz_next): Use libc_hidden_proto.
18232 (__argz_next): Likewise.
18233 * string-argz-next.c (__argz_next): Use libc_hidden_def.
18234 (argz_next): Use libc_hidden_weak.
18237 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
18239 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
18243 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
18245 * libio/iofputs.c (fputs): Use libc_hidden_weak.
18249 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
18250 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
18251 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
18252 (__feof_unlocked): New declaration, and inline function if
18253 [__USE_EXTERN_INLINES].
18254 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
18255 instead of feof_unlocked.
18256 * intl/localealias.c [_LIBC] (FEOF): Likewise.
18257 * nss/nsswitch.c (nss_parse_file): Likewise.
18258 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
18260 * time/getdate.c (__getdate_r): Likewise.
18261 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
18262 Define as macro to call __feof_unlocked.
18264 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18266 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18268 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18270 * math/Makefile: Remove mpexp.c and mplog.c
18271 * sysdeps/i386/fpu/mpexp.c: Delete file.
18272 * sysdeps/i386/fpu/mplog.c: Likewise.
18273 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18274 * sysdeps/ia64/fpu/mplog.c: Likewise.
18275 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18276 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18277 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18278 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18279 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18280 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18281 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18282 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18283 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18284 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18285 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18286 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18287 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18288 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18289 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18290 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18292 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18294 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18296 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18298 * sysdeps/sh/libm-test-ulps: Update.
18300 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18302 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18305 2018-02-12 Zack Weinberg <zackw@panix.com>
18308 * posix/sys/types.h: Don't include sys/sysmacros.h.
18309 * misc/sys/sysmacros.h: Remove the conditional deprecation
18310 warnings for the macros defined by this header.
18312 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18314 * manual/probes.texi: Remove slowexp probes.
18315 * math/Makefile: Remove slowexp.
18316 * sysdeps/generic/math_private.h (__slowexp): Remove.
18317 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18318 document error bounds.
18319 * sysdeps/i386/fpu/slowexp.c: Remove.
18320 * sysdeps/ia64/fpu/slowexp.c: Remove.
18321 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18322 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18323 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18324 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18325 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18326 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18327 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18328 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18329 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18330 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18331 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18333 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18336 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18337 * benchtests/pow-inputs: Update comment for slow path cases.
18338 * manual/probes.texi (slowpow_p10): Delete removed probe.
18339 (slowpow_p10): Likewise.
18340 * math/Makefile: Remove halfulp.c and slowpow.c.
18341 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18342 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18343 (__halfulp): Remove.
18344 (__slowpow): Remove.
18345 * sysdeps/i386/fpu/halfulp.c: Delete file.
18346 * sysdeps/i386/fpu/slowpow.c: Likewise.
18347 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18348 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18349 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18350 improve comments and add error analysis.
18351 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18352 (power1): Remove function:
18353 (log1): Remove error argument, add error analysis.
18354 (my_log2): Remove function.
18355 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18356 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18357 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18358 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18359 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18360 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18361 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18362 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18363 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18364 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18365 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18366 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18367 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18368 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18370 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18372 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18373 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18375 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18378 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18379 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18380 and PTRACE_SETHBPREGS.
18382 2018-02-10 Zack Weinberg <zackw@panix.com>
18385 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18387 * malloc/tst-malloc-stats-cancellation.c: New test case.
18388 * malloc/Makefile: Add new test case.
18390 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18392 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18394 2018-02-10 Joseph Myers <joseph@codesourcery.com>
18396 * math/Makefile (libm-narrow-fns): Add add.
18397 (libm-test-funcs-narrow): Likewise.
18398 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18399 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18400 * math/gen-auto-libm-tests.c (test_functions): Add add.
18401 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18402 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18403 (NARROW_ADD_TRIVIAL): Likewise.
18404 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18406 (__daddl): Likewise.
18407 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18409 (CFLAGS-nldbl-dadd.c): New variable.
18410 (CFLAGS-nldbl-fadd.c): Likewise.
18411 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18413 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18415 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18416 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18417 * math/auto-libm-test-in: Add tests of add.
18418 * math/auto-libm-test-out-narrow-add: New generated file.
18419 * math/libm-test-narrow-add.inc: New file.
18420 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18421 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18422 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18423 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18424 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18425 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18426 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18427 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18428 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18429 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18430 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18431 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18432 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18433 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18434 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18435 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18436 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18437 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18439 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18440 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18441 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18442 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18443 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18444 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18445 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18446 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18447 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18448 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18449 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18450 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18451 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18456 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18457 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18458 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18459 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18460 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18461 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18462 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18463 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18464 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18465 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18467 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18468 (f128-pairs): New variable.
18469 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18470 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18472 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18473 Also make tests add $(f128-loader-link) to gnulib-tests.
18475 2018-02-09 DJ Delorie <dj@redhat.com>
18478 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18479 64-bit ELF type for 64-bit ELF objects.
18481 2018-02-09 Joseph Myers <joseph@codesourcery.com>
18483 * math/libm-test-driver.c (snan_tests_arg): New variable.
18484 * math/libm-test-support.h (snan_tests_arg): New declaration.
18485 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18487 * math/Makefile (test-type-pairs): New variable.
18488 (test-type-pairs-f64xf128-yes): Likewise.
18489 (tests): Add test-narrow-macros.
18490 (libm-test-funcs-narrow): New variable.
18491 (libm-test-c-narrow): Likewise.
18492 (generated): Add $(libm-test-c-narrow).
18493 (libm-tests-base-narrow): New variable.
18494 (libm-tests-narrow): Likewise.
18495 (libm-tests): Add $(libm-tests-narrow).
18496 (libm-tests-for-type): Handle $(libm-tests-narrow).
18497 (libm-test-c-narrow-obj): New variable.
18498 ($(libm-test-c-narrow-obj)): New rule.
18499 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18500 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18501 $(o-iterator) to set dependencies and CFLAGS.
18502 * math/gen-auto-libm-tests.c: Document use for narrowing
18504 (output_for_one_input_case): Take argument NARROW.
18505 (generate_output): Likewise. Update call to
18506 output_for_one_input_case.
18507 (main): Take --narrow option. Update call to generate_output.
18508 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18509 (apply_lit): Update call to _apply_lit.
18510 (apply_arglit): New function.
18511 (parse_args): Handle "a" arguments.
18512 (parse_auto_input): Handle format names using ":".
18513 * math/README.libm-test: Document "a" parameter type.
18514 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18515 (ARG_TYPE_TRUE_MIN): Likewise.
18516 (ARG_TYPE_MAX): Likwise.
18517 (ARG_MIN_EXP): Likewise.
18518 (ARG_MAX_EXP): Likewise.
18519 (ARG_MANT_DIG): Likewise.
18520 (TEST_COND_arg_ibm128): Likewise.
18521 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18522 (TEST_COND_arg_fmt): New macro.
18523 (init_max_error): Update prototype.
18524 * math/libm-test-support.c (test_ibm128): New variable.
18525 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18526 instead of using [TEST_COND_ibm128] conditional.
18527 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18528 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18529 [TEST_NARROW] (TEST_MSG): New definition.
18530 (arg_plus_zero): New macro.
18531 (arg_minus_zero): Likewise.
18532 (arg_plus_infty): Likewise.
18533 (arg_minus_infty): Likewise.
18534 (arg_qnan_value_pl): Likewise.
18535 (arg_qnan_value): Likewise.
18536 (arg_snan_value_pl): Likewise.
18537 (arg_snan_value): Likewise.
18538 (arg_max_value): Likewise.
18539 (arg_min_value): Likewise.
18540 (arg_min_subnorm_value): Likewise.
18541 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18542 (RUN_TEST_LOOP_aa_f): New macro.
18543 (TEST_SUFF): New macro.
18544 (TEST_SUFF_STR): Likewise.
18545 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18546 (TEST_COND_any_ibm128): New macro.
18547 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18548 this_func. Update call to init_max_error.
18549 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18550 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18551 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18552 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18553 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18554 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18555 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18556 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18557 * math/test-math-vector.h (TEST_NARROW): Likewise.
18558 * math/test-arg-double.h: New file.
18559 * math/test-arg-float128.h: Likewise.
18560 * math/test-arg-float32x.h: Likewise.
18561 * math/test-arg-float64.h: Likewise.
18562 * math/test-arg-float64x.h: Likewise.
18563 * math/test-arg-ldouble.h: Likewise.
18564 * math/test-math-narrow.h: Likewise.
18565 * math/test-narrow-macros.c: Likewise.
18566 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18567 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18568 test-narrow-macros-ldbl-64.
18569 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18571 * math/bits/mathcalls-narrow.h: New file.
18572 * include/bits/mathcalls-narrow.h: Likewise.
18573 * math/math-narrow.h: Likewise.
18574 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18575 (__MATHCALL_NARROW_ARGS_2): Likewise.
18576 (__MATHCALL_NARROW_ARGS_3): Likewise.
18577 (__MATHCALL_NARROW_NORMAL): Likewise.
18578 (__MATHCALL_NARROW_REDIR): Likewise.
18579 (__MATHCALL_NARROW): Likewise.
18580 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18581 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18583 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18584 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18585 (libm-narrow-fns): New variable.
18586 (libm-narrow-types-basic): Likewise.
18587 (libm-narrow-types-ldouble-yes): Likewise.
18588 (libm-narrow-types-float128-yes): Likewise.
18589 (libm-narrow-types-float128-alias-yes): Likewise.
18590 (libm-narrow-types): Likewise.
18591 (libm-routines): Add narrowing functions.
18592 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18593 (libc_feholdexcept_setroundf128): New macro.
18594 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18595 * sysdeps/ieee754/float128/float128_private.h: Include
18596 <math/math-narrow.h>.
18597 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18598 Undefine and redefine.
18599 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18600 (libm_alias_float_ldouble): Undefine and redefine.
18601 (libm_alias_double_ldouble): Likewise.
18603 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18605 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18607 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18610 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
18612 * manual/creature.texi: Convert references to gcc.info to gcc.
18613 * manual/stdio.texi: Likewise.
18614 * manual/string.texi: Likewise.
18616 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18619 * posix/bits/types.h (__int_least8_t): New typedef.
18620 (__uint_least8_t): Likewise.
18621 (__int_least16_t): Likewise.
18622 (__uint_least16_t): Likewise.
18623 (__int_least32_t): Likewise.
18624 (__uint_least32_t): Likewise.
18625 (__int_least64_t): Likewise.
18626 (__uint_least64_t): Likewise.
18627 * sysdeps/generic/stdint.h (int_least8_t): Define using
18629 (int_least16_t): Define using __int_least16_t.
18630 (int_least32_t): Define using __int_least32_t.
18631 (int_least64_t): Define using __int_least64_t.
18632 (uint_least8_t): Define using __uint_least8_t.
18633 (uint_least16_t): Define using __uint_least16_t.
18634 (uint_least32_t): Define using __uint_least32_t.
18635 (uint_least64_t): Define using __uint_least64_t.
18636 * wcsmbs/uchar.h: Include <bits/types.h>.
18637 (char16_t): Define using __uint_least16_t conditional only on
18639 (char32_t): Define using __uint_least32_t conditional only on
18641 * wcsmbs/test-char-types.c: New file.
18642 * wcsmbs/Makefile (tests): Add test-char-types.
18644 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18647 2018-02-07 Zack Weinberg <zackw@panix.com>
18649 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18650 Delete all contents except for definitions of _G_HAVE_MMAP and
18651 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18652 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18653 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18656 * libio/libio.h: Don't include bits/_G_config.h here.
18657 Include stddef.h with __need_wchar_t defined. Include
18658 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18659 Define _IO_iconv_t here, directly.
18660 Don't define _IO_HAVE_ST_BLKSIZE.
18661 * libio/libioP.h: Include _G_config.h here. Move include of
18662 shlib-compat.h up with rest of includes. Simplify conditionals
18663 controlling definition of _IO_JUMPS_OFFSET.
18665 * csu/init.c: Remove always-true #if around entire file.
18666 Don't include stdio.h. Set _IO_stdin_used to hardwired
18667 constant 0x20001, and update commentary.
18668 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18669 Replace all uses of _G_va_list with __gnuc_va_list.
18670 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18671 instead of #if _IO_HAVE_ST_BLKSIZE.
18672 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18673 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18676 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18677 multiple-include guard to match.
18678 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18680 Remove preprocessor conditionals that are always true and/or
18681 redundant to other preprocessor conditionals in the same nest.
18682 Include shlib-compat.h unconditionally.
18683 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18684 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18685 defined after including stdio.h.
18686 Use __BEGIN_DECLS/__END_DECLS.
18688 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18689 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18690 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18692 2018-02-07 Zack Weinberg <zackw@panix.com>
18694 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18695 New single-type headers split from _G_config.h.
18696 * libio/bits/types/cookie_io_functions_t.h
18697 * libio/bits/types/struct_FILE.h
18698 New single-type headers split from libio.h.
18700 * libio/Makefile: Install the above new headers. Don't install
18701 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18703 * libio/_G_config.h, libio/libio.h: Delete file.
18705 * libio/bits/libio.h: Remove improper-inclusion guard.
18706 Include stdio.h and don't repeat anything that it does.
18707 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18708 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18709 __io_read_fn as cookie_read_function_t,
18710 __io_write_fn as cookie_write_function_t,
18711 __io_seek_fn as cookie_seek_function_t,
18712 __io_close_fn as cookie_close_function_t,
18713 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18714 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18715 here, in the "compatibility defines" section. Remove an #if 0
18716 block. Use the "body" macros from bits/types/struct_FILE.h to
18717 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18718 and _IO_ferror_unlocked.
18719 Move prototypes of __uflow and __overflow...
18721 * libio/stdio.h: ...here. Don't include bits/libio.h.
18722 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
18723 directly from stdarg.h. Include bits/types/__fpos_t.h,
18724 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18725 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18726 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18727 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18728 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18729 __ssize_t, not _IO_ssize_t. Unconditionally define
18730 BUFSIZ as 8192 and EOF as (-1).
18732 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18733 macros from bits/types/struct_FILE.h instead of _IO_* macros
18734 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18735 instead of _IO_ssize_t.
18736 * libio/bits/stdio2.h: Similarly.
18738 * libio/iolibio.h: Add multiple-include guard.
18739 Include bits/libio.h after stdio.h.
18740 * libio/libioP.h: Add multiple-include guard.
18741 Include stdio.h and bits/libio.h before iolibio.h.
18743 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
18744 * include/bits/types/cookie_io_functions_t.h
18745 * include/bits/types/struct_FILE.h: New wrappers.
18747 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
18748 Get definitions of _G_fpos_t and _G_fpos64_t from
18749 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18750 respectively. Remove improper-inclusion guards.
18752 * conform/data/stdio.h-data: Update expectations of va_list.
18753 * scripts/check-installed-headers.sh: Remove special case for
18754 libio.h and _G_config.h.
18756 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18760 * include/sys/sysmacros.h [!_ISOMAC]
18761 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18762 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18763 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18764 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18766 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18767 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18769 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18770 Undefine and redefine to add use __gnu_dev_ prefix.
18771 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18773 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18774 and define as hidden inline function.
18775 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18777 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18779 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18780 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18781 (gnu_dev_minor): Likewise.
18782 (gnu_dev_makedev): Likewise.
18783 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18785 * posix/wordexp.c (exec_comm_child): Likewise.
18786 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18787 instead of minor and __gnu_dev_major instead of major.
18788 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18789 __gnu_dev_major instead of major.
18790 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18791 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18792 instead of gnu_dev_minor.
18793 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18794 (SLAVE_P): Likewise.
18795 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18796 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18800 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18802 * locale/weightwc.h (findidx): Likewise.
18804 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18806 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18807 (slowlog_inexact): Likewise
18808 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18809 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18811 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18814 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18815 missing second underscore to parameter name.
18817 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18823 * bits/byteswap.h: Update file comment. Do not include
18824 <bits/byteswap-16.h>.
18825 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18827 (__bswap_16): Define as inline function.
18828 (__bswap_constant_32): Reformat definition.
18829 (__bswap_32): Always define as inline function, not macro, using
18830 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18831 otherwise __bswap_constant_32.
18832 (__bswap_constant_64): Reformat definition. Do not use
18833 __extension__ here.
18834 (__bswap_64): Always define as inline function, not macro. Use
18835 __extension__ on function definition. Use __builtin_bswap64 if
18836 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18837 * string/test-endian-file-scope.c: New file.
18838 * string/test-endian-sign-conversion.c: Likewise.
18839 * string/Makefile (headers): Remove bits/byteswap-16.h.
18840 (tests): Add test-endian-file-scope and
18841 test-endian-sign-conversion.
18842 (CFLAGS-test-endian-sign-conversion.c): New variable.
18843 * bits/byteswap-16.h: Remove file.
18844 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18845 * sysdeps/ia64/bits/byteswap.h: Likewise.
18846 * sysdeps/m68k/bits/byteswap.h: Likewise.
18847 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18848 * sysdeps/s390/bits/byteswap.h: Likewise.
18849 * sysdeps/tile/bits/byteswap.h: Likewise.
18850 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18851 * sysdeps/x86/bits/byteswap.h: Likewise.
18854 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18855 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18856 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18857 199901L] (__restrict): Define to restrict.
18860 * string/testcopy.c: Include <support/support.h>. Do not include
18861 <malloc.h>. Use <support/test-driver.c>.
18862 (main): Rename to do_test. Make static. Use xmalloc instead of
18866 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18867 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18868 (SSIZE_MAX): Define to INT_MAX.
18869 * posix/test-ssize-max.c: New file.
18870 * posix/Makefile (tests): Add test-ssize-max.
18873 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18874 <support/support.h>. Do not include <malloc.h>.
18875 (query_auxv): Use xmalloc instead of malloc.
18878 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18879 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18882 2018-02-06 Florian Weimer <fweimer@redhat.com>
18885 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18886 Use scratch_buffer instead of extend_alloca.
18888 2018-02-06 Zack Weinberg <zackw@panix.com>
18890 * libio/stdio.h: Don't define getc or putc as macros.
18891 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18892 not _IO_getc and _IO_putc.
18894 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18895 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18897 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18899 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18900 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18902 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18905 * elf/elf.h (NT_PRFPREG): New macro.
18906 (NT_S390_VXRS_LOW): Likewise.
18907 (NT_S390_VXRS_HIGH): Likewise.
18908 (NT_S390_GS_CB): Likewise.
18909 (NT_S390_GS_BC): Likewise.
18910 (NT_S390_RI_CB): Likewise.
18912 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18913 (MAP_SYNC): New macro.
18914 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18916 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18917 (MAP_SYNC): Likewise.
18918 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18919 (MAP_SYNC): Likewise.
18920 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18921 (MAP_SYNC): Likewise.
18922 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18923 (MAP_SYNC): Likewise.
18924 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18925 (MAP_SYNC): Likewise.
18926 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18927 (MAP_SYNC): Likewise.
18928 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18930 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18933 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18934 (MAP_SHARED_VALIDATE): New macro.
18935 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18936 (MAP_SHARED_VALIDATE): Likewise.
18938 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18940 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18941 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18942 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18944 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18946 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18947 (DT_NUM): Updated to 35.
18949 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18951 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18952 __builtin_expect with __glibc_likely and __glibc_unlikely.
18953 (elf_machine_rela): Likewise.
18954 (elf_machine_lazy_rel): Likewise.
18956 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18958 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
18959 __builtin_expect with __glibc_likely and __glibc_unlikely.
18960 (elf_machine_lazy_rel): Likewise.
18962 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18965 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18967 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
18969 2018-02-05 Andreas Schwab <schwab@suse.de>
18972 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18975 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18977 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18978 not check against PTHREAD_STACK_MIN.
18980 2018-02-02 Sean McKean <smckean83@gmail.com>
18983 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18985 2018-02-02 Florian Weimer <fweimer@redhat.com>
18988 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18989 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18990 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18991 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18992 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18993 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18994 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18995 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18996 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18997 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18998 * misc/tst-preadvwritev2.c (do_test): Call it.
18999 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
19001 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
19003 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
19005 * benchtests/bench-memcmp.c: Print json instead of plain text.
19007 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
19010 2018-02-01 Joseph Myers <joseph@codesourcery.com>
19012 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19014 (s390_sthyi): New syscall.
19016 * sysdeps/generic/ldbl-classify-compat.h: New file.
19017 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
19018 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
19019 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
19020 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
19021 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
19022 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
19023 * sysdeps/ieee754/dbl-64/s_finite.c: Include
19024 <ldbl-classify-compat.h>.
19025 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19026 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
19027 <ldbl-classify-compat.h>.
19028 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19029 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
19030 <ldbl-classify-compat.h>.
19031 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19032 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
19033 <ldbl-classify-compat.h>.
19034 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19035 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
19036 <ldbl-classify-compat.h>.
19037 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19038 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
19039 <ldbl-classify-compat.h>.
19040 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19041 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
19042 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19043 * sysdeps/m68k/coldfire/math_private.h: Remove file.
19044 * sysdeps/microblaze/math_private.h: Likewise.
19045 * sysdeps/nios2/math_private.h: Likewise.
19046 * sysdeps/sh/math_private.h: Likewise.
19048 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
19049 * sysdeps/m68k/coldfire/math_private.h: ... here.
19050 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
19051 * sysdeps/tile/math_private.h: Likewise.
19052 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
19054 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
19057 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
19059 (libc_fetestexcept): Likewise.
19060 (libc_feupdateenv_test): Likewise.
19061 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
19062 (libc_fetestexcept): Likewise.
19063 (libc_feupdateenv_test): Likewise.
19064 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
19065 (libc_fetestexcept): Likewise.
19066 (libc_feupdateenv_test): Likewise.
19067 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
19068 (libc_fetestexcept): Likewise.
19069 (libc_feupdateenv_test): Likewise.
19071 * sysdeps/generic/math_private.h
19072 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
19073 New inline function.
19074 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
19077 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
19078 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
19079 * sysdeps/generic/math_private.h
19080 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
19082 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
19084 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
19086 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
19088 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
19090 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
19092 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
19093 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
19094 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
19095 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
19096 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
19097 (__fegetenv): Likewise.
19098 (fesetenv): Likewise.
19099 (__fesetenv): Likewise.
19100 (feupdateenv): Likewise.
19101 (__feupdateenv): Likewise.
19102 (fegetround): Likewise.
19103 (__fegetround): Likewise.
19104 (fesetround): Likewise.
19105 (__fesetround): Likewise.
19107 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
19108 (feraiseexcept): New macro.
19109 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
19110 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
19112 (__feraiseexcept): Likewise.
19113 (feclearexcept): Likewise.
19114 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
19115 (__feraiseexcept): Likewise.
19116 (feclearexcept): Likewise.
19117 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
19118 (__feraiseexcept): Likewise.
19119 (feclearexcept): Likewise.
19120 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
19121 (__feraiseexcept): Likewise.
19122 (feclearexcept): Likewise.
19123 (fetestexcept): Likewise.
19125 * sysdeps/m68k/coldfire/math-tests.h: New file.
19127 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
19128 * sysdeps/m68k/bits/fenv.h: ... here.
19129 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
19131 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
19133 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
19135 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
19137 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
19139 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
19141 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
19142 (__FE_UNDEFINED): New enum constant.
19143 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
19145 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
19147 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
19149 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
19150 to match generic bits/fenv.h.
19151 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
19154 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
19156 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
19157 * soft-fp/half.h (union _FP_UNION_H): Likewise.
19158 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
19159 * soft-fp/single.h (union _FP_UNION_S): Likewise.
19161 2018-02-01 Carlos O'Donell <carlos@redhat.com>
19162 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
19163 Joseph Myers <joseph@codesourcery.com>
19166 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
19167 (__log1p): Disable -Wmaybe-uninitialized for -Os around
19168 computation using c.
19169 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
19170 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
19171 computation using c.
19173 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19175 * version.h (RELEASE): Set to "development".
19176 (VERSION): Set to "2.27.9000".
19177 * NEWS (2.28): New section.
19179 * version.h (RELEASE): Set to "stable".
19180 (VERSION): Set to "2.27".
19181 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
19183 * NEWS: Add the list of bugs fixed in 2.27.
19185 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19187 * stdlib/test-atexit-race-common.c (do_test): Check stack size
19188 against PTHREAD_STACK_MIN.
19190 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19192 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
19194 (Rafal Luzynski, Andreas Schwab): Update.
19196 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
19199 * NEWS: List the languages which actually use the alternative
19200 months feature in this release. Also explain that "alt_mon" and
19201 "ab_alt_mon" are optional.
19203 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
19206 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
19208 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
19210 * manual/install.texi (Tools for Compilation): Update the newest
19211 versions of gcc, binutils, texinfo, gawk, bison, and sed.
19212 * INSTALL: Regenerated.
19214 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19216 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
19217 instead of __builtin_expect.
19219 2018-01-30 Florian Weimer <fweimer@redhat.com>
19221 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
19223 * nss/tst-nss-getpwent.c (do_test): Likewise.
19225 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
19228 * localedata/locales/hr_HR (mon): Rename to...
19230 (mon): Import from CLDR (genitive case).
19231 (d_t_fmt): Update the comment.
19233 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
19235 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
19236 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
19237 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
19239 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19241 * mach/Versions: Fix version when __mach_host_self_ was added.
19242 * hurd/Versions: Fix version when _hurd_exec_paths was added.
19243 * sysdeps/mach/hurd/i386/ld.abilist: New file.
19244 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
19245 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
19246 * sysdeps/mach/hurd/i386/libc.abilist: New file.
19247 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
19248 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
19249 * sysdeps/mach/hurd/i386/libm.abilist: New file.
19250 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
19251 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
19252 * sysdeps/mach/hurd/i386/librt.abilist: New file.
19253 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
19254 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
19255 || to respect codestyle.
19256 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
19257 (do_test_bz20181): Rename accordingly.
19258 * malloc/malloc.c: Include <assert.h>.
19259 (assert): Do not define.
19260 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
19261 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
19262 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
19263 * sysdeps/mach/hurd/hp-timing.h: New file.
19264 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
19266 2018-01-29 Darius Rad <darius@bluespec.com>
19268 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19270 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
19272 * sysdeps/init_array/crti.S (.section .init_array): Add
19273 PREINIT_FUNCTION when defined.
19274 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
19275 * config.h.in: Regenerate.
19276 * manual/platform.texi: Add RISC-V documenation for
19277 __riscv_flush_icache.
19278 * sysdeps/riscv/__longjmp.S: New file.
19279 * sysdeps/riscv/backtrace.c: Likewise.
19280 * sysdeps/riscv/bits/endian.h: Likewise.
19281 * sysdeps/riscv/bits/setjmp.h: Likewise.
19282 * sysdeps/riscv/bits/wordsize.h: Likewise.
19283 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19284 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19285 * sysdeps/riscv/dl-trampoline.S: Likewise.
19286 * sysdeps/riscv/gccframe.h: Likewise.
19287 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19288 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19289 * sysdeps/riscv/machine-gmon.h: Likewise.
19290 * sysdeps/riscv/memusage.h: Likewise.
19291 * sysdeps/riscv/setjmp.S: Likewise.
19292 * sysdeps/riscv/sys/asm.h: Likewise.
19293 * sysdeps/riscv/tls-macros.h: Likewise.
19294 * sysdeps/riscv/dl-tls.h: New file.
19295 * sysdeps/riscv/libc-tls.c: Likewise.
19296 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19297 * sysdeps/riscv/nptl/tls.h: Likewise.
19298 * sysdeps/riscv/stackinfo.h: Likewise.
19299 * sysdeps/riscv/bits/fenv.h: New file.
19300 * sysdeps/riscv/e_sqrtl.c: Likewise.
19301 * sysdeps/riscv/fpu_control.h: Likewise.
19302 * sysdeps/riscv/math-tests.h: Likewise.
19303 * sysdeps/riscv/nofpu/Implies: Likewise.
19304 * sysdeps/riscv/sfp-machine.h: Likewise.
19305 * sysdeps/riscv/tininess.h: Likewise.
19306 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19307 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19308 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19309 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19310 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19311 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19312 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19313 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19314 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19315 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19316 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19317 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19318 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19319 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19320 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19321 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19322 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19323 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19324 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19325 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19326 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19327 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19328 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19329 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19330 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19331 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19332 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19333 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19334 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19335 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19336 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19337 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19338 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19339 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19340 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19341 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19342 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19343 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19344 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19345 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19346 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19347 * sysdeps/riscv/rvf/math_private.h: Likewise.
19348 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19349 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19350 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19351 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19352 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19353 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19354 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19355 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19356 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19357 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19358 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19359 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19360 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19361 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19362 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19363 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
19364 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19365 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19366 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19367 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
19368 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19369 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19370 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19371 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19372 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19373 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19374 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19375 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19376 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
19377 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19378 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19379 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19380 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19381 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19382 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19383 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19384 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19385 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19386 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19387 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19388 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19389 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19390 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19391 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19392 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19393 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19394 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19395 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19396 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19397 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19398 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
19399 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19400 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19401 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
19402 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19403 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19404 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19405 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19406 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19407 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19408 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19409 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19410 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19411 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19412 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19413 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19414 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19415 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
19416 * sysdeps/riscv/Implies: New file.
19417 * sysdeps/riscv/Makefile: Likewise.
19418 * sysdeps/riscv/configure: Likewise.
19419 * sysdeps/riscv/configure.ac: Likewise.
19420 * sysdeps/riscv/nptl/Makefile: Likewise.
19421 * sysdeps/riscv/preconfigure: Likewise.
19422 * sysdeps/riscv/rv64/Implies-after: Likewise.
19423 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19424 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19425 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19426 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19427 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19428 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19429 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19430 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19431 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19432 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19433 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
19434 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19435 (Config): Likewise.
19437 2018-01-29 Florian Weimer <fweimer@redhat.com>
19440 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19441 libnsl_hidden_proto.
19442 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19443 libnsl_hidden_proto.
19444 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19445 * nis/Makefile (libnsl-routines): Add nss-default only for
19446 build-obsolete-nsl.
19447 * nis/nis_defaults.c (__nis_default_ttl): Add
19448 libnsl_hidden_nolink_def.
19449 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19451 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19452 * nis/ypclnt.c (yp_maplist): Likewise.
19454 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19456 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19457 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19459 2018-01-29 Joseph Myers <joseph@codesourcery.com>
19461 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19462 clean -dxfq for git updates when replacing sources.
19464 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19465 --disable-libcilkrts unconditionally, not just for the final GCC
19468 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19471 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19474 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19477 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19480 * localedata/locales/be_BY (mon): Rename to...
19481 (alt_mon): This, then synchronize with CLDR (nominative case).
19482 (abmon): Rename to...
19483 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19484 (mon): Import from CLDR (genitive case).
19486 * localedata/locales/be_BY@latin (mon): Rename to...
19488 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19490 * localedata/locales/be_BY@latin (lang_name): Reworded to
19491 "biełaruskaja mova".
19493 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19496 * localedata/locales/el_CY (mon): Renamed to...
19498 (mon): Import from CLDR (genitive case).
19499 * localedata/locales/el_GR: Likewise.
19501 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19504 * localedata/locales/ru_RU (mon): Rename to...
19506 (abmon): Rename to...
19507 (ab_alt_mon): This.
19508 (mon): Import from CLDR (genitive case).
19509 (abmon): Copy from the old content except the 5th month which is
19510 now in the genitive case, even when abbreviated.
19511 * localedata/locales/ru_UA: Likewise.
19512 * time/tst-strptime.c (day_tests): Add an actual example of
19513 a difference between %b and %Ob in Russian.
19515 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19517 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
19518 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19520 * resolv/res-close.c: Include <stdlib.h>.
19521 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19522 <sys/wait.h>, <time.h>, <sys/uio.h>.
19523 (NOT_CANCEL_H): Add inclusion guard.
19524 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
19525 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19526 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19528 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19529 vm_address_t * to ElfW(Addr) * for dl_main parameter.
19530 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19532 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19533 timer_ptr2id to cast struct timer_node * to void *.
19534 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19535 --disable-libcilkrts to gcc configure.
19536 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19537 and make them the default for now.
19538 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19539 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
19540 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19541 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19542 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19544 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19545 __task_terminate would ever return successfully.
19546 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19548 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19549 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
19550 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19551 critical section to make code simpler and avoid warning.
19552 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19553 critical section to make code simpler and avoid warning.
19554 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19555 const char * instead of char *.
19556 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19557 __hurd_file_name_split, hurd_file_name_split,
19558 __hurd_directory_name_split, hurd_directory_name_split,
19559 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19560 hurd_file_name_path_lookup): Make lookup function parameter take a
19561 const char *name instead of char *name.
19562 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19563 __hurd_directory_name_split): Likewise.
19564 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19565 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
19566 * sysdeps/mach/hurd/check_native.c: New file.
19567 * sysdeps/mach/hurd/check_pf.c: New file.
19568 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19569 (__freeifaddrs): Define macro to freeifaddrs.
19570 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19571 * sysdeps/mach/libmachuser.abilist: New file.
19572 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19573 (do_test_bz20181): Rename accordingly.
19574 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
19575 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19577 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19578 version only if __USE_EXTERN_INLINES is defined.
19579 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19580 __hurd_sockfail): Likewise.
19581 (_hurd_fd_get): Always declare functions, and provide inline versions
19582 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19583 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19584 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19585 _hurd_port_set): Always declare functions, and provide inline versions
19586 only if __USE_EXTERN_INLINES and _LIBC are defined and
19588 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19589 _hurd_critical_section_unlock): Likewise.
19590 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19591 * __hurd_threadvar_location): Likewise.
19592 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19593 _hurd_userlink_clear): Likewise.
19594 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19595 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19596 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19597 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19598 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19599 __spin_lock_locked): Likewise.
19600 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19601 __spin_lock_locked): Likewise.
19602 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19603 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19604 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19605 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19606 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
19607 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19608 _POSIX_NO_TRUNC): Define to 0.
19609 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19610 check size against PTHREAD_STACK_MIN.
19611 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19612 IS_IN(libpthread)]: Include <sigsetops.h>.
19613 * mach/Makefile (user-interfaces): Add mach/gnumach.
19614 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19615 * sysdeps/mach/configure (mach_interface_list): Regenerate.
19616 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19617 instead of invalid -1.
19618 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19619 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19620 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19623 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
19625 * hurd/fcntl-internal.h: New file.
19627 2018-01-27 James Clarke <jrtc27@jrtc27.com>
19629 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19631 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19633 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19636 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19637 Build only shared objects.
19639 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19641 * README: Update for hppa.
19643 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19645 * sysdeps/sparc/fpu/libm-test-ulps: Update
19646 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
19648 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19652 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19655 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19656 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19657 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19658 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19661 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19664 * bits/types/__cancel_jmp_buf_tag.h: New file.
19665 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19666 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19667 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19668 * nptl/Makefile (headers): Add
19669 bits/types/__cancel_jmp_buf_tag.h.
19670 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19671 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19672 * sysdeps/nptl/pthread.h: Include
19673 <bits/types/__cancel_jmp_buf_tag.h>.
19674 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19676 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19678 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19681 * localedata/locales/uk_UA (mon): Renamed to...
19683 (alt_digits): "0" removed and then renamed to...
19685 (date_fmt): Definition changed not to use the alternative
19688 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
19690 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19691 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19692 * elf/elf.h (EF_RISCV_RVC): New define.
19693 (EF_RISCV_FLOAT_ABI): Likewise.
19694 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19695 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19696 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19697 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19698 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19700 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19702 2018-01-25 Andreas Schwab <schwab@suse.de>
19704 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19706 * sysdeps/gnu/configure: Regenerate.
19707 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19708 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19710 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19711 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19712 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19713 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19714 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19716 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19718 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
19719 URL, and run autoconf, make it the default for now.
19721 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19723 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19724 soft-float ColdFire configuration.
19726 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19727 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19728 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19730 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19733 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19735 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19737 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19740 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19741 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19742 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19745 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19748 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19749 Rename to __reserved and add comment.
19750 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19751 Rename to __reserved.
19753 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19755 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19756 i686-gnu configurations.
19757 (Context.run_builds): Include mig, gnumach and hurd in components
19759 (Context.checkout): Add mig, gnumach and hurd to components.
19760 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19762 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19763 (Config.build): Install gnumach headers, build mig and install
19764 hurd headers for 'gnu' OS.
19765 (Config.install_gnumach_headers): New function.
19766 (Config.install_hurd_headers): Likewise.
19767 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19768 when building for 'gnu' OS.
19770 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
19772 * manual/tunables.texi (Hardware Capability Tunables): Fix
19775 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
19777 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19778 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19779 (ALTMON_11, ALTMON_12): Improve documentation.
19780 * manual/time.texi (strftime): Likewise.
19782 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19785 * localedata/locales/pl_PL: Alternative month names added,
19786 primary month names are genitive now.
19787 * time/tst-strptime.c (day_tests): Actually use a genitive case
19788 of a month name in Polish language.
19790 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19793 * manual/locale.texi: Document ALTMON_1..12 constants for
19794 nl_langinfo. Specify when to use ALTMON instead of MON.
19795 * manual/time.texi (strftime, strptime): Document GNU extension
19796 permitting O modifier with %B and %b. Specify when to use
19799 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19802 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19803 names, define them as the same as abbreviated month names explicitly.
19804 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19805 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19806 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19807 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19808 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19809 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19810 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19811 _NL_WABALTMON_12): New enum constants.
19812 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19813 wab_alt_mon, and ab_alt_mon_defined members.
19814 (time_output): Output ab_alt_mon and wab_alt_mon members.
19815 (time_read): Read them, initialize them as copies of abmon and wabmon
19816 respectively if they are missing, initialize ab_alt_mon_defined.
19817 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19818 * locale/programs/locfile-kw.h: Regenerate.
19819 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19820 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19822 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19823 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19824 (__strftime_internal): Handle %Ob and %Oh formats.
19825 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19826 (__strptime_internal): Handle %Ob and %Oh formats.
19827 * time/tst-strptime.c (day_tests): Add more tests to parse different
19828 forms of month names including the new %Ob format specifier.
19830 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19833 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19834 define them as the same as primary full month names explicitly.
19835 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19836 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19837 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19838 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19839 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19840 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19841 _NL_WALTMON_12): New enum constants.
19842 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19843 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19845 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19846 walt_mon, and alt_mon_defined members.
19847 (time_output): Output alt_mon and walt_mon members.
19848 (time_read): Read them, initialize them as copies of mon and wmon
19849 respectively if they are missing, initialize alt_mon_defined.
19850 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19851 * locale/programs/locfile-kw.h: Regenerate.
19852 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19853 * localedata/tst-langinfo.c (map): Add tests for the new constants
19854 ALTMON_1 .. ALTMON_12.
19855 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19857 * time/strftime_l.c (f_altmonth): New macro.
19858 (__strftime_internal): Handle %OB format.
19859 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19860 (__strptime_internal): Handle %OB format.
19861 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19862 of month names including the new %OB format specifier.
19864 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19867 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19868 from ABORT_TRANSACTION.
19869 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19870 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19871 ABORT_TRANSACTION_IMPL): Likewise.
19872 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19873 Linux code, but remove the code that aborts transactions.
19875 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19877 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19879 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19881 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19882 in date: "2004-14-09" should be "2004-09-14".
19883 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19884 "2003-15-09" should be "2003-09-15".
19886 2018-01-18 Arjun Shankar <arjun@redhat.com>
19892 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19894 (_int_memalign): check for integer overflow before calling
19896 * malloc/tst-malloc-too-large.c: New test.
19897 * malloc/Makefile: Add tst-malloc-too-large.
19899 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19901 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19902 in date: "2017-24-07" should be "2017-07-24".
19903 * localedata/locales/mai_IN: Likewise.
19904 * localedata/locales/mai_NP: Likewise.
19906 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19908 * po/ru.po: Update translations.
19910 2018-01-17 Joseph Myers <joseph@codesourcery.com>
19913 * sysdeps/hppa/backtrace.c: New file.
19915 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19918 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19919 align La_x86_64_retval to VEC_SIZE.
19921 2018-01-16 Joseph Myers <joseph@codesourcery.com>
19923 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19924 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19926 2018-01-16 Florian Weimer <fweimer@redhat.com>
19928 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19929 Move tst-thread-exit-clobber ...
19930 [$(CXX)] (tests-unsupported): ... to here.
19932 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19934 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19935 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19936 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19937 (_dl_aarch64_cap_flags): Update.
19938 (_DL_HWCAP_COUNT): Update.
19940 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19942 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19943 (_DL_HWCAP_LAST): Remove.
19944 (_DL_HWCAP_COUNT): Move to ...
19945 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19946 (_DL_HWCAP_COUNT): ... here.
19948 2018-01-16 Florian Weimer <fweimer@redhat.com>
19950 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19951 mode with GNU extensions.
19953 2018-01-15 Alan Hayward <alan.hayward@arm.com>
19955 * elf/elf.h (NT_ARM_SVE): Define.
19957 2018-01-15 Florian Weimer <fweimer@redhat.com>
19960 * nptl/tst-minstack-throw.cc: New file.
19961 * nptl/Makefile (tests): Add tst-minstack-throw.
19962 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19963 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19965 2018-01-15 Joseph Myers <joseph@codesourcery.com>
19967 * scripts/build-many-glibcs.py (Context.checkout): Default
19968 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19971 2018-01-13 Carlos O'Donell <carlos@redhat.com>
19974 * elf/elf.h (DF_1_STUB): Define.
19975 (DF_1_PIE): Define.
19977 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19980 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19981 Do not add 0.5 to integer or out-of-range arguments.
19983 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19985 * po/bg.po: Update translations.
19986 * po/cs.po: Likewise.
19987 * po/de.po: Likewise.
19988 * po/ko.po: Likewise.
19989 * po/pl.po: Likewise.
19990 * po/sv.po: Likewise.
19991 * po/uk.po: Likewise.
19992 * po/vi.po: Likewise.
19994 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19996 * aarch64/start.S (_start): Use __wrap_main.
19997 (__wrap_main): New local symbol.
19999 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20003 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
20004 generic_getcwd if the path returned by getcwd syscall is not absolute.
20005 * io/tst-getcwd-abspath.c: New test.
20006 * io/Makefile (tests): Add tst-getcwd-abspath.
20008 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
20010 * malloc/malloc.c (malloc_consolidate): Add size check.
20012 2018-01-12 Florian Weimer <fweimer@redhat.com>
20014 * support/write_message.c (write_message): Preserve errno.
20015 * support/check.c (print_failure): Likewise.
20016 * support/support_test_verify_impl.c (support_test_verify_impl):
20018 * support/support_test_compare_failure.c
20019 (support_test_compare_failure): Likewise.
20021 2018-01-12 Florian Weimer <fweimer@redhat.com>
20024 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
20025 Prevent installation of libnsl.so.
20026 (libnsl-inhibit-o): Do not build (or install) static libraries.
20028 2018-01-12 Egmont Koblinger <egmont@gmail.com>
20031 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
20032 before the day number which may produce a double space.
20033 (date_fmt): Likewise.
20035 2018-01-12 Joseph Myers <joseph@codesourcery.com>
20037 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
20038 instead of fegetenv.
20040 2018-01-11 Joseph Myers <joseph@codesourcery.com>
20043 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
20044 comment to say exceptions are discarded.
20045 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
20047 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
20050 2018-01-11 Florian Weimer <fweimer@redhat.com>
20052 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
20055 2018-01-11 Florian Weimer <fweimer@redhat.com>
20058 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
20059 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
20061 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20064 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
20065 negative arguments in test for NaN or infinity argument.
20067 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
20069 * po/libc.pot: Regenerate.
20071 2018-01-10 Florian Weimer <fweimer@redhat.com>
20074 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
20075 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
20077 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20079 * hurd/hurd/fd.h: Include <fcntl.h>
20080 (__hurd_at_flags): New function.
20081 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
20082 with call to __hurd_at_flags.
20083 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
20084 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
20086 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
20087 (__access_noerrno): Use __faccessat_common instead of access_common.
20088 (__access): Likewise.
20089 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
20090 with a call to __faccessat.
20091 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
20092 (__faccessat_common): ... this. Move implementation of __access into it when
20093 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
20094 reauthenticate_cwdir_at helper to implement AT mechanism.
20095 (__faccessat_noerrno): New function, just calls __faccessat_common.
20096 (__faccessat): New function, just calls __faccessat_common.
20097 (faccessat): Define weak alias.
20099 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20102 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20103 (CFLAGS-s_fmaxmagl.c): New variable.
20104 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
20107 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
20108 long int for arguments of possibly overflowing addition or
20110 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20112 2018-01-09 Joseph Myers <joseph@codesourcery.com>
20115 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20116 (CFLAGS-e_remainderl.c): New variable.
20119 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
20121 (CFLAGS-s_cacoshl.c): Likewise.
20122 (CFLAGS-s_casinhl.c): Likewise.
20123 (CFLAGS-s_catanl.c): Likewise.
20124 (CFLAGS-s_catanhl.c): Likewise.
20125 (CFLAGS-s_cexpl.c): Likewise.
20126 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
20127 (CFLAGS-s_csinhl.c): Likewise.
20128 (CFLAGS-s_clogl.c): Likewise.
20129 (CFLAGS-s_clog10l.c): Likewise.
20130 (CFLAGS-s_csinl.c): Likewise.
20131 (CFLAGS-s_csqrtl.c): Likewise.
20133 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
20134 2017-01-09 Svante Signell <svante.signell@gmail.com>
20136 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
20137 (_hurd_exec_paths): New function.
20138 * hurd/hurd.h (_hurd_exec): Deprecate function.
20139 (_hurd_exec_paths): Declare function.
20140 * hurd/Versions: Export _hurd_exec_paths.
20141 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
20142 (__execve): Use __getcwd to build absolute path, and use
20143 _hurd_exec_paths instead of _hurd_exec.
20144 * sysdeps/mach/hurd/spawni.c: Likewise.
20145 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
20148 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
20150 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
20151 test instead of failing in case of ENOENT returned by posix_openpt.
20153 2018-01-08 Florian Weimer <fweimer@redhat.com>
20155 resolv: Support binary labels in test framework.
20156 * support/resolv_test.c (struct to_be_freed): Remove.
20157 (struct compressed_name): New.
20158 (allocate_compressed_name, ascii_tolower)
20159 (compare_compressed_name): New functions.
20160 (struct resolv_response_builder): Update type of
20161 compression_offsets for use with tsearch. Rempve to_be_freed.
20162 (response_push_pointer_to_free): Remove function.
20163 (resolv_response_add_name): Rewrite using struct compressed_name
20164 and tsearch instead of hsearch_r.
20165 (response_builder_allocate): Remove initialization of
20166 compression_offsets.
20167 (response_builder_free): Update for removal of to_be_freed. Use
20168 tdestroy instead of hdestroy_r.
20169 * resolv/Makefile (tests): Add tst-resolv-binary.
20170 (tst-resolv-binary): Link with -lresolv -lpthread.
20172 2018-01-08 Florian Weimer <fweimer@redhat.com>
20174 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
20175 time. Pass positive flag instead of negative flag to
20176 support_test_compare_failure.
20177 (support_test_compare_failure): Change negative parameter to
20179 * support/support_test_compare_failure.c (report)
20180 (support_test_compare_failure): Likewise.
20181 * support/tst-test_compare.c (return_ssize_t, return_int): New.
20182 (do_test): Check int/size_t, ssize_t/size_t comparisons.
20184 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
20187 * nptl/descr.h (stackblock, stackblock_size): Update comments.
20188 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
20189 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
20191 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20193 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
20195 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20196 Add s_sincosf-sse2 and s_sincosf-fma.
20197 (CFLAGS-s_sincosf-fma.c): New.
20198 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
20199 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
20200 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
20201 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
20202 __sincosf is defined.
20204 2018-01-08 Florian Weimer <fweimer@redhat.com>
20206 * nptl/tst-thread-exit-clobber.cc: New file.
20207 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
20209 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
20210 (tests): Add tst-thread-exit-clobber.
20211 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
20213 2018-01-08 Florian Weimer <fweimer@redhat.com>
20215 * support/check.h (support_static_assert): Define.
20216 (TEST_COMPARE): Use it.
20218 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
20220 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
20221 [!__RLIM_T_MATCHES_RLIM64_T]
20222 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
20223 __getrlimit64. Add libc_hidden_weak.
20225 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
20227 * elf/elf.h (R_RISCV_NONE): New define.
20228 (R_RISCV_32): Likewise.
20229 (R_RISCV_64): Likewise.
20230 (R_RISCV_RELATIVE): Likewise.
20231 (R_RISCV_COPY): Likewise.
20232 (R_RISCV_JUMP_SLOT): Likewise.
20233 (R_RISCV_TLS_DTPMOD32): Likewise.
20234 (R_RISCV_TLS_DTPMOD64): Likewise.
20235 (R_RISCV_TLS_DTPREL32): Likewise.
20236 (R_RISCV_TLS_DTPREL64): Likewise.
20237 (R_RISCV_TLS_TPREL32): Likewise.
20238 (R_RISCV_TLS_TPREL64): Likewise.
20239 * Makerules (make-link-multidir): Make directories before linking into
20241 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
20243 (VDSO_HASH_LINUX_4_15): Likewise.
20244 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
20245 in subdirectories of lib.
20246 * nptl/Makefile (/librt.so): Always depend on
20247 "$(shared-thread-library)".
20249 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20251 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
20252 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
20253 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
20255 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
20256 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20258 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
20259 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
20260 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
20261 * sysdeps/gnu/glob-lstat-compat.c: New file.
20262 * sysdeps/gnu/glob64-lstat-compat.c: New file.
20263 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
20265 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20267 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20268 Reserve 16 chars to reloc_addr before calling _itoa_word.
20270 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20273 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20274 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20276 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20277 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20279 * resource/tst-getrlimit.c: Add copyright header.
20281 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20282 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20284 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20285 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20286 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20287 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20289 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20290 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20291 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20292 RLIM64_INFINITY): Fix values to match the kernel ones.
20293 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20294 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20295 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20296 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20297 getrlimit64@@GLIBC_2_27.
20298 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20300 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20301 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20302 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20303 setrlimit, getrlimit64 and setrlimit64.
20305 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20308 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20309 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20311 2018-01-04 Joseph Myers <joseph@codesourcery.com>
20313 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20314 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20315 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20317 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20321 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20322 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20326 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20327 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20328 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20329 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20331 2018-01-04 Florian Weimer <fweimer@redhat.com>
20334 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20335 Align the stack before calling exit.
20336 * stdlib/tst-makecontext-align.c: New file.
20337 * stdlib/Makefile (tests): Add tst-makecontext-align.
20339 2018-01-04 Florian Weimer <fweimer@redhat.com>
20341 Add support for calling dlvsym from libc.so.
20342 * include/dlfcn.h (__libc_dlvsym): Declare.
20343 * elf/Makefile (tests-static-internal): Add
20344 tst-libc_dlvsym-static.
20345 (tests-internal): Add tst-libc_dlvsym.
20346 (modules-names): Add tst-libc_dlvsym-dso.
20347 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20348 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20349 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20350 object tst-libc_dlvsym-dso.so needs to be built before running
20352 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20353 * elf/Versions: Export __libc_dlvsym.
20354 * elf/dl-libc.c (struct do_dlvsym_args): New.
20355 (do_dlvsym, __libc_dlvsym): New functions.
20356 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20357 (_dl_open_hook2): New variable.
20358 (__libc_register_dl_open_hook): Set it.
20359 * elf/tst-libc_dlvsym-dso.c: New file.
20360 * elf/tst-libc_dlvsym-static.c: Likewise.
20361 * elf/tst-libc_dlvsym.c: Likewise.
20362 * elf/tst-libc_dlvsym.h: Likewise.
20364 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20366 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20367 include <sys/mount.h>.
20369 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20371 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20372 Add __NO_MATH_ERRNO__ check.
20374 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20376 * sysdeps/mips/mips32/libm-test-ulps: Update.
20377 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20379 2018-01-02 Florian Weimer <fweimer@redhat.com>
20381 * misc/tst-pselect.c: Add copyright header.
20383 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20385 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20387 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20389 (settrlimit): Rename into setrlimit.
20390 (__sttrlimit): Rename into __setrlimit.
20392 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20393 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20394 never defined in that case.
20396 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20398 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20400 * sysdeps/arm/libm-test-ulps: Update.
20402 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20403 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20405 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20407 * NEWS: Add cosf and sincosf to list of optimized functions.
20409 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20412 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20413 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20414 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20415 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20417 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20420 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20422 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20423 making a copy of it.
20425 2018-01-01 Joseph Myers <joseph@codesourcery.com>
20427 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20428 trailing whitespace removed.
20429 * scripts/config.guess: Update to version 2018-01-01.
20430 * scripts/config.sub: Update to version 2018-01-01.
20431 * scripts/move-if-change: Update from gnulib.
20433 * NEWS: Update copyright dates.
20434 * catgets/gencat.c (print_version): Likewise.
20435 * csu/version.c (banner): Likewise.
20436 * debug/catchsegv.sh: Likewise.
20437 * debug/pcprofiledump.c (print_version): Likewise.
20438 * debug/xtrace.sh (do_version): Likewise.
20439 * elf/ldconfig.c (print_version): Likewise.
20440 * elf/ldd.bash.in: Likewise.
20441 * elf/pldd.c (print_version): Likewise.
20442 * elf/sotruss.sh: Likewise.
20443 * elf/sprof.c (print_version): Likewise.
20444 * iconv/iconv_prog.c (print_version): Likewise.
20445 * iconv/iconvconfig.c (print_version): Likewise.
20446 * locale/programs/locale.c (print_version): Likewise.
20447 * locale/programs/localedef.c (print_version): Likewise.
20448 * login/programs/pt_chown.c (print_version): Likewise.
20449 * malloc/memusage.sh (do_version): Likewise.
20450 * malloc/memusagestat.c (print_version): Likewise.
20451 * malloc/mtrace.pl: Likewise.
20452 * manual/libc.texinfo: Likewise.
20453 * nptl/version.c (banner): Likewise.
20454 * nscd/nscd.c (print_version): Likewise.
20455 * nss/getent.c (print_version): Likewise.
20456 * nss/makedb.c (print_version): Likewise.
20457 * posix/getconf.c (main): Likewise.
20458 * scripts/test-installation.pl: Likewise.
20459 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20461 * All files with FSF copyright notices: Update copyright dates
20462 using scripts/update-copyrights.
20463 * locale/programs/charmap-kw.h: Regenerated.
20464 * locale/programs/locfile-kw.h: Likewise.
20466 2017-12-31 Zack Weinberg <zackw@panix.com>
20468 * libio/bits/libio-ldbl.h: Correct check for improper
20469 inclusion. Add own multiple include guard.
20471 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20472 Dmitry V. Levin <ldv@altlinux.org>
20476 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20477 string token expansion. Check for NULL pointer or empty string possibly
20478 returned by expand_dynamic_string_token.
20479 (decompose_rpath): Check for empty path after dynamic string
20482 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20485 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20487 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20488 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20489 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20490 and PTRACE_SYSCALL.
20491 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20492 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20493 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20494 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20495 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20496 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20498 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20499 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20500 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20501 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20503 bits/ptrace-shared.h.
20504 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20505 <bits/ptrace-shared.h>.
20506 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20507 __ptrace_peeksiginfo_flags, ptrace): Remove.
20508 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20509 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20510 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20511 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20512 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20514 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20517 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20518 end of the loop. Improve comments.
20520 2017-12-29 Zack Weinberg <zackw@panix.com>
20523 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20524 might be set on success.
20526 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20529 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20530 is unchanged on success.
20532 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20534 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20536 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20537 expand_dynamic_string_token): Likewise.
20538 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20541 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20544 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20545 is set and name contains ':', and all code depending on these checks.
20547 2017-12-24 Zack Weinberg <zackw@panix.com>
20549 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20550 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20552 * libio/libio.h: Rename the original version of this file to
20553 libio/bits/libio.h. Error out if not included by stdio.h or the
20555 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20556 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20557 if not included by bits/libio.h or the stub _G_config.h.
20558 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20559 sysdeps/unix/sysv/linux/bits. Error out if not included by
20560 bits/libio.h or the stub _G_config.h.
20561 * libio/stdio.h: Include bits/libio.h, not libio.h.
20562 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20563 well as libio.h and _G_config.h.
20565 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20566 * libio/strfile.h, stdio-common/vfscanf.c
20567 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20568 Include stdio.h, not _G_config.h nor libio.h.
20569 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20570 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20572 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20574 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20577 * stdlib/getrandom.c (getrandom): Fix comment.
20578 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20580 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
20583 * manual/arith.texi (strtoul): Fix a typo.
20586 * manual/arith.texi (finite): Fix the description of the return
20589 2017-12-22 Eric Blake <ebb9@byu.net>
20591 Avoid gcc warnings on cygwin
20592 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20593 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20594 Avoid unused variable.
20596 2017-12-22 Florian Weimer <fweimer@redhat.com>
20598 * io/Makefile (routines): Add copy_file_range.
20599 (tests): Add tst-copy_file_range.
20600 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20601 * io/Versions (GLIBC_2.27): Export copy_file_range.
20602 * io/copy_file_range-compat.c: New file.
20603 * io/copy_file_range.c: Likewise.
20604 * io/tst-copy_file_range-compat.c: Likewise.
20605 * io/tst-copy_file_range.c: Likewise.
20606 * manual/llio.texi (Copying File Data): New section.
20607 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20608 * support/Makefile (libsupport-routines): Add support-xfstat,
20609 xftruncate, xlseek.
20610 * support/support-xfstat.c: New file.
20611 * support/xftruncate.c: Likewise.
20612 * support/xlseek.c: Likewise.
20613 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20614 * sysdeps/unix/sysv/linux/**.abilist: Update.
20615 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20617 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20619 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20620 disable-multi-arch variant to aarch64-linux-gnu.
20622 2017-12-20 Joseph Myers <joseph@codesourcery.com>
20624 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20625 trailing whitespace removed.
20626 * scripts/config.guess: Update to version 2017-12-17.
20627 * scripts/config.sub: Update to version 2017-11-23.
20628 * scripts/install-sh: Update to version 2017-09-23.17.
20629 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20631 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20633 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20634 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20635 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20636 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20637 * sysdeps/tile/crtn.S: Likewise.
20638 * sysdeps/tile/dl-start.S (_start): Likewise.
20639 * sysdeps/tile/dl-trampoline.S: Likewise.
20640 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20641 * sysdeps/tile/start.S (_start): Likewise.
20642 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20643 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20644 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20645 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20646 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20647 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20648 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20650 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20652 * sysdeps/tile/preconfigure: Remove tilegx folder.
20653 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20654 * sysdeps/tile/Implies: ... here.
20655 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20656 * sysdeps/tile/Makefile: ... here.
20657 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20658 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20659 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20660 * sysdeps/tile/bits/wordsize.h: ... here.
20661 * sysdeps/tile/tilegx/*: Move to ...
20662 * sysdeps/tile/*: ... here.
20663 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20664 * sysdeps/tile/tilegx32/Implies: ... here.
20665 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20666 * sysdeps/tile/tilegx64/Implies: ... here.
20667 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20669 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20670 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20671 * sysdeps/unix/sysv/linux/tile/*: ... here.
20672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20673 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20675 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20677 * README: Remove tilepro-*-linux-gnu from supported architecture.
20678 * scripts/build-many-glibcs.py: Likewise.
20679 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20680 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20681 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20682 elf_machine_matches_host, elf_machine_dynamic,
20683 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20684 howto, elf_machine_rela): Likewise.
20685 * sysdeps/tile/dl-start.S (_start): Likewise.
20686 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20687 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20688 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20689 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20690 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20691 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20693 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20694 * sysdeps/tile/preconfigure: Likewise.
20695 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20696 POINTER_CHK_GUARD): Likewise.
20697 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20698 * sysdeps/tile/start.S (_start): Likewise.
20699 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20701 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20702 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20704 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20705 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20706 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20708 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20709 * sysdeps/tile/tilepro/Implies: Remove file.
20710 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20711 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20712 * sysdeps/tile/tilepro/memchr.c: Likewise.
20713 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20714 * sysdeps/tile/tilepro/memset.c: Likewise.
20715 * sysdeps/tile/tilepro/memusage.h: Likewise.
20716 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20717 * sysdeps/tile/tilepro/strchr.c: Likewise.
20718 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20719 * sysdeps/tile/tilepro/strlen.c: Likewise.
20720 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20721 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20722 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20723 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20724 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20725 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20726 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20728 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20729 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20730 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20731 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20732 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20733 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20734 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20735 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20736 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20737 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20738 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20739 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20740 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20741 tilepro mention in comment.
20743 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20744 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20745 * nptl/pthread_join_common.c: New file: common function used on
20746 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20747 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20748 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20749 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20750 (cleanup): Move definition to pthread_join_common.c.
20751 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20752 Remove superflous checks.
20753 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20756 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20758 * sysdeps/aarch64/libm-test-ulps: Update.
20760 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20762 * sysdeps/aarch64/memset.S (MEMSET): Define.
20764 2017-12-20 Florian Weimer <fweimer@redhat.com>
20767 nptl: Provide full implementation of pthread_self in libc.so.
20768 * nptl/Makefile (routines): Add pthread_self.
20769 (libpthread-routines): Replace pthread_self with
20770 compat-pthread_self.
20771 * nptl/forward.c (pthread_self): Remove.
20772 * nptl/nptl-init.c (pthread_functions): Do not initialize
20774 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20775 * nptl/compat-pthread_self.c: New file.
20776 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20777 Remove ptr_pthread_self.
20779 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20781 * posix/regcomp.c: Fix spelling in comments.
20782 * posix/regex.h: Likewise.
20783 * posix/regex_internal.c: Likewise.
20784 * posix/regexec.c: Likewise.
20786 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20789 * math/Makefile [C++] (tests): Add test for iseqsig.
20790 * math/math.h [C++] (iseqsig): New implementation, which does
20791 not rely on __MATH_TG/__builtin_types_compatible_p.
20792 * math/test-math-iseqsig.cc: New file.
20793 * sysdeps/powerpc/powerpc64le/Makefile
20794 (CFLAGS-test-math-iseqsig.cc): New variable.
20796 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20798 * elf/dl-load.c (is_trusted_path): Remove.
20799 (fillin_rpath): Remove check_trusted argument and its use,
20800 all callers changed.
20802 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20805 * Makeconfig (link-pie-before-libc): Replace -pie with
20806 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20807 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20808 (tst-dlopen-aout-no-pie): New.
20809 (LDFLAGS-tst-prelink): Removed.
20810 (tst-prelink-no-pie): New.
20811 (LDFLAGS-tst-main1): Removed.
20812 (tst-main1-no-pie): New.
20813 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20814 (tst-gmon-no-pie): New.
20816 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20818 * manual/install.texi: Document that --enable-static-pie
20820 * INSTALL: Regenerated.
20822 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20825 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20828 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20832 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20836 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20838 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20839 <errno.h>. Include "eexp.tbl".
20840 (half): New constant.
20842 (__ieee754_exp): Rewrite.
20843 (__slowexp): Remove prototype.
20844 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20845 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20846 * sysdeps/i386/fpu/slowexp.c: Likewise.
20847 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20848 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20849 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20850 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20851 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20852 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20853 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20855 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20856 (CPPFLAGS-slowexp.c): Remove variable.
20857 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20858 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20859 (CFLAGS-slowexp-fma.c): Remove variable.
20860 (CFLAGS-slowexp-fma4.c): Likewise.
20861 (CFLAGS-slowexp-avx.c): Likewise.
20862 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20864 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20865 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20866 * math/Makefile (type-double-routines): Remove slowexp.
20867 * manual/probes.texi (slowexp_p6): Remove.
20868 (slowexp_p32): Likewise.
20870 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20872 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20875 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20877 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20879 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20881 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20883 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20884 <errno.h>. Include "eexp.tbl".
20885 (half): New constant.
20887 (__ieee754_exp): Rewrite.
20888 (__slowexp): Remove prototype.
20889 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20890 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20891 * sysdeps/i386/fpu/slowexp.c: Likewise.
20892 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20893 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20894 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20895 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20896 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20897 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20898 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20900 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20901 (CPPFLAGS-slowexp.c): Remove variable.
20902 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20903 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20904 (CFLAGS-slowexp-fma.c): Remove variable.
20905 (CFLAGS-slowexp-fma4.c): Likewise.
20906 (CFLAGS-slowexp-avx.c): Likewise.
20907 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20909 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20910 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20911 * math/Makefile (type-double-routines): Remove slowexp.
20912 * manual/probes.texi (slowexp_p6): Remove.
20913 (slowexp_p32): Likewise.
20915 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20916 James Clarke <jrtc27@jrtc27.com>
20919 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20922 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20925 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20928 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20931 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20932 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20933 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20934 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20937 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20940 * bits/types/__cancel_jmp_buf_tag.h: New file.
20941 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20942 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20943 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20944 * nptl/Makefile (headers): Add
20945 bits/types/__cancel_jmp_buf_tag.h.
20946 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20947 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20948 * sysdeps/nptl/pthread.h: Include
20949 <bits/types/__cancel_jmp_buf_tag.h>.
20950 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20952 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20954 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20956 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20957 --enable-static-pie variants to x86_64, x32 and i686.
20959 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20962 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20963 argument for attrubutes. All callers changed.
20964 (__inline_mathop1): Likewise. All callers changed.
20965 (__inline_mathop): Likewise. All callers changed.
20966 [__USE_MISC] (scalbn): Use __inline_forward instead of
20967 __inline_forward_c.
20968 [__USE_ISOC99] (scalbln): Likewise.
20969 [__USE_ISOC99] (nearbyint): Likewise.
20970 [__USE_ISOC99] (lrint): Likewise.
20971 [__USE_MISC] (scalbnf): Likewise.
20972 [__USE_ISOC99] (scalblnf): Likewise.
20973 [__USE_ISOC99] (nearbyintf): Likewise.
20974 [__USE_ISOC99] (lrintf): Likewise.
20975 [__USE_MISC] (scalbnl): Likewise.
20976 [__USE_ISOC99] (scalblnl): Likewise.
20977 [__USE_ISOC99] (nearbyintl): Likewise.
20978 [__USE_ISOC99] (lrintl): Likewise.
20979 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20980 __inline_mathop and __m81_defun changed.
20982 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20983 CPU or FPU for ARM hard-float configurations.
20985 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20987 * nptl/tst-attr3.c: Include <libc-diag.h>.
20988 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20990 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20992 * string/tester.c (test_strncat): Also disable -Warray-bounds
20993 warnings for two tests.
20995 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20998 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20999 $(cc-pie-default) == yes.
21000 * config.make.in (cc-pie-default): New.
21001 * configure.ac (libc_cv_pie_default): Renamed to ...
21002 (libc_cv_cc_pie_default): This.
21003 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
21004 * configure: Regenerated.
21006 2017-12-18 Florian Weimer <fweimer@redhat.com>
21009 ld.so: Harden dl-libc/libdl hooks.
21010 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
21011 (rtld_active): New function.
21012 * dlfcn/dladdr.c (__dladdr): Call it.
21013 * dlfcn/dladdr1.c (__dladdr1): Likewise.
21014 * dlfcn/dlclose.c (__dlcose): Likewise.
21015 * dlfcn/dlerror.c (__dlerror): Likewise.
21016 * dlfcn/dlinfo.c (__dlinfo): Likewise.
21017 * dlfcn/dlmopen.c (__dlmopen): Likewise.
21018 * dlfcn/dlopen.c (__dlopen): Likewise.
21019 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21020 * dlfcn/dlsym.c (__dlsym): Likewise.
21021 * dlfcn/dlvsym.c (__dlvsym): Likewise.
21022 * libio/vtables.c (_IO_vtable_check): Likewise.
21023 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
21024 (__libc_dlclose): Likewise.
21025 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
21028 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21031 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
21032 buffers for readlink input and output.
21034 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
21037 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
21038 inhibit_stack_protector.
21041 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
21042 inhibit_stack_protector.
21044 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
21047 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
21048 code and invocation.
21050 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
21052 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
21054 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
21057 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
21059 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21061 * sysdeps/s390/fpu/libm-test-ulps: Update.
21063 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21067 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21069 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
21070 constants to s_sincosf.h file.
21071 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21072 * sysdeps/ieee754/flt-32/s_sincosf.c: New
21074 * sysdeps/ieee754/flt-32/s_sincosf.h:
21077 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21080 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
21083 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
21086 * INSTALL: Regenerated.
21087 * Makeconfig (real-static-start-installed-name): New.
21088 (pic-default): Updated for --enable-static-pie.
21089 (pie-default): New for --enable-static-pie.
21090 (default-pie-ldflag): Likewise.
21091 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
21092 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
21093 Replace $(static-start-installed-name) with
21094 $(real-static-start-installed-name).
21095 (+prectorT): Updated for --enable-static-pie.
21096 (+postctorT): Likewise.
21097 (CFLAGS-.o): Add $(pie-default).
21098 (CFLAGS-.op): Likewise.
21099 * NEWS: Mention --enable-static-pie.
21100 * config.h.in (ENABLE_STATIC_PIE): New.
21101 * configure.ac (--enable-static-pie): New configure option.
21102 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
21103 (have-static-pie): Likewise.
21104 Enable static PIE if linker supports --no-dynamic-linker.
21105 (ENABLE_STATIC_PIE): New AC_DEFINE.
21106 (enable-static-pie): New LIBC_CONFIG_VAR.
21107 * configure: Regenerated.
21108 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
21109 gr$(start-installed-name) for --enable-static-pie.
21110 (extra-objs): Likewise.
21111 (install-lib): Likewise.
21112 (extra-objs): Add static-reloc.o and static-reloc.os
21113 ($(objpfx)$(start-installed-name)): Also depend on
21114 $(objpfx)static-reloc.o.
21115 ($(objpfx)r$(start-installed-name)): New.
21116 ($(objpfx)g$(start-installed-name)): Also depend on
21117 $(objpfx)static-reloc.os.
21118 ($(objpfx)gr$(start-installed-name)): New.
21119 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
21121 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
21123 * csu/static-reloc.c: New file.
21124 * elf/Makefile (routines): Add dl-reloc-static-pie.
21125 (elide-routines.os): Likewise.
21126 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
21127 (tst-tls1-static-non-pie-no-pie): New.
21128 * elf/dl-reloc-static-pie.c: New file.
21129 * elf/dl-support.c (_dl_get_dl_main_map): New function.
21130 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
21131 STATIC_PIE_BOOTSTRAP.
21132 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21133 * gmon/Makefile (tests): Add tst-gmon-static-pie.
21134 (tests-static): Likewise.
21135 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
21136 (tst-gmon-static-no-pie): New.
21137 (CFLAGS-tst-gmon-static-pie.c): Likewise.
21138 (CRT-tst-gmon-static-pie): Likewise.
21139 (tst-gmon-static-pie-ENV): Likewise.
21140 (tests-special): Likewise.
21141 ($(objpfx)tst-gmon-static-pie.out): Likewise.
21142 (clean-tst-gmon-static-pie-data): Likewise.
21143 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
21144 * gmon/tst-gmon-static-pie.c: New file.
21145 * manual/install.texi: Document --enable-static-pie.
21146 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
21147 (_dl_get_dl_main_map): Likewise.
21148 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
21149 * sysdeps/x86_64/configure.ac: Likewise.
21150 * sysdeps/i386/configure: Regenerated.
21151 * sysdeps/x86_64/configure: Likewise.
21152 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
21153 (ASFLAGS-.op): Likewise.
21155 2017-12-15 Joseph Myers <joseph@codesourcery.com>
21157 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
21158 * posix/tst-mmap-offset.c (fname): Use /tmp.
21159 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
21161 2017-12-15 Steve Ellcey <sellcey@cavium.com>
21163 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
21165 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
21167 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
21170 2017-12-15 Joseph Myers <joseph@codesourcery.com>
21172 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
21173 --with-float=hard for arm-linux-gnueabihf configurations.
21176 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
21177 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
21178 ($(mo-installed)): Use $(objpfx)%.mo.
21179 (realclean): Remove rule.
21181 * po/Makefile (linguas): Remove rule and dependencies.
21182 (linguas.mo): Likewise.
21183 (.PHONY): Do not depend on linguas and linguas.mo.
21184 (podir): Remove variable.
21185 (pofiles): Likewise.
21186 [$(pofiles)] (%.po): Remove rule.
21188 * sysdeps/sparc/sparc32/Makefile
21189 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
21190 start-of-line whitespace in argument of echo.
21191 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
21192 with whitespace. Generate __wrap_.udiv alias.
21193 * sysdeps/sparc/sparc32/rem.S: Regenerated.
21194 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21195 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21196 * sysdeps/sparc/sparc32/urem.S: Likewise.
21198 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21200 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
21201 for aligned inputs.
21203 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
21205 * benchtests/bench-strcmp.c: Print output in JSON format.
21207 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
21209 2017-12-14 Florian Weimer <fweimer@redhat.com>
21213 * elf/dl-load.c (_dl_init_paths): Compute number of components in
21214 the expanded path string.
21216 2017-12-14 Florian Weimer <fweimer@redhat.com>
21220 * elf/dl-load.c (system_dirs): Update comment.
21221 (nsystem_dirs_len): Use array_length.
21222 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
21224 2017-12-14 Florian Weimer <fweimer@redhat.com>
21226 Simplify compiling most of support/ outside of glibc.
21227 * support/check_addrinfo.c: Include <string.h>.
21228 * support/check_dns_packet.c: Likewise.
21229 * support/check_hostent.c: Likewise.
21230 * support/support_can_chroot.c: Include <support/xunistd.h>.
21231 * support/support_format_addrinfo.c: Include <stdlib.h>
21232 * support/support_format_dns_packet.c: Include <stdbool.h>.
21233 * support/support_format_hostent.c: Include <stdlib.h>.
21234 * support/support_format_netent.c: Likewise.
21235 * support/support_write_string.c: Include <support/xunistd.h>.
21236 * support/xdlfcn.c: Include <stddef.h>.
21238 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
21240 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
21242 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21243 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21245 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21246 (sysdeps_routines): Add memset-niagara7.
21247 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
21249 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
21251 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
21252 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21253 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
21254 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
21255 Add niagara7 option.
21256 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
21259 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21260 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
21261 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21263 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21265 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21266 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21267 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21268 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21269 and __memmove_niagara7.
21270 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21271 Add niagara7 option.
21272 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21273 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21274 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21275 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21276 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21278 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21280 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21281 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21282 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21283 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21285 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21286 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21287 _dl_sparc_cap_flags array.
21288 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21290 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21292 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21293 time whenever possible.
21295 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21297 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21298 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21300 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21302 * soft-fp/fmadf4.c: Move to ....
21303 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21304 * soft-fp/fmasf4.c: Move to ....
21305 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21306 * soft-fp/fmatf4.c: Move to ....
21307 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21308 * sysdeps/ieee754/soft-fp/Makefile: New file.
21309 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21310 * sysdeps/arm/preconfigure: Regenerated.
21311 * sysdeps/arm/nofpu/Implies: New file.
21312 * sysdeps/arm/s_fma.c: Remove file.
21313 * sysdeps/arm/s_fmaf.c: Likewise.
21314 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21315 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21316 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21317 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21318 * sysdeps/microblaze/s_fma.c: Remove file.
21319 * sysdeps/microblaze/s_fmaf.c: Likewise.
21320 * sysdeps/mips/mips32/nofpu/Implies: New file.
21321 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21322 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21323 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21324 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21325 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21326 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21327 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21329 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21330 * sysdeps/nios2/s_fma.c: Remove file.
21331 * sysdeps/nios2/s_fmaf.c: Likewise.
21332 * sysdeps/sh/nofpu/Implies: New file.
21333 * sysdeps/sh/s_fma.c: Remove file.
21334 * sysdeps/sh/s_fmaf.c: Likewise.
21335 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21336 * sysdeps/tile/s_fma.c: Remove file.
21337 * sysdeps/tile/s_fmaf.c: Likewise.
21339 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21341 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21342 Add s_cosf-sse2 and s_cosf-fma.
21343 (CFLAGS-s_cosf-fma.c): New.
21344 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21345 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21346 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21348 2017-12-12 Steve Ellcey <sellcey@cavium.com>
21350 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21352 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21354 * libio/Makefile (tests): Add tst-bz22415.
21355 (tst-bz22415-ENV): New rule.
21356 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21357 (tests-special): Add tst-bz22415-mem.out.
21358 ($(objpfx)tst-bz22415-mem.out): New rule.
21359 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21360 in case of a successful seek operation.
21361 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21362 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21363 buffer is required.
21364 * libio/tst-bz22415.c: New test.
21366 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21368 2017-12-12 James Clarke <jrtc27@jrtc27.com>
21370 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21371 __IPC_64 to 0 to avoid IPC_64 being set.
21373 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21376 * math/bits/mathcalls.h (nextafter): Remove const.
21377 (nexttoward): Likewise.
21379 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21381 * configure.ac (--with-fp): Remove configure option.
21382 (with_fp_cond): New variable.
21383 (libc_cv_with_fp): New configure test. Use this variable instead
21385 * configure: Regenerated.
21386 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21387 * manual/install.texi (Configuring and compiling): Remove
21389 * INSTALL: Regenerated.
21390 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21391 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21392 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21393 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21394 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21395 use --without-fp to configure glibc.
21397 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
21399 * manual/locale.texi (nl_langinfo): Fix a typo.
21401 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
21404 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21406 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21408 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21409 (CFLAGS-argp-parse.c): Likewise.
21410 (CFLAGS-argp-fmtstream.c): Likewise.
21411 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21412 (CPPFLAGS-sha512-crypt.c): Likewise.
21413 (CPPFLAGS-md5-crypt.c): Likewise.
21414 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21415 (CFLAGS-stack_chk_fail_local.c): Likewise.
21416 (CFLAGS-backtrace.c): Likewise.
21417 (CFLAGS-sprintf_chk.c): Likewise.
21418 (CFLAGS-snprintf_chk.c): Likewise.
21419 (CFLAGS-vsprintf_chk.c): Likewise.
21420 (CFLAGS-vsnprintf_chk.c): Likewise.
21421 (CFLAGS-asprintf_chk.c): Likewise.
21422 (CFLAGS-vasprintf_chk.c): Likewise.
21423 (CFLAGS-obprintf_chk.c): Likewise.
21424 (CFLAGS-dprintf_chk.c): Likewise.
21425 (CFLAGS-vdprintf_chk.c): Likewise.
21426 (CFLAGS-printf_chk.c): Likewise.
21427 (CFLAGS-fprintf_chk.c): Likewise.
21428 (CFLAGS-vprintf_chk.c): Likewise.
21429 (CFLAGS-vfprintf_chk.c): Likewise.
21430 (CFLAGS-gets_chk.c): Likewise.
21431 (CFLAGS-fgets_chk.c): Likewise.
21432 (CFLAGS-fgets_u_chk.c): Likewise.
21433 (CFLAGS-fread_chk.c): Likewise.
21434 (CFLAGS-fread_u_chk.c): Likewise.
21435 (CFLAGS-swprintf_chk.c): Likewise.
21436 (CFLAGS-vswprintf_chk.c): Likewise.
21437 (CFLAGS-wprintf_chk.c): Likewise.
21438 (CFLAGS-fwprintf_chk.c): Likewise.
21439 (CFLAGS-vwprintf_chk.c): Likewise.
21440 (CFLAGS-vfwprintf_chk.c): Likewise.
21441 (CFLAGS-fgetws_chk.c): Likewise.
21442 (CFLAGS-fgetws_u_chk.c): Likewise.
21443 (CFLAGS-read_chk.c): Likewise.
21444 (CFLAGS-pread_chk.c): Likewise.
21445 (CFLAGS-pread64_chk.c): Likewise.
21446 (CFLAGS-recv_chk.c): Likewise.
21447 (CFLAGS-recvfrom_chk.c): Likewise.
21448 (CFLAGS-tst-longjmp_chk.c): Likewise.
21449 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21450 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21451 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21452 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21453 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21454 (CFLAGS-tst-chk1.c): Likewise.
21455 (CFLAGS-tst-chk2.c): Likewise.
21456 (CFLAGS-tst-chk3.c): Likewise.
21457 (CFLAGS-tst-chk4.cc): Likewise.
21458 (CFLAGS-tst-chk5.cc): Likewise.
21459 (CFLAGS-tst-chk6.cc): Likewise.
21460 (CFLAGS-tst-lfschk1.c): Likewise.
21461 (CFLAGS-tst-lfschk2.c): Likewise.
21462 (CFLAGS-tst-lfschk3.c): Likewise.
21463 (CFLAGS-tst-lfschk4.cc): Likewise.
21464 (CFLAGS-tst-lfschk5.cc): Likewise.
21465 (CFLAGS-tst-lfschk6.cc): Likewise.
21466 (CFLAGS-tst-ssp-1.c): Likewise.
21467 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21468 (CFLAGS-scandir64.c): Likewise.
21469 (CFLAGS-scandir-tail.c): Likewise.
21470 (CFLAGS-scandir64-tail.c): Likewise.
21471 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21472 (CFLAGS-dl-tunables.c): Likewise.
21473 (CFLAGS-dl-runtime.c): Likewise.
21474 (CFLAGS-dl-lookup.c): Likewise.
21475 (CFLAGS-dl-iterate-phdr.c): Likewise.
21476 (CFLAGS-vismain.c): Likewise.
21477 (CFLAGS-tst-linkall-static.c): Likewise.
21478 (CFLAGS-tst-linkall-static.c): Likewise.
21479 (CPPFLAGS-dl-load.c): Likewise.
21480 (CFLAGS-ldconfig.c): Likewise.
21481 (CFLAGS-dl-cache.c): Likewise.
21482 (CFLAGS-cache.c): Likewise.
21483 (CFLAGS-rtld.c): Likewise.
21484 (CFLAGS-multiload.c): Likewise.
21485 (CFLAGS-filtmod1.c): Likewise.
21486 (CFLAGS-tst-align.c): Likewise.
21487 (CFLAGS-tst-align2.c): Likewise.
21488 (CFLAGS-tst-alignmod.c): Likewise.
21489 (CFLAGS-tst-alignmod2.c): Likewise.
21490 (CPPFLAGS-tst-execstack.c): Likewise.
21491 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21492 (CFLAGS-tst-latepthreadmod.c): Likewise.
21493 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21494 (CFLAGS-getgrnam_r.c): Likewise.
21495 (CFLAGS-getgrent_r.c): Likewise.
21496 (CFLAGS-getgrent.c): Likewise.
21497 (CFLAGS-fgetgrent.c): Likewise.
21498 (CFLAGS-fgetgrent_r.c): Likewise.
21499 (CFLAGS-putgrent.c): Likewise.
21500 (CFLAGS-initgroups.c): Likewise.
21501 (CFLAGS-getgrgid.c): Likewise.
21502 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21503 (CFLAGS-getsgent.c): Likewise.
21504 (CFLAGS-fgetsgent.c): Likewise.
21505 (CFLAGS-fgetsgent_r.c): Likewise.
21506 (CFLAGS-putsgent.c): Likewise.
21507 (CFLAGS-getsgnam.c): Likewise.
21508 (CFLAGS-getsgnam_r.c): Likewise.
21509 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21510 (CFLAGS-iconv_charmap.c): Likewise.
21511 (CFLAGS-dummy-repertoire.c): Likewise.
21512 (CFLAGS-charmap.c): Likewise.
21513 (CFLAGS-linereader.c): Likewise.
21514 (CFLAGS-simple-hash.c): Likewise.
21515 (CFLAGS-gconv_conf.c): Likewise.
21516 (CFLAGS-iconvconfig.c): Likewise.
21517 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21518 (CFLAGS-gethstbyad.c): Likewise.
21519 (CFLAGS-gethstbynm_r.c): Likewise.
21520 (CFLAGS-gethstbynm.c): Likewise.
21521 (CFLAGS-gethstbynm2_r.c): Likewise.
21522 (CFLAGS-gethstbynm2.c): Likewise.
21523 (CFLAGS-gethstent_r.c): Likewise.
21524 (CFLAGS-gethstent.c): Likewise.
21525 (CFLAGS-rcmd.c): Likewise.
21526 (CFLAGS-getnetbynm_r.c): Likewise.
21527 (CFLAGS-getnetbynm.c): Likewise.
21528 (CFLAGS-getnetbyad_r.c): Likewise.
21529 (CFLAGS-getnetbyad.c): Likewise.
21530 (CFLAGS-getnetent_r.c): Likewise.
21531 (CFLAGS-getnetent.c): Likewise.
21532 (CFLAGS-getaliasent_r.c): Likewise.
21533 (CFLAGS-getaliasent.c): Likewise.
21534 (CFLAGS-getrpcent_r.c): Likewise.
21535 (CFLAGS-getrpcent.c): Likewise.
21536 (CFLAGS-getservent_r.c): Likewise.
21537 (CFLAGS-getservent.c): Likewise.
21538 (CFLAGS-getprtent_r.c): Likewise.
21539 (CFLAGS-getprtent.c): Likewise.
21540 (CFLAGS-either_ntoh.c): Likewise.
21541 (CFLAGS-either_hton.c): Likewise.
21542 (CFLAGS-getnetgrent.c): Likewise.
21543 (CFLAGS-getnetgrent_r.c): Likewise.
21544 (CFLAGS-tst-checks-posix.c): Likewise.
21545 (CFLAGS-tst-sockaddr.c): Likewise.
21546 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21547 (CFLAGS-tst-translit.c): Likewise.
21548 (CFLAGS-tst-gettext2.c): Likewise.
21549 (CFLAGS-tst-codeset.c): Likewise.
21550 (CFLAGS-tst-gettext3.c): Likewise.
21551 (CFLAGS-tst-gettext4.c): Likewise.
21552 (CFLAGS-tst-gettext5.c): Likewise.
21553 (CFLAGS-tst-gettext6.c): Likewise.
21554 * io/Makefile (CFLAGS-open.c): Likewise.
21555 (CFLAGS-open64.c): Likewise.
21556 (CFLAGS-creat.c): Likewise.
21557 (CFLAGS-creat64.c): Likewise.
21558 (CFLAGS-fcntl.c): Likewise.
21559 (CFLAGS-poll.c): Likewise.
21560 (CFLAGS-ppoll.c): Likewise.
21561 (CFLAGS-lockf.c): Likewise.
21562 (CFLAGS-statfs.c): Likewise.
21563 (CFLAGS-fstatfs.c): Likewise.
21564 (CFLAGS-statvfs.c): Likewise.
21565 (CFLAGS-fstatvfs.c): Likewise.
21566 (CFLAGS-fts.c): Likewise.
21567 (CFLAGS-fts64.c): Likewise.
21568 (CFLAGS-ftw.c): Likewise.
21569 (CFLAGS-ftw64.c): Likewise.
21570 (CFLAGS-lockf.c): Likewise.
21571 (CFLAGS-posix_fallocate.c): Likewise.
21572 (CFLAGS-posix_fallocate64.c): Likewise.
21573 (CFLAGS-fallocate.c): Likewise.
21574 (CFLAGS-fallocate64.c): Likewise.
21575 (CFLAGS-read.c): Likewise.
21576 (CFLAGS-write.c): Likewise.
21577 (CFLAGS-test-stat.c): Likewise.
21578 (CFLAGS-test-lfs.c): Likewise.
21579 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21580 (CFLAGS-fputc.c): Likewise.
21581 (CFLAGS-fputwc.c): Likewise.
21582 (CFLAGS-freopen64.c): Likewise.
21583 (CFLAGS-freopen.c): Likewise.
21584 (CFLAGS-fseek.c): Likewise.
21585 (CFLAGS-fseeko64.c): Likewise.
21586 (CFLAGS-fseeko.c): Likewise.
21587 (CFLAGS-ftello64.c): Likewise.
21588 (CFLAGS-ftello.c): Likewise.
21589 (CFLAGS-fwide.c): Likewise.
21590 (CFLAGS-genops.c): Likewise.
21591 (CFLAGS-getc.c): Likewise.
21592 (CFLAGS-getchar.c): Likewise.
21593 (CFLAGS-getwc.c): Likewise.
21594 (CFLAGS-getwchar.c): Likewise.
21595 (CFLAGS-iofclose.c): Likewise.
21596 (CFLAGS-iofflush.c): Likewise.
21597 (CFLAGS-iofgetpos64.c): Likewise.
21598 (CFLAGS-iofgetpos.c): Likewise.
21599 (CFLAGS-iofgets.c): Likewise.
21600 (CFLAGS-iofgetws.c): Likewise.
21601 (CFLAGS-iofputs.c): Likewise.
21602 (CFLAGS-iofputws.c): Likewise.
21603 (CFLAGS-iofread.c): Likewise.
21604 (CFLAGS-iofsetpos64.c): Likewise.
21605 (CFLAGS-iofsetpos.c): Likewise.
21606 (CFLAGS-ioftell.c): Likewise.
21607 (CFLAGS-iofwrite.c): Likewise.
21608 (CFLAGS-iogetdelim.c): Likewise.
21609 (CFLAGS-iogetline.c): Likewise.
21610 (CFLAGS-iogets.c): Likewise.
21611 (CFLAGS-iogetwline.c): Likewise.
21612 (CFLAGS-ioputs.c): Likewise.
21613 (CFLAGS-ioseekoff.c): Likewise.
21614 (CFLAGS-ioseekpos.c): Likewise.
21615 (CFLAGS-iosetbuffer.c): Likewise.
21616 (CFLAGS-iosetvbuf.c): Likewise.
21617 (CFLAGS-ioungetc.c): Likewise.
21618 (CFLAGS-ioungetwc.c): Likewise.
21619 (CFLAGS-oldfileops.c): Likewise.
21620 (CFLAGS-oldiofclose.c): Likewise.
21621 (CFLAGS-oldiofgetpos64.c): Likewise.
21622 (CFLAGS-oldiofgetpos.c): Likewise.
21623 (CFLAGS-oldiofsetpos64.c): Likewise.
21624 (CFLAGS-oldiofsetpos.c): Likewise.
21625 (CFLAGS-peekc.c): Likewise.
21626 (CFLAGS-putc.c): Likewise.
21627 (CFLAGS-putchar.c): Likewise.
21628 (CFLAGS-putwc.c): Likewise.
21629 (CFLAGS-putwchar.c): Likewise.
21630 (CFLAGS-rewind.c): Likewise.
21631 (CFLAGS-wfileops.c): Likewise.
21632 (CFLAGS-wgenops.c): Likewise.
21633 (CFLAGS-oldiofopen.c): Likewise.
21634 (CFLAGS-iofopen.c): Likewise.
21635 (CFLAGS-iofopen64.c): Likewise.
21636 (CFLAGS-oldtmpfile.c): Likewise.
21637 (CFLAGS-tst_putwc.c): Likewise.
21638 * locale/Makefile (CFLAGS-md5.c): Likewise.
21639 (CFLAGS-charmap.c): Likewise.
21640 (CFLAGS-locfile.c): Likewise.
21641 (CFLAGS-charmap-dir.c): Likewise.
21642 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21643 (CFLAGS-getpt.c): Likewise.
21644 (CFLAGS-pt_chown.c): Likewise.
21645 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21646 (CFLAGS-obstack.c): Likewise.
21647 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21648 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21649 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21650 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21651 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21652 (CFLAGS-test-tgmath.c): Likewise.
21653 (CFLAGS-test-tgmath2.c): Likewise.
21654 (CFLAGS-test-tgmath-ret.c): Likewise.
21655 (CFLAGS-test-powl.c): Likewise.
21656 (CFLAGS-test-snan.c): Likewise.
21657 (CFLAGS-test-signgam-finite.c): Likewise.
21658 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21659 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21660 (CFLAGS-test-signgam-uchar.c): Likewise.
21661 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21662 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21663 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21664 (CFLAGS-test-signgam-uint.c): Likewise.
21665 (CFLAGS-test-signgam-uint-init.c): Likewise.
21666 (CFLAGS-test-signgam-uint-static.c): Likewise.
21667 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21668 (CFLAGS-test-signgam-ullong.c): Likewise.
21669 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21670 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21671 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21672 (CFLAGS-test-math-cxx11.cc): Likewise.
21673 (CFLAGS-test-math-isinff.cc): Likewise.
21674 (CFLAGS-test-math-iszero.cc): Likewise.
21675 (CFLAGS-test-math-issignaling.cc): Likewise.
21676 (CFLAGS-test-math-iscanonical.cc): Likewise.
21677 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21678 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21679 (CFLAGS-test-flt-eval-method.c): Likewise.
21680 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21681 (CFLAGS-test-finite-macros.c): Likewise.
21682 * misc/Makefile (CFLAGS-select.c): Likewise.
21683 (CFLAGS-tsearch.c): Likewise.
21684 (CFLAGS-lsearch.c): Likewise.
21685 (CFLAGS-pselect.c): Likewise.
21686 (CFLAGS-readv.c): Likewise.
21687 (CFLAGS-writev.c): Likewise.
21688 (CFLAGS-preadv.c): Likewise.
21689 (CFLAGS-preadv64.c): Likewise.
21690 (CFLAGS-pwritev.c): Likewise.
21691 (CFLAGS-pwritev64.c): Likewise.
21692 (CFLAGS-preadv2.c): Likewise.
21693 (CFLAGS-preadv64v2.c): Likewise.
21694 (CFLAGS-pwritev2.c): Likewise.
21695 (CFLAGS-pwritev64v2.c): Likewise.
21696 (CFLAGS-usleep.c): Likewise.
21697 (CFLAGS-syslog.c): Likewise.
21698 (CFLAGS-error.c): Likewise.
21699 (CFLAGS-getpass.c): Likewise.
21700 (CFLAGS-mkstemp.c): Likewise.
21701 (CFLAGS-mkstemp64.c): Likewise.
21702 (CFLAGS-getsysstats.c): Likewise.
21703 (CFLAGS-getusershell.c): Likewise.
21704 (CFLAGS-err.c): Likewise.
21705 (CFLAGS-tst-tsearch.c): Likewise.
21706 (CFLAGS-msync.c): Likewise.
21707 (CFLAGS-fdatasync.c): Likewise.
21708 (CFLAGS-fsync.c): Likewise.
21709 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21710 (CFLAGS-unwind.c): Likewise.
21711 (CFLAGS-unwind-forcedunwind.c): Likewise.
21712 (CFLAGS-pthread_cancel.c): Likewise.
21713 (CFLAGS-pthread_setcancelstate.c): Likewise.
21714 (CFLAGS-pthread_setcanceltype.c): Likewise.
21715 (CFLAGS-cancellation.c): Likewise.
21716 (CFLAGS-libc-cancellation.c): Likewise.
21717 (CFLAGS-pthread_exit.c): Likewise.
21718 (CFLAGS-forward.c): Likewise.
21719 (CFLAGS-pthread_testcancel.c): Likewise.
21720 (CFLAGS-pthread_join.c): Likewise.
21721 (CFLAGS-pthread_timedjoin.c): Likewise.
21722 (CFLAGS-pthread_once.c): Likewise.
21723 (CFLAGS-pthread_cond_wait.c): Likewise.
21724 (CFLAGS-sem_wait.c): Likewise.
21725 (CFLAGS-sem_timedwait.c): Likewise.
21726 (CFLAGS-fcntl.c): Likewise.
21727 (CFLAGS-lockf.c): Likewise.
21728 (CFLAGS-pread.c): Likewise.
21729 (CFLAGS-pread64.c): Likewise.
21730 (CFLAGS-pwrite.c): Likewise.
21731 (CFLAGS-pwrite64.c): Likewise.
21732 (CFLAGS-wait.c): Likewise.
21733 (CFLAGS-waitpid.c): Likewise.
21734 (CFLAGS-sigwait.c): Likewise.
21735 (CFLAGS-msgrcv.c): Likewise.
21736 (CFLAGS-msgsnd.c): Likewise.
21737 (CFLAGS-tcdrain.c): Likewise.
21738 (CFLAGS-open.c): Likewise.
21739 (CFLAGS-open64.c): Likewise.
21740 (CFLAGS-pause.c): Likewise.
21741 (CFLAGS-recv.c): Likewise.
21742 (CFLAGS-send.c): Likewise.
21743 (CFLAGS-accept.c): Likewise.
21744 (CFLAGS-sendto.c): Likewise.
21745 (CFLAGS-connect.c): Likewise.
21746 (CFLAGS-recvfrom.c): Likewise.
21747 (CFLAGS-recvmsg.c): Likewise.
21748 (CFLAGS-sendmsg.c): Likewise.
21749 (CFLAGS-close.c): Likewise.
21750 (CFLAGS-read.c): Likewise.
21751 (CFLAGS-write.c): Likewise.
21752 (CFLAGS-nanosleep.c): Likewise.
21753 (CFLAGS-sigsuspend.c): Likewise.
21754 (CFLAGS-msync.c): Likewise.
21755 (CFLAGS-fdatasync.c): Likewise.
21756 (CFLAGS-fsync.c): Likewise.
21757 (CFLAGS-pt-system.c): Likewise.
21758 (CFLAGS-tst-cleanup2.c): Likewise.
21759 (CFLAGS-tst-cleanupx2.c): Likewise.
21760 (CFLAGS-flockfile.c): Likewise.
21761 (CFLAGS-ftrylockfile.c): Likewise.
21762 (CFLAGS-funlockfile.c): Likewise.
21763 (CFLAGS-tst-initializers1.c): Likewise.
21764 (CFLAGS-tst-initializers1-c89.c): Likewise.
21765 (CFLAGS-tst-initializers1-c99.c): Likewise.
21766 (CFLAGS-tst-initializers1-c11.c): Likewise.
21767 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21768 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21769 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21770 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21771 (CFLAGS-nscd_getgr_r.c): Likewise.
21772 (CFLAGS-nscd_gethst_r.c): Likewise.
21773 (CFLAGS-nscd_getai.c): Likewise.
21774 (CFLAGS-nscd_initgroups.c): Likewise.
21775 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21776 (CFLAGS-pause.c): Likewise.
21777 (CFLAGS-pread.c): Likewise.
21778 (CFLAGS-pread64.c): Likewise.
21779 (CFLAGS-pwrite.c): Likewise.
21780 (CFLAGS-pwrite64.c): Likewise.
21781 (CFLAGS-sleep.c): Likewise.
21782 (CFLAGS-wait.c): Likewise.
21783 (CFLAGS-waitid.c): Likewise.
21784 (CFLAGS-waitpid.c): Likewise.
21785 (CFLAGS-getopt.c): Likewise.
21786 (CFLAGS-wordexp.c): Likewise.
21787 (CFLAGS-sysconf.c): Likewise.
21788 (CFLAGS-pathconf.c): Likewise.
21789 (CFLAGS-fpathconf.c): Likewise.
21790 (CFLAGS-spawn.c): Likewise.
21791 (CFLAGS-spawnp.c): Likewise.
21792 (CFLAGS-spawni.c): Likewise.
21793 (CFLAGS-glob.c): Likewise.
21794 (CFLAGS-glob64.c): Likewise.
21795 (CFLAGS-getconf.c): Likewise.
21796 (CFLAGS-nanosleep.c): Likewise.
21797 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21798 (CFLAGS-getpwent.c): Likewise.
21799 (CFLAGS-getpw.c): Likewise.
21800 (CFLAGS-fgetpwent_r.c): Likewise.
21801 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21802 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21803 (CFLAGS-mq_timedreceive.c): Likewise.
21804 (CFLAGS-mq_timedsend.c): Likewise.
21805 (CFLAGS-clock_nanosleep.c): Likewise.
21806 (CFLAGS-librt-cancellation.c): Likewise.
21807 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21808 (CFLAGS-getspent.c): Likewise.
21809 (CFLAGS-fgetspent.c): Likewise.
21810 (CFLAGS-fgetspent_r.c): Likewise.
21811 (CFLAGS-putspent.c): Likewise.
21812 (CFLAGS-getspnam.c): Likewise.
21813 (CFLAGS-getspnam_r.c): Likewise.
21814 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21815 (CFLAGS-sigsuspend.c): Likewise.
21816 (CFLAGS-sigtimedwait.c): Likewise.
21817 (CFLAGS-sigwait.c): Likewise.
21818 (CFLAGS-sigwaitinfo.c): Likewise.
21819 (CFLAGS-sigreturn.c): Likewise.
21820 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21821 (CFLAGS-vfwprintf.c): Likewise.
21822 (CFLAGS-tmpfile.c): Likewise.
21823 (CFLAGS-tmpfile64.c): Likewise.
21824 (CFLAGS-tempname.c): Likewise.
21825 (CFLAGS-psignal.c): Likewise.
21826 (CFLAGS-vprintf.c): Likewise.
21827 (CFLAGS-cuserid.c): Likewise.
21828 (CFLAGS-errlist.c): Likewise.
21829 (CFLAGS-siglist.c): Likewise.
21830 (CFLAGS-scanf15.c): Likewise.
21831 (CFLAGS-scanf17.c): Likewise.
21832 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21833 (CFLAGS-msort.c): Likewise.
21834 (CFLAGS-qsort.c): Likewise.
21835 (CFLAGS-system.c): Likewise.
21836 (CFLAGS-fmtmsg.c): Likewise.
21837 (CFLAGS-strfmon.c): Likewise.
21838 (CFLAGS-strfmon_l.c): Likewise.
21839 (CFLAGS-strfromd.c): Likewise.
21840 (CFLAGS-strfromf.c): Likewise.
21841 (CFLAGS-strfroml.c): Likewise.
21842 (CFLAGS-tst-bsearch.c): Likewise.
21843 (CFLAGS-tst-qsort.c): Likewise.
21844 (CFLAGS-tst-makecontext2.c): Likewise.
21845 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21846 (CFLAGS-xnlm_prot.c): Likewise.
21847 (CFLAGS-xrstat.c): Likewise.
21848 (CFLAGS-xyppasswd.c): Likewise.
21849 (CFLAGS-xklm_prot.c): Likewise.
21850 (CFLAGS-xrex.c): Likewise.
21851 (CFLAGS-xsm_inter.c): Likewise.
21852 (CFLAGS-xmount.c): Likewise.
21853 (CFLAGS-xrusers.c): Likewise.
21854 (CFLAGS-xspray.c): Likewise.
21855 (CFLAGS-xnfs_prot.c): Likewise.
21856 (CFLAGS-xrquota.c): Likewise.
21857 (CFLAGS-xkey_prot.c): Likewise.
21858 (CFLAGS-auth_unix.c): Likewise.
21859 (CFLAGS-key_call.c): Likewise.
21860 (CFLAGS-pmap_rmt.c): Likewise.
21861 (CFLAGS-clnt_perr.c): Likewise.
21862 (CFLAGS-openchild.c): Likewise.
21863 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21864 (CFLAGS-msgsnd.c): Likewise.
21865 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21866 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21867 (CFLAGS-tzset.c): Likewise.
21868 (CFLAGS-getdate.c): Likewise.
21869 (CFLAGS-test_time.c): Likewise.
21870 (CPPFLAGS-tst-tzname.c): Likewise.
21871 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21872 (CFLAGS-zic.c): Likewise.
21873 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21874 (CFLAGS-wcswidth.c): Likewise.
21875 (CFLAGS-wcstol.c): Likewise.
21876 (CFLAGS-wcstoul.c): Likewise.
21877 (CFLAGS-wcstoll.c): Likewise.
21878 (CFLAGS-wcstoull.c): Likewise.
21879 (CFLAGS-wcstod.c): Likewise.
21880 (CFLAGS-wcstold.c): Likewise.
21881 (CFLAGS-wcstof128.c): Likewise.
21882 (CFLAGS-wcstof.c): Likewise.
21883 (CFLAGS-wcstol_l.c): Likewise.
21884 (CFLAGS-wcstoul_l.c): Likewise.
21885 (CFLAGS-wcstoll_l.c): Likewise.
21886 (CFLAGS-wcstoull_l.c): Likewise.
21887 (CFLAGS-wcstod_l.c): Likewise.
21888 (CFLAGS-wcstold_l.c): Likewise.
21889 (CFLAGS-wcstof128_l.c): Likewise.
21890 (CFLAGS-wcstof_l.c): Likewise.
21891 (CPPFLAGS-tst-wchar-h.c): Likewise.
21892 (CPPFLAGS-wcstold_l.c): Likewise.
21894 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
21896 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21898 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21899 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21901 * manual/tunables.texi (Hardware Capability Tunables): Document
21902 glibc.tune.cached_memopt.
21903 * sysdeps/powerpc/cpu-features.c: New file.
21904 * sysdeps/powerpc/cpu-features.h: New file.
21905 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21906 _dl_powerpc_cpu_features.
21907 * sysdeps/powerpc/dl-tunables.list: New file.
21908 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21909 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21910 (INIT_ARCH): Initialize use_aligned_memopt.
21911 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21912 IS_IN(rtld))]: Restrict dl_platform_init availability and
21913 initialize CPU features used by tunables.
21914 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21915 Add memcpy-power8-cached.
21916 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21917 __memcpy_power8_cached.
21918 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21919 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21922 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21924 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21925 (CFLAGS-noinl-tester.c): Likewise.
21926 (CFLAGS-tst-strlen.c): Likewise.
21927 (CFLAGS-stratcliff.c): Likewise.
21928 (CFLAGS-test-ffs.c): Likewise.
21929 (CFLAGS-tst-inlcall.c): Likewise.
21930 (CFLAGS-tst-xbzero-opt.c): Likewise.
21931 (CFLAGS-memcpy.c): Likewise.
21932 (CFLAGS-wordcopy.c): Likewise.
21934 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21936 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21937 Store r15 on stack and add cfi rule.
21938 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21941 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
21944 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21947 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21949 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21950 Add s_sinf-sse2 and s_sinf-fma.
21951 (CFLAGS-s_sinf-fma.c): New.
21952 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21953 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21954 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21956 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21958 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21960 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21963 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21964 part of result to imaginary part of argument if it is zero and the
21965 real part of the argument is not finite.
21966 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21967 of result to real part of argument if it is zero and the imaginary
21968 part of the argument is not finite.
21970 2017-12-07 Mike FABIAN <mfabian@redhat.com>
21973 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21974 and to the list of locales to be built for testing.
21975 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21976 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21977 and build the collation rules upon that.
21979 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21981 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21982 * manual/math.texi (Mathematics): Document support for _Float32.
21983 * math/Makefile (test-types): Add float32.
21984 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21985 * stdlib/Versions (GLIBC_2.27): Likewise.
21986 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21987 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21988 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21989 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21990 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21991 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21992 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21993 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21994 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21995 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21996 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21997 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21998 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21999 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22000 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22001 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22002 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22003 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22004 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22005 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22006 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22007 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22009 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22010 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22011 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22012 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22013 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22031 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22032 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22033 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22034 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22035 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22036 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22037 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22038 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22039 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22040 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22049 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22050 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22051 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22052 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22053 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22054 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22055 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22056 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22058 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22060 * stdlib/strtof.c: Include <bits/floatn.h>
22061 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
22062 and later undefine as macro. Define as weak alias if
22064 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
22065 and later undefine as macro. Define as weak alias if
22067 * stdlib/strtof_l.c: Include <bits/floatn.h>
22068 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
22069 and later undefine as macro. Define as weak alias if
22071 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
22072 and later undefine as macro. Define as weak alias if
22075 * stdlib/strfromf.c: Include <bits/floatn.h>.
22076 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
22077 and later undefine as macro and define as weak alias.
22079 * math/test-float32.h: New file.
22081 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
22082 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
22083 (libm_alias_float_other_r): Create f32 alias.
22084 (libm_alias_float_r): Use semicolon before call to
22085 libm_alias_float_other_r.
22087 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
22088 second argument to libm_alias_float_other.
22089 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
22090 second argument to libm_alias_float_other.
22091 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
22092 argument to libm_alias_float_other.
22095 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
22096 real part of result for argument 0 + i * NaN.
22097 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
22098 results for tests of 0 + i * NaN.
22100 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22102 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22104 2017-12-06 David S. Miller <davem@davemloft.net>
22106 * sysdeps/sparc/fpu/libm-test-ulps: Update
22107 exp_{downward,towardzero,upward} ulps.
22109 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22111 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
22114 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
22116 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
22118 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
22120 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
22123 2017-12-06 Mike FABIAN <mfabian@redhat.com>
22126 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
22127 and to the list of locales to be built for testing.
22128 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
22129 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
22130 and build the collation rules upon that.
22132 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22134 * NEWS: Add sinf to list of optimized functions.
22136 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22138 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
22139 (__HAVE_FLOAT32X): Likewise.
22140 * manual/math.texi (Mathematics): Document support for _Float64
22142 * math/Makefile (test-types): Add float64 and float32x.
22143 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
22145 * stdlib/Versions (GLIBC_2.27): Likewise.
22146 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22147 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22148 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22149 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22150 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22151 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22152 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22153 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22154 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22155 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22156 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22157 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22158 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22159 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22160 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22161 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22162 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22163 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22164 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22165 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22166 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22167 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22169 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22170 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22171 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22172 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22173 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22190 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22191 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22192 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22193 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22194 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22195 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22196 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22197 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22198 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22199 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22208 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22209 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22210 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22211 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22212 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22213 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22214 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22215 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22217 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22219 * bits/floatn-common.h: Include <bits/long-double.h>.
22220 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22221 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
22222 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22223 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
22224 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22225 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
22226 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22227 (__builtin_huge_valf64): Use __builtin_huge_vall.
22228 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22229 (__builtin_inff64): Use __builtin_infl.
22230 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22231 (__builtin_nanf64): Use __builtin_nanl.
22232 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22233 (__builtin_nansf64): Use __builtin_nansl.
22235 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
22236 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22237 Carlos O'Donnell <carlos@redhat.com>
22239 * elf/dl-tunables.list: Add elision parameters.
22240 * manual/tunables.texi: Add entries about elision tunable.
22241 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
22242 Add callback functions to dynamically enable/disable elision.
22243 Add multiple callbacks functions to set elision parameters.
22244 Deleted __libc_enable_secure check.
22245 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
22246 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
22247 * configure: Regenerated.
22248 * configure.ac: Option enable_lock_elision was deleted.
22249 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
22250 * config.make.in: Remove references to enable_lock_elision.
22251 * manual/install.texi: Elision configure option was removed.
22252 * INSTALL: Regenerated to remove enable_lock_elision.
22254 Disable elision so it can verify error case for destroying a mutex.
22255 * sysdeps/powerpc/nptl/elide.h:
22256 Cleanup ENABLE_LOCK_ELISION check.
22257 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
22258 * sysdeps/s390/configure: Regenerated.
22259 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
22260 * nptl/tst-mutex8.c:
22261 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
22262 * sysdeps/powerpc/powerpc32/sysdep.h:
22263 Deleted all ENABLE_LOCK_ELISION checks.
22264 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22265 * sysdeps/powerpc/sysdep.h: Likewise.
22266 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22267 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22268 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22269 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22270 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22271 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22272 enable-lock-elision.
22274 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22276 * stdlib/strtod.c: Include <bits/floatn.h>.
22277 (BUILD_DOUBLE): New macro.
22278 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22279 (strtof64): Define and later undefine as macro. Define as weak
22280 alias if [!USE_WIDE_CHAR].
22281 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22282 (wcstof64): Define and later undefine as macro. Define as weak
22283 alias if [USE_WIDE_CHAR].
22284 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22285 (strtof32x): Define and later undefine as macro. Define as weak
22286 alias if [!USE_WIDE_CHAR].
22287 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22288 (wcstof32x): Define and later undefine as macro. Define as weak
22289 alias if [USE_WIDE_CHAR].
22290 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22291 (BUILD_DOUBLE): New macro.
22292 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22293 (strtof64_l): Define and later undefine as macro. Define as weak
22294 alias if [!USE_WIDE_CHAR].
22295 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22296 (wcstof64_l): Define and later undefine as macro. Define as weak
22297 alias if [USE_WIDE_CHAR].
22298 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22299 (strtof32x_l): Define and later undefine as macro. Define as weak
22300 alias if [!USE_WIDE_CHAR].
22301 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22302 (wcstof32x_l): Define and later undefine as macro. Define as weak
22303 alias if [USE_WIDE_CHAR].
22305 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22307 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22308 (reduced): Use ones as double instead of integer.
22310 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22312 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22314 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22316 * stdlib/strfromd.c: Include <bits/floatn.h>.
22317 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22318 and later undefine as macro and define as weak alias.
22319 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22322 * math/test-float32x.h: New file.
22323 * math/test-float64.h: Likewise.
22325 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22326 (libm_alias_double_other_r_f64): New macro.
22327 (libm_alias_double_other_r_f32x): Likewise.
22328 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22329 libm_alias_double_other_r_f32x.
22330 (libm_alias_double_r): Use semicolon before call to
22331 libm_alias_double_other_r.
22332 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22334 (libm_alias_double_other_r_f64): New macro.
22335 (libm_alias_double_other_r_f32x): Likewise.
22336 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22337 libm_alias_double_other_r_f32x.
22339 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22341 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22343 (SINF_FUNC): Likewise. Replace floor with simple casts.
22345 2017-12-05 Mike FABIAN <mfabian@redhat.com>
22348 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22349 and to the list of locales to be built for testing.
22350 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22351 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22352 and build the collation rules upon that.
22354 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22356 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22357 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22358 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22359 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22360 instead of __insn__xxx.
22361 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22362 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22363 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22364 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22365 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22366 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22368 2017-12-05 Florian Weimer <fweimer@redhat.com>
22370 Linux: Implement interfaces for memory protection keys
22371 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22373 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22374 * support/xunistd.h (xsysconf): Declare.
22375 * support/xraise.c: New file.
22376 * support/xsigaction.c: Likewise.
22377 * support/xsignal.c: Likewise.
22378 * support/xsysconf.c: Likewise.
22379 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22380 pkey_set, pkey_get, pkey_mprotect.
22381 [misc] (tests): Add tst-pkey.
22382 (tst-pkey): Link with -lpthread.
22383 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22384 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22385 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22386 (PKEY_DISABLE_WRITE): Define.
22387 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22389 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22390 (SEGV_PKUERR): Add.
22391 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22392 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22393 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22394 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22396 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22397 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22398 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22399 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22400 * sysdeps/unix/sysv/linux/**.abilist: Update.
22402 2017-12-05 Florian Weimer <fweimer@redhat.com>
22404 * support/tst-test_compare.c (subprocess): Use long long instead
22405 of long argument for consistent type width across 32-bit and
22406 64-bit architectures.
22407 (do_test): Adjust expected output.
22409 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22411 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22412 (cosf): Define using libm_alias_float.
22413 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22414 (fabsf): Define using libm_alias_float.
22415 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22416 (fmaf): Define using libm_alias_float.
22417 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22418 (rintf): Define using libm_alias_float.
22419 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22420 (sinf): Define using libm_alias_float.
22421 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22422 <libm-alias-float.h>.
22423 (modff): Define using libm_alias_float.
22424 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22425 <libm-alias-float.h>.
22426 (logbf): Define using libm_alias_float.
22427 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22428 <libm-alias-float.h>.
22429 (ceilf): Define using libm_alias_float.
22430 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22431 <libm-alias-float.h>.
22432 (copysignf): Define using libm_alias_float.
22433 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22434 <libm-alias-float.h>.
22435 (floorf): Define using libm_alias_float.
22436 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22437 <libm-alias-float.h>.
22438 (llrintf): Define using libm_alias_float.
22439 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22440 <libm-alias-float.h>.
22441 (llroundf): Define using libm_alias_float.
22442 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22443 <libm-alias-float.h>.
22444 (lrintf): Define using libm_alias_float.
22445 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22446 <libm-alias-float.h>.
22447 (lroundf): Define using libm_alias_float.
22448 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22449 <libm-alias-float.h>.
22450 (nearbyintf): Define using libm_alias_float.
22451 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22452 <libm-alias-float.h>.
22453 (rintf): Define using libm_alias_float.
22454 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22455 <libm-alias-float.h>.
22456 (roundf): Define using libm_alias_float.
22457 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22458 <libm-alias-float.h>.
22459 (truncf): Define using libm_alias_float.
22460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22461 Include <libm-alias-float.h>.
22462 (ceilf): Define using libm_alias_float.
22463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22464 Include <libm-alias-float.h>.
22465 (copysignf): Define using libm_alias_float.
22466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22467 Include <libm-alias-float.h>.
22468 (floorf): Define using libm_alias_float.
22469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22470 Include <libm-alias-float.h>.
22471 (llrintf): Define using libm_alias_float.
22472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22473 Include <libm-alias-float.h>.
22474 (llroundf): Define using libm_alias_float.
22475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22476 Include <libm-alias-float.h>.
22477 (logbf): Define using libm_alias_float.
22478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22479 Include <libm-alias-float.h>.
22480 (lrintf): Define using libm_alias_float.
22481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22482 Include <libm-alias-float.h>.
22483 (lroundf): Define using libm_alias_float.
22484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22485 Include <libm-alias-float.h>.
22486 (modff): Define using libm_alias_float.
22487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22488 Include <libm-alias-float.h>.
22489 (roundf): Define using libm_alias_float.
22490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22491 Include <libm-alias-float.h>.
22492 (truncf): Define using libm_alias_float.
22493 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22494 <libm-alias-float.h>.
22495 (llrintf): Define using libm_alias_float.
22496 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22497 <libm-alias-float.h>.
22498 (llroundf): Define using libm_alias_float.
22499 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22500 <libm-alias-float.h>.
22501 (ceilf): Define using libm_alias_float.
22502 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22503 <libm-alias-float.h>.
22504 (floorf): Define using libm_alias_float.
22505 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22506 <libm-alias-float.h>.
22507 (llroundf): Define using libm_alias_float.
22508 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22509 <libm-alias-float.h>.
22510 (lroundf): Define using libm_alias_float.
22511 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22512 <libm-alias-float.h>.
22513 (roundf): Define using libm_alias_float.
22514 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22515 <libm-alias-float.h>.
22516 (truncf): Define using libm_alias_float.
22517 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22518 <libm-alias-float.h>.
22519 (copysignf): Define using libm_alias_float.
22520 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22521 <libm-alias-float.h>.
22522 (llrintf): Define using libm_alias_float.
22523 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22524 <libm-alias-float.h>.
22525 (llroundf): Define using libm_alias_float.
22526 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22527 <libm-alias-float.h>.
22528 (lrintf): Define using libm_alias_float.
22529 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22530 <libm-alias-float.h>.
22531 (lroundf): Define using libm_alias_float.
22532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22533 <libm-alias-float.h>.
22534 (ceilf): Define using libm_alias_float.
22535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22536 <libm-alias-float.h>.
22537 (copysignf): Define using libm_alias_float.
22538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22539 <libm-alias-float.h>.
22540 (cosf): Define using libm_alias_float.
22541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22542 <libm-alias-float.h>.
22543 (floorf): Define using libm_alias_float.
22544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22545 <libm-alias-float.h>.
22546 (llrintf): Define using libm_alias_float.
22547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22548 <libm-alias-float.h>.
22549 (llroundf): Define using libm_alias_float.
22550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22551 <libm-alias-float.h>.
22552 (logbf): Define using libm_alias_float.
22553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22554 <libm-alias-float.h>.
22555 (modff): Define using libm_alias_float.
22556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22557 <libm-alias-float.h>.
22558 (roundf): Define using libm_alias_float.
22559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22560 <libm-alias-float.h>.
22561 (sinf): Define using libm_alias_float.
22562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22563 <libm-alias-float.h>.
22564 (truncf): Define using libm_alias_float.
22565 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22566 <libm-alias-float.h>.
22567 (ceilf): Define using libm_alias_float.
22568 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22569 <libm-alias-float.h>.
22570 (copysignf): Define using libm_alias_float.
22571 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22572 <libm-alias-float.h>.
22573 (floorf): Define using libm_alias_float.
22574 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22575 <libm-alias-float.h>.
22576 (llrintf): Define using libm_alias_float.
22577 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22578 <libm-alias-float.h>.
22579 (llroundf): Define using libm_alias_float.
22580 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22581 <libm-alias-float.h>.
22582 (nearbyintf): Define using libm_alias_float.
22583 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22584 <libm-alias-float.h>.
22585 (rintf): Define using libm_alias_float.
22586 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22587 <libm-alias-float.h>.
22588 (roundf): Define using libm_alias_float.
22589 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22590 <libm-alias-float.h>.
22591 (truncf): Define using libm_alias_float.
22592 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22593 <libm-alias-float.h>.
22594 (ceilf): Define using libm_alias_float.
22595 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22596 <libm-alias-float.h>.
22597 (floorf): Define using libm_alias_float.
22598 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22599 <libm-alias-float.h>.
22600 (llroundf): Define using libm_alias_float.
22601 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22602 <libm-alias-float.h>.
22603 (roundf): Define using libm_alias_float.
22604 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22605 <libm-alias-float.h>.
22606 (truncf): Define using libm_alias_float.
22607 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22608 <libm-alias-float.h>.
22609 (copysignf): Define using libm_alias_float.
22610 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22611 <libm-alias-float.h>.
22612 (llrintf): Define using libm_alias_float.
22613 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22614 <libm-alias-float.h>.
22615 (llroundf): Define using libm_alias_float.
22616 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22617 <libm-alias-float.h>.
22618 (cosf): Define using libm_alias_float.
22619 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22620 <libm-alias-float.h>.
22621 (llrintf): Define using libm_alias_float.
22622 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22623 <libm-alias-float.h>.
22624 (llroundf): Define using libm_alias_float.
22625 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22626 <libm-alias-float.h>.
22627 (sinf): Define using libm_alias_float.
22629 2017-12-04 Florian Weimer <fweimer@redhat.com>
22631 * support/check.h (TEST_COMPARE): Define.
22632 (support_test_compare_failure): Declare.
22633 * support/Makefile (libsupport-routines): Add
22634 support_test_compare_failure.
22635 (tests): Add tst-test_compare.
22636 * support /support_test_compare_failure.c: New file.
22637 * support/tst-test_compare.c: Likewise.
22639 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22642 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22643 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22644 available, this rewrite of the collation rules does reproduce
22645 the test file in the same order.
22647 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22650 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22651 digraphs in the month and day names. Using single code points for
22652 digraphs is deprecated. While there are dedicated Unicode
22653 codepoints, for the digraphs, these are included for backwards
22654 compatibility and modern texts use a sequence of Basic Latin
22655 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22656 This makes the month and day names agree exactly with CLDR now,
22657 CLDR does not use the single code points for the digraphs either.
22659 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22661 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22663 2017-12-04 Joseph Myers <joseph@codesourcery.com>
22665 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22668 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22670 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22671 Define only for libc.so.
22673 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22675 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22676 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
22677 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
22678 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22679 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22681 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22684 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22686 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
22689 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22690 PREINIT_FUNCTION_WEAK is nonzero.
22691 (gmon_initializer): New function. Put procedure label for it in
22692 .init_array section.
22693 (_init): Don't call PREINIT_FUNCTION.
22694 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22695 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22696 value when map argument is null.
22698 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22699 depi instruction from PIC pc-relative sequence.
22700 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22701 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22702 (elf_machine_load_address): Likewise.
22703 (elf_machine_runtime_setup): Likewise.
22705 2017-12-02 Joseph Myers <joseph@codesourcery.com>
22707 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22708 <libm-alias-double.h>.
22709 (logb): Define using libm_alias_double.
22710 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22711 <libm-alias-double.h>.
22712 (copysign): Define using libm_alias_double.
22713 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22714 <libm-alias-double.h>.
22715 (llrint): Define using libm_alias_double.
22716 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22717 <libm-alias-double.h>.
22718 (llround): Define using libm_alias_double.
22719 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22720 <libm-alias-double.h>.
22721 (lrint): Define using libm_alias_double.
22722 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22723 <libm-alias-double.h>.
22724 (lround): Define using libm_alias_double.
22725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22726 Include <libm-alias-double.h>.
22727 (copysign): Define using libm_alias_double.
22728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22729 Include <libm-alias-double.h>.
22730 (llrint): Define using libm_alias_double.
22731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22732 Include <libm-alias-double.h>.
22733 (llround): Define using libm_alias_double.
22734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22735 <libm-alias-double.h>.
22736 (logb): Define using libm_alias_double.
22737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22738 Include <libm-alias-double.h>.
22739 (lrint): Define using libm_alias_double.
22740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22741 Include <libm-alias-double.h>.
22742 (lround): Define using libm_alias_double.
22743 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22744 <libm-alias-double.h>.
22745 (llrint): Define using libm_alias_double.
22746 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22747 <libm-alias-double.h>.
22748 (llround): Define using libm_alias_double.
22749 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22750 <libm-alias-double.h>.
22751 (llround): Define using libm_alias_double.
22752 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22753 <libm-alias-double.h>.
22754 (lround): Define using libm_alias_double.
22755 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22756 <libm-alias-double.h>.
22757 (copysign): Define using libm_alias_double.
22758 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22759 <libm-alias-double.h>.
22760 (llrint): Define using libm_alias_double.
22761 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22762 <libm-alias-double.h>.
22763 (llround): Define using libm_alias_double.
22764 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22765 <libm-alias-double.h>.
22766 (lrint): Define using libm_alias_double.
22767 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22768 <libm-alias-double.h>.
22769 (lround): Define using libm_alias_double.
22770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22771 <libm-alias-double.h>.
22772 (copysign): Define using libm_alias_double.
22773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22774 <libm-alias-double.h>.
22775 (llrint): Define using libm_alias_double.
22777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22778 <libm-alias-double.h>.
22779 (llround): Define using libm_alias_double.
22780 (lround): Likewise.
22781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22782 <libm-alias-double.h>.
22783 (logb): Define using libm_alias_double.
22784 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22785 <libm-alias-double.h>.
22786 (copysign): Define using libm_alias_double.
22787 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22788 <libm-alias-double.h>.
22789 (llrint): Define using libm_alias_double.
22791 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22792 <libm-alias-double.h>.
22793 (llround): Define using libm_alias_double.
22794 (lround): Likewise.
22795 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22796 <libm-alias-double.h>.
22797 (llround): Define using libm_alias_double.
22798 (lround): Likewise.
22799 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22800 <libm-alias-double.h>.
22801 (copysign): Define using libm_alias_double.
22802 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22803 <libm-alias-double.h>.
22804 (llrint): Define using libm_alias_double.
22806 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22807 <libm-alias-double.h>.
22808 (llround): Define using libm_alias_double.
22809 (lround): Likewise.
22810 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22811 <libm-alias-double.h>.
22812 (llrint): Define using libm_alias_double.
22814 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22815 <libm-alias-double.h>.
22816 (llround): Define using libm_alias_double.
22817 (lround): Likewise.
22819 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22822 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22823 compat symbol based on llround.
22825 * sysdeps/powerpc/power7/fpu/s_logb.c
22826 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22827 symbol based on __logb, not on logb.
22828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22829 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22831 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22833 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22834 (rint): Define using libm_alias_double.
22835 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22836 <libm-alias-double.h>.
22837 (modf): Define using libm_alias_double.
22838 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22839 <libm-alias-double.h>.
22840 (ceil): Define using libm_alias_double.
22841 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22842 <libm-alias-double.h>.
22843 (floor): Define using libm_alias_double.
22844 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22845 <libm-alias-double.h>.
22846 (nearbyint): Define using libm_alias_double.
22847 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22848 <libm-alias-double.h>.
22849 (rint): Define using libm_alias_double.
22850 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22851 <libm-alias-double.h>.
22852 (round): Define using libm_alias_double.
22853 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22854 <libm-alias-double.h>.
22855 (trunc): Define using libm_alias_double.
22856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22857 <libm-alias-double.h>.
22858 (ceil): Define using libm_alias_double.
22859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22860 Include <libm-alias-double.h>.
22861 (floor): Define using libm_alias_double.
22862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22863 <libm-alias-double.h>.
22864 (modf): Define using libm_alias_double.
22865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22866 Include <libm-alias-double.h>.
22867 (round): Define using libm_alias_double.
22868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22869 Include <libm-alias-double.h>.
22870 (trunc): Define using libm_alias_double.
22871 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22872 <libm-alias-double.h>.
22873 (ceil): Define using libm_alias_double.
22874 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22875 <libm-alias-double.h>.
22876 (floor): Define using libm_alias_double.
22877 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22878 <libm-alias-double.h>.
22879 (round): Define using libm_alias_double.
22880 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22881 <libm-alias-double.h>.
22882 (trunc): Define using libm_alias_double.
22883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22884 <libm-alias-double.h>.
22885 (ceil): Define using libm_alias_double.
22886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22887 <libm-alias-double.h>.
22888 (floor): Define using libm_alias_double.
22889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22890 <libm-alias-double.h>.
22891 (modf): Define using libm_alias_double.
22892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22893 <libm-alias-double.h>.
22894 (round): Define using libm_alias_double.
22895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22896 <libm-alias-double.h>.
22897 (trunc): Define using libm_alias_double.
22898 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22899 <libm-alias-double.h>.
22900 (ceil): Define using libm_alias_double.
22901 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22902 <libm-alias-double.h>.
22903 (floor): Define using libm_alias_double.
22904 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22905 <libm-alias-double.h>.
22906 (nearbyint): Define using libm_alias_double.
22907 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22908 <libm-alias-double.h>.
22909 (rint): Define using libm_alias_double.
22910 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22911 <libm-alias-double.h>.
22912 (round): Define using libm_alias_double.
22913 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22914 <libm-alias-double.h>.
22915 (trunc): Define using libm_alias_double.
22916 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22917 <libm-alias-double.h>.
22918 (ceil): Define using libm_alias_double.
22919 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22920 <libm-alias-double.h>.
22921 (floor): Define using libm_alias_double.
22922 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22923 <libm-alias-double.h>.
22924 (round): Define using libm_alias_double.
22925 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22926 <libm-alias-double.h>.
22927 (trunc): Define using libm_alias_double.
22929 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22930 (fabs): Define using libm_alias_double.
22931 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22932 (fma): Define using libm_alias_double.
22933 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22934 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22935 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22936 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22938 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22940 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22942 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22943 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22944 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22947 due redirect macro.
22949 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22951 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22953 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22955 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22956 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22957 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22958 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22961 (libm-sysdep_routines): Add s_nearbyintf-generic and
22962 s_nearbyint-generic.
22963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22976 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22987 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22998 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
23001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
23002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
23004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
23005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
23006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23009 (sysdep_calls): New rule.
23010 (sysdep_routines): Use sysdep_calls as base.
23011 (libm-sysdep_routines): Add generic rule for symbols shared with
23012 libc. Add s_copysign-generic and s_copysign-generic objects.
23013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
23015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
23016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
23018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
23019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
23020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
23022 2017-12-01 Mike FABIAN <mfabian@redhat.com>
23025 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
23026 the list of locales to be built for testing.
23027 * localedata/is_IS.UTF-8.in: New file.
23028 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
23031 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23033 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
23034 <libm-alias-float.h>.
23035 (fabsf): Define using libm_alias_float.
23037 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23039 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
23041 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23043 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
23044 <libm-alias-float.h>.
23045 (fabsf): Define using libm_alias_float.
23046 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
23047 <libm-alias-float.h>.
23048 (lrintf): Define using libm_alias_float.
23049 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
23050 <libm-alias-float.h>.
23051 (rintf): Define using libm_alias_float.
23053 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
23054 <libm-alias-double.h>.
23055 (fabs): Define using libm_alias_double.
23056 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
23057 <libm-alias-double.h>.
23058 (lrint): Define using libm_alias_double.
23059 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
23060 <libm-alias-double.h>.
23061 (rint): Define using libm_alias_double.
23063 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
23064 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
23065 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
23066 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
23067 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
23068 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
23069 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
23070 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
23071 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
23072 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
23073 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
23074 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
23075 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
23076 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
23077 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
23078 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
23079 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
23080 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
23082 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
23083 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
23084 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
23086 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
23087 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
23088 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
23090 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
23091 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
23092 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
23093 s_expm1_template.c.
23094 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
23095 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
23096 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
23098 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
23099 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
23100 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
23101 s_floor_template.c.
23102 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
23103 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
23104 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
23105 s_frexp_template.c.
23106 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
23107 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
23108 s_lrint_template.c.
23109 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
23110 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
23111 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
23113 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
23114 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
23115 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
23116 s_nearbyint_template.c.
23117 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
23118 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
23119 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
23120 s_remquo_template.c.
23121 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
23122 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
23123 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
23125 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
23126 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
23127 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
23129 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
23130 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
23131 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
23132 s_sincos_template.c.
23133 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
23134 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
23135 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
23137 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
23138 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
23139 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
23141 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
23142 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
23143 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
23144 s_trunc_template.c.
23145 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
23146 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
23147 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
23148 s_atan.c instead of including s_atan.c.
23149 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
23150 s_atanf.c instead of including s_atanf.c.
23151 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
23152 s_atanl.c instead of including s_atanl.c.
23153 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
23154 instead of s_atan.c.
23155 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
23156 instead of s_atanf.c.
23157 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
23158 instead of s_atanl.c.
23160 * scripts/update-copyrights: Do not handle intl/plural.c
23163 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
23166 * configure.ac (BISON): Require to be present.
23167 * configure: Regenerated.
23168 * intl/Makefile (generated): Add plural.c.
23169 [$(BISON) != no]: Make code unconditional.
23170 (plural.c): Change rule to $(objpfx)plural.c.
23171 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
23172 * intl/plural.c: Remove.
23173 * manual/install.texi (Tools for Compilation): Document bison as
23175 * INSTALL: Regenerated.
23177 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23179 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
23180 <libm-alias-double.h>.
23181 (llrint): Define using libm_alias_double.
23182 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
23183 <libm-alias-float.h>.
23184 (llrintf): Define using libm_alias_float.
23185 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
23186 <libm-alias-ldouble.h>.
23187 (llrintl): Define using libm_alias_ldouble.
23189 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
23190 declare_mgen_alias instead of weak_alias.
23191 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
23192 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
23193 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
23195 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23197 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23199 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
23200 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
23201 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
23203 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23204 Add submul_1-generic.
23205 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
23206 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
23207 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
23209 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23210 Add addmul_1-generic.
23211 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
23212 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
23213 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
23215 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23217 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
23218 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
23219 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
23221 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23223 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
23224 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
23225 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
23227 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23229 According to CLDR, collation rules for Serbian and Bosnian
23230 should be the same as for Croatian.
23233 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
23234 and to the list of locales to be built for testing.
23235 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23236 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23237 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
23238 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
23240 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23242 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
23243 to make test case pass.
23244 * localedata/hr_HR.UTF-8.in: Add more test strings.
23246 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23248 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
23250 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23252 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
23253 the list of locales to built for testing.
23254 * localedata/hr_HR.UTF-8.in: New file.
23256 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23259 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
23261 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
23262 CLDR (except use ligatures for the digraphs, CLDR does not use
23263 the ligatures), add first_workday, some fixes in the date and time
23265 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23267 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23268 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23269 Add int_p_cs_precedes and int_n_cs_precedes.
23270 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23271 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23273 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23274 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23276 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23277 and lang_lib. Change postal_fmt.
23279 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23281 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23283 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23284 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23285 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23286 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23287 * sysdeps/generic/setjmpP.h: New file.
23288 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23289 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23290 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23291 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23292 Add jmp_buf-ssp.sym.
23293 (tests): Add tst-saved_mask-1.
23295 2017-11-30 Arjun Shankar <arjun@redhat.com>
23299 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23300 instead of request2size.
23302 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23305 (__lllrint): Remove alias.
23306 (lllrint): Likewise.
23307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23308 (__lllrintf): Likewise.
23309 (lllrintf): Likewise.
23311 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23312 <libm-alias-float.h>.
23313 (copysignf): Define using libm_alias_float.
23314 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23315 <libm-alias-float.h>.
23316 (fabsf): Define using libm_alias_float.
23317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23318 Include <libm-alias-float.h>.
23319 (copysignf): Define using libm_alias_float.
23320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23321 <libm-alias-float.h>.
23322 (fabsf): Define using libm_alias_float.
23323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23324 <libm-alias-float.h>.
23325 (fdimf): Define using libm_alias_float.
23326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23327 <libm-alias-float.h>.
23328 (fmaf): Define using libm_alias_float.
23329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23330 <libm-alias-float.h>.
23331 (llrintf): Define using libm_alias_float.
23332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23333 Include <libm-alias-float.h>.
23334 (nearbyintf): Define using libm_alias_float.
23335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23336 <libm-alias-float.h>.
23337 (rintf): Define using libm_alias_float.
23338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23339 <libm-alias-float.h>.
23340 (llrintf): Define using libm_alias_float.
23341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23342 <libm-alias-float.h>.
23343 (lrintf): Define using libm_alias_float.
23344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23345 <libm-alias-float.h>.
23346 (nearbyintf): Define using libm_alias_float.
23347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23348 <libm-alias-float.h>.
23349 (rintf): Define using libm_alias_float.
23350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23351 <libm-alias-float.h>.
23352 (ceilf): Define using libm_alias_float.
23353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23354 <libm-alias-float.h>.
23355 (floorf): Define using libm_alias_float.
23356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23357 <libm-alias-float.h>.
23358 (fmaf): Define using libm_alias_float.
23359 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23360 <libm-alias-float.h>.
23361 (lrintf): Define using libm_alias_float.
23362 (llrintf): Likewise.
23363 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23364 <libm-alias-float.h>.
23365 (nearbyintf): Define using libm_alias_float.
23366 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23367 <libm-alias-float.h>.
23368 (rintf): Define using libm_alias_float.
23369 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23370 <libm-alias-float.h>.
23371 (truncf): Define using libm_alias_float.
23372 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23373 <libm-alias-float.h>.
23374 (copysignf): Define using libm_alias_float.
23375 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23376 <libm-alias-float.h>.
23377 (fabsf): Define using libm_alias_float.
23378 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23379 <libm-alias-float.h>.
23380 (lrintf): Define using libm_alias_float.
23381 (llrintf): Likewise.
23382 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23383 <libm-alias-float.h>.
23384 (nearbyintf): Define using libm_alias_float.
23385 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23386 <libm-alias-float.h>.
23387 (rintf): Define using libm_alias_float.
23389 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23391 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23392 <libm-alias-double.h>.
23393 (copysign): Define using libm_alias_double.
23394 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23395 <libm-alias-double.h>.
23396 (fabs): Define using libm_alias_double.
23397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23398 Include <libm-alias-double.h>.
23399 (copysign): Define using libm_alias_double.
23400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23401 <libm-alias-double.h>.
23402 (fabs): Define using libm_alias_double.
23403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23404 <libm-alias-double.h>.
23405 (fdim): Define using libm_alias_double.
23406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23407 <libm-alias-double.h>.
23408 (fma): Define using libm_alias_double.
23409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23410 <libm-alias-double.h>.
23411 (llrint): Define using libm_alias_double.
23412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23413 Include <libm-alias-double.h>.
23414 (nearbyint): Define using libm_alias_double.
23415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23416 <libm-alias-double.h>.
23417 (rint): Define using libm_alias_double.
23418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23419 <libm-alias-double.h>.
23420 (fabs): Define using libm_alias_double.
23421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23422 <libm-alias-double.h>.
23423 (llrint): Define using libm_alias_double.
23424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23425 <libm-alias-double.h>.
23426 (nearbyint): Define using libm_alias_double.
23427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23428 <libm-alias-double.h>.
23429 (rint): Define using libm_alias_double.
23430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23431 <libm-alias-double.h>.
23432 (ceil): Define using libm_alias_double.
23433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23434 <libm-alias-double.h>.
23435 (floor): Define using libm_alias_double.
23436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23437 <libm-alias-double.h>.
23438 (fma): Define using libm_alias_double.
23439 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23440 <libm-alias-double.h>.
23441 (lrint): Define using libm_alias_double.
23442 (llrint): Likewise.
23443 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23444 <libm-alias-double.h>.
23445 (nearbyint): Define using libm_alias_double.
23446 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23447 <libm-alias-double.h>.
23448 (rint): Define using libm_alias_double.
23449 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23450 <libm-alias-double.h>.
23451 (trunc): Define using libm_alias_double.
23452 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23453 <libm-alias-double.h>.
23454 (copysign): Define using libm_alias_double.
23455 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23456 <libm-alias-double.h>.
23457 (fabs): Define using libm_alias_double.
23458 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23459 <libm-alias-double.h>.
23460 (lrint): Define using libm_alias_double.
23461 (llrint): Likewise.
23462 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23463 <libm-alias-double.h>.
23464 (nearbyint): Define using libm_alias_double.
23465 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23466 <libm-alias-double.h>.
23467 (rint): Define using libm_alias_double.
23470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23472 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23474 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23475 SPARC --disable-multi-arch glibc variants.
23477 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23478 <libm-alias-float.h>.
23479 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23481 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23482 <libm-alias-float.h>.
23483 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23485 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23486 <libm-alias-float.h>.
23487 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23489 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23490 <libm-alias-float.h>.
23491 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23493 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23494 <libm-alias-float.h>.
23495 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23497 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23498 <libm-alias-float.h>.
23499 (ceilf): Define using libm_alias_float.
23500 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23501 <libm-alias-float.h>.
23502 (floorf): Define using libm_alias_float.
23503 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23504 <libm-alias-float.h>.
23505 (fmaf): Define using libm_alias_float.
23506 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23507 <libm-alias-float.h>.
23508 (nearbyintf): Define using libm_alias_float.
23509 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23510 <libm-alias-float.h>.
23511 (rintf): Define using libm_alias_float.
23512 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23513 <libm-alias-float.h>.
23514 (truncf): Define using libm_alias_float.
23515 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23516 (copysignf): Define using libm_alias_float.
23517 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23518 (cosf): Define using libm_alias_float.
23519 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23520 (fabsf): Define using libm_alias_float.
23521 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23522 (fmaxf): Define using libm_alias_float.
23523 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23524 (fminf): Define using libm_alias_float.
23525 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23526 (llrintf): Define using libm_alias_float.
23527 [!__ILP32__] (lrintf): Likewise.
23528 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23529 (sincosf): Define using libm_alias_float.
23530 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23531 (sinf): Define using libm_alias_float.
23532 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23533 (lrintf): Define using libm_alias_float.
23535 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23536 <libm-alias-double.h>.
23537 (atan): Define using libm_alias_double.
23538 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23539 <libm-alias-double.h>.
23540 (ceil): Define using libm_alias_double.
23541 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23542 <libm-alias-double.h>.
23543 (floor): Define using libm_alias_double.
23544 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23545 <libm-alias-double.h>.
23546 (fma): Define using libm_alias_double.
23547 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23548 <libm-alias-double.h>.
23549 (nearbyint): Define using libm_alias_double.
23550 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23551 <libm-alias-double.h>.
23552 (rint): Define using libm_alias_double.
23553 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23554 <libm-alias-double.h>.
23555 (sin): Define using libm_alias_double.
23557 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23558 <libm-alias-double.h>.
23559 (tan): Define using libm_alias_double.
23560 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23561 <libm-alias-double.h>.
23562 (trunc): Define using libm_alias_double.
23563 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23564 (copysign): Define using libm_alias_double.
23565 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23566 (fabs): Define using libm_alias_double.
23567 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23568 (fmax): Define using libm_alias_double.
23569 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23570 (fmin): Define using libm_alias_double.
23571 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23572 (llrint): Define using libm_alias_double.
23573 [!__ILP32__] (lrint): Likewise.
23574 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23575 (lrint): Define using libm_alias_double.
23577 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23579 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23580 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23582 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23583 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23584 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23586 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23587 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23590 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23592 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23593 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23594 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23595 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23599 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23600 (libm-sysdep_routines): Add s_nearbyint-generic and
23601 s_nearbyintf-generic objects.
23602 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23603 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23604 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23605 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23606 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23607 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23609 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23610 Add s_finitef-generic and s_finite-generic objects.
23611 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23612 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23613 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23614 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23615 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23616 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23618 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23619 Add s_isinff-generic and s_isinf-generic objects.
23620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23627 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23628 Add s_isnanf-generic and s_isnan-generic objects.
23629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23636 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23638 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23640 (sysdep_routines): Use sysdep_calls as base.
23641 (libm-sysdep_routines): Add generic rule for symbols shared with
23642 libc. Add s_signbit-generic and s_signbitf-generic objects.
23643 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23644 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23645 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23646 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23647 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23648 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23650 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23652 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23653 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23654 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23655 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23656 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23657 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23658 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23659 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23660 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23661 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23662 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23663 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23664 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23665 libm_alias_float_r.
23666 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23667 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23669 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23670 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23671 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23672 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23673 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23674 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23675 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23676 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23677 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23678 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23680 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23682 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23683 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23684 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23685 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23686 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23687 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23688 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23689 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23690 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23691 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23692 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23693 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23694 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23695 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23696 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23697 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23698 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23699 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23700 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23702 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23703 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23704 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23705 * sysdeps/ia64/fpu/w_lgammaf_main.c
23706 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23707 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23709 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23710 Alexandre Oliva <aoliva@redhat.com>
23713 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23714 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23716 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23718 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23719 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23720 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23721 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23722 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23723 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23724 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23725 instead of “ifdef DIACRIT_BACKWARD”.
23727 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23729 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23730 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23731 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23732 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23733 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23734 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23735 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23736 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23737 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23741 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23742 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23743 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23744 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23745 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23746 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23748 ($(have-as-vis3) == yes): Remove conditional.
23749 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23761 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23765 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23766 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23768 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23770 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23771 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23772 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23773 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23774 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23775 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23776 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23777 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23778 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23779 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23780 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23781 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23782 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23783 libm_alias_double_r.
23784 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23786 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23787 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23788 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23789 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23790 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23791 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23792 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23793 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23794 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23795 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23796 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23798 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23800 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23801 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23802 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23803 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23804 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23805 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23806 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23807 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23808 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23809 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23810 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23811 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23812 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23813 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23814 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23815 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23816 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23817 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23819 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23820 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23821 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23822 * sysdeps/ia64/fpu/w_lgamma_main.c
23823 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23824 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23826 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
23828 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23829 address of $global$ into %dp register earlier. Use pc-relative
23830 instruction sequence for PIC case.
23832 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23834 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23835 (asinhf): Define using libm_alias_float.
23836 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23837 (atanf): Define using libm_alias_float.
23838 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23839 (cbrtf): Define using libm_alias_float.
23840 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23841 (ceilf): Define using libm_alias_float.
23842 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23843 (copysignf): Define using libm_alias_float.
23844 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23845 (expm1f): Define using libm_alias_float.
23846 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23847 (fabsf): Define using libm_alias_float.
23848 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23849 (floorf): Define using libm_alias_float.
23850 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23851 (fmaxf): Define using libm_alias_float.
23852 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23853 (fminf): Define using libm_alias_float.
23854 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23855 (frexpf): Define using libm_alias_float.
23856 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23857 (llrintf): Define using libm_alias_float.
23858 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23859 (logbf): Define using libm_alias_float.
23860 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23861 (lrintf): Define using libm_alias_float.
23862 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23863 (nearbyintf): Define using libm_alias_float.
23864 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23865 (remquof): Define using libm_alias_float.
23866 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23867 (rintf): Define using libm_alias_float.
23868 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23869 (truncf): Define using libm_alias_float.
23870 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23871 <libm-alias-float.h>.
23872 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23874 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23875 <libm-alias-float.h>.
23876 (expf): Define using libm_alias_float, or libm_alias_float_other
23878 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23879 <libm-alias-float.h>.
23880 (log2f): Define using libm_alias_float, or libm_alias_float_other
23882 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23883 <libm-alias-float.h>.
23884 (logf): Define using libm_alias_float, or libm_alias_float_other
23886 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23887 <libm-alias-float.h>.
23888 (powf): Define using libm_alias_float, or libm_alias_float_other
23890 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23891 <libm-alias-float.h>.
23892 (cosf): Define using libm_alias_float.
23893 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23894 <libm-alias-float.h>.
23895 (sincosf): Define using libm_alias_float.
23896 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23897 <libm-alias-float.h>.
23898 (sinf): Define using libm_alias_float.
23899 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23900 (fmaxf): Define using libm_alias_float.
23901 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23902 (fminf): Define using libm_alias_float.
23903 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23904 <libm-alias-float.h>.
23905 (fmaf): Define using libm_alias_float.
23907 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23908 (asinh): Define using libm_alias_double.
23909 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23910 (atan): Define using libm_alias_double.
23911 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23912 (cbrt): Define using libm_alias_double.
23913 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23914 (ceil): Define using libm_alias_double.
23915 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23916 (copysign): Define using libm_alias_double.
23917 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23918 (expm1): Define using libm_alias_double.
23919 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23920 (fabs): Define using libm_alias_double.
23921 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23922 (fdim): Define using libm_alias_double.
23923 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23924 (floor): Define using libm_alias_double.
23925 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23926 (fmax): Define using libm_alias_double.
23927 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23928 (fmin): Define using libm_alias_double.
23929 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23930 (frexp): Define using libm_alias_double.
23931 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23932 (llrint): Define using libm_alias_double.
23933 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23934 (logb): Define using libm_alias_double.
23935 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23936 (lrint): Define using libm_alias_double.
23937 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23938 (nearbyint): Define using libm_alias_double.
23939 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23940 (remquo): Define using libm_alias_double.
23941 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23942 (rint): Define using libm_alias_double.
23943 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23944 (trunc): Define using libm_alias_double.
23945 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23946 (fmax): Define using libm_alias_double.
23947 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23948 (fmin): Define using libm_alias_double.
23949 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23950 (fma): Define using libm_alias_double.
23952 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23955 * elf/dl-hwcaps.c (ROUND): Removed.
23956 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23957 and ELF_NOTE_NEXT_OFFSET.
23958 * elf/dl-load.c (ROUND): Removed.
23959 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23960 * elf/readelflib.c (ROUND): Removed.
23961 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23962 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23963 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23964 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23966 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23968 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23969 [!__fmaf] (fmaf): Define using libm_alias_float.
23971 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23972 [!__fma] (fma): Define using libm_alias_double.
23973 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23975 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23978 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23979 and implement the collation rules for cs from CLDR on top of that.
23980 * Makefile: Add cs_CZ.UTF-8 to test-input.
23981 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23983 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23985 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23987 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23988 Icarus Sparry <icarus.w.sparry@intel.com>
23990 * benchtests/Makefile:Add BENCHSET to allow subsets of
23991 benchmarks to be run.
23992 * benchtests/README: Add documentation for: Running subsets of
23995 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23997 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23998 range of tests names.
24000 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
24001 result from property and remove "max", min" and "mean" from
24002 required properties based on benchtests/bench-skeleton.c.
24004 2017-11-28 Florian Weimer <fweimer@redhat.com>
24007 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
24008 due to Internet requirement.
24009 * posix/Makefile (tests): Remove tst-getaddrinfo4,
24011 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
24013 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24015 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24016 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
24017 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24018 (sysdep_routines): Add memset-ultra1.
24019 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
24021 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
24022 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
24023 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
24024 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
24025 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
24026 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
24027 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
24028 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24030 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
24032 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
24033 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
24034 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
24035 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
24036 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
24037 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
24038 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
24040 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24041 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
24042 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24043 (sysdep_routines): Add memcpy-ultra1.
24044 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
24045 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
24047 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24049 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
24050 (cfloat_versions): Take function argument without trailing 'f'.
24051 Call libm_alias_float_other.
24052 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
24053 * sysdeps/alpha/fpu/cargf.c: Likewise.
24054 * sysdeps/alpha/fpu/cimagf.c: Likewise.
24055 * sysdeps/alpha/fpu/conjf.c: Likewise.
24056 * sysdeps/alpha/fpu/crealf.c: Likewise.
24057 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
24058 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
24059 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
24060 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
24061 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
24062 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
24063 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
24064 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
24065 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
24066 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
24067 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
24068 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
24069 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
24070 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
24071 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
24072 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
24073 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
24074 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
24075 (clog10f): Use libm_alias_float_other.
24076 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24077 (ceilf): Define using libm_alias_float.
24078 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
24079 (copysignf): Define using libm_alias_float.
24080 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24081 (fabsf): Define using libm_alias_float.
24082 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
24083 (floorf): Define using libm_alias_float.
24084 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
24085 (fmaxf): Define using libm_alias_float.
24086 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
24087 (fminf): Define using libm_alias_float.
24088 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24089 (lrintf): Define using libm_alias_float.
24090 (llrintf): Likewise.
24091 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24092 (lroundf): Define using libm_alias_float.
24093 (llroundf): Likewise.
24094 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
24095 (rintf): Define using libm_alias_float.
24096 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
24097 (truncf): Define using libm_alias_float.
24099 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24100 (ceilf): Define using libm_alias_float.
24101 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
24102 (floorf): Define using libm_alias_float.
24103 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24104 (fmaf): Define using libm_alias_float.
24105 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
24106 (fmaxf): Define using libm_alias_float.
24107 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
24108 (fminf): Define using libm_alias_float.
24109 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
24110 (llrintf): Define using libm_alias_float.
24111 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
24112 (llroundf): Define using libm_alias_float.
24113 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24114 (lrintf): Define using libm_alias_float.
24115 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24116 (lroundf): Define using libm_alias_float.
24117 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
24118 <libm-alias-float.h>.
24119 (nearbyintf): Define using libm_alias_float.
24120 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
24121 (rintf): Define using libm_alias_float.
24122 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
24123 (roundf): Define using libm_alias_float.
24124 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
24125 (truncf): Define using libm_alias_float.
24127 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
24128 (ceil): Define using libm_alias_double.
24129 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
24130 (copysign): Define using libm_alias_double.
24131 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
24132 (fabs): Define using libm_alias_double.
24133 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
24134 (floor): Define using libm_alias_double.
24135 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
24136 (fmax): Define using libm_alias_double.
24137 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
24138 (fmin): Define using libm_alias_double.
24139 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
24140 (lrint): Define using libm_alias_double.
24141 (llrint): Likewise.
24142 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
24143 (lround): Define using libm_alias_double.
24144 (llround): Likewise.
24145 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
24146 (rint): Define using libm_alias_double.
24147 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
24148 (trunc): Define using libm_alias_double.
24150 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24151 (libm_alias_double_r): Add semicolon after weak_alias call.
24153 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24155 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
24156 (ceil): Define using libm_alias_double.
24157 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
24158 (floor): Define using libm_alias_double.
24159 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
24160 (fma): Define using libm_alias_double.
24161 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
24162 (fmax): Define using libm_alias_double.
24163 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
24164 (fmin): Define using libm_alias_double.
24165 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
24166 (llrint): Define using libm_alias_double.
24167 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
24168 (llround): Define using libm_alias_double.
24169 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
24170 (lrint): Define using libm_alias_double.
24171 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
24172 (lround): Define using libm_alias_double.
24173 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
24174 (nearbyint): Define using libm_alias_double.
24175 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
24176 (rint): Define using libm_alias_double.
24177 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
24178 (round): Define using libm_alias_double.
24179 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
24180 (trunc): Define using libm_alias_double.
24182 2017-11-27 Florian Weimer <fweimer@redhat.com>
24184 * sysdeps/unix/sysv/linux/mlock2.c: New file.
24185 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
24186 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
24187 (tests): Add tst-mlock2.
24188 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
24189 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
24190 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
24191 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
24192 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
24193 for mlock. Document mlock2.
24195 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24197 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
24198 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
24200 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
24202 * sysdeps/x86/Makeconfig: New file.
24203 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
24204 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24205 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
24206 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24207 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24208 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24209 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
24211 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24212 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24213 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24214 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24215 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24216 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24217 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24218 * manual/math.texi (Mathematics): Document support for _Float64x.
24219 * math/Versions (GLIBC_2.27): Add _Float64x functions.
24220 * stdlib/Versions (GLIBC_2.27): Likewise.
24221 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24222 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24223 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24224 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24225 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24226 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24227 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24228 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24229 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24230 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24231 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24232 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24237 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24238 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24239 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24240 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24241 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24242 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24243 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24244 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24245 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24246 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24247 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24248 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24249 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24250 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24252 2017-11-27 Andreas Schwab <schwab@suse.de>
24254 * elf/Makefile (dl-routines): Add dl-sort-maps.
24255 * elf/dl-sort-maps.c: New file.
24256 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
24257 (_dl_sort_maps): Declare.
24258 * elf/dl-fini.c (_dl_sort_fini): Remove.
24259 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
24260 * elf/dl-close.c (_dl_close_worker): Likewise.
24261 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24263 * elf/dl-open.c (dl_open_worker): Likewise.
24265 2017-11-24 Joseph Myers <joseph@codesourcery.com>
24267 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24268 using libm_alias_float128.
24269 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24271 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24273 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24274 (setpayloadsigf128): Likewise.
24275 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24277 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24280 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24281 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24282 -mfloat128 to CFLAGS.
24284 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24286 (CFLAGS-libm-test-support-float64x.c): New variable.
24287 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24288 $(f128-loader-link) to gnulib-tests.
24290 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24291 (libm_alias_float128_other_r): If
24292 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24294 (libm_alias_float128_r): Add semicolon after weak_alias call.
24295 * sysdeps/generic/libm-alias-ldouble.h
24296 (libm_alias_ldouble_other_r_f128): New macro.
24297 (libm_alias_ldouble_other_r_f64x): Likewise.
24298 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24299 and libm_alias_ldouble_other_r_f64x.
24300 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24301 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24302 (libm_alias_ldouble_other_r_f128): New macro.
24303 (libm_alias_ldouble_other_r_f64x): Likewise.
24304 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24305 and libm_alias_ldouble_other_r_f64x.
24307 * stdlib/strfroml.c: Always include <stdlib.h>.
24308 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24309 undefine as macro and define as weak alias.
24310 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24311 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24313 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24314 Define and later undefine as macro and define as weak alias.
24316 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24317 Define and later undefine as macro. Define as weak alias if
24319 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24320 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24321 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24322 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24323 Define and later undefine as macro. Define as weak alias if
24325 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24326 Define and later undefine as macro. Define as weak alias if
24328 * sysdeps/ieee754/float128/strtof128_l.c
24329 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24330 Define and later undefine as macro. Define as weak alias if
24332 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24333 Define and later undefine as macro. Define as weak alias if
24335 * sysdeps/ieee754/ldbl-128/strtold_l.c
24336 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24337 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24338 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24339 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24340 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24341 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24342 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24343 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24344 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24345 * sysdeps/ieee754/ldbl-96/strtold_l.c
24346 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24347 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24348 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24349 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24351 * math/test-float64x.h: New file.
24352 * math/Makefile (type-float64x-yes): New variable.
24353 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24355 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24356 function-like macro.
24357 (min_of_type_): Likewise.
24358 (min_of_type_l): Likewise.
24359 (min_of_type_f128): Likewise.
24360 (min_of_type): Pass () as last argument of __MATH_TG.
24362 * stdlib/tst-strtod-round-skeleton.c
24363 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24366 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24367 for combinations of long double with _Float64 and _Float64x.
24369 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24370 (__DECL_SIMD_cosf32): Likewise.
24371 (__DECL_SIMD_cosf64): Likewise.
24372 (__DECL_SIMD_cosf32x): Likewise.
24373 (__DECL_SIMD_cosf64x): Likewise.
24374 (__DECL_SIMD_cosf128x): Likewise.
24375 (__DECL_SIMD_sinf16): Likewise.
24376 (__DECL_SIMD_sinf32): Likewise.
24377 (__DECL_SIMD_sinf64): Likewise.
24378 (__DECL_SIMD_sinf32x): Likewise.
24379 (__DECL_SIMD_sinf64x): Likewise.
24380 (__DECL_SIMD_sinf128x): Likewise.
24381 (__DECL_SIMD_sincosf16): Likewise.
24382 (__DECL_SIMD_sincosf32): Likewise.
24383 (__DECL_SIMD_sincosf64): Likewise.
24384 (__DECL_SIMD_sincosf32x): Likewise.
24385 (__DECL_SIMD_sincosf64x): Likewise.
24386 (__DECL_SIMD_sincosf128x): Likewise.
24387 (__DECL_SIMD_logf16): Likewise.
24388 (__DECL_SIMD_logf32): Likewise.
24389 (__DECL_SIMD_logf64): Likewise.
24390 (__DECL_SIMD_logf32x): Likewise.
24391 (__DECL_SIMD_logf64x): Likewise.
24392 (__DECL_SIMD_logf128x): Likewise.
24393 (__DECL_SIMD_expf16): Likewise.
24394 (__DECL_SIMD_expf32): Likewise.
24395 (__DECL_SIMD_expf64): Likewise.
24396 (__DECL_SIMD_expf32x): Likewise.
24397 (__DECL_SIMD_expf64x): Likewise.
24398 (__DECL_SIMD_expf128x): Likewise.
24399 (__DECL_SIMD_powf16): Likewise.
24400 (__DECL_SIMD_powf32): Likewise.
24401 (__DECL_SIMD_powf64): Likewise.
24402 (__DECL_SIMD_powf32x): Likewise.
24403 (__DECL_SIMD_powf64x): Likewise.
24404 (__DECL_SIMD_powf128x): Likewise.
24406 * stdlib/Versions (libc): Move entries for wcstof128 and
24407 wcstof128_l to ....
24408 * wcsmbs/Versions (libc): ... here.
24409 Include <float128-abi.h>.
24411 2017-11-24 Florian Weimer <fweimer@redhat.com>
24413 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24414 bits/mman-shared.h.
24415 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24416 <bits/mman-shared.h>.
24417 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24419 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24420 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24421 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24422 <bits/mman-shared.h>.
24424 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24427 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24428 posix_memalign/free.
24429 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24431 2017-11-22 Mike FABIAN <mfabian@redhat.com>
24434 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24435 and implement the collation rules for pl from CLDR on top of that.
24436 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24437 of locales to be built for testing.
24438 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24440 2017-11-23 Joseph Myers <joseph@codesourcery.com>
24442 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24443 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24444 libm_alias_ldouble_other.
24445 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24446 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24447 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24448 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24449 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24450 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24451 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24452 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24453 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24454 libm_alias_ldouble_r.
24455 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24456 libm_alias_ldouble_other.
24457 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24458 (log10l): Likewise.
24459 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24460 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24461 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24462 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24463 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24464 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24465 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24466 (atan2l): Likewise.
24467 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24468 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24469 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24470 libm_alias_ldouble.
24471 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24473 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24474 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24475 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24477 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24478 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24479 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24480 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24481 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24482 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24483 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24484 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24485 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24486 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24487 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24488 libm_alias_ldouble.
24489 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24490 libm_alias_ldouble_other.
24491 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24492 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24493 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24494 libm_alias_ldouble.
24495 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24496 libm_alias_ldouble_other.
24497 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24498 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24499 * sysdeps/ia64/fpu/w_lgammal_main.c
24500 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24501 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24503 2017-11-23 Florian Weimer <fweimer@redhat.com>
24505 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24506 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24507 alike. Remove freeres marker.
24508 * malloc/arena.c (arena_thread_freeres): Call
24509 tcache_thread_shutdown.
24511 2017-11-23 Florian Weimer <fweimer@redhat.com>
24514 Export nscd hash function as __nss_hash.
24515 * include/nss.h (__nss_hash): Declare.
24516 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24518 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24519 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24521 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24522 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24523 * nss/Makefiles (routines): Add nss_hash.
24524 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24525 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24526 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24527 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24529 2017-11-23 Florian Weimer <fweimer@redhat.com>
24532 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24533 Return error code, not -1.
24534 * signal/tst-sigwait-eintr.c: New file.
24535 * signal/Makefile (tests): Add tst-sigwait-eintr.
24537 2017-11-23 Florian Weimer <fweimer@redhat.com>
24539 Linux: Add memfd_create system call wrapper
24540 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24542 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24543 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24544 [__USE_GNU] (memfd_create): Declare.
24545 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24546 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24547 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24548 * sysdeps/unix/sysv/linux/**.abilist: Update.
24549 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24551 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24553 * localedata/gen-locale.sh: Fix typo in variable name.
24555 * resolv/res_debug.c (p_secstodate): Condition definition on
24556 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24557 directly as __p_secstodate, and as a compat symbol. Do not use
24558 libresolv_hidden_def.
24559 * resolv/resolv.h (p_secstodate): Remove macro and function
24561 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24562 using p_secstodate.
24563 * include/resolv.h (__p_secstodate): Do not use
24564 libresolv_hidden_proto.
24565 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24566 (tests-internal): ... here.
24567 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24568 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24569 and declare and use __p_secstodate and use compat_symbol_reference
24571 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24572 implementation returning 77.
24575 * resolv/res_debug.c: Include <libc-diag.h>.
24576 (p_secstodate): Assert time_t at least as wide as u_long. On
24577 overflow, use integer seconds since the epoch as output, or use
24578 "<overflow>" as output and set errno to EOVERFLOW if integer
24579 seconds since the epoch would be 14 or more characters.
24580 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24582 * resolv/tst-p_secstodate.c: New file.
24583 * resolv/Makefile (tests): Add tst-p_secstodate.
24584 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24586 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24587 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24588 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24590 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24592 * posix/regcomp.c (init_word_char): Add comments.
24594 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24597 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24598 strlen to compute length of ut_user and set trailing NUL byte of
24601 2017-11-21 Mike FABIAN <mfabian@redhat.com>
24604 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24605 using “copy "iso14651_t1"” and then implementing the
24606 collation rules for lv from CLDR on top of that.
24607 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24608 of locales to be built for testing.
24609 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24612 2017-11-21 Joseph Myers <joseph@codesourcery.com>
24614 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24615 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24616 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24617 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24618 [__USE_MISC] (MADV_HWPOISON): New macro.
24619 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24621 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24623 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24624 -Wmissing-braces on GCC 4.9.
24626 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24628 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24629 * sysdeps/s390/s390-32/start.S (_start): Likewise
24630 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24631 (thread_start): Likewise.
24632 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24633 (thread_start): Likewise.
24634 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24635 (__makecontext_ret): Likewise.
24636 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24637 (__makecontext_ret): Likewise.
24639 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24641 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24642 __wcschrnul): Remove attribute_hidden.
24644 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24646 regex: don't assume uint64_t or uint32_t
24647 This avoids -Werror=overflow errors for 32-bit systems in
24648 the 64-bit case. Problem reported by Joseph Myers in:
24649 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24650 Also, when this code is used in Gnulib it ports to platforms
24651 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24652 them, and on some 32-bit compilers there is no uint64_t.
24653 Problem reported by Gianluigi Tiesi in:
24654 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24655 * posix/regcomp.c (init_word_char): Don't assume that the types
24656 uint64_t and uint32_t exist. Adapted from Gnulib patch
24657 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24658 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24660 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24662 * sysdeps/aarch64/memset-reg.h: New file.
24663 * sysdeps/aarch64/memset.S: Use it.
24664 (__memset): Rename to MEMSET macro.
24665 [ZVA_MACRO]: Use zva_macro.
24666 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24667 Add memset_generic and memset_falkor.
24668 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24669 (__libc_ifunc_impl_list): Add memset ifuncs.
24670 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24671 local variable zva_size.
24672 * sysdeps/aarch64/multiarch/memset.c: New file.
24673 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24674 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24675 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24676 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24677 (DCZID_DZP_MASK): New macro.
24678 (DCZID_BS_MASK): Likewise.
24679 (init_cpu_features): Read and set zva_size.
24680 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24681 (struct cpu_features): New member zva_size.
24683 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24684 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24685 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24687 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24688 backwards. Fix timing computation.
24689 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24690 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24691 on memset by N at a time. Fix timing computation.
24693 2017-11-20 Florian Weimer <fweimer@redhat.com>
24695 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24696 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24698 2017-11-19 Florian Weimer <fweimer@redhat.com>
24700 manual: Document mprotect
24701 * manual/memory.texi (Memory Protection): New section.
24702 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24703 documentation of PROT_* flags and reference the Memory Protection
24706 2017-11-19 Florian Weimer <fweimer@redhat.com>
24708 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24709 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24710 (Scatter-Gather): ... to here. Remove misleading comment.
24712 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
24714 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24717 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24718 when /proc/<pid>/setgroups does not exist.
24720 2017-11-18 Florian Weimer <fweimer@redhat.com>
24722 * sysdeps/unix/sysv/linux/tst-ttyname.c
24723 (become_root_in_mount_ns): Remove.
24724 (do_in_chroot_1): Call support_enter_mount_namespace.
24725 (do_in_chroot_2): Likewise.
24726 (do_test): Call support_become_root early.
24728 2017-11-18 Florian Weimer <fweimer@redhat.com>
24730 * support/namespace.h (support_enter_mount_namespace): Declare.
24731 * support/support_enter_mount_namespace.c: New file.
24732 * support/Makefile (libsupport-routines): Add
24733 support_enter_mount_namespace.
24735 2017-11-18 Florian Weimer <fweimer@redhat.com>
24737 * support/temp_file.c (support_create_temp_directory): Use
24738 test_dir and do not rely on the presence of the XXXXXX suffix.
24739 * support/temp_file.h (support_create_temp_directory): Update
24741 * support/tst-xreadlink.c (do_test): Adjust.
24742 * support/support_chroot.c (support_chroot_create): Likewise.
24744 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24746 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24748 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24751 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24753 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24754 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24755 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24756 (ceill): Define using libm_alias_ldouble.
24757 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24758 <libm-alias-ldouble.h>.
24759 (copysignl): Define using libm_alias_ldouble.
24760 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24761 (fabsl): Define using libm_alias_ldouble.
24762 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24763 (floorl): Define using libm_alias_ldouble.
24764 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24765 (fmaxl): Define using libm_alias_ldouble.
24766 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24767 (fminl): Define using libm_alias_ldouble.
24768 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24769 (llrintl): Define using libm_alias_ldouble.
24770 (lrintl): Likewise.
24771 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24772 <libm-alias-ldouble.h>.
24773 (nearbyintl): Define using libm_alias_ldouble.
24774 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24775 (truncl): Define using libm_alias_ldouble.
24776 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24777 <libm-alias-ldouble.h>.
24778 (lrintl): Define using libm_alias_ldouble.
24780 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24781 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24782 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24783 (asinhl): Define using libm_alias_ldouble.
24784 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24785 (atanl): Define using libm_alias_ldouble.
24786 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24787 (cbrtl): Define using libm_alias_ldouble.
24788 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24789 (ceill): Define using libm_alias_ldouble.
24790 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24791 (copysignl): Define using libm_alias_ldouble.
24792 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24793 (fabsl): Define using libm_alias_ldouble.
24794 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24795 (floorl): Define using libm_alias_ldouble.
24796 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24797 (fmaxl): Define using libm_alias_ldouble.
24798 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24799 (fminl): Define using libm_alias_ldouble.
24800 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24801 (frexpl): Define using libm_alias_ldouble.
24802 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24803 (llrintl): Define using libm_alias_ldouble.
24804 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24805 (logbl): Define using libm_alias_ldouble.
24806 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24807 (lrintl): Define using libm_alias_ldouble.
24808 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24809 (nearbyintl): Define using libm_alias_ldouble.
24810 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24811 (nextafterl): Define using libm_alias_ldouble.
24812 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24813 (remquol): Define using libm_alias_ldouble.
24814 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24815 (rintl): Define using libm_alias_ldouble.
24816 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24817 (truncl): Define using libm_alias_ldouble.
24818 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24819 (fmaxl): Define using libm_alias_ldouble.
24820 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24821 (fminl): Define using libm_alias_ldouble.
24823 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24824 to C syntax instead of availability and properties of types.
24825 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24826 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24827 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24828 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24829 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24830 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24832 2017-11-17 Florian Weimer <fweimer@redhat.com>
24834 support_become_root: Enable file creation in namespaces.
24835 * support/support_become_root.c (setup_mapping): New function.
24836 (support_become_root): Call it.
24838 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24840 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24843 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24845 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24846 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24848 2017-11-16 Joseph Myers <joseph@codesourcery.com>
24850 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24852 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24855 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24857 * INSTALL: Fix botched up regeneration.
24859 * NEWS: Update sourceare link to https.
24860 * configure.ac: Likewise.
24861 * crypt/md5test-giant.c: Likewise.
24862 * dlfcn/bug-atexit1.c: Likewise.
24863 * dlfcn/bug-atexit2.c: Likewise.
24864 * localedata/README: Likewise.
24865 * malloc/tst-mallocfork.c: Likewise.
24866 * manual/install.texi: Likewise.
24867 * nptl/tst-pthread-getattr.c: Likewise.
24868 * stdio-common/tst-fgets.c: Likewise.
24869 * stdio-common/tst-fwrite.c: Likewise.
24870 * sunrpc/Makefile: Likewise.
24871 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24872 * wcsmbs/tst-mbrtowc2.c: Likewise.
24873 * configure: Regenerate.
24874 * INSTALL: Regenerate.
24876 2017-11-15 Martin Sebor <msebor@redhat.com>
24878 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24879 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24880 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24882 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24885 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24886 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24889 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24890 Defer is_pty check until end of the function.
24891 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24894 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24895 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24896 (ttyname): Likewise.
24897 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24898 (__ttyname_r): Likewise.
24900 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24903 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24905 * manual/terminal.texi (Is It a Terminal):
24906 Mention ENODEV for ttyname and ttyname_r.
24908 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24910 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24911 constant and macro.
24913 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24914 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24915 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24916 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24917 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24918 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24920 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24922 * signal/sigrelse.c (sigrelse): Optimize implementation.
24924 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24925 (__sigpause): Rely on __sigsuspend to implement single thread
24926 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24928 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24930 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24931 kernel version to 4.14.
24933 2017-11-15 Steve Ellcey <sellcey@cavium.com>
24936 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24937 Check if ifname is too long.
24939 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24941 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24943 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24945 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24946 was accidentally lost.
24948 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24950 * localedata/locales/az_IR: Add standard copyright header.
24952 2017-11-15 Florian Weimer <fweimer@redhat.com>
24955 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24956 not just the top one. Output a new "subheaps" statistic.
24958 2017-11-15 Florian Weimer <fweimer@redhat.com>
24961 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24962 under the per-arena lock.
24963 * malloc/Makefile (tests): Add tst-malloc_info.
24964 (tst-malloc_info): Link with libpthread.
24965 * malloc/tst-malloc_info.c: New file.
24967 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24970 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24971 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24972 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24973 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24974 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24975 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24976 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24977 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24978 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24979 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24980 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24981 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24982 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24983 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24984 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24985 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24986 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24987 (__floating_type): Likewise.
24988 (__real_integer_type): Likewise.
24989 (__complex_integer_type): Likewise.
24990 (__expr_is_real): Likewise.
24991 (__tgmath_real_type_sub): Likewise.
24992 (__tgmath_real_type): Likewise.
24993 (__tgmath_complex_type_sub): Likewise.
24994 (__tgmath_complex_type): Likewise.
24995 (__TGMATH_F128): Likewise.
24996 (__TGMATH_CF128): Likewise.
24997 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24999 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
25000 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
25002 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
25004 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
25005 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
25006 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
25007 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
25009 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
25010 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
25012 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
25013 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
25014 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
25016 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
25017 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
25018 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
25022 2017-11-14 Joseph Myers <joseph@codesourcery.com>
25024 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
25025 for stpncpy calls for GCC 8.
25026 (test_strncat): Disable -Wstringop-truncation warning for strncat
25027 calls for GCC 8. Disable -Wstringop-overflow= warning for one
25028 strncat call for GCC 7.
25029 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
25031 (test_memcmp): Use memcpy instead of strncpy for calls not copying
25034 * string/bug-strncat1.c: Include <libc-diag.h>.
25035 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
25037 2017-11-13 Claude Paroz <claude@2xlibre.net>
25040 * localedata/locales/aa_DJ: Improved readibility by replacing
25041 <Uxxxx> sequences in the ASCII printable range by their ASCII
25042 character equivalents.
25043 * localedata/locales/aa_ER: Likewise.
25044 * localedata/locales/aa_ER@saaho: Likewise.
25045 * localedata/locales/aa_ET: Likewise.
25046 * localedata/locales/af_ZA: Likewise.
25047 * localedata/locales/agr_PE: Likewise.
25048 * localedata/locales/ak_GH: Likewise.
25049 * localedata/locales/am_ET: Likewise.
25050 * localedata/locales/anp_IN: Likewise.
25051 * localedata/locales/ar_AE: Likewise.
25052 * localedata/locales/ar_BH: Likewise.
25053 * localedata/locales/ar_DZ: Likewise.
25054 * localedata/locales/ar_EG: Likewise.
25055 * localedata/locales/ar_IN: Likewise.
25056 * localedata/locales/ar_IQ: Likewise.
25057 * localedata/locales/ar_JO: Likewise.
25058 * localedata/locales/ar_KW: Likewise.
25059 * localedata/locales/ar_LB: Likewise.
25060 * localedata/locales/ar_LY: Likewise.
25061 * localedata/locales/ar_MA: Likewise.
25062 * localedata/locales/ar_OM: Likewise.
25063 * localedata/locales/ar_QA: Likewise.
25064 * localedata/locales/ar_SA: Likewise.
25065 * localedata/locales/ar_SD: Likewise.
25066 * localedata/locales/ar_SS: Likewise.
25067 * localedata/locales/ar_SY: Likewise.
25068 * localedata/locales/ar_TN: Likewise.
25069 * localedata/locales/ar_YE: Likewise.
25070 * localedata/locales/as_IN: Likewise.
25071 * localedata/locales/ast_ES: Likewise.
25072 * localedata/locales/ayc_PE: Likewise.
25073 * localedata/locales/az_AZ: Likewise.
25074 * localedata/locales/az_IR: Likewise.
25075 * localedata/locales/be_BY: Likewise.
25076 * localedata/locales/be_BY@latin: Likewise.
25077 * localedata/locales/bem_ZM: Likewise.
25078 * localedata/locales/ber_DZ: Likewise.
25079 * localedata/locales/ber_MA: Likewise.
25080 * localedata/locales/bg_BG: Likewise.
25081 * localedata/locales/bhb_IN: Likewise.
25082 * localedata/locales/bho_IN: Likewise.
25083 * localedata/locales/bi_VU: Likewise.
25084 * localedata/locales/bn_BD: Likewise.
25085 * localedata/locales/bn_IN: Likewise.
25086 * localedata/locales/bo_CN: Likewise.
25087 * localedata/locales/bo_IN: Likewise.
25088 * localedata/locales/br_FR: Likewise.
25089 * localedata/locales/brx_IN: Likewise.
25090 * localedata/locales/bs_BA: Likewise.
25091 * localedata/locales/byn_ER: Likewise.
25092 * localedata/locales/ca_AD: Likewise.
25093 * localedata/locales/ca_ES: Likewise.
25094 * localedata/locales/ca_FR: Likewise.
25095 * localedata/locales/ca_IT: Likewise.
25096 * localedata/locales/ce_RU: Likewise.
25097 * localedata/locales/chr_US: Likewise.
25098 * localedata/locales/cmn_TW: Likewise.
25099 * localedata/locales/crh_UA: Likewise.
25100 * localedata/locales/cs_CZ: Likewise.
25101 * localedata/locales/csb_PL: Likewise.
25102 * localedata/locales/cv_RU: Likewise.
25103 * localedata/locales/cy_GB: Likewise.
25104 * localedata/locales/da_DK: Likewise.
25105 * localedata/locales/de_AT: Likewise.
25106 * localedata/locales/de_BE: Likewise.
25107 * localedata/locales/de_CH: Likewise.
25108 * localedata/locales/de_DE: Likewise.
25109 * localedata/locales/de_IT: Likewise.
25110 * localedata/locales/de_LI: Likewise.
25111 * localedata/locales/de_LU: Likewise.
25112 * localedata/locales/doi_IN: Likewise.
25113 * localedata/locales/dv_MV: Likewise.
25114 * localedata/locales/dz_BT: Likewise.
25115 * localedata/locales/el_CY: Likewise.
25116 * localedata/locales/el_GR: Likewise.
25117 * localedata/locales/en_AG: Likewise.
25118 * localedata/locales/en_AU: Likewise.
25119 * localedata/locales/en_BW: Likewise.
25120 * localedata/locales/en_CA: Likewise.
25121 * localedata/locales/en_DK: Likewise.
25122 * localedata/locales/en_GB: Likewise.
25123 * localedata/locales/en_HK: Likewise.
25124 * localedata/locales/en_IE: Likewise.
25125 * localedata/locales/en_IL: Likewise.
25126 * localedata/locales/en_IN: Likewise.
25127 * localedata/locales/en_NG: Likewise.
25128 * localedata/locales/en_NZ: Likewise.
25129 * localedata/locales/en_PH: Likewise.
25130 * localedata/locales/en_SG: Likewise.
25131 * localedata/locales/en_US: Likewise.
25132 * localedata/locales/en_ZA: Likewise.
25133 * localedata/locales/en_ZM: Likewise.
25134 * localedata/locales/en_ZW: Likewise.
25135 * localedata/locales/eo: Likewise.
25136 * localedata/locales/es_AR: Likewise.
25137 * localedata/locales/es_BO: Likewise.
25138 * localedata/locales/es_CL: Likewise.
25139 * localedata/locales/es_CO: Likewise.
25140 * localedata/locales/es_CR: Likewise.
25141 * localedata/locales/es_CU: Likewise.
25142 * localedata/locales/es_DO: Likewise.
25143 * localedata/locales/es_EC: Likewise.
25144 * localedata/locales/es_ES: Likewise.
25145 * localedata/locales/es_GT: Likewise.
25146 * localedata/locales/es_HN: Likewise.
25147 * localedata/locales/es_MX: Likewise.
25148 * localedata/locales/es_NI: Likewise.
25149 * localedata/locales/es_PA: Likewise.
25150 * localedata/locales/es_PE: Likewise.
25151 * localedata/locales/es_PR: Likewise.
25152 * localedata/locales/es_PY: Likewise.
25153 * localedata/locales/es_SV: Likewise.
25154 * localedata/locales/es_US: Likewise.
25155 * localedata/locales/es_UY: Likewise.
25156 * localedata/locales/es_VE: Likewise.
25157 * localedata/locales/et_EE: Likewise.
25158 * localedata/locales/eu_ES: Likewise.
25159 * localedata/locales/eu_ES@euro: Likewise.
25160 * localedata/locales/fa_IR: Likewise.
25161 * localedata/locales/ff_SN: Likewise.
25162 * localedata/locales/fi_FI: Likewise.
25163 * localedata/locales/fil_PH: Likewise.
25164 * localedata/locales/fo_FO: Likewise.
25165 * localedata/locales/fr_BE: Likewise.
25166 * localedata/locales/fr_CA: Likewise.
25167 * localedata/locales/fr_CH: Likewise.
25168 * localedata/locales/fr_FR: Likewise.
25169 * localedata/locales/fr_LU: Likewise.
25170 * localedata/locales/fur_IT: Likewise.
25171 * localedata/locales/fy_DE: Likewise.
25172 * localedata/locales/fy_NL: Likewise.
25173 * localedata/locales/ga_IE: Likewise.
25174 * localedata/locales/gd_GB: Likewise.
25175 * localedata/locales/gez_ER: Likewise.
25176 * localedata/locales/gez_ET: Likewise.
25177 * localedata/locales/gl_ES: Likewise.
25178 * localedata/locales/gu_IN: Likewise.
25179 * localedata/locales/gv_GB: Likewise.
25180 * localedata/locales/ha_NG: Likewise.
25181 * localedata/locales/hak_TW: Likewise.
25182 * localedata/locales/he_IL: Likewise.
25183 * localedata/locales/hi_IN: Likewise.
25184 * localedata/locales/hif_FJ: Likewise.
25185 * localedata/locales/hne_IN: Likewise.
25186 * localedata/locales/hr_HR: Likewise.
25187 * localedata/locales/hsb_DE: Likewise.
25188 * localedata/locales/ht_HT: Likewise.
25189 * localedata/locales/hu_HU: Likewise.
25190 * localedata/locales/hy_AM: Likewise.
25191 * localedata/locales/i18n: Likewise.
25192 * localedata/locales/ia_FR: Likewise.
25193 * localedata/locales/id_ID: Likewise.
25194 * localedata/locales/ig_NG: Likewise.
25195 * localedata/locales/ik_CA: Likewise.
25196 * localedata/locales/is_IS: Likewise.
25197 * localedata/locales/it_CH: Likewise.
25198 * localedata/locales/it_IT: Likewise.
25199 * localedata/locales/iu_CA: Likewise.
25200 * localedata/locales/ja_JP: Likewise.
25201 * localedata/locales/ka_GE: Likewise.
25202 * localedata/locales/kk_KZ: Likewise.
25203 * localedata/locales/kl_GL: Likewise.
25204 * localedata/locales/kn_IN: Likewise.
25205 * localedata/locales/ko_KR: Likewise.
25206 * localedata/locales/kok_IN: Likewise.
25207 * localedata/locales/ks_IN: Likewise.
25208 * localedata/locales/ks_IN@devanagari: Likewise.
25209 * localedata/locales/ku_TR: Likewise.
25210 * localedata/locales/kw_GB: Likewise.
25211 * localedata/locales/ky_KG: Likewise.
25212 * localedata/locales/lb_LU: Likewise.
25213 * localedata/locales/lg_UG: Likewise.
25214 * localedata/locales/li_BE: Likewise.
25215 * localedata/locales/li_NL: Likewise.
25216 * localedata/locales/lij_IT: Likewise.
25217 * localedata/locales/ln_CD: Likewise.
25218 * localedata/locales/lo_LA: Likewise.
25219 * localedata/locales/lt_LT: Likewise.
25220 * localedata/locales/lv_LV: Likewise.
25221 * localedata/locales/lzh_TW: Likewise.
25222 * localedata/locales/mag_IN: Likewise.
25223 * localedata/locales/mai_IN: Likewise.
25224 * localedata/locales/mg_MG: Likewise.
25225 * localedata/locales/mhr_RU: Likewise.
25226 * localedata/locales/mi_NZ: Likewise.
25227 * localedata/locales/mk_MK: Likewise.
25228 * localedata/locales/ml_IN: Likewise.
25229 * localedata/locales/mn_MN: Likewise.
25230 * localedata/locales/mni_IN: Likewise.
25231 * localedata/locales/mr_IN: Likewise.
25232 * localedata/locales/ms_MY: Likewise.
25233 * localedata/locales/mt_MT: Likewise.
25234 * localedata/locales/my_MM: Likewise.
25235 * localedata/locales/nan_TW: Likewise.
25236 * localedata/locales/nan_TW@latin: Likewise.
25237 * localedata/locales/nb_NO: Likewise.
25238 * localedata/locales/nds_DE: Likewise.
25239 * localedata/locales/nds_NL: Likewise.
25240 * localedata/locales/ne_NP: Likewise.
25241 * localedata/locales/nhn_MX: Likewise.
25242 * localedata/locales/niu_NU: Likewise.
25243 * localedata/locales/niu_NZ: Likewise.
25244 * localedata/locales/nl_AW: Likewise.
25245 * localedata/locales/nl_BE: Likewise.
25246 * localedata/locales/nl_NL: Likewise.
25247 * localedata/locales/nn_NO: Likewise.
25248 * localedata/locales/nr_ZA: Likewise.
25249 * localedata/locales/nso_ZA: Likewise.
25250 * localedata/locales/oc_FR: Likewise.
25251 * localedata/locales/om_ET: Likewise.
25252 * localedata/locales/om_KE: Likewise.
25253 * localedata/locales/or_IN: Likewise.
25254 * localedata/locales/os_RU: Likewise.
25255 * localedata/locales/pa_IN: Likewise.
25256 * localedata/locales/pa_PK: Likewise.
25257 * localedata/locales/pap_AW: Likewise.
25258 * localedata/locales/pap_CW: Likewise.
25259 * localedata/locales/pl_PL: Likewise.
25260 * localedata/locales/ps_AF: Likewise.
25261 * localedata/locales/pt_BR: Likewise.
25262 * localedata/locales/pt_PT: Likewise.
25263 * localedata/locales/quz_PE: Likewise.
25264 * localedata/locales/raj_IN: Likewise.
25265 * localedata/locales/ro_RO: Likewise.
25266 * localedata/locales/ru_RU: Likewise.
25267 * localedata/locales/ru_UA: Likewise.
25268 * localedata/locales/rw_RW: Likewise.
25269 * localedata/locales/sa_IN: Likewise.
25270 * localedata/locales/sat_IN: Likewise.
25271 * localedata/locales/sc_IT: Likewise.
25272 * localedata/locales/sd_IN: Likewise.
25273 * localedata/locales/sd_IN@devanagari: Likewise.
25274 * localedata/locales/se_NO: Likewise.
25275 * localedata/locales/sgs_LT: Likewise.
25276 * localedata/locales/shs_CA: Likewise.
25277 * localedata/locales/si_LK: Likewise.
25278 * localedata/locales/sid_ET: Likewise.
25279 * localedata/locales/sk_SK: Likewise.
25280 * localedata/locales/sl_SI: Likewise.
25281 * localedata/locales/sm_WS: Likewise.
25282 * localedata/locales/so_DJ: Likewise.
25283 * localedata/locales/so_ET: Likewise.
25284 * localedata/locales/so_KE: Likewise.
25285 * localedata/locales/so_SO: Likewise.
25286 * localedata/locales/sq_AL: Likewise.
25287 * localedata/locales/sq_MK: Likewise.
25288 * localedata/locales/sr_ME: Likewise.
25289 * localedata/locales/sr_RS: Likewise.
25290 * localedata/locales/sr_RS@latin: Likewise.
25291 * localedata/locales/ss_ZA: Likewise.
25292 * localedata/locales/st_ZA: Likewise.
25293 * localedata/locales/sv_FI: Likewise.
25294 * localedata/locales/sv_SE: Likewise.
25295 * localedata/locales/sw_KE: Likewise.
25296 * localedata/locales/sw_TZ: Likewise.
25297 * localedata/locales/szl_PL: Likewise.
25298 * localedata/locales/ta_IN: Likewise.
25299 * localedata/locales/ta_LK: Likewise.
25300 * localedata/locales/tcy_IN: Likewise.
25301 * localedata/locales/te_IN: Likewise.
25302 * localedata/locales/tg_TJ: Likewise.
25303 * localedata/locales/th_TH: Likewise.
25304 * localedata/locales/the_NP: Likewise.
25305 * localedata/locales/ti_ER: Likewise.
25306 * localedata/locales/ti_ET: Likewise.
25307 * localedata/locales/tig_ER: Likewise.
25308 * localedata/locales/tk_TM: Likewise.
25309 * localedata/locales/tl_PH: Likewise.
25310 * localedata/locales/tn_ZA: Likewise.
25311 * localedata/locales/to_TO: Likewise.
25312 * localedata/locales/tpi_PG: Likewise.
25313 * localedata/locales/tr_CY: Likewise.
25314 * localedata/locales/tr_TR: Likewise.
25315 * localedata/locales/ts_ZA: Likewise.
25316 * localedata/locales/tt_RU: Likewise.
25317 * localedata/locales/tt_RU@iqtelif: Likewise.
25318 * localedata/locales/ug_CN: Likewise.
25319 * localedata/locales/uk_UA: Likewise.
25320 * localedata/locales/unm_US: Likewise.
25321 * localedata/locales/ur_IN: Likewise.
25322 * localedata/locales/ur_PK: Likewise.
25323 * localedata/locales/uz_UZ: Likewise.
25324 * localedata/locales/uz_UZ@cyrillic: Likewise.
25325 * localedata/locales/ve_ZA: Likewise.
25326 * localedata/locales/vi_VN: Likewise.
25327 * localedata/locales/wa_BE: Likewise.
25328 * localedata/locales/wae_CH: Likewise.
25329 * localedata/locales/wal_ET: Likewise.
25330 * localedata/locales/wo_SN: Likewise.
25331 * localedata/locales/xh_ZA: Likewise.
25332 * localedata/locales/yi_US: Likewise.
25333 * localedata/locales/yo_NG: Likewise.
25334 * localedata/locales/yue_HK: Likewise.
25335 * localedata/locales/yuw_PG: Likewise.
25336 * localedata/locales/zh_CN: Likewise.
25337 * localedata/locales/zh_HK: Likewise.
25338 * localedata/locales/zh_SG: Likewise.
25339 * localedata/locales/zh_TW: Likewise.
25340 * localedata/locales/zu_ZA: Likewise.
25342 2017-11-13 Florian Weimer <fweimer@redhat.com>
25344 * support/next_to_fault.h, support/next_to_fault.c: New files.
25345 * support/Makefile (libsupport-routines): Add next_to_fault.
25346 * resolv/tst-inet_pton.c (struct next_to_fault)
25347 (next_to_fault_allocate, next_to_fault_free): Remove.
25348 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25350 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25352 * elf/dl-support.c: Include <dl-procruntime.c>.
25353 * include/link.h: Include <link_map.h>.
25354 * sysdeps/generic/dl-procruntime.c: New file.
25355 * sysdeps/generic/link_map.h: Likewise.
25356 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25357 the writable ld.so namespace.
25359 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25361 timezone: pacify GCC -Wstringop-truncation
25362 Problem reported by Martin Sebor in:
25363 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25364 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25366 2017-11-12 Florian Weimer <fweimer@redhat.com>
25368 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25370 (tests): Add tst-xreadlink.
25371 * support/support.h (xstrndup): Declare.
25372 * support/xunistd.h (xunlink, xreadlink): Declare.
25373 * support/temp_file.h (support_create_temp_directory): Declare.
25374 * support/temp_file.c (support_create_temp_directory): New function.
25375 * support/support_chroot.c (support_chroot_create): Use it.
25376 * support/xreadlink.c: New file.
25377 * support/xstrndup.c: Likewise.
25378 * support/xunlink.c: Likewise.
25379 * support/tst-xreadlink.c: Likewise.
25381 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
25383 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25385 2017-11-11 Florian Weimer <fweimer@redhat.com>
25389 * resolv/res_comp.c (printable_string, binary_hnok)
25390 (binary_leading_dash): New functions.
25391 (res_hnok): Reimplement using these functions and ns_name_pton.
25392 (res_ownok): Likewise.
25393 (res_mailok): Reimplement using printable_string, ns_name_pton and
25395 (res_dnok): Reimplement using printable_string and ns_name_pton.
25396 * resolv/tst-res_hnok.c (tests): Add additional tests.
25397 (LETTERDIGITS, PRINTABLE): Define.
25398 (do_test): Adjust one_char results.
25400 2017-11-11 Florian Weimer <fweimer@redhat.com>
25403 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25404 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25406 2017-11-11 Florian Weimer <fweimer@redhat.com>
25408 * resolv/tst-ns_name_pton.c: New file.
25409 * resolv/Makefile (tests): Add tst-ns_name_pton.
25410 (tst-ns_name_pton): Link against libresolv.
25412 2017-11-11 Florian Weimer <fweimer@redhat.com>
25414 * resolv/tst-res_hnok.c: New file.
25415 * resolv/Makefile (tests): Add tst-res_hnok.
25416 (tst-res_hnok): Link against libresolv.
25418 2017-11-11 Florian Weimer <fweimer@redhat.com>
25420 * resolv/tst-resolv-network.c: Use test framework instead explicit
25423 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25425 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25426 <jmp_buf-macros.h>.
25427 [!_ISOMAC] (STR_HELPER): New.
25428 [!_ISOMAC] (STR): Likewise.
25429 [!_ISOMAC] (TEST_SIZE): Likewise.
25430 [!_ISOMAC] (TEST_ALIGN): Likewise.
25431 [!_ISOMAC] (TEST_OFFSET): Likewise.
25432 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25433 field offsets of jmp_buf as well as sigjmp_buf.
25434 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25435 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25436 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25437 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25438 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25439 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25440 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25441 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25442 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25443 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25445 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25447 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25452 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25453 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25454 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25455 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25456 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25461 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25462 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25463 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25465 2017-11-07 Joseph Myers <joseph@codesourcery.com>
25468 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25469 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25470 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25471 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25472 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25473 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25474 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25475 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25476 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25477 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25478 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25479 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25480 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25481 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25482 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25483 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25484 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25485 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25486 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25487 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25488 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25489 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25490 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25491 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25492 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25493 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25494 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25495 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25496 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25497 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25498 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25499 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25500 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25501 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25502 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25503 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25504 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25505 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25506 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25507 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25508 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25509 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25510 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25511 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25512 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25513 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25514 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25515 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25516 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25517 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25518 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25519 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25520 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25521 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25522 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25523 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25524 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25525 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25526 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25527 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25528 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25529 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25530 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25531 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25532 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25533 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25534 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25535 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25536 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25537 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25538 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25539 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25540 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25541 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25542 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25543 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25544 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25545 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25546 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25547 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25548 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25549 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25550 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25551 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25552 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25553 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25554 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25555 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25557 * stdlib/tst-strtod.h (F16): New macro.
25563 (IF_FLOAT16): Likewise.
25564 (IF_FLOAT32): Likewise.
25565 (IF_FLOAT64): Likewise.
25566 (IF_FLOAT32X): Likewise.
25567 (IF_FLOAT64X): Likewise.
25568 (IF_FLOAT128X): Likewise.
25569 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25570 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25571 (STRTOD_TEST_FOREACH): Likewise.
25572 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25573 (CHOOSE_f64): Likewise.
25574 (CHOOSE_f32x): Likewise.
25575 (CHOOSE_f64x): Likewise.
25577 2017-11-07 Andreas Schwab <schwab@suse.de>
25579 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25581 2017-11-07 Mike FABIAN <mfabian@redhat.com>
25584 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25586 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25589 2017-11-07 Claude Paroz <claude@2xlibre.net>
25592 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25594 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25596 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25599 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25602 * nptl/allocatestack.c (allocate_stack): Check if
25603 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25604 __PTHREAD_MUTEX_HAVE_PREV is defined.
25605 * nptl/descr.h (pthread): Likewise.
25606 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25608 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25609 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25610 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25611 * sysdeps/nptl/bits/thread-shared-types.h
25612 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25614 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25615 of __WORDSIZE for internal layout.
25616 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25617 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25618 instead of __WORDSIZE whether to use an union for __spins and __list
25620 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25622 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25623 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25625 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25626 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25628 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25629 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25631 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25632 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25634 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25635 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25637 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25638 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25640 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25641 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25643 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25644 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25646 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25647 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25649 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25650 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25652 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25653 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25655 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25656 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25658 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25659 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25661 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25662 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25664 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25665 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25668 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25670 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25671 checks for expected input type size.
25672 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25673 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25675 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25676 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25677 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25678 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25679 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25680 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25681 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25682 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25683 superflous runtime assert check.
25684 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25686 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25688 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25690 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25692 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25694 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25696 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25697 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25698 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25700 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25702 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25704 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25706 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25708 * nptl/pthread_attr_setinheritsched.c
25709 (__pthread_attr_setinheritsched): Likewise.
25710 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25712 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25714 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25715 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25716 __old_pthread_attr_setstack): Likewise.
25717 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25719 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25721 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25723 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25724 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25726 * nptl/tst-typesizes.c: Remove file.
25728 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25729 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25730 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25731 checks for internal pthread_mutex_t offsets.
25732 * sysdeps/aarch64/nptl/pthread-offsets.h
25733 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25734 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25735 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25736 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25737 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25738 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25739 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25740 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25741 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25742 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25743 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25744 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25745 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25746 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25747 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25748 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25749 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25750 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25752 2017-11-07 Florian Weimer <fweimer@redhat.com>
25754 * bits/mman-linux.h: Move ...
25755 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25757 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25760 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25762 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25763 Redefine STRNLEN as __strnlen_power8.
25765 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25767 * signal/sighold.c (sighold): Optimize implementation.
25769 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25770 __NR_rt_sigqueueinfo.
25772 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25774 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25775 assume __NR_rt_sigtimedwait.
25776 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25777 and add LIBC_CANCEL_HANDLED for cancellation marking.
25778 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25780 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25781 (sysdeps_routines): Add memchr_noneon.
25782 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25783 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25784 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25785 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25786 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25787 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25788 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25790 * sysdeps/arm/arm-ifunc.h: New file.
25791 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25792 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25793 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25794 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25795 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25796 (__memcpy_neon): Avoid create hidden alias.
25797 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25798 (__memcpy_vfp): Likewise.
25799 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25800 (sysdep_routines): Add memcpy_arm.
25801 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25803 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25806 * Makerules (make-link-multidir): New.
25807 * config.make.in (multidir): New.
25808 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25809 * configure: Regenerated.
25810 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25811 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25812 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25815 2017-11-06 Joseph Myers <joseph@codesourcery.com>
25818 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25819 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25821 2017-11-04 Mike FABIAN <mfabian@redhat.com>
25823 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25826 2017-11-04 Florian Weimer <fweimer@redhat.com>
25828 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25830 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25832 * math/math.h [__HAVE_DISTINCT_FLOAT16
25833 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25834 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25835 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25836 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25837 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25838 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25839 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25840 (__MATH_TG_F32): New macro.
25841 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25842 (__MATH_TG_F64X): Likewise.
25843 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25844 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25846 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25848 * po/de.po: Update translations.
25849 * po/ru.po: Likewise.
25851 2017-11-03 Florian Weimer <fweimer@redhat.com>
25853 * manual/filesys.texi (Hard Links): Document linkat.
25855 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25857 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25858 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25859 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25860 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25861 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25862 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25863 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25864 the same as _Float128.
25865 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25866 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25867 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25870 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25872 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25874 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25876 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25877 (strtof32x): Likewise.
25878 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25879 (strtof64x): Likewise.
25880 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25881 (strtof128x): Likewise.
25882 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25883 (strfromf16): Likewise.
25884 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25885 (strfromf32): Likewise.
25886 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25887 (strfromf64): Likewise.
25888 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25889 (strfromf32x): Likewise.
25890 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25891 (strfromf64x): Likewise.
25892 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25893 (strfromf128x): Likewise.
25894 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25895 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25896 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25897 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25898 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25899 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25901 2017-11-03 Richard Henderson <rth@twiddle.net>
25903 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25905 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25907 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25909 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25911 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25912 DT_TLSDESC_GOT initialization.
25913 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25914 (_dl_tlsdesc_resolve_hold): Likewise.
25915 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25916 (_dl_tlsdesc_resolve_hold): Likewise.
25917 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25918 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25920 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25922 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25924 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25927 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25928 non-lazily for R_ARM_TLS_DESC.
25930 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25933 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25934 R_ARM_TLS_DESC case.
25935 (elf_machine_lazy_rel): Remove the prelink check.
25937 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25939 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25940 DT_TLSDESC_GOT initialization.
25941 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25942 (_dl_tlsdesc_resolve_rela): Likewise.
25943 (_dl_tlsdesc_resolve_hold): Likewise.
25944 (_dl_tlsdesc_undefweak): Remove ldar.
25945 (_dl_tlsdesc_dynamic): Likewise.
25946 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25947 (_dl_tlsdesc_resolve_rela): Likewise.
25948 (_dl_tlsdesc_resolve_hold): Likewise.
25949 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25950 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25951 (_dl_tlsdesc_resolve_rela): Likewise.
25952 (_dl_tlsdesc_resolve_hold): Likewise.
25954 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25956 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25957 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25959 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25961 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25962 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25964 2017-11-02 Joseph Myers <joseph@codesourcery.com>
25966 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25968 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25969 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25970 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25971 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25972 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25973 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25974 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25975 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25976 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25977 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25978 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25980 2017-11-02 Mike FABIAN <mfabian@redhat.com>
25983 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25984 * localedata/locales/tpi_PG: Add standard header.
25986 2017-11-02 Florian Weimer <fweimer@redhat.com>
25988 test-errno-linux: quotactl can fail with EPERM in containers.
25989 * sysdeps/unix/sysv/linux/test-errno-linux.c
25990 (LIST, LIST_FORWARD): New macros.
25991 (check_error_in_list): New function.
25992 (test_wrp_rv): Accept list of permitted error codes.
25993 (test_wrp_rv2): Remove.
25994 (test_wrp): Call test_wrp_rv with list of error codes.
25995 (test_wrp2): Accept list of error codes.
25996 (do_test): Adjust. Allow EPERM for quotactl.
25998 2017-11-02 Florian Weimer <fweimer@redhat.com>
26000 * stdio-common/bug16.c (do_test): Use array_length.
26001 * stdio-common/errlist.c (_sys_nerr): Likewise.
26002 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
26003 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
26004 * stdio-common/psiginfo.c (psiginfo): Use array_length.
26005 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
26006 (do_test): Use array_length.
26007 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
26008 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
26009 * stdio-common/tst-printf-round.c (do_test): Likewise.
26010 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
26011 (CHECK): Use array_length.
26012 * stdio-common/tstdiomisc.c (t3, F): Likewise.
26013 * stdio-common/tstscanf.c (main): Likewise.
26014 * stdio-common/vfprintf.c (process_string_arg): Likewise.
26016 2017-11-02 Florian Weimer <fweimer@redhat.com>
26018 Add array_length and array_end macros.
26019 * include/array_length.h: New file.
26021 2017-11-02 Florian Weimer <fweimer@redhat.com>
26024 * posix/tst-glob-tilde.c (do_noescape): New variable.
26025 (one_test): Process it.
26026 (do_test): Set do_noescape. Add unescaping test case.
26028 2017-11-01 Joseph Myers <joseph@codesourcery.com>
26031 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
26032 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
26033 with appropriate macros defined and undefined.
26034 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
26035 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26036 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
26037 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26038 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
26039 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26040 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
26041 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26042 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
26043 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26046 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
26047 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
26048 that for long double. Do not condition define and undefine of
26049 _Mdouble_complex_ on [__CFLOAT128].
26051 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
26053 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26054 of <sysdeps/generic/sysdep.h>.
26055 (ALIGNARG): Removed.
26056 (ASM_SIZE_DIRECTIVE): Likewise.
26059 (ENTRY_CHK): Likewise.
26060 (END_CHK): Likewise.
26061 (syscall_error): Likewise.
26062 (mcount): Likewise.
26063 (PSEUDO_END): Likewise.
26065 (atom_text_section): Likewise.
26066 * sysdeps/x86/sysdep.h: New file.
26067 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26068 of <sysdeps/generic/sysdep.h>.
26069 (ALIGNARG): Removed.
26070 (ASM_SIZE_DIRECTIVE): Likewise.
26073 (ENTRY_CHK): Likewise.
26074 (END_CHK): Likewise.
26075 (syscall_error): Likewise.
26076 (mcount): Likewise.
26077 (PSEUDO_END): Likewise.
26079 (atom_text_section): Likewise.
26081 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
26083 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
26084 category of LC_CTYPE set to "i18n:2012".
26085 * localedata/locales/i18n_ctype: Regenerate.
26087 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
26089 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
26090 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
26091 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26092 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26094 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
26095 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
26096 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
26097 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
26099 2017-10-31 Joseph Myers <joseph@codesourcery.com>
26102 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
26104 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
26106 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
26108 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26109 (CMPLXF32X): Likewise.
26110 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26111 (CMPLXF64X): Likewise.
26112 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26113 (CMPLXF128X): Likewise.
26116 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
26117 (__MATH_EVAL_FMT2): Define to add 0.0f.
26119 2017-10-31 Alan Modra <amodra@gmail.com>
26121 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
26123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
26124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
26125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
26126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
26127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
26128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
26129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
26130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
26131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
26132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
26133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
26134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
26135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
26136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
26137 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
26138 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
26139 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
26140 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
26141 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
26142 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
26143 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
26144 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
26145 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
26146 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
26147 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26148 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
26149 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
26150 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
26151 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
26152 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
26153 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26154 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26155 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
26156 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
26157 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
26158 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
26159 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
26160 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
26161 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
26162 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26163 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
26164 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
26165 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
26166 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
26167 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
26168 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
26169 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
26170 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
26171 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26172 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26173 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
26174 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
26175 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
26176 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
26177 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26178 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
26179 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
26180 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
26181 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26182 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26183 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26184 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
26185 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
26186 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26187 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
26188 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
26189 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
26190 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
26191 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
26193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
26194 include sysdep.h and math_ldbl_opt.h.
26196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
26197 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
26198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
26199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
26200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
26201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
26202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
26203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
26204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
26205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
26206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
26207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
26208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
26209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
26210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
26211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
26212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
26213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
26214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
26215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
26216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
26217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
26218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
26219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
26220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
26221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
26223 2017-10-31 Alan Modra <amodra@gmail.com>
26225 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
26226 string/strncase_l.c, not string/strncase.c.
26227 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
26228 (libc_hidden_def): Redefine.
26230 2017-10-31 Alan Modra <amodra@gmail.com>
26232 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
26233 (__STRCMP, STRCMP, __strcasecmp_l): Define.
26234 (__strcasecmp): Don't define.
26236 2017-10-31 Alan Modra <amodra@gmail.com>
26238 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
26240 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26241 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26242 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26244 2017-10-31 Alan Modra <amodra@gmail.com>
26246 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
26249 2017-10-31 Alan Modra <amodra@gmail.com>
26251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
26252 Redefine only when SHARED.
26254 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26256 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26257 Include <bits/math-finite.h> with appropriate macros defined and
26259 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26260 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26261 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26262 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26263 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26265 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26266 [!_Mlong_double_] (_Mlong_double_): Likewise.
26267 [!_Mfloat16_] (_Mfloat16_): Likewise.
26268 [!_Mfloat32_] (_Mfloat32_): Likewise.
26269 [!_Mfloat64_] (_Mfloat64_): Likewise.
26270 [!_Mfloat128_] (_Mfloat128_): Likewise.
26271 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26272 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26273 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26274 (_Mdouble_): Define without indirection through those macros.
26275 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26276 [!_Mfloat128_] (_Mfloat128_): Likewise.
26277 [_Mlong_double_] (_Mlong_double_): Likewise.
26278 (_Mdouble_): Define without indirection through those macros.
26279 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26280 not add -D_Mlong_double_=double.
26281 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26282 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26284 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26286 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26288 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26290 * sysdeps/x86/libc-start.c: Reformat.
26292 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26295 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26296 (1): Renamed to ...
26299 (L(Src2)): Likewise.
26300 (L(1)): Renamed to ...
26303 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26305 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26306 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26307 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26308 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26309 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26310 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26311 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26312 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26313 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26314 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26315 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26316 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26317 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26318 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26319 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26320 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26321 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26322 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26323 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26324 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26325 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26326 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26327 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26328 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26329 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26330 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26331 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26332 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26333 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26334 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26335 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26336 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26337 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26338 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26339 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26340 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26341 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26342 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26343 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26344 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26345 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26346 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26347 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26348 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26349 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26350 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26351 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26352 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26353 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26354 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26355 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26356 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26357 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26358 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26359 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26360 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26361 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26362 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26363 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26364 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26365 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26366 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26367 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26368 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26369 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26370 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26372 2017-10-30 Florian Weimer <fweimer@redhat.com>
26374 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26376 * io/tst-mkdirat.c (do_test): Likewise.
26377 * io/tst-mkfifoat.c (do_test): Likewise.
26378 * io/tst-mknodat.c (do_test): Likewise.
26379 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26380 * locale/programs/locale.c (select_dirs): Likewise.
26381 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26382 * posix/bug-glob2.c (my_readdir): Likewise.
26383 * posix/tst-dir.c (main): Likewise.
26384 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26385 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26387 2017-10-30 Florian Weimer <fweimer@redhat.com>
26389 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26392 2017-10-30 Florian Weimer <fweimer@redhat.com>
26394 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26395 Convert to support/test-driver.c.
26396 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26397 New macro parameters.
26398 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26399 * posix/tst-gnuglob.c: New file.
26400 * posix/tst-gnuglob64.c: Likewise.
26401 * posix/Makefile (tests): Add tst-gnuglob64.
26403 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
26406 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26407 and use a better translation for March in “mon”.
26408 * localedata/locales/csb_PL: Use more ASCII to improve the
26409 readability of the source.
26411 2017-10-30 Mike FABIAN <mfabian@redhat.com>
26414 * localedata/locales/km_KH: Use ASCII as much
26415 as possible for better readability of the source and
26416 remove useless comments.
26417 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26418 was commented out and apparently wrong anyway because it was
26419 using Lao characters. If Buddhist era should be used
26420 for km_KH, a native speaker should write the correct formaat
26422 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26423 (According to CLDR, the first weekday for Cambodia is Sunday).
26424 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26425 (These were using Lao characters which must be wrong. If we get
26426 the correct data from a native speaker, we could add it back, until
26427 then it is better not to have name_mr and name_mrs at all than
26430 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26432 * locale/loadlocale.c: Correct size of
26433 _nl_value_type_LC_<category> arrays.
26435 2017-10-27 Joseph Myers <joseph@codesourcery.com>
26437 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26438 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26439 with appropriate macros defined and undefined.
26440 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26441 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26442 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26443 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26444 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26446 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26448 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26451 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26453 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26454 with lowercase letters to make it agree with CLDR.
26456 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26459 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26460 first letters of yesstr and nostr in yesexpr and noexpr,
26461 not for the full words.
26462 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26463 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26464 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26465 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26466 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26467 first letters of yesstr and nostr in yesexpr and noexpr,
26468 until now only English was matched in yesexpr and noexpr.
26469 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26470 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26471 fil but not for tl. As tl and fil are very similar, using fil
26472 is probably better than using English.
26474 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
26477 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26478 in yesstr and nostr.
26480 2017-10-26 Joseph Myers <joseph@codesourcery.com>
26482 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26483 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26484 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26486 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26488 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26490 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26492 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26493 (SNANF128X): Likewise.
26495 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26496 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26497 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26498 (HUGE_VAL_F32): Likewise.
26499 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26500 (HUGE_VAL_F64): Likewise.
26501 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26502 (HUGE_VAL_F32X): Likewise.
26503 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26504 (HUGE_VAL_F64X): Likewise.
26505 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26506 (HUGE_VAL_F128X): Likewise.
26508 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26510 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26511 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26512 for the br_FR locale.
26514 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26517 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26519 2017-10-25 Carlos O'Donell <carlos@redhat.com>
26521 * locale/programs/record-status.h: Define globals, and function
26522 prototypes. Move function bodies...
26523 * locale/programs/record-status.c: ... to here. New file.
26524 * iconv/Makefile (iconv_prog-modules): Add record-status.
26525 * locale/Makefile (lib-modules): Likewise.
26526 * iconv/iconv_prog.c: Remove verbose.
26527 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26528 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26529 record a warning about ASCII compatibility.
26530 * locale/programs/ld-monetary.c (monetary_finish): If
26531 warn_int_curr_symbol is true then record a warning about the symbol
26532 not being in our ISO 4217 list.
26533 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26534 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26535 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26536 (OPT_NO_WARN): Define.
26537 (OPT_WARN): Define.
26538 (options): Add entry for --no-warnings, and --warnings.
26539 (set_warnings): New function to enable/disable warnings.
26540 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26541 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26542 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26543 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26544 Pass flags to generate_locale.
26545 (generate_locale): Accept new flag argument and pass it to localedef
26547 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26548 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26550 * localedata/Makefile (test-input-data): Use full file name.
26551 * localedata/da_DK.in: Rename to...
26552 * localedata/da_DK.ISO-8859-1.in: ...this.
26553 * localedata/de_DE.in: Rename to...
26554 * localedata/de_DE.ISO-8859-1.in: ...this.
26555 * localedata/en_US.in: Rename to...
26556 * localedata/en_US.ISO-8859-1.in: ...this.
26557 * localedata/fr_FR.in: Rename to...
26558 * localedata/fr_FR.UTF-8.in: ... this.
26559 * localedata/hr_HR.in: Rename to...
26560 * localedata/hr_HR.ISO-8859-2.in: ...this.
26561 * localedata/hu_HU.in: Rename to...
26562 * localedata/hu_HU.UTF-8.in: ...this.
26563 * localedata/si_LK.in: Rename to...
26564 * localedata/si_LK.UTF-8.in: ...this.
26565 * localedata/sv_SE.in: Rename to...
26566 * localedata/sv_SE.ISO-8859-1.in: ...this.
26567 * localedata/tr_TR.in: Rename to...
26568 * localedata/tr_TR.UTF-8.in: ...this.
26569 * localedata/uk_UA.in: Rename to...
26570 * localedata/uk_UA.UTF-8.in: ...this.
26571 * localedata/sort-test.sh: Test file is locale name with the
26574 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26575 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26577 * localedata/locales/i18n_ctype: Regenerate.
26578 * localedata/locales/tr_TR: Likewise.
26579 * localedata/locales/translit_circle: Likewise.
26580 * localedata/locales/translit_cjk_compat: Likewise.
26581 * localedata/locales/translit_combining: Likewise.
26582 * localedata/locales/translit_compat: Likewise.
26583 * localedata/locales/translit_font: Likewise.
26584 * localedata/locales/translit_fraction: Likewise.
26586 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26588 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26589 lxvd2x/stxvd2x with lvx/stvx.
26590 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26592 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26594 * include/alloc_buffer.h: Replace "if if " with "if " in
26596 * sysdeps/mips/memcpy.S: Likkewise.
26597 * sysdeps/mips/memset.S: Likewise.
26598 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26600 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26602 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26605 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26608 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26609 yesexpr and noexpr.
26610 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26611 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26612 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26613 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26614 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26615 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26616 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26618 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26620 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26621 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26622 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26623 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26624 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26625 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26626 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26627 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26628 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26629 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26630 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26631 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26633 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26635 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26636 as possible for better readability of the source.
26637 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26638 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26639 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26640 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26641 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26642 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26643 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26644 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26645 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26646 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26647 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26648 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26649 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26650 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26651 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26652 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26653 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26654 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26655 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26656 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26657 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26658 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26659 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26660 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26661 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26662 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26663 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26664 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26665 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26666 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26667 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26668 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26669 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26670 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26671 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26672 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26673 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26674 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26675 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26676 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26677 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26678 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26679 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26680 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26681 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26682 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26683 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26684 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26685 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26686 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26687 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26688 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26689 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26690 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26691 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26692 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26693 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26694 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26695 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26696 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26697 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26698 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26699 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26700 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26701 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26702 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26703 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26704 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26705 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26706 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26707 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26708 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26709 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26710 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26711 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26712 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26713 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26714 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26715 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26716 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26717 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26718 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26719 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26720 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26721 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26722 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26723 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26724 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26725 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26726 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26727 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26728 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26729 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26730 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26731 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26732 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26733 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26734 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26735 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26736 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26737 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26738 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26739 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26740 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26741 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26742 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26743 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26744 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26745 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26746 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26747 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26748 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26749 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26750 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26751 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26752 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26753 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26754 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26755 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26756 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26757 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26758 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26759 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26760 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26761 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26762 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26763 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26764 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26765 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26766 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26767 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26768 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26769 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26770 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26771 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26772 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26773 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26774 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26775 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26776 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26777 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26778 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26779 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26780 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26781 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26782 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26783 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26784 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26785 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26786 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26787 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26788 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26789 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26790 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26791 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26792 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26793 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26794 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26795 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26796 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26797 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26798 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26799 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26800 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26801 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26802 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26803 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26804 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26805 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26806 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26807 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26808 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26809 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26810 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26812 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26814 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26815 (Use first letters of yesstr and nostr correctly instead of using
26818 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26820 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26821 (Use first letters of yesstr and nostr correctly).
26823 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26825 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26826 also check for the first characters of yesstr and nostr.
26827 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26828 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26830 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26832 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26833 also check for Chinese characters.
26835 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26837 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26838 match also for the contents of yesstr and nostr. As the first letter
26839 of yesstr and nostr is equal, checking only for the first letter
26842 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26844 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26845 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26847 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26849 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26850 of main contributor.
26852 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26854 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26855 instead of using English.
26857 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26859 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26860 by including the first letters of nostr and yesexpr in the regexp.
26861 Also make it more readable by using ASCII where possible.
26863 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26865 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26866 the first letter of nostr in the regexp. It agrees with CLDR now.
26867 Also make it more readable by using ASCII where possible.
26869 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26871 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26872 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26873 these strings contain a U+17D6 (which somewhat looks like a colon)
26874 instead of a real colon to separate the full words for “yes”
26875 and “no” from the single letter responses.
26877 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26879 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26880 it agree with CLDR (include the first letter of yesstr).
26881 Also make it more readable by using ASCII where possible.
26883 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26885 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26886 and improve yesexpr and noexpr. The yesstr and nostr apparently
26887 came from CLDR. And CLDR has a bug there: these strings contain
26888 a U+0903 (which looks like a colon) instead of a real colon
26889 to separate the full words for “yes” and “no” from the single
26892 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26894 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26895 letters of the full yesstr and nostr in yesexpr and noexpr.
26897 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26899 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26900 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26901 * localedata/locales/an_ES: Make source more readable by using ASCII
26904 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26907 * localedata/locales/yuw_PG: New file.
26908 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26909 * locale/iso-639.def: Add Yau (Uruwa).
26911 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26913 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26915 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26917 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26918 (__libc_realloc): Likewise.
26919 (_mid_memalign): Likewise.
26920 (__libc_calloc): Likewise.
26922 2017-10-23 Mike FABIAN <mfabian@redhat.com>
26924 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26925 by adding the generic +1 and -0 as in all other locales.
26926 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26927 day names and make it more readable by using ASCII where possible.
26929 2017-10-24 Joseph Myers <joseph@codesourcery.com>
26931 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26932 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26934 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26936 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26937 WNOHANG in waitpid call.
26939 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26941 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26942 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26944 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26945 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26946 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26947 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26948 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26949 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26950 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26951 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26954 2017-10-23 Michael Collison <michael.collison@arm.com>
26956 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26957 with __builtin_sqrt.
26958 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26959 with __builtin_sqrtf.
26960 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26961 with __builtin_ceil.
26962 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26963 with __builtin_ceilf.
26964 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26965 with __builtin_floor.
26966 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26967 with __builtin_floorf.
26968 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26969 with __builtin_fma.
26970 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26971 with __builtin_fmaf.
26972 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26973 with __builtin_fmax.
26974 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26975 with __builtin_fmaxf.
26976 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26977 with __builtin_fmin.
26978 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26979 with __builtin_fminf.
26980 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26981 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26982 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26983 with builtin_rint and conversion to int.
26984 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26985 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26986 with builtin_llround.
26987 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26988 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26989 with builtin_rint and conversion to long int.
26990 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26991 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26992 with builtin_lround.
26993 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26994 with builtin_lroundf.
26995 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26996 statements with __builtin_nearbyint.
26997 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26998 statements with __builtin_nearbyintf.
26999 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
27000 with __builtin_rint.
27001 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
27002 with __builtin_rintf.
27003 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
27004 with __builtin_round.
27005 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
27006 with __builtin_roundf.
27007 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
27008 with __builtin_trunc.
27009 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
27010 with __builtin_truncf.
27011 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
27012 and s_l[l]round[f].c too.
27014 2017-10-23 Alan Modra <amodra@gmail.com>
27016 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
27017 Adjust stack after restoring regs. Add missing LR cfi_restore.
27019 2017-10-23 Alan Modra <amodra@gmail.com>
27021 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
27022 Move LR save and frame setup/teardown and LR restore to
27023 immediately around memset call. Provide cfi.
27025 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27027 * sysdeps/i386/fpu/e_powf.S: Removed.
27028 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
27029 * sysdeps/i386/fpu/w_powf.c: Likewise.
27030 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
27031 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27032 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27034 (CFLAGS-e_powf-sse2.c): New.
27035 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
27036 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
27038 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27040 * sysdeps/i386/fpu/e_log2f.S: Removed.
27041 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
27042 * sysdeps/i386/fpu/w_log2f.c: Likewise.
27043 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
27044 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27045 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27047 (CFLAGS-e_log2f-sse2.c): New.
27048 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
27049 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
27051 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27053 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27055 (CFLAGS-e_powf-fma.c): New.
27056 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
27057 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
27059 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27061 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27063 (CFLAGS-e_log2f-fma.c): New.
27064 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
27065 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
27067 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27069 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27071 (CFLAGS-e_logf-fma.c): New.
27072 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
27073 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
27075 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27077 * sysdeps/i386/fpu/e_logf.S: Removed.
27078 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
27079 * sysdeps/i386/fpu/w_logf.c: Likewise.
27080 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
27081 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
27082 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27083 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27085 (CFLAGS-e_logf-sse2.c): New.
27086 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
27087 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
27089 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27091 * sysdeps/i386/fpu/e_exp2f.S: Removed.
27092 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
27093 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
27094 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27095 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27097 (CFLAGS-e_exp2f-sse2.c): New.
27098 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
27099 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
27101 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27103 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27105 (CFLAGS-e_exp2f-fma.c): New.
27106 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
27107 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
27109 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27111 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
27112 * sysdeps/i386/fpu/e_expf.S: Likewise.
27113 * sysdeps/i386/fpu/math_errf.c: Likewise.
27114 * sysdeps/i386/fpu/w_expf.c: Likewise.
27115 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
27116 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27117 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
27118 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
27119 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27120 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27121 Remove e_expf-ia32.
27122 (CFLAGS-e_expf-sse2.c): New.
27123 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
27124 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
27126 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27128 * sysdeps/x86_64/fpu/e_expf.S: Removed.
27129 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
27130 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
27131 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
27133 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
27135 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
27136 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27138 (__redirect_expf): This.
27139 (SYMBOL_NAME): Changed to expf.
27140 (__ieee754_expf): Renamed to ...
27142 (__GI___expf): This.
27143 (__ieee754_expf): Add strong_alias.
27144 (__expf_finite): Likewise.
27146 Include <sysdeps/ieee754/flt-32/e_expf.c>.
27148 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
27151 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
27154 2017-10-21 Florian Weimer <fweimer@redhat.com>
27156 * posix/Makefile (tests): Add tst-glob-tilde.
27157 (tests-special): Add tst-glob-tilde-mem.out
27158 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
27159 (tst-glob-tilde-mem.out): Add mtrace check.
27160 * posix/tst-glob-tilde.c: New file.
27162 2017-10-20 Joseph Myers <joseph@codesourcery.com>
27164 * bits/floatn-common.h: New file.
27165 * math/Makefile (headers): Add bits/floatn-common.h.
27166 * bits/floatn.h: Include <bits/floatn-common.h>.
27167 * sysdeps/ia64/bits/floatn.h: Likewise.
27168 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27169 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
27170 * sysdeps/powerpc/bits/floatn.h: Likewise.
27171 * sysdeps/x86/bits/floatn.h: Likewise.
27173 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27175 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
27176 indicates whether compiler emits an warning for alias for
27177 functions with incompatible types.
27180 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
27181 the auxiliary process is terminated by a signal before calling _exit
27184 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27187 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
27189 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
27190 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
27191 and bit_arch_XSAVEC_Usable if needed.
27192 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
27193 and bit_arch_Use_dl_runtime_resolve_opt.
27194 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
27196 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
27197 (bit_arch_Prefer_No_AVX512): Updated.
27198 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
27199 (bit_arch_XSAVEC_Usable): New.
27200 (STATE_SAVE_OFFSET): Likewise.
27201 (STATE_SAVE_MASK): Likewise.
27202 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
27203 (cpu_features): Add xsave_state_size and xsave_state_full_size.
27204 (index_arch_Use_dl_runtime_resolve_opt): Removed.
27205 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
27206 (index_arch_XSAVEC_Usable): New.
27207 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27208 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
27209 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
27211 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
27212 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
27213 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
27214 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
27215 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
27216 _dl_runtime_resolve_xsavec.
27217 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
27219 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
27220 instead of VEC_SIZE.
27221 (REGISTER_SAVE_BND0): Removed.
27222 (REGISTER_SAVE_BND1): Likewise.
27223 (REGISTER_SAVE_BND3): Likewise.
27224 (REGISTER_SAVE_RAX): Always defined to 0.
27226 (_dl_runtime_resolve_avx): Likewise.
27227 (_dl_runtime_resolve_avx_slow): Likewise.
27228 (_dl_runtime_resolve_avx_opt): Likewise.
27229 (_dl_runtime_resolve_avx512): Likewise.
27230 (_dl_runtime_resolve_avx512_opt): Likewise.
27231 (_dl_runtime_resolve_sse): Likewise.
27232 (_dl_runtime_resolve_sse_vex): Likewise.
27234 (_dl_runtime_resolve_fxsave): Likewise.
27235 (USE_XSAVE): Likewise.
27236 (_dl_runtime_resolve_xsave): Likewise.
27237 (USE_XSAVEC): Likewise.
27238 (_dl_runtime_resolve_xsavec): Likewise.
27239 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
27241 (_dl_runtime_resolve_avx512_opt): Likewise.
27242 (_dl_runtime_resolve_avx): Likewise.
27243 (_dl_runtime_resolve_avx_opt): Likewise.
27244 (_dl_runtime_resolve_sse): Likewise.
27245 (_dl_runtime_resolve_sse_vex): Likewise.
27246 (_dl_runtime_resolve_fxsave): New.
27247 (_dl_runtime_resolve_xsave): Likewise.
27248 (_dl_runtime_resolve_xsavec): Likewise.
27250 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
27254 * posix/glob.c (__glob): Fix one-byte overflow.
27256 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27258 * malloc/malloc.c (sysdep-cancel.h): Add include.
27260 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27262 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27264 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27266 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27267 (tests): Remove $(objpfx)ga_test depdendency.
27268 * resolv/ga_test.c: Remove file.
27270 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27273 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27274 * localedata/locales/kab_DZ: New file.
27276 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27278 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27279 _dl_relocate_static_pie instead of _dl_start to compute load
27280 address in static PIE.
27282 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27284 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27286 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27289 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27290 * localedata/locales/shn_MM: New file.
27292 2017-10-20 Florian Weimer <fweimer@redhat.com>
27295 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27296 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27297 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27298 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27299 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27300 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27302 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27304 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27306 2017-10-19 Joseph Myers <joseph@codesourcery.com>
27308 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27311 * sysdeps/mips/bits/long-double.h: Move to ....
27312 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27314 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27316 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27318 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
27319 H.J. Lu <hongjiu.lu@intel.com>
27322 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27323 GLRO(dl_platform) to NULL.
27324 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27325 (modules-names): Add tst-platformmod-1 and
27326 x86_64/tst-platformmod-2.
27327 (CFLAGS-tst-platform-1.c): New.
27328 (CFLAGS-tst-platformmod-1.c): Likewise.
27329 (CFLAGS-tst-platformmod-2.c): Likewise.
27330 (LDFLAGS-tst-platformmod-2.so): Likewise.
27331 ($(objpfx)tst-platform-1): Likewise.
27332 ($(objpfx)tst-platform-1.out): Likewise.
27333 (tst-platform-1-ENV): Likewise.
27334 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27335 * sysdeps/x86_64/tst-platform-1.c: New file.
27336 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27337 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27339 2017-10-19 Mike FABIAN <mfabian@redhat.com>
27342 * locale/iso-639.def: Add Karbi.
27343 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27344 * localedata/locales/mjw_IN: New file.
27346 2017-10-18 Joseph Myers <joseph@codesourcery.com>
27348 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27349 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27350 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27351 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27352 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27353 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27354 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27356 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27357 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27358 * manual/math.texi (Mathematics): Document additional architecture
27359 support for _Float128.
27360 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27361 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27362 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27363 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27364 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27365 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27366 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27367 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27368 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27369 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27370 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27371 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27372 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27373 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27374 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27376 2017-10-18 Renlin Li <renlin.li@arm.com>
27378 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27379 _DYNAMIC symbol to calculate load address.
27381 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
27383 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27384 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27386 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27387 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27389 2017-10-18 Mike FABIAN <mfabian@redhat.com>
27392 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27393 and improve readability by using more ASCII.
27394 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27395 and improve readability by using more ASCII.
27397 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27399 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27400 not all targets support atomics on bool.
27402 2017-10-17 Joseph Myers <joseph@codesourcery.com>
27404 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27405 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27407 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27408 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27409 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27410 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27411 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27412 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27414 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27416 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27419 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27422 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27423 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27424 (do_check_remalloced_chunk): Fix build bug.
27425 (do_check_malloc_state): Add assert that checks arena->top.
27426 (malloc_consolidate): Remove initialization.
27427 (int_mallinfo): Remove call to malloc_consolidate.
27428 (__libc_mallopt): Clarify why malloc_consolidate is needed.
27430 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27432 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27433 (have_fastchunks): Remove.
27434 (clear_fastchunks): Remove.
27435 (set_fastchunks): Remove.
27436 (malloc_state): Add have_fastchunks.
27437 (malloc_init_state): Use have_fastchunks.
27438 (do_check_malloc_state): Remove incorrect invariant checks.
27439 (_int_malloc): Use have_fastchunks.
27440 (_int_free): Likewise.
27441 (malloc_consolidate): Likewise.
27443 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27445 * malloc/malloc.c (tcache_put): Inline.
27446 (tcache_get): Inline.
27448 2017-10-17 Jordi Mallach <jordi@gnu.org>
27450 Aurelien Jarno <aurelien@aurel32.net>
27452 * localedata/locales/ca_ES@valencia: New file.
27453 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27455 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27458 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27461 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27463 * scripts/build-many-glibcs.py (Context.add_all_configs):
27464 Add arm-linux-gnueabihf multiarch extra_glibcs.
27466 * sysdeps/generic/ifunc-init.h: New file.
27467 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27469 2017-10-17 Mike FABIAN <mfabian@redhat.com>
27472 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27473 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27474 * stdlib/tst-strfmon_l.c: adapt test case.
27476 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27478 * sysdeps/generic/float128-abi.h: New file.
27479 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27480 non-__prefixed symbols to ....
27481 * math/Versions: ... here. Include <float128-abi.h>.
27482 * stdlib/Versions ... and here. Include <float128-abi.h>
27484 2017-10-16 Florian Weimer <fweimer@redhat.com>
27486 * version.h (VERSION): Switch to ".9000" as the development
27489 2017-10-16 Florian Weimer <fweimer@redhat.com>
27492 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27493 compat_symbol_reference to access non-default version.
27495 2017-10-16 Florian Weimer <fweimer@redhat.com>
27497 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27499 2017-10-16 Carlos O'Donell <carlos@redhat.com>
27501 * include/shlib-compat.h (compat_symbol_reference): Update
27504 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27506 * math/Makefile (test-types): Add
27507 $(type-float128-$(float128-alias-fcts)).
27508 * math/test-float128.h (TYPE_STR): Define conditional on
27509 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27510 (ULP_IDX): Likewise.
27511 (ULP_I_IDX): Likewise.
27513 * stdlib/strtold.c: Include <bits/floatn.h>
27514 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27515 and later undefine as macro. Define as weak alias if
27517 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27518 and later undefine as macro. Define as weak alias if
27520 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27521 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27522 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27523 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27524 Define and later undefine as macro. Define as weak alias if
27526 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27528 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27529 Define and later undefine as macro. Define as weak alias if
27531 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27532 Define and later undefine as macro. Define as weak alias if
27535 2017-10-15 Carlos O'Donell <carlos@redhat.com>
27537 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27538 record_verbose messages.
27540 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27543 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27544 to silence -O3 -Wall warning with GCC 7.
27546 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27548 * Makeconfig (+link-static-before-libc): Use the first of
27549 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27550 * gmon/Makefile (tests): Add tst-gmon-static.
27551 (tests-static): Likewise.
27552 (CFLAGS-tst-gmon-static.c): New.
27553 (CRT-tst-gmon-static): Likewise.
27554 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27555 (tst-gmon-static-ENV): Likewise.
27556 (tests-special): Likewise.
27557 ($(objpfx)tst-gmon-static.out): Likewise.
27558 (clean-tst-gmon-static-data): Likewise.
27559 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27560 * gmon/tst-gmon-static-gprof.sh: New file.
27561 * gmon/tst-gmon-static.c: Likewise.
27563 2017-10-13 Carlos O'Donell <carlos@redhat.com>
27566 * locale/programs/linereader.c (get_string): Don't warn on
27567 non-symbolic character.
27570 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27574 * locale/programs/record-status.h: New file
27575 * locale/programs/locale.c: Add comment.
27576 * locale/programs/charmap-dir.c: Don't include error.h.
27577 (charmap_opendir): Use record_error.
27578 * locale/programs/charmap.c: Don't include error.h.
27579 (charmap_read): Use record_error, and record_warning.
27580 (parse_charmap): Likewise.
27581 * locale/programs/ld-address.c: Don't include error.h.
27582 (address_finish): Use record_error, and record_warning.
27583 * locale/programs/ld-collate.c: Don't include error.h.
27584 (collate_finish): Use record_error, and record_error_at_line.
27585 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27586 (ctype_class_new): Likewise.
27587 (ctype_map_new): Likewise.
27588 (set_one_default): Likewise.
27589 (set_class_defaults): Likewise.
27590 (translit_flatten): Likewise.
27591 (allocate_arrays): Use record_error, and record_verbose.
27592 * locale/programs/ld-identification.c: Don't include error.h.
27593 (indentation_finish): Use record_error and record_warning.
27594 * locale/programs/ld-measurement.c: Don't include error.h.
27595 (measurement_finish): Use record_error.
27596 * locale/programs/ld-messages.c
27597 (message_finish): Likewise.
27598 * locale/programs/ld-monetary.c
27599 (monetary_finish): Likewise.
27600 * locale/programs/ld-name.c (name_finish): Use record_error
27601 and record_warning.
27602 * locale/programs/ld-numeric.c
27603 (numeric_finish): Use record_error.
27604 * locale/programs/ld-paper.c: Don't include error.h.
27605 (paper_finish): Use record_error.
27606 * locale/programs/ld-telephone.c: Don't include error.h.
27607 (telephone_finish): Use record_error.
27608 * locale/programs/ld-time.c (time_finish): Likewise.
27609 * locale/programs/linereader.h (lr_error): Make inline func.
27610 * locale/programs/localedef.c: Define recorded_warning_count,
27611 and recorded_error_count.
27612 (main): Use record_error. Use recorded_error_count and
27613 recorded_warning_count to issue correct error returns.
27614 (add_to_readlist): Use record_error.
27615 (find_locale): Likewise.
27616 (load_locale): Likewise.
27617 * locale/programs/localedef.h: Remove be_quiet
27618 and WITH_CUR_LOCALE.
27619 * locale/programs/locarchive.c (compare_from_file): Use
27621 * locale/programs/locfile.c (write_locale_data): Use
27623 * locale/programs/repertoire.c: Dont include error.h.
27624 (repertoire_complain): Use record_error.
27625 * localedata/tst-fmon.sh: Expect failures from localedef.
27626 * localedata/tst-locale.sh: Likewise.
27627 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27629 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27630 (REPORTS): Likewise.
27632 (i18n): Rename to...
27633 (i18n_ctype): ...this.
27634 (i18n-report): Rename to...
27635 (i18n_ctype-report): ...this.
27636 * localedata/locales/i18n_ctype: Regenerate.
27637 * localedata/locales/i18n: copy i18n_ctype.
27639 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27641 * stdlib/strfroml.c: Include <bits/floatn.h>.
27642 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27643 Define before include of <stdlib.h> and undefine afterwards, then
27644 define as weak alias.
27646 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27647 Undefine and restore default definition. Use
27648 libm_alias_ldouble_other.
27650 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27653 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27656 2017-10-13 James Clarke <jrtc27@jrtc27.com>
27658 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27659 Assign sym_map to be map for local symbols, as TLS relocations
27660 use sym_map to determine whether the symbol is defined and to
27661 extract the TLS information.
27662 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27663 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27665 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27668 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27669 (math_force_eval): Add powerpc version.
27672 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27674 (do_test): Likewise.
27675 * stdio-common/tst-printf.sh: Likewise.
27676 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27677 ifdef clause in order to set the carry bit right. Replace r0 by
27678 0 without changing the behavior.
27680 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27682 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27683 <libm-alias-ldouble.h>.
27684 (fabsl): Define using libm_alias_ldouble.
27685 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27686 <libm-alias-ldouble.h>.
27687 (fabsl): Define using libm_alias_ldouble.
27689 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27690 Remove conditional code.
27692 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27693 Rename to __clog10_internal_l.
27694 (__clog10_internal_l): Define aliases using
27695 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27698 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27700 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27701 * benchtests/sincosf-inputs: New file.
27702 * benchtests/cosf-inputs: New file.
27703 * benchtests/sinf-inputs: New file.
27705 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27707 * posix/tst-spawn.c (do_test): Wait for both children.
27709 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27712 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27713 tests-pie): Add tst-gmon-pie.
27714 (CFLAGS-tst-gmon-pie.c): New.
27715 (CRT-tst-gmon-pie): Likewise.
27716 (tst-gmon-pie-ENV): Likewise.
27717 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27718 ($(objpfx)tst-gmon-pie.out): Likewise.
27719 (clean-tst-gmon-pie-data): Likewise.
27720 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27721 * gmon/gmon.c [PIC]: Include <link.h>.
27722 [PIC] (callback): New function.
27723 (write_hist): Add an argument for load address. Subtract load
27725 (write_call_graph): Likewise.
27726 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27727 it to write_hist and write_call_graph.
27728 * gmon/tst-gmon-pie.c: New file.
27730 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27732 * math/Makefile (test-types-basic): New variable.
27733 (test-types): Likewise.
27734 (libm-test-support): Use $(test-types) instead of $(types).
27735 (libm-tests-base-normal): Likewise.
27736 (libm-tests-base-finite): Likewise.
27737 (libm-tests-base-inline): Likewise.
27738 (generated): Likewise.
27739 ($(objpfx)libm-test-support-$(t).c): Likewise.
27740 (libm-tests-for-type iterator): Likewise.
27741 (libm-test-support iterator): Likewise.
27742 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27743 (ulp_idx): Use ULP_IDX.
27744 * math/test-ldouble.h: Include <float.h>.
27745 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27746 (ULP_IDX): New macro.
27747 (ULP_I_IDX): Likewise.
27748 * math/test-double.h (ULP_IDX): Likewise.
27749 (ULP_I_IDX): Likewise.
27750 * math/test-float.h (ULP_IDX): Likewise.
27751 (ULP_I_IDX): Likewise.
27752 * math/test-float128.h (ULP_IDX): Likewise.
27753 (ULP_I_IDX): Likewise.
27755 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27757 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27758 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27759 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27760 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27761 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27762 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27763 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27764 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27765 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27766 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27767 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27768 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27769 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27770 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27771 (SINGLE_THREAD_BY_GLOBAL): Define.
27772 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27774 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27776 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27778 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27780 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27781 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27782 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27785 2017-10-11 Andreas Schwab <schwab@suse.de>
27787 * nis/Makefile (aux): Remove.
27788 * nscd/Makefile (aux): Add nscd_hash.
27789 (nscd-modules): Likewise.
27790 ($(objpfx)nscd): Don't depend on libnsl.
27791 * nscd/nscd_hash.c: New file.
27792 * nscd/nscd_hash.h: Likewise.
27793 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27794 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27795 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27796 instead of <nis/rpcsvc/nis.h>.
27797 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27799 2017-10-11 Florian Weimer <fweimer@redhat.com>
27802 Avoid large NSS buffers with many addresses, aliases.
27803 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27804 using dynarrays and struct alloc_buffer.
27805 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27806 (tst-nss-files-hosts-multi): Link with -ldl.
27807 * nss/tst-nss-files-hosts-multi.c: New file.
27809 2017-10-11 Florian Weimer <fweimer@redhat.com>
27812 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27813 scratch_buffer. Eliminate gotos.
27815 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27817 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27818 libm_alias_ldouble_other.
27819 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27820 undefine and redefine.
27821 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27822 (exp10l): Do not define here.
27823 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27824 (weak_alias): Undefine and redefine.
27825 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27826 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27827 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27828 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27830 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27831 [!__fma] (fma): Define using libm_alias_double.
27832 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27833 [!__fmaf] (fmaf): Define using libm_alias_float.
27834 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27835 (fmal): Define using libm_alias_ldouble.
27837 2017-10-10 Joseph Myers <joseph@codesourcery.com>
27839 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27841 (libm_alias_double_other): Likewise.
27842 (libm_alias_double_r): Use libm_alias_double_other_r.
27843 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27845 (libm_alias_float_other): Likewise.
27846 (libm_alias_float_r): Use libm_alias_float_other_r.
27847 * sysdeps/generic/libm-alias-float128.h
27848 (libm_alias_float128_other_r): New macro.
27849 (libm_alias_float128_other): Likewise.
27850 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27851 * sysdeps/generic/libm-alias-ldouble.h
27852 (libm_alias_ldouble_other_r): New macro.
27853 (libm_alias_ldouble_other): Likewise.
27854 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27855 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27856 (libm_alias_double_other_r): New macro.
27857 (libm_alias_double_other): Likewise.
27858 (libm_alias_double_r): Use libm_alias_double_other_r.
27859 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27860 (libm_alias_ldouble_other_r): New macro.
27861 (libm_alias_ldouble_other): Likewise.
27862 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27863 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27864 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27865 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27866 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27867 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27868 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27869 * math/w_exp2f.c: Use libm_alias_float_other.
27870 * math/w_expf.c: Likewise.
27871 * math/w_log2f.c: Likewise.
27872 * math/w_logf.c: Likewise.
27873 * math/w_powf.c: Likewise.
27874 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27875 [!__exp2f]: Use libm_alias_float_other.
27876 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27877 [!__expf]: Use libm_alias_float_other.
27878 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27879 [!__log2f]: Use libm_alias_float_other.
27880 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27881 [!__logf]: Use libm_alias_float_other.
27882 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27883 [!__powf]: Use libm_alias_float_other.
27885 2017-10-10 Florian Weimer <fweimer@redhat.com>
27887 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27889 (_nss_files_gethostbyname3_r): Call it.
27891 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27893 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27894 error. Remove default definition of declare_mgen_alias.
27895 [!declare_mgen_alias_r]: Likewise.
27896 * sysdeps/generic/math-type-macros-double.h
27897 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27898 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27899 (declare_mgen_alias_r): Likewise.
27900 * sysdeps/generic/math-type-macros-float128.h
27901 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27902 * sysdeps/generic/math-type-macros-ldouble.h
27903 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27904 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27906 (declare_mgen_alias_r_s): Likewise.
27907 (declare_mgen_alias_r): Likewise.
27908 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27909 (lgamma_r): Define using libm_alias_double_r.
27910 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27911 (lgammaf_r): Define using libm_alias_float_r.
27912 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27913 (lgammal_r): Define using libm_alias_ldouble_r.
27914 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27915 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27917 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27919 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27920 extern declaration.
27922 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27924 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27926 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
27929 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27930 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27931 * math/Makefile (test-math-cxx11): New test.
27932 * math/test-math-cxx11.cc: New file.
27934 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27936 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27938 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27939 call to allocate the slave pty file descriptor.
27941 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27943 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27944 [!__fma] (fma): Define using libm_alias_double.
27945 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27946 [!__fma] (fma): Define using libm_alias_double.
27948 * sysdeps/ieee754/float128/float128_private.h: Include
27949 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27950 (libm_alias_ldouble_r): Undefine and redefine.
27951 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27952 <libm-alias-ldouble.h>.
27953 (asinhl): Define using libm_alias_ldouble.
27954 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27955 <libm-alias-ldouble.h>.
27956 (atanl): Define using libm_alias_ldouble.
27957 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27958 <libm-alias-ldouble.h>.
27959 (cbrtl): Define using libm_alias_ldouble.
27960 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27961 <libm-alias-ldouble.h>.
27962 (ceill): Define using libm_alias_ldouble.
27963 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27964 <libm-alias-ldouble.h>.
27965 (copysignl): Define using libm_alias_ldouble.
27966 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27967 <libm-alias-ldouble.h>.
27968 (cosl): Define using libm_alias_ldouble.
27969 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27970 <libm-alias-ldouble.h>.
27971 (erfl): Define using libm_alias_ldouble.
27973 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27974 <libm-alias-ldouble.h>.
27975 (expm1l): Define using libm_alias_ldouble.
27976 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27977 <libm-alias-ldouble.h>.
27978 (fabsl): Define using libm_alias_ldouble.
27979 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27980 <libm-alias-ldouble.h>.
27981 (floorl): Define using libm_alias_ldouble.
27982 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27983 <libm-alias-ldouble.h>.
27984 (fmal): Define using libm_alias_ldouble.
27985 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27986 <libm-alias-ldouble.h>.
27987 (frexpl): Define using libm_alias_ldouble.
27988 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27989 libm_alias_ldouble.
27990 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27991 <libm-alias-ldouble.h>.
27992 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27993 libm_alias_ldouble.
27994 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27995 <libm-alias-ldouble.h>.
27996 (getpayloadl): Define using libm_alias_ldouble.
27997 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27998 <libm-alias-ldouble.h>.
27999 (llrintl): Define using libm_alias_ldouble.
28000 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
28001 <libm-alias-ldouble.h>.
28002 (llroundl): Define using libm_alias_ldouble.
28003 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
28004 <libm-alias-ldouble.h>.
28005 (logbl): Define using libm_alias_ldouble.
28006 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
28007 <libm-alias-ldouble.h>.
28008 (lrintl): Define using libm_alias_ldouble.
28009 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
28010 <libm-alias-ldouble.h>.
28011 (lroundl): Define using libm_alias_ldouble.
28012 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
28013 <libm-alias-ldouble.h>.
28014 (modfl): Define using libm_alias_ldouble.
28015 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
28016 <libm-alias-ldouble.h>.
28017 (nearbyintl): Define using libm_alias_ldouble.
28018 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
28019 <libm-alias-ldouble.h>.
28020 (nextafterl): Define using libm_alias_ldouble.
28021 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
28022 <libm-alias-ldouble.h>.
28023 (nextupl): Define using libm_alias_ldouble.
28024 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
28025 <libm-alias-ldouble.h>.
28026 (remquol): Define using libm_alias_ldouble.
28027 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
28028 <libm-alias-ldouble.h>.
28029 (rintl): Define using libm_alias_ldouble.
28030 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
28031 <libm-alias-ldouble.h>.
28032 (roundevenl): Define using libm_alias_ldouble.
28033 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
28034 <libm-alias-ldouble.h>.
28035 (roundl): Define using libm_alias_ldouble.
28036 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
28037 using libm_alias_ldouble.
28038 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
28039 <libm-alias-ldouble.h>.
28040 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
28041 Define using libm_alias_ldouble.
28042 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
28043 <libm-alias-ldouble.h>.
28044 (sincosl): Define using libm_alias_ldouble.
28045 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
28046 <libm-alias-ldouble.h>.
28047 (sinl): Define using libm_alias_ldouble.
28048 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
28049 <libm-alias-ldouble.h>.
28050 (tanhl): Define using libm_alias_ldouble.
28051 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
28052 <libm-alias-ldouble.h>.
28053 (tanl): Define using libm_alias_ldouble.
28054 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
28055 <libm-alias-ldouble.h>.
28056 (totalorderl): Define using libm_alias_ldouble.
28057 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
28058 <libm-alias-ldouble.h>.
28059 (totalordermagl): Define using libm_alias_ldouble.
28060 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
28061 <libm-alias-ldouble.h>.
28062 (truncl): Define using libm_alias_ldouble.
28063 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
28064 libm_alias_ldouble.
28065 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
28066 libm_alias_ldouble.
28067 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
28068 <libm-alias-ldouble.h>.
28069 (weak_alias): Do not undefine and redefine.
28070 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28071 (copysignl): Define with long_double_symbol only if [IS_IN
28073 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
28074 <libm-alias-ldouble.h>.
28075 (weak_alias): Do not undefine and redefine.
28076 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28077 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
28078 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
28079 <libm-alias-ldouble.h>.
28080 (weak_alias): Do not undefine and redefine.
28081 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28082 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
28083 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
28084 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
28085 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
28086 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
28087 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
28088 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
28089 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
28090 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
28091 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
28092 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
28093 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
28094 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
28095 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
28096 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
28097 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
28098 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
28099 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
28100 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
28101 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
28102 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
28103 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
28104 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
28105 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
28106 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
28108 2017-10-06 Carlos O'Donell <carlos@redhat.com>
28111 * malloc/malloc.c (tcache_shutting_down): Use bool type.
28112 (tcache_thread_freeres): Set tcache_shutting_down before
28113 freeing the tcache.
28114 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
28115 * malloc/tst-malloc-tcache-leak.c: New file.
28117 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28119 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
28120 back to powerpc32 file.
28121 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28122 (memrchr): Add __memrchr_power8 to ifunc list.
28123 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
28124 extra bytes for unaligned inputs.
28126 2017-10-06 Joseph Myers <joseph@codesourcery.com>
28128 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
28129 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
28130 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
28131 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28132 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28134 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28136 * sysdeps/arm/libm-test-ulps: Update.
28138 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
28139 <libm-alias-ldouble.h>.
28140 (asinhl): Define using libm_alias_ldouble.
28141 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
28142 <libm-alias-ldouble.h>.
28143 (cbrtl): Define using libm_alias_ldouble.
28144 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
28145 <libm-alias-ldouble.h>.
28146 (copysignl): Define using libm_alias_ldouble.
28147 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
28148 <libm-alias-ldouble.h>.
28149 (cosl): Define using libm_alias_ldouble.
28150 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
28151 <libm-alias-ldouble.h>.
28152 (erfl): Define using libm_alias_ldouble.
28154 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
28155 <libm-alias-ldouble.h>.
28156 (fmal): Define using libm_alias_ldouble.
28157 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
28158 <libm-alias-ldouble.h>.
28159 (frexpl): Define using libm_alias_ldouble.
28160 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
28161 libm_alias_ldouble.
28162 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
28163 <libm-alias-ldouble.h>.
28164 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
28165 libm_alias_ldouble.
28166 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
28167 <libm-alias-ldouble.h>.
28168 (getpayloadl): Define using libm_alias_ldouble.
28169 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
28170 <libm-alias-ldouble.h>.
28171 (llrintl): Define using libm_alias_ldouble.
28172 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
28173 <libm-alias-ldouble.h>.
28174 (llroundl): Define using libm_alias_ldouble.
28175 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
28176 <libm-alias-ldouble.h>.
28177 (lrintl): Define using libm_alias_ldouble.
28178 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
28179 <libm-alias-ldouble.h>.
28180 (lroundl): Define using libm_alias_ldouble.
28181 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
28182 <libm-alias-ldouble.h>.
28183 (modfl): Define using libm_alias_ldouble.
28184 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
28185 <libm-alias-ldouble.h>.
28186 (nextupl): Define using libm_alias_ldouble.
28187 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
28188 <libm-alias-ldouble.h>.
28189 (remquol): Define using libm_alias_ldouble.
28190 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
28191 <libm-alias-ldouble.h>.
28192 (roundevenl): Define using libm_alias_ldouble.
28193 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
28194 <libm-alias-ldouble.h>.
28195 (roundl): Define using libm_alias_ldouble.
28196 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
28197 using libm_alias_ldouble.
28198 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
28199 <libm-alias-ldouble.h>.
28200 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
28201 <libm-alias-ldouble.h>.
28202 (setpayloadsigl): Define using libm_alias_ldouble.
28203 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
28204 <libm-alias-ldouble.h>.
28205 (sincosl): Define using libm_alias_ldouble.
28206 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
28207 <libm-alias-ldouble.h>.
28208 (sinl): Define using libm_alias_ldouble.
28209 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
28210 <libm-alias-ldouble.h>.
28211 (tanhl): Define using libm_alias_ldouble.
28212 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
28213 <libm-alias-ldouble.h>.
28214 (tanl): Define using libm_alias_ldouble.
28215 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
28216 <libm-alias-ldouble.h>.
28217 (totalorderl): Define using libm_alias_ldouble.
28218 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
28219 <libm-alias-ldouble.h>.
28220 (totalordermagl): Define using libm_alias_ldouble.
28221 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
28222 libm_alias_ldouble.
28223 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
28224 libm_alias_ldouble.
28226 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
28228 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28230 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28231 (__libc_ifunc_impl_list): Likewise.
28232 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
28233 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
28235 * benchtests/bench-memmove-walk.c: New file.
28236 * benchtests/Makefile (string-benchset): Add it.
28238 * benchtests/bench-memset-walk.c: New file.
28239 * benchtests/Makefile (string-benchset): Add it.
28241 * benchtests/bench-memcpy-walk.c: New file.
28242 * benchtests/Makefile (string-benchset): Add it.
28244 2017-10-05 Florian Weimer <fweimer@redhat.com>
28246 nscd: Eliminate compilation time dependency in the build output.
28247 * nscd/nscd_stat.c (STATDATA_VERSION)
28248 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
28249 (STATDATA_VERSION_FULL): New macro definitions.
28250 (compilation): Remove.
28251 (struct statdata): Adjust version member.
28252 (send_stats): Set version from STATDATA_VERSION_FULL.
28253 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
28255 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28257 * configure.ac (--enable-add-ons): Remove option.
28258 (machine): Do not mention add-ons in comment.
28259 (LIBC_PRECONFIGURE): Likewise.
28260 (add_ons): Remove variable and sanity checks and logic to locate
28262 (add_ons_automatic): Remove variable.
28263 (configured_add_ons): Likewise.
28264 (add_ons_sfx): Likewise.
28265 (add_ons_pfx): Likewise.
28266 (add_on_subdirs): Likewise.
28267 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28268 consideration of add-ons in Implies handling.
28269 (sysdeps_add_ons): Likewise.
28270 * configure: Regenerated.
28271 * libidn/configure.ac: Remove.
28272 * libidn/configure: Likewise.
28273 * sysdeps/unix/inet/configure.ac: New file.
28274 * sysdeps/unix/inet/configure: New generated file.
28275 * sysdeps/unix/inet/Subdirs: Add libidn.
28276 * Makeconfig (sysdeps-srcdirs): Remove variable.
28277 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28278 ($(common-objpfx)config.status): Do not depend on add-on files.
28279 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28281 (all-subdirs): Do not include $(add-on-subdirs).
28282 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28283 * config.make.in (add-ons): Remove variable.
28284 (add-on-subdirs): Likewise.
28285 (sysdeps-add-ons): Likewise.
28286 * manual/Makefile (add-chapters): Remove.
28287 ($(objpfx)texis): Do not depend on $(add-chapters).
28288 (nonexamples): Do not handle $(add-chapters).
28289 (examples): Do not handle $(add-ons).
28290 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28292 * manual/install.texi (Installation): Do not mention add-ons.
28293 (--enable-add-ons): Do not document configure option.
28294 * INSTALL: Regenerated.
28295 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28296 * manual/maint.texi (Hierarchy Conventions): Do not mention
28298 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28300 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28302 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28303 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28305 2017-10-05 Andreas Schwab <schwab@suse.de>
28308 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28309 (_IO_flush_all_lockp): Always lock list_all_lock.
28310 (_IO_flush_all_linebuffered): Likewise.
28311 (_IO_unbuffer_all): Likewise.
28313 2017-10-05 Florian Weimer <fweimer@redhat.com>
28316 Do not flush stdio streams on abort.
28317 * stdlib/abort.c (fflush): Remove macro definition.
28318 (abort): Remove stages related to stdio flushing.
28320 2017-10-05 Florian Weimer <fweimer@redhat.com>
28322 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28324 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28326 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28328 2017-10-05 Florian Weimer <fweimer@redhat.com>
28330 * support/support_format_hostent.c (support_format_hostent): Add
28331 more error information for NETDB_INTERNAL.
28333 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28335 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28336 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28337 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28338 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28339 AC_DEFINE if multi-arch is enabled.
28340 * sysdeps/i386/configure: Regenerated.
28342 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28344 * Makeconfig (+link-static-before-libc): Use
28345 $(DEFAULT-LDFLAGS-$(@F)).
28346 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28347 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28348 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28350 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28352 * elf/Makefile (tests): Add tst-main1.
28353 (modules-names): Add tst-main1mod.
28354 ($(objpfx)tst-main1): New.
28355 (CRT-tst-main1): Likewise.
28356 (LDFLAGS-tst-main1): Likewise.
28357 (LDLIBS-tst-main1): Likewise.
28358 (tst-main1mod.so-no-z-defs): Likewise.
28359 * elf/tst-main1.c: New file.
28360 * elf/tst-main1mod.c: Likewise.
28362 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28364 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28366 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28368 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28369 (fma): Define using libm_alias_double.
28370 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28371 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28373 (fmal): Do not define as compat symbol here.
28374 * sysdeps/alpha/fpu/s_fma.c: New file.
28376 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28378 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28380 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28383 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28385 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28387 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28388 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28389 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28390 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28392 Include <math_ldbl_opt.h>
28393 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28395 (compat_symbol): Undefine and redefine.
28396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28398 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28399 (compat_symbol): Undefine and redefine.
28400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28401 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28402 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28403 GLIBC_2_1 for libm.
28404 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28405 GLIBC_2.0 copysignl symbol.
28406 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28407 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28409 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28411 2017-10-04 Florian Weimer <fweimer@redhat.com>
28413 * scripts/check-local-headers.sh: Ignore nspr4 header file
28414 directory in addition to nspr.
28416 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
28419 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28420 * configure: Regenerate.
28421 * crypt/Makefile (nss-cpp-flags): New variable.
28422 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28423 (CPPFLAGS-md5-crypt.c): Use it.
28424 * scripts/check-local-headers.sh: Ignore nspr header file
28427 2017-10-04 Andreas Schwab <schwab@suse.de>
28429 * nis/Makefile (services): Remove compat.
28430 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28431 ($(objpfx)libnss_compat.so): Remove rule.
28432 * nis/Versions (libnss_compat): Remove.
28433 * nss/Makefile (services): Add compat.
28434 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28435 * nss/Versions (libnss_compat): Define.
28436 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28437 Don't include <rpc/types.h>. Replace bool_t by bool.
28438 * nss/nss_compat/compat-initgroups.c: Likewise.
28439 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28440 instead of <rpcsrv/ypclnt.h>.
28441 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28442 yp_get_default_domain.
28443 * nss/nss_compat/compat-pwd.c: Likewise.
28444 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28445 yp_get_default_domain.
28446 * nss/nss_compat/nisdomain.c: New file.
28447 * nss/nss_compat/nisdomain.h: Likewise.
28449 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28452 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28453 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28455 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28458 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28459 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28461 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28463 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28464 "movl main@GOTOFF(%ebx), %eax".
28466 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28468 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28469 allow undefined _DYNAMIC in PIE libc.a.
28470 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28473 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28475 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28478 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28480 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28483 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28485 * math/test-math-iscanonical.cc (error): Replace bool with int.
28487 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28489 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28490 (modf): Define using libm_alias_double, only if [!__modf].
28491 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28492 <libm-alias-double.h>.
28493 (modf): Define using libm_alias_double, only if [!__modf].
28494 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28495 compat symbol here.
28496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28497 (weak_alias): Do not undefine and redefine.
28498 (strong_alias): Likewise.
28499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28500 (weak_alias): Likewise.
28501 (strong_alias): Likewise.
28503 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28504 (logb): Define using libm_alias_double, only if [!__logb].
28505 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28506 <libm-alias-double.h>.
28507 (logb): Define using libm_alias_double, only if [!__logb].
28508 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28510 (weak_alias): Do not undefine and redefine.
28511 (strong_alias): Likewise.
28512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28513 (weak_alias): Likewise.
28514 (strong_alias): Likewise.
28516 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28518 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28519 Check SHARED instead PIC.
28521 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28523 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28524 [!__fmaf] (fmaf): Define using libm_alias_float.
28526 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28527 (frexp): Define using libm_alias_double.
28528 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28529 <libm-alias-double.h>.
28530 (frexp): Define using libm_alias_double.
28531 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28532 compat symbol here.
28534 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28537 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28538 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28539 (CFLAGS-test-math-iscanonical.cc): New variable.
28540 * math/test-math-iscanonical.cc: New file.
28541 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28542 Provide a C++ implementation based on function overloading,
28543 rather than using __MATH_TG, which uses C-only builtins.
28544 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28546 * sysdeps/powerpc/powerpc64le/Makefile
28547 (CFLAGS-test-math-iscanonical.cc): New variable.
28549 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28551 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28552 (ceil): Define using libm_alias_double.
28553 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28554 (floor): Define using libm_alias_double.
28555 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28556 <libm-alias-double.h>.
28557 (llround): Define using libm_alias_double.
28558 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28559 <libm-alias-double.h>.
28560 (lround): Define using libm_alias_double.
28561 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28562 <libm-alias-double.h>.
28563 (nearbyint): Define using libm_alias_double.
28564 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28565 <libm-alias-double.h>.
28566 (remquo): Define using libm_alias_double.
28567 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28568 (rint): Define using libm_alias_double.
28569 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28570 (round): Define using libm_alias_double.
28571 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28572 (trunc): Define using libm_alias_double.
28573 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28574 <libm-alias-double.h>.
28575 (ceil): Define using libm_alias_double.
28576 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28577 <libm-alias-double.h>.
28578 (floor): Define using libm_alias_double.
28579 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28580 <libm-alias-double.h>.
28581 (llround): Define using libm_alias_double.
28582 [_LP64] (lround): Likewise.
28583 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28584 <libm-alias-double.h>.
28585 [!_LP64] (lround): Define using libm_alias_double.
28586 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28587 <libm-alias-double.h>.
28588 (nearbyint): Define using libm_alias_double.
28589 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28590 <libm-alias-double.h>.
28591 (remquo): Define using libm_alias_double.
28592 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28593 <libm-alias-double.h>.
28594 (rint): Define using libm_alias_double.
28595 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28596 <libm-alias-double.h>.
28597 (round): Define using libm_alias_double.
28598 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28599 <libm-alias-double.h>.
28600 (trunc): Define using libm_alias_double.
28601 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28602 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28603 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28604 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28605 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28606 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28607 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28608 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28609 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28611 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28613 * math/w_remainder.c: New file.
28614 * math/w_remainderf.c: New file.
28615 * math/w_remainderl.c: New file.
28617 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28619 * elf/rtld.c (BOOTSTRAP_MAP): New.
28620 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28621 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28623 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28625 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28628 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28630 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28631 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28632 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28633 rtld_hidden_data_ver): Define to empty.
28634 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28635 __assert_perror_fail): Likewise.
28636 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28637 (__rewinddir): Likewise.
28638 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28639 (__profile_frequency): Likewise.
28640 * include/setjmp.h (__sigsetjmp): Likewise.
28641 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28642 __libc_sigaction): Likewise.
28643 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28644 not set hidden attribute.
28645 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28646 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28647 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28648 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28649 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28650 __fxstatat64): Likewise.
28651 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28652 (__uname): Likewise.
28653 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28654 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28655 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28656 (NO_RTLD_HIDDEN): Set.
28657 * sysdeps/mach/hurd/configure: Refresh.
28658 * config.h.in: Refresh.
28660 2017-10-02 Joseph Myers <joseph@codesourcery.com>
28662 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28663 (atan): Define using libm_alias_double.
28664 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28665 (tan): Define using libm_alias_double.
28666 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28667 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28669 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28670 define as weak alias of __atan. Do not define any aliases if
28672 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28673 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28674 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28675 as weak alias of __tan. Do not define any aliases if [__tan].
28676 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28677 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28678 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28680 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28681 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28682 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28683 and define as weak alias of __atan.
28684 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28686 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28687 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28688 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28689 define as weak alias of __tan.
28691 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28693 * math/w_lgamma.c: New file.
28694 * math/w_lgammaf.c: New file.
28695 * math/w_lgammal.c: New file.
28697 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28699 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28700 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28701 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28702 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28703 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28704 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28705 * sysdeps/i386/fpu/w_log2f.c: New file.
28706 * sysdeps/i386/fpu/w_logf.c: New file.
28707 * sysdeps/i386/fpu/w_powf.c: New file.
28708 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28709 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28710 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28712 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28713 H.J. Lu <hongjiu.lu@intel.com>
28715 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28716 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28717 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28718 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28719 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28721 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28722 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28723 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28724 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28725 * sysdeps/i386/fpu/w_exp2f.c: New file.
28726 * sysdeps/i386/fpu/w_expf.c: New file.
28727 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28728 * sysdeps/x86_64/fpu/w_expf.c: New file.
28730 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28732 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28735 * math/w_log2f.c: New file.
28736 * math/w_logf.c: New file.
28737 * math/w_powf.c: New file.
28738 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28739 * math/w_logf_compat.c (__logf_compat): Likewise.
28740 * math/w_powf_compat.c (__powf_compat): Likewise.
28741 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28742 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28743 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28744 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28745 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28746 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28747 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28748 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28749 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28750 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28751 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28752 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28753 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28754 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28755 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28764 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28765 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28766 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28767 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28768 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28773 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28774 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28775 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28777 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28779 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28780 (sysdep_routines): Add memrchr_power8.
28781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28782 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28783 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28785 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28786 (memrchr): Add __memrchr_power8 to ifunc list.
28787 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28789 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28792 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28793 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28795 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28796 (__posix_fallocate64_l64): Likewise.
28798 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28801 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28802 (__sched_setaffinity_new): Add libc_hidden_proto and
28805 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28808 * include/glob.h (__glob64): Add libc_hidden_proto.
28809 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28812 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28815 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28818 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28821 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28823 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28826 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28829 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28832 * csu/version.c (__libc_print_version): Add attribute_hidden.
28834 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28837 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28839 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28842 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28844 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28847 * nscd/nscd_helper.c (__nis_hash): New prototype.
28849 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28852 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28853 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28855 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28856 * termios/tcgetattr.c (__tcgetattr): Likewise.
28858 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28861 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28862 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28863 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28864 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28865 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28867 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28870 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28872 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28875 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28876 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28878 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28881 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28883 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28886 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28887 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28889 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28892 * include/ifreq.h: New file.
28893 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28894 (__ifreq): Likewise.
28895 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28896 (__ifreq): Likewise.
28898 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28901 * include/idna.h: New file.
28902 * inet/getnameinfo.c: Include <idna.h> instead of
28904 (__idna_to_unicode_lzlz): Removed.
28905 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28907 (__idna_to_ascii_lz): Removed.
28908 (__idna_to_unicode_lzlz): Likewise.
28910 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28913 * include/plural-exp.h: New file.
28914 * intl/plural-exp.c: Include <plural-exp.h> instead of
28917 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28920 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28921 "getsourcefilter.h".
28922 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28923 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28924 "getsourcefilter.h".
28925 (__get_sol): Removed.
28927 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28930 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28932 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28934 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28937 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28940 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28943 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28945 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28948 * include/search.h (__tdestroy): Add libc_hidden_proto.
28949 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28951 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28954 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28956 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28959 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28962 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28965 * include/signal.h (__kill): Add libc_hidden_proto.
28966 (__sigblock): Likewise.
28967 (__sigprocmask): Likewise.
28968 (__sigaltstack): Likewise.
28969 * signal/kill.c (__kill): Add libc_hidden_def.
28970 * signal/sigblock.c (__sigblock): Likewise.
28971 * signal/sigprocmask.c (__sigprocmask): Likewise.
28972 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28973 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28974 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28975 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28976 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28978 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28980 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28981 (__sigprocmask): Likewise.
28982 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28984 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28985 (__sigprocmask): Likewise.
28986 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28989 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28992 * include/string.h (__strsep): Add libc_hidden_proto.
28993 * string/strsep.c (__strsep): Add libc_hidden_def.
28995 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28998 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
29000 (__spawni): Likewise.
29002 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29005 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
29006 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
29009 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29012 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
29014 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29017 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
29018 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
29019 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
29020 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
29021 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
29023 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
29024 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
29026 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29029 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
29030 (__dcigettext): Likewise.
29032 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29035 * include/sys/sysinfo.h (__get_nprocs_conf): Add
29037 (__get_nprocs): Likewise.
29038 (__get_phys_pages): Likewise.
29039 (__get_avphys_pages): Likewise.
29040 (__get_child_max): Add attribute_hidden.
29041 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
29042 (__get_nprocs): Likewise.
29043 (__get_phys_pages): Likewise.
29044 (__get_avphys_pages): Likewise.
29045 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
29047 (__get_nprocs): Likewise.
29048 (__get_phys_pages): Likewise.
29049 (__get_avphys_pages): Likewise.
29050 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
29052 (__get_nprocs_conf): Likewise.
29053 (__get_phys_pages): Likewise.
29054 (__get_avphys_pages): Likewise.
29056 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29059 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
29061 (__netlink_close): Likewise.
29062 (__netlink_free_handle): Likewise.
29063 (__netlink_request): Likewise.
29065 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29068 * include/rpc/rpc.h (__rpc_thread_variables): Add
29070 (__rpc_thread_svc_cleanup): Likewise.
29071 (__rpc_thread_clnt_cleanup): Likewise.
29072 (__rpc_thread_key_cleanup): Likewise.
29074 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29077 * include/sys/uio.h (__readv): Add libc_hidden_proto.
29078 (__writev): Likewise.
29079 * misc/readv.c (__readv): Add libc_hidden_def.
29080 * misc/writev.c (__writev): Likewise.
29081 * sysdeps/posix/readv.c (__readv): Likewise.
29082 * sysdeps/posix/writev.c (__writev): Likewise.
29083 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
29084 (__readv): Likewise.
29085 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
29086 (__writev): Likewise.
29088 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29091 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
29092 (__regcomp): Add libc_hidden_proto.
29093 (__regexec): Likewise.
29094 (__regfree): Likewise.
29095 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
29096 (__regfree): Likewise.
29097 * posix/regexec.c (__regexec): Likewise.
29099 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29102 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
29103 (__getutent): Likewise.
29104 (__getutid): Likewise.
29105 (__getutline): Likewise.
29106 (__pututline): Likewise.
29107 (__getutent_r): Likewise.
29108 (__getutid_r): Likewise.
29109 (__getutline_r): Likewise.
29110 (__utmpname): Add attribute_hidden.
29111 (__setutent): Likewise.
29112 (__endutent): Likewise.
29113 * login/getutent.c (__getutent): Add libc_hidden_def.
29114 * login/getutent_r.c (__getutent_r): Likewise.
29115 (__pututline): Likewise.
29116 * login/getutid.c (__getutid): Likewise.
29117 * login/getutid_r.c (__getutid_r): Likewise.
29118 * login/getutline.c (__getutline): Likewise.
29119 * login/getutline_r.c (__getutline_r): Likewise.
29120 * login/updwtmp.c (__updwtmp): Likewise.
29122 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29125 * include/dirent.h (__opendir): Always add attribute_hidden.
29126 (__fdopendir): Likewise.
29127 (__closedir): Likewise.
29128 (__readdir): Likewise.
29129 (__readdir64): Add libc_hidden_proto.
29130 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
29131 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
29132 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
29133 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
29136 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29139 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
29140 * include/netdb.h (__gethostbyaddr_r): Likewise.
29141 (__gethostbyname_r): Likewise.
29142 (__gethostbyname2_r): Likewise.
29143 (__getnetbyaddr_r): Likewise.
29144 (__getnetbyname_r): Likewise.
29145 (__getservbyname_r): Likewise.
29146 (__getservbyport_r): Likewise.
29147 (__getprotobyname_r): Likewise.
29148 (__getprotobynumber_r): Likewise.
29149 (__getnetgrent_r): Likewise.
29150 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
29151 (__getrpcbynumber_r): Likewise.
29152 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
29154 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29157 * include/stdio.h (__fcloseall): Add attribute_hidden.
29158 (__getline): Likewise.
29159 (__path_search): Likewise.
29160 (__gen_tempname): Likewise.
29161 (__libc_message): Likewise.
29162 (__flockfile): Likewise.
29163 (__funlockfile): Likewise.
29164 (__fxprintf): Likewise.
29165 (__fxprintf_nocancel): Likewise.
29167 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29170 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
29171 (__sgetsgent_r): Likewise.
29173 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29176 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
29177 (__statfs64): Likewise.
29178 (__fstatfs64): Likewise.
29179 * include/sys/statvfs.h (__statvfs64): Likewise.
29180 (__fstatvfs64): Likewise.
29181 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
29182 (__statfs_filesize_max): Likewise.
29183 (__statfs_symlinks): Likewise.
29184 (__statfs_chown_restricted): Likewise.
29186 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29189 * include/time.h (__tzstring): Add attribute_hidden.
29190 (__tzfile_read): Likewise.
29191 (__tzfile_compute): Likewise.
29192 (__tzfile_default): Likewise.
29193 (__tzset_parse_tz): Likewise.
29194 (__offtime): Likewise.
29195 (__asctime_r): Likewise.
29196 (__tzset): Likewise.
29197 (__tz_convert): Likewise.
29198 (__getdate_r): Likewise.
29199 (__getclktck): Likewise.
29201 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29204 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
29205 (__nscd_unmap): Likewise.
29206 (__nscd_cache_search): Likewise.
29207 (__nscd_get_nl_timestamp): Likewise.
29208 (__nscd_getpwnam_r): Likewise.
29209 (__nscd_getpwuid_r): Likewise.
29210 (__nscd_getgrnam_r): Likewise.
29211 (__nscd_getgrgid_r): Likewise.
29212 (__nscd_gethostbyname_r): Likewise.
29213 (__nscd_gethostbyname2_r): Likewise.
29214 (__nscd_gethostbyaddr_r): Likewise.
29215 (__nscd_getai): Likewise.
29216 (__nscd_getgrouplist): Likewise.
29217 (__nscd_getservbyname_r): Likewise.
29218 (__nscd_getservbyport_r): Likewise.
29219 (__nscd_innetgr): Likewise.
29220 (__nscd_setnetgrent): Likewise.
29222 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29225 * include/gmp.h: Declare internal functions only if _ISOMAC is
29227 (__mpn_extract_double): Add attribute_hidden.
29228 (__mpn_extract_long_double): Likewise.
29229 (__mpn_extract_float128): Likewise.
29230 (__mpn_construct_float): Likewise.
29231 (__mpn_construct_double): Likewise.
29232 (__mpn_construct_long_double): Likewise.
29233 (__mpn_construct_float128): Likewise.
29234 (mpn_add_1): Likewise.
29235 (mpn_addmul_1): Likewise.
29236 (mpn_add_n): Likewise.
29237 (mpn_cmp): Likewise.
29238 (mpn_divrem): Likewise.
29239 (mpn_lshift): Likewise.
29240 (mpn_mul): Likewise.
29241 (mpn_mul_1): Likewise.
29242 (mpn_rshift): Likewise.
29243 (mpn_sub_1): Likewise.
29244 (mpn_submul_1): Likewise.
29245 (mpn_sub_n): Likewise.
29247 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29250 * include/wchar.h (__wcsnlen): Add attribute_hidden.
29251 (__wcscat): Likewise.
29252 (__btowc): Likewise.
29253 (__wcrtomb): Likewise.
29254 (__mbsrtowcs): Likewise.
29255 (__wcsrtombs): Likewise.
29256 (__mbsnrtowcs): Likewise.
29257 (__wcsnrtombs): Likewise.
29258 (__wcsncpy): Likewise.
29259 (__wcpncpy): Likewise.
29260 (__wmemcpy): Likewise.
29261 (__wmempcpy): Likewise.
29262 (__wmemmove): Likewise.
29263 (__wcschrnul): Likewise.
29264 (__vfwscanf): Likewise.
29265 (__vswprintf): Likewise.
29266 (__fwprintf): Likewise.
29267 (__vfwprintf): Likewise.
29269 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29272 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29273 (__getgrgid_r): Likewise.
29274 (__getgrnam_r): Likewise.
29275 * include/pwd.h (__getpwuid_r): Likewise.
29276 (__getpwnam_r): Likewise.
29277 (__fgetpwent_r): Likewise.
29278 * include/shadow.h (__getspnam_r): Likewise.
29279 (__sgetspent_r): Likewise.
29280 (__fgetspent_r): Likewise.
29282 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29285 * include/unistd.h (__access): Add attribute_hidden.
29286 (__lseek64): Likewise.
29287 (__libc_pread64): Likewise.
29288 (__pipe2): Likewise.
29289 (__sleep): Likewise.
29290 (__chdir): Likewise.
29291 (__fchdir): Likewise.
29292 (__getcwd): Likewise.
29293 (__rmdir): Likewise.
29294 (__execvpe): Likewise.
29295 (__execve): Likewise.
29296 (__setsid): Likewise.
29297 (__getuid): Likewise.
29298 (__geteuid): Likewise.
29299 (__getgid): Likewise.
29300 (__getegid): Likewise.
29301 (__getgroups): Likewise.
29302 (__group_member): Likewise.
29303 (__ttyname_r): Likewise.
29304 (__isatty): Likewise.
29305 (__readlink): Likewise.
29306 (__unlink): Likewise.
29307 (__gethostname): Likewise.
29308 (__profil): Likewise.
29309 (__getdtablesize): Likewise.
29311 (__ftruncate): Likewise.
29312 (__ftruncate64): Likewise.
29314 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29317 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29318 * argp/argp-fs-xinl.c: Likewise.
29319 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29320 * argp/argp-parse.c: Include <argp.h>.
29321 * argp/argp-xinl.c: Likewise.
29322 * include/argp-fmtstream.h: New file.
29323 * include/argp.h (__argp_error): Add attribute_hidden.
29324 (__argp_failure): Likewise.
29325 (__argp_input): Likewise.
29326 (__argp_state_help): Likewise.
29328 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29331 * include/wchar.h (____wcstof_l_internal): New prototype.
29332 (____wcstod_l_internal): Likewise.
29333 (____wcstold_l_internal): Likewise.
29334 (____wcstol_l_internal): Likewise.
29335 (____wcstoul_l_internal): Likewise.
29336 (____wcstoll_l_internal): Likewise.
29337 (____wcstoull_l_internal): Likewise.
29338 (____wcstof128_l_internal): Likewise.
29339 * sysdeps/ieee754/float128/wcstof128.c
29340 (____wcstof128_l_internal): Removed.
29341 * sysdeps/ieee754/float128/wcstof128_l.c
29342 (____wcstof128_l_internal): Likewise.
29343 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29344 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29345 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29346 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29347 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29348 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29349 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29350 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29351 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29352 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29354 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29357 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29358 instead of <sys/statvfs.h>.
29359 (__internal_statvfs): Removed.
29360 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29361 instead of <sys/statvfs.h>.
29362 (__internal_statvfs64): Removed.
29363 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29364 "internal_statvfs.h" instead of <sys/statvfs.h>.
29365 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29366 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29367 instead of <sys/statvfs.h>.
29368 (__internal_statvfs): Removed.
29369 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29370 instead of <sys/statvfs.h>.
29371 (__internal_statvfs64): Removed.
29373 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29376 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29377 (__gconv_close): Likewise.
29378 (__gconv): Likewise.
29379 (__gconv_find_transform): Likewise.
29380 (__gconv_lookup_cache): Likewise.
29381 (__gconv_compare_alias_cache): Likewise.
29382 (__gconv_load_cache): Likewise.
29383 (__gconv_get_path): Likewise.
29384 (__gconv_close_transform): Likewise.
29385 (__gconv_release_cache): Likewise.
29386 (__gconv_find_shlib): Likewise.
29387 (__gconv_release_shlib): Likewise.
29388 (__gconv_get_builtin_trans): Likewise.
29389 (__gconv_compare_alias): Likewise.
29390 * include/dlfcn.h (_dlerror_run): Likewise.
29391 * include/stdio.h (__fortify_fail_abort): Likewise.
29392 * include/time.h (__tz_compute): Likewise.
29393 (__strptime_internal): Likewise.
29394 * intl/gettextP.h (_nl_find_domain): Likewise.
29395 (_nl_load_domain): Likewise.
29396 (_nl_find_msg): Likewise.
29397 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29398 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29399 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29400 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29401 (__gai_find_request): Likewise.
29402 (__gai_remove_request): Likewise.
29403 (__gai_notify): Likewise.
29404 (__gai_notify_only): Likewise.
29405 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29406 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29407 (_dl_non_dynamic_init): Likewise.
29408 (_dl_aux_init): Likewise.
29409 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29410 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29412 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29413 (__wcsmbs_clone_conv): Likewise.
29414 (__wcsmbs_named_conv): Likewise.
29416 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29419 * include/stdlib.h (__random): Add attribute_hidden.
29420 (__random_r): Likewise.
29421 (__srandom_r): Likewise.
29422 (__initstate_r): Likewise.
29423 (__setstate_r): Likewise.
29424 (__erand48_r): Likewise.
29425 (__nrand48_r): Likewise.
29426 (__jrand48_r): Likewise.
29427 (__srand48_r): Likewise.
29428 (__seed48_r): Likewise.
29429 (__lcong48_r): Likewise.
29430 (__drand48_iterate): Likewise.
29431 (__setenv): Likewise.
29432 (__unsetenv): Likewise.
29433 (__clearenv): Likewise.
29434 (__ptsname_r): Likewise.
29435 (__posix_openpt): Likewise.
29436 (__add_to_environ): Likewise.
29437 (__realpath): Add libc_hidden_proto.
29438 (__ecvt_r): Likewise.
29439 (__fcvt_r): Likewise.
29440 (__qecvt_r): Likewise.
29441 (__qfcvt_r): Likewise.
29442 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29443 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29445 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29448 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29449 * include/time.h (__mktime_internal): Likewise.
29450 * libio/iolibio.h (__fopen_internal): Likewise.
29452 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
29454 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29456 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29457 Correct offset used to restore PIC register.
29459 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
29462 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29463 code to load address of __getcontext_ret when generating PIC code.
29465 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29467 * elf/Makefile (tests-static-internal): Add
29468 tst-tls1-static-non-pie.
29469 (LDFLAGS-tst-tls1-static-non-pie): New.
29470 * elf/tst-tls1-static-non-pie.c: New file.
29472 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29474 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29475 (asinh): Define using libm_alias_double.
29476 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29477 (cbrt): Define using libm_alias_double.
29478 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29479 <libm-alias-double.h>.
29480 (copysign): Define using libm_alias_double.
29481 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29482 (erf): Define using libm_alias_double.
29484 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29485 (expm1): Define using libm_alias_double.
29486 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29487 (fabs): Define using libm_alias_double.
29488 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29490 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29491 <libm-alias-double.h>.
29492 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29494 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29495 <libm-alias-double.h>.
29496 (getpayload): Define using libm_alias_double.
29497 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29498 <libm-alias-double.h>.
29499 (llrint): Define using libm_alias_double.
29500 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29501 (lrint): Define using libm_alias_double.
29502 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29503 <libm-alias-double.h>.
29504 (nextup): Define using libm_alias_double.
29505 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29506 <libm-alias-double.h>.
29507 (roundeven): Define using libm_alias_double.
29508 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29510 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29511 <libm-alias-double.h>.
29512 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29513 using libm_alias_double.
29514 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29515 (cos): Define using libm_alias_double.
29517 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29518 <libm-alias-double.h>.
29519 (sincos): Define using libm_alias_double.
29520 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29521 (tanh): Define using libm_alias_double.
29522 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29523 <libm-alias-double.h>.
29524 (totalorder): Define using libm_alias_double.
29525 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29526 <libm-alias-double.h>.
29527 (totalordermag): Define using libm_alias_double.
29528 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29530 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29532 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29533 <libm-alias-double.h>.
29534 (getpayload): Define using libm_alias_double.
29535 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29536 <libm-alias-double.h>.
29537 (roundeven): Define using libm_alias_double.
29538 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29539 <libm-alias-double.h>.
29540 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29541 <libm-alias-double.h>.
29542 (totalorder): Define using libm_alias_double.
29543 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29544 <libm-alias-double.h>.
29545 (totalordermag): Define using libm_alias_double.
29546 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29547 libc compat symbol here.
29548 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29549 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29550 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29551 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29552 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29553 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29554 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29555 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29556 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29557 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29559 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29561 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29562 _dl_relocate_static_pie instead of _dl_start to compute load
29563 address in static PIE. Return 0 if _DYNAMIC is undefined for
29566 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29568 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29569 _DYNAMIC is undefined for static executable.
29571 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29573 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29575 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29579 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29581 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29582 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29583 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29584 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29585 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29586 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29587 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29588 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29589 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29590 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29591 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29592 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29593 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29594 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29595 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29596 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29597 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29599 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29601 * math/bits/cmathcalls.h (cimag): Remove inline.
29602 (creal): Remove inline.
29603 (conj): Remove inline.
29605 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29607 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29608 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29609 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29610 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29611 (issignalingf_inline): Likewise.
29612 (POWF_LOG2_TABLE_BITS): Likewise.
29613 (POWF_LOG2_POLY_ORDER): Likewise.
29614 (POWF_SCALE_BITS): Likewise.
29615 (POWF_SCALE): Likewise.
29616 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29617 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29618 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29620 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29622 * math/Makefile (type-float-routines): Add e_log2f_data.
29623 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29624 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29625 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29626 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29627 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29628 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29629 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29631 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29633 * math/Makefile (type-float-routines): Add e_logf_data.
29634 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29635 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29636 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29637 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29638 * sysdeps/i386/fpu/e_logf_data.c: New file.
29639 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29640 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29642 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29644 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29645 undefined _DYNAMIC in PIE libc.a.
29646 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29649 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29651 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29652 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29653 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29654 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29655 (__signbit): Remove.
29656 (__signbitl): Remove.
29657 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29658 (__signbit): Remove.
29659 (__signbitl): Remove.
29660 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29661 (__signbit): Remove.
29662 (__signbitl): Remove.
29663 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29664 (__signbit): Remove.
29665 (__signbitl): Remove.
29666 * sysdeps/tile/bits/mathinline.h: Delete file.
29667 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29668 (__signbit): Remove.
29669 (__signbitl): Remove.
29671 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29673 * math/math.h: Improve handling of C99 isgreater macros.
29674 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29675 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29676 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29677 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29678 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29680 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29682 * sysdeps/aarch64/libm-test-ulps: Update.
29684 2017-09-28 Joseph Myers <joseph@codesourcery.com>
29687 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29688 math_opt_barrier on argument when doing arithmetic on it.
29689 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29690 Likewise. Use math_force_eval not math_opt_barrier after
29692 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29693 math_opt_barrier on argument when doing arithmetic on it.
29694 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29697 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29699 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29701 (__freeifaddrs): Likewise.
29703 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29705 * include/dirent.h (__dirfd): New declaration.
29706 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29708 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29709 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29710 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
29711 * include/unistd.h (__revoke): New declaration.
29712 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29714 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29715 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29717 * include/dirent.h (__seekdir): New declaration.
29718 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29719 redefine as weak alias.
29720 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29722 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29723 and use libc_hidden_def on them.
29724 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29726 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29727 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29728 instead of getifaddrs and freeifaddrs.
29730 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29733 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29734 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29735 (__dso_handle): Remove declaration.
29736 * dlfcn/tstatexit.c (__dso_handle): Removed.
29737 (main): Don't check __dso_handle.
29738 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29739 (main): Don't check __dso_handle.
29740 * include/dso_handle.h: New file.
29741 * malloc/mtrace.c: Include <dso_handle.h>.
29742 (mtrace): Pass __dso_handle directly.
29743 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29744 (__dso_handle): Remove declaration.
29745 (__pthread_atfork): Pass __dso_handle directly.
29746 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29747 (__dso_handle): Removed.
29748 * posix/wordexp-test.c: Include <dso_handle.h>.
29749 (__dso_handle): Remove declaration.
29750 (__app_register_atfork): Pass __dso_handle directly.
29751 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29752 (__dso_handle): Remove declaration.
29753 (at_quick_exit): Pass __dso_handle directly.
29754 * stdlib/atexit.c: Include <dso_handle.h>.
29755 (__dso_handle): Remove declaration.
29756 (atexit): Pass __dso_handle directly.
29757 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29758 (__dso_handle): Removed.
29760 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29762 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29765 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29767 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29768 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29769 values to correct default value for given type.
29771 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29774 * elf/Makefile (tests): Add tst-debug1.
29775 ($(objpfx)tst-debug1): New.
29776 ($(objpfx)tst-debug1.out): Likewise.
29777 ($(objpfx)tst-debug1mod1.so): Likewise.
29778 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29779 with p_filesz == 0.
29780 * elf/tst-debug1.c: New file.
29782 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29784 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29785 Define using __ifunc.
29787 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29789 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29792 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29795 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29797 2017-09-26 Florian Weimer <fweimer@redhat.com>
29799 * resolv/Makefile (tests-internal): Fix typo in comment.
29801 2017-09-26 Florian Weimer <fweimer@redhat.com>
29803 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29805 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29807 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29808 Use an union instead of a max_align_t array for __space,
29809 so that __space is the same size on all platforms.
29810 * malloc/scratch_buffer_grow_preserve.c
29811 (__libc_scratch_buffer_grow_preserve): Likewise.
29814 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29816 * posix/Makefile (routines): Add glob-lstat-compat and
29817 glob64-lstat-compat.
29818 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29819 * posix/glob-lstat-compat.c: New file.
29820 * posix/glob64-lstat-compat.c: Likewise.
29821 * posix/tst-glob_lstat_compat.c: Likewise.
29822 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29823 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29824 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29825 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29827 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29828 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29829 * posix/glob.c (glob_lstat): New function.
29830 (glob): Rename to __glob and add versioned symbol to 2.27.
29831 (glob_in_dir): Use glob_lstat.
29832 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29833 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29834 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29836 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29837 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29838 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29839 gl_lstat on glob call.
29840 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29841 and glob64 symbols.
29842 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29843 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29844 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29845 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29846 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29847 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29848 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29849 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29850 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29851 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29852 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29853 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29856 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29858 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29859 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29860 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29861 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29862 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29865 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29866 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29867 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29869 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29871 * configure.ac (AS): Require binutils 2.25 or later.
29872 * configure: Regenerated.
29874 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29877 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29880 2017-09-25 DJ Delorie <dj@redhat.com>
29883 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29886 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29888 * sysdeps/ieee754/dbl-64/sincos32.h
29889 [SINCCOS32_H]: Remove define.
29890 [SINCOS32_H]: Define.
29892 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29894 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29896 * math/w_exp2f.c: New file.
29897 * math/w_expf.c: New file.
29898 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29899 * math/w_expf_compat.c (__expf_compat): Likewise.
29900 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29901 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29902 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29903 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29904 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29905 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29906 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29907 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29908 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29909 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29910 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29911 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29912 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29913 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29922 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29923 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29924 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29925 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29926 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29931 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29932 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29933 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29935 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29937 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29938 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29939 (roundtoint, converttoint): Likewise.
29940 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29941 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29942 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29943 * sysdeps/ieee754/flt-32/math_config.h: New file.
29944 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29945 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29946 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29947 * sysdeps/i386/fpu/math_errf.c: New file.
29948 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29949 * sysdeps/ia64/fpu/math_errf.c: New file.
29950 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29951 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29953 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29955 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29956 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29957 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29958 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29959 to make sure that these symbols are defined.
29960 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29962 (__need_NULL): Do not define.
29963 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29965 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29966 CMGROUP_MAX, cmsgcred): Do not define.
29967 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29969 * bits/socket.h: Likewise.
29970 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29971 __gettimeofday instead of gettimeofday.
29972 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29973 instead of settimeofday.
29975 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29977 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29978 (asinhf): Define using libm_alias_float.
29979 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29980 (atanf): Define using libm_alias_float.
29981 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29982 (cbrtf): Define using libm_alias_float.
29983 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29984 (ceilf): Define using libm_alias_float.
29985 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29986 <libm-alias-float.h>.
29987 (copysignf): Define using libm_alias_float.
29988 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29989 (cosf): Define using libm_alias_float.
29990 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29991 (erff): Define using libm_alias_float.
29993 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29994 (expm1f): Define using libm_alias_float.
29995 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29996 (fabsf): Define using libm_alias_float.
29997 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29998 (floorf): Define using libm_alias_float.
29999 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
30000 (frexpf): Define using libm_alias_float.
30001 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
30003 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
30004 <libm-alias-float.h>.
30005 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
30007 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
30008 <libm-alias-float.h>.
30009 (getpayloadf): Define using libm_alias_float.
30010 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
30011 <libm-alias-float.h>.
30012 (llrintf): Define using libm_alias_float.
30013 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
30014 <libm-alias-float.h>.
30015 (llroundf): Define using libm_alias_float.
30016 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
30017 (logbf): Define using libm_alias_float.
30018 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
30019 (lrintf): Define using libm_alias_float.
30020 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
30021 (lroundf): Define using libm_alias_float.
30022 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
30023 (modff): Define using libm_alias_float.
30024 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
30025 <libm-alias-float.h>.
30026 (nearbyintf): Define using libm_alias_float.
30027 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
30028 <libm-alias-float.h>.
30029 (nextafterf): Define using libm_alias_float.
30030 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
30031 <libm-alias-float.h>.
30032 (nextupf): Define using libm_alias_float.
30033 * sysdeps/ieee754/flt-32/s_remquof.c: Include
30034 <libm-alias-float.h>.
30035 (remquof): Define using libm_alias_float.
30036 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
30037 (rintf): Define using libm_alias_float.
30038 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
30039 <libm-alias-float.h>.
30040 (roundevenf): Define using libm_alias_float.
30041 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
30042 (roundf): Define using libm_alias_float.
30043 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
30044 using libm_alias_float.
30045 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
30046 <libm-alias-float.h>.
30047 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
30048 Define using libm_alias_float.
30049 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
30050 <libm-alias-float.h>.
30051 (sincosf): Define using libm_alias_float.
30052 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
30053 (sinf): Define using libm_alias_float.
30054 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
30055 (tanf): Define using libm_alias_float.
30056 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
30057 (tanhf): Define using libm_alias_float.
30058 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
30059 <libm-alias-float.h>.
30060 (totalorderf): Define using libm_alias_float.
30061 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
30062 <libm-alias-float.h>.
30063 (totalordermagf): Define using libm_alias_float.
30064 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
30065 (truncf): Define using libm_alias_float.
30066 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
30068 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
30071 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30074 math/math.h: Let fpclassify use the builtin in C++ mode, even
30075 when optimazing for size.
30077 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30079 * csu/Makefile (generated): Do not add version-info.h.
30080 (before-compile): Likewise.
30081 (all-Banner-files): Remove variable.
30082 ($(objpfx)version-info.h): Remove rule.
30083 * csu/version.c (banner): Do not include "version-info.h".
30084 * libidn/Banner: Remove.
30085 * manual/contrib.texi (Simon Josefsson): New entry.
30087 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30089 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30090 Remove conditionals on LDBL_MANT_DIG.
30091 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30092 (__ieee754_lgammal_r): Likewise.
30094 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30096 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
30098 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
30099 _Float128 and L(). Replace _Float128 with long double and L(x)
30100 with xL, throughout the file.
30101 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30102 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30103 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30104 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30106 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30108 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
30109 sysdeps/ieee754/ldbl-128ibm.
30110 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
30111 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
30112 of including it. Keep _Float128 and L() intact. These will be
30113 reviewed by a separate patch.
30114 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30115 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30116 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30117 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30119 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
30122 (__finitef128): Define to __redirect___finitef128.
30123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
30124 (__isinff128): Define to __redirect___isinff128.
30125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
30126 (__isnanf128): Define to __redirect___isnanf128.
30128 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30130 * sysdeps/powerpc/powerpc64le/Makefile
30131 (CFLAGS-tst-strtod-nan-locale.c): New variable.
30132 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
30134 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
30135 Carlos O'Donell <carlos@redhat.com>
30138 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
30139 * stdlib/test-dlclose-exit-race.c: New file.
30140 * stdlib/test-dlclose-exit-race-helper.c: New file.
30141 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
30143 2017-09-21 Joseph Myers <joseph@codesourcery.com>
30145 * crypt/Banner: Remove file.
30146 * nptl/Banner: Likewise.
30147 * resolv/Banner: Likewise.
30148 * soft-fp/Banner: Likewise.
30149 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
30150 ($(objpfx)version.d): Remove dependency on banner.h.
30151 ($(objpfx)version.os): Likewise.
30152 * nptl/version.c (banner): Do not include banner.h.
30153 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
30154 Jelinek and BIND code.
30156 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30157 Carlos O'Donell <carlos@redhat.com>
30159 * support/xdlfcn.h: New file.
30160 * support/xdlfcn.c: New file.
30161 * support/Makefile (libsupport-routines): Add xdlfcn.
30162 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
30164 2017-09-20 Joseph Myers <joseph@codesourcery.com>
30167 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30168 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
30169 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
30170 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
30171 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
30172 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
30173 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
30174 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
30176 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30177 Ricky Zhou <rickyz@google.com>
30178 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
30181 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
30183 (__new_exitfn): Fail registration when we finished at_exit processing.
30184 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30185 * stdlib/on_exit.c (__on_exit): Likewise.
30186 * stdlib/exit.c (__exit_funcs_done): New variable.
30187 (__run_exit_handlers): Use __exit_funcs_lock.
30188 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
30190 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
30191 (test-cxa_atexit-race, test-on_exit-race): New tests.
30192 * stdlib/test-atexit-race-common.c: New file.
30193 * stdlib/test-atexit-race.c: New file.
30194 * stdlib/test-at_quick_exit-race.c: New file.
30195 * stdlib/test-cxa_atexit-race.c: New file.
30196 * stdlib/test-on_exit-race.c: New file.
30198 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
30200 * benchtests/Makefile: Add exp2f and log2f benchmarks.
30201 * benchtests/exp2f-inputs: Copy of expf-inputs.
30202 * benchtests/log2f-inputs: Copy of logf-inputs.
30204 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30206 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
30207 Explicitly take address of first element of array arguments in
30208 call to INLINE_SYSCALL.
30210 2017-09-19 Andreas Schwab <schwab@suse.de>
30213 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
30215 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
30217 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
30218 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
30219 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30220 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
30221 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30222 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30223 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30224 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30225 * posix/Makefile (tests): Add tst-fexecve.
30226 * posix/tst-fexecve.c: New file.
30228 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30230 * benchtests/Makefile: Add logf benchmark.
30231 * benchtests/logf-inputs: Add reduced trace from wrf_r.
30233 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30235 * benchtests/Makefile: Add expf benchmark.
30236 * benchtests/expf-inputs: Add reduced trace from wrf_r.
30238 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30240 * csu/Makefile: Add -funwind-tables to libc-start.c.
30241 * debug/Makefile: Add -funwind-tables to backtrace.c.
30242 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
30243 * sysdeps/arm/Makefile: Likewise.
30244 * sysdeps/i386/Makefile: Likewise.
30245 * sysdeps/m68k/Makefile: Likewise.
30246 * sysdeps/mips/Makefile: Likewise.
30247 * sysdeps/nios2/Makefile: Likewise.
30248 * sysdeps/sh/Makefile: Likewise.
30249 * sysdeps/sparc/Makefile: Likewise.
30251 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30253 * benchtests/Makefile (bench-math): Add trunc and truncf.
30254 (CFLAGS-bench-trunc.c): New variable.
30255 (CFLAGS-bench-truncf.c): Likewise.
30256 * benchtests/trunc-inputs: New file.
30257 * benchtests/truncf-inputs: Likewise.
30259 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30261 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30263 2017-09-18 Joseph Myers <joseph@codesourcery.com>
30265 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30266 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30268 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30269 (exp10l): Define as weak alias.
30270 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30271 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30273 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30274 (remainderl): Define as weak alias.
30276 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30277 (fmal): Define using libm_alias_ldouble.
30278 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30279 (acoshl): Define using libm_alias_ldouble.
30280 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30281 (acosl): Define using libm_alias_ldouble.
30282 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30283 (asinl): Define using libm_alias_ldouble.
30284 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30285 (atan2l): Define using libm_alias_ldouble.
30286 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30287 (atanhl): Define using libm_alias_ldouble.
30288 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30289 (coshl): Define using libm_alias_ldouble.
30290 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30291 (exp10l): Define using libm_alias_ldouble.
30292 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30293 (exp2l): Define using libm_alias_ldouble.
30294 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30295 (expl): Define using libm_alias_ldouble.
30296 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30297 (fmodl): Define using libm_alias_ldouble.
30298 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30299 (hypotl): Define using libm_alias_ldouble.
30300 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30301 (j0l): Define using libm_alias_ldouble.
30303 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30304 (j1l): Define using libm_alias_ldouble.
30306 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30307 (jnl): Define using libm_alias_ldouble.
30309 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30310 (log10l): Define using libm_alias_ldouble.
30311 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30312 (log2l): Define using libm_alias_ldouble.
30313 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30314 (logl): Define using libm_alias_ldouble.
30315 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30316 (powl): Define using libm_alias_ldouble.
30317 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30318 (remainderl): Define using libm_alias_ldouble.
30319 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30320 (sinhl): Define using libm_alias_ldouble.
30321 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30322 (sqrtl): Define using libm_alias_ldouble.
30323 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30324 (tgammal): Define using libm_alias_ldouble.
30325 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30326 (exp10l): Do not use long_double_symbol here.
30327 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30328 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30329 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30330 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30331 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30332 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30333 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30334 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30335 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30336 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30337 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30338 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30339 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30340 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30341 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30342 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30343 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30344 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30345 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30346 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30347 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30348 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30350 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30352 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30353 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30355 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30357 * io/read.c (read): Add libc_hidden_weak.
30358 * sysdeps/mach/hurd/read.c (read): Likewise.
30359 * io/write.c (write): Likewise.
30360 * sysdeps/mach/hurd/write.c (write): Likewise.
30361 * io/pread64.c (__pread64): Likewise.
30362 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30363 * posix/pread64.c (__pread64): Add libc_hidden_def.
30365 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30367 * benchtests/scripts/compare_strings.py: New option -g.
30368 (draw_graph): Print a message that a graph is being generated.
30369 (process_results): Generate graph only if -g is passed.
30370 (main): Process option -g.
30372 * benchtests/scripts/compare_strings.py (process_results):
30373 Better spacing for output.
30375 * benchtests/scripts/compare_strings.py: Use argparse.
30376 * benchtests/README: Document existence of compare_strings.py.
30378 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30380 * math/s_fma.c: Include <libm-alias-double.h>.
30381 (fma): Define using libm_alias_double.
30382 * math/s_nextafter.c: Include <libm-alias-double.h>.
30383 (nextafter): Define using libm_alias_double.
30384 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30385 (acos): Define using libm_alias_double.
30386 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30387 (aocsh): Define using libm_alias_double.
30388 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30389 (asin): Define using libm_alias_double.
30390 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30391 (atan2): Define using libm_alias_double.
30392 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30393 (atanh): Define using libm_alias_double.
30394 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30395 (cosh): Define using libm_alias_double.
30396 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30397 (exp10): Define using libm_alias_double.
30398 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30399 (exp2): Define using libm_alias_double.
30400 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30401 (exp): Define using libm_alias_double.
30402 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30403 (fmod): Define using libm_alias_double.
30404 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30405 (hypot): Define using libm_alias_double.
30406 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30407 (j0): Define using libm_alias_double.
30409 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30410 (j1): Define using libm_alias_double.
30412 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30413 (jn): Define using libm_alias_double.
30415 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30416 (log10): Define using libm_alias_double.
30417 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30418 (log2): Define using libm_alias_double.
30419 * math/w_log_compat.c: Include <libm-alias-double.h>.
30420 (log): Define using libm_alias_double.
30421 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30422 (pow): Define using libm_alias_double.
30423 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30424 (remainder): Define using libm_alias_double.
30425 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30426 (sinh): Define using libm_alias_double.
30427 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30428 (sqrt): Define using libm_alias_double.
30429 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30430 (tgamma): Define using libm_alias_double.
30431 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30432 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30433 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30434 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30435 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30436 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30437 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30438 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30439 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30440 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30441 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30442 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30443 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30444 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30445 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30446 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30447 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30448 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30449 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30450 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30451 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30452 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30453 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30454 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30455 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30457 * math/e_acoshl.c: Remove.
30458 * math/e_acosl.c: Likewise.
30459 * math/e_asinl.c: Likewise.
30460 * math/e_atan2l.c: Likewise.
30461 * math/e_atanhl.c: Likewise.
30462 * math/e_coshl.c: Likewise.
30463 * math/e_expl.c: Likewise.
30464 * math/e_fmodl.c: Likewise.
30465 * math/e_gammal_r.c: Likewise.
30466 * math/e_hypotl.c: Likewise.
30467 * math/e_j0l.c: Likewise.
30468 * math/e_j1l.c: Likewise.
30469 * math/e_jnl.c: Likewise.
30470 * math/e_lgammal_r.c: Likewise.
30471 * math/e_log10l.c: Likewise.
30472 * math/e_log2l.c: Likewise.
30473 * math/e_logl.c: Likewise.
30474 * math/e_powl.c: Likewise.
30475 * math/e_rem_pio2l.c: Likewise.
30476 * math/e_sinhl.c: Likewise.
30477 * math/e_sqrtf128.c: Likewise.
30478 * math/e_sqrtl.c: Likewise.
30479 * math/k_cosl.c: Likewise.
30480 * math/k_sinl.c: Likewise.
30481 * math/k_tanl.c: Likewise.
30482 * math/s_asinhl.c: Likewise.
30483 * math/s_atanl.c: Likewise.
30484 * math/s_cbrtl.c: Likewise.
30485 * math/s_erfl.c: Likewise.
30486 * math/s_expm1l.c: Likewise.
30487 * math/s_log1pl.c: Likewise.
30488 * math/s_tanhl.c: Likewise.
30490 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30493 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30494 [$(subdir) = math] (sysdep_calls): New variable. Has the
30495 previous contents of sysdep_routines, but re-sorted..
30496 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30498 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30499 defined in sysdep_calls and replace by the respective m_* names.
30500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30501 (compat_symbol): Undefine to avoid duplicated compat symbols in
30504 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30506 * math/s_fmaf.c: Include <libm-alias-float.h>.
30507 (fmaf): Define using libm_alias_float.
30508 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30509 (acosf): Define using libm_alias_float.
30510 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30511 (acoshf): Define using libm_alias_float.
30512 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30513 (asinf): Define using libm_alias_float.
30514 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30515 (atan2f): Define using libm_alias_float.
30516 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30517 (atanhf): Define using libm_alias_float.
30518 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30519 (coshf): Define using libm_alias_float.
30520 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30521 (exp10f): Define using libm_alias_float.
30522 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30523 (fmodf): Define using libm_alias_float.
30524 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30525 (hypotf): Define using libm_alias_float.
30526 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30527 (j0f): Define using libm_alias_float.
30529 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30530 (j1f): Define using libm_alias_float.
30532 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30533 (jnf): Define using libm_alias_float.
30535 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30536 (log10f): Define using libm_alias_float.
30537 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30538 (log2f): Define using libm_alias_float.
30539 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30540 (logf): Define using libm_alias_float.
30541 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30542 (powf): Define using libm_alias_float.
30543 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30544 (remainderf): Define using libm_alias_float.
30545 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30546 (sinhf): Define using libm_alias_float.
30547 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30548 (sqrtf): Define using libm_alias_float.
30549 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30550 (tgammaf): Define using libm_alias_float.
30552 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30554 * include/math.h (roundeven): Change hidden_proto call to
30556 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30558 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30559 (y0): Rename to __y0 and define as weak alias.
30560 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30561 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30563 (y0f): Rename to __y0f and define as weak alias.
30564 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30566 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30567 (y1): Rename to __y1 and define as weak alias.
30568 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30569 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30571 (y1f): Rename to __y1f and define as weak alias.
30572 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30574 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30575 (yn): Rename to __yn and define as weak alias.
30576 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30577 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30579 (ynf): Rename to __ynf and define as weak alias.
30580 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30581 (fromfp): Define as weak alias.
30582 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30583 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30584 (fromfpx): Define as weak alias.
30585 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30586 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30587 __getpayload and define as weak alias.
30588 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30589 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30590 __roundeven and define as weak alias.
30591 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30592 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30594 (setpayload): Define as weak alias.
30595 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30596 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30598 (setpayloadsig): Define as weak alias.
30599 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30600 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30601 __totalorder and define as weak alias.
30602 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30603 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30604 to __totalordermag and define as weak alias.
30605 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30606 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30607 (ufromfp): Define as weak alias.
30608 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30609 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30611 (ufromfpx): Define as weak alias.
30612 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30613 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30614 Rename to __getpayload and define as weak alias.
30615 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30616 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30617 Rename to __roundeven and define as weak alias.
30618 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30619 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30620 Rename to __totalorder and define as weak alias.
30621 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30622 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30623 (totalordermag): Rename to __totalordermag and define as weak
30625 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30626 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30628 (__roundevenl): Likewise.
30629 (__totalorderl): Likewise.
30630 (__totalordermagl): Likewise
30631 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30633 (fromfpf128): Define as weak alias.
30634 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30636 (fromfpxf128): Define as weak alias.
30637 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30639 (setpayloadf128): Define as weak alias.
30640 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30641 __setpayloadsigf128.
30642 (setpayloadsigf128): Define as weak alias.
30643 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30645 (ufromfpf128): Define as weak alias.
30646 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30648 (ufromfpxf128): Define as weak alias.
30649 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30650 (fromfpf): Define as weak alias.
30651 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30653 (fromfpxf): Define as weak alias.
30654 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30655 __getpayloadf and define as weak alias.
30656 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30657 __roundevenf and define as weak alias.
30658 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30660 (setpayloadf): Define as weak alias.
30661 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30663 (setpayloadsigf): Define as weak alias.
30664 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30665 __totalorderf and define as weak alias.
30666 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30667 Rename to __totalordermagf and define as weak alias.
30668 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30670 (ufromfpf): Define as weak alias.
30671 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30673 (ufromfpxf): Define as weak alias.
30674 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30676 (fromfpl): Define as weak alias.
30677 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30679 (fromfpxl): Define as weak alias.
30680 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30681 to __getpayloadl and define as weak alias.
30682 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30683 __roundevenl and define as weak alias.
30684 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30686 (setpayloadl): Define as weak alias.
30687 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30689 (setpayloadsigl): Define as weak alias.
30690 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30691 to __totalorderl and define as weak alias.
30692 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30693 Rename to __totalordermagl and define as weak alias.
30694 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30696 (ufromfpl): Define as weak alias.
30697 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30699 (ufromfpxl): Define as weak alias.
30700 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30702 (fromfpl): Define as weak alias.
30703 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30705 (fromfpxl): Define as weak alias.
30706 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30707 Rename to __getpayloadl and define as weak alias.
30708 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30709 to __roundevenl and define as weak alias. Call __roundeven
30710 instead of roundeven.
30711 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30713 (setpayloadl): Define as weak alias.
30714 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30716 (setpayloadsigl): Define as weak alias.
30717 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30718 Rename to __totalorderl and define as weak alias.
30719 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30720 Rename to __totalordermagl and define as weak alias.
30721 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30723 (ufromfpl): Define as weak alias.
30724 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30726 (ufromfpxl): Define as weak alias.
30727 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30729 (fromfpl): Define as weak alias.
30730 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30732 (fromfpxl): Define as weak alias.
30733 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30734 __getpayloadl and define as weak alias.
30735 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30736 __roundevenl and define as weak alias.
30737 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30739 (setpayloadl): Define as weak alias.
30740 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30742 (setpayloadsigl): Define as weak alias.
30743 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30744 __totalorderl and define as weak alias.
30745 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30746 Rename to __totalordermagl and define as weak alias.
30747 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30749 (ufromfpl): Define as weak alias.
30750 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30752 (ufromfpxl): Define as weak alias.
30754 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30756 * benchtests/bench-string.h (realloc_bufs): New function.
30757 (test_init): Call it.
30758 * benchtests/bench-memset-large.c (do_test): Likewise.
30759 * benchtests/bench-memset.c (do_test): Likewise.
30761 * benchtests/bench-memset-large.c: Print output in JSON
30763 * benchtests/bench-memset.c: Likewise.
30765 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30768 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30769 * iconvdata/Makefile: Add IBM858.
30770 * iconvdata/gconv-modules: Likewise.
30771 * iconvdata/tst-tables.sh: Likewise.
30772 * iconvdata/ibm858.c: New file.
30773 * localedata/charmaps/IBM858: Likewise.
30775 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
30778 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30779 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30781 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30784 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30785 and add tel_int_fmt.
30787 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30789 * sysdeps/generic/libm-alias-float128.h: New file.
30790 * sysdeps/generic/math-type-macros-float128.h: Include
30791 <libm-alias-float128.h>.
30792 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30794 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30796 * sysdeps/generic/libm-alias-ldouble.h: New file.
30797 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30798 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30799 * sysdeps/generic/math-type-macros-ldouble.h: Include
30800 <libm-alias-ldouble.h>.
30801 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30802 libm_alias_ldouble.
30804 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30806 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30807 * math/w_exp_compat.c: ... here.
30808 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30809 * math/w_expf_compat.c: ... here.
30810 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30811 * math/w_expl_compat.c: ... here.
30812 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30813 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30814 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30815 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30817 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30819 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30821 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30823 (ldexpl): Only define as compat symbol for libc, not libm.
30824 (scalbnl): Define as compat symbol for libc here.
30825 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30826 define for [IS_IN (libc)].
30827 (__ldexpl_2): Remove alias.
30828 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30829 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30830 name in long_double_symbol call.
30831 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30832 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30833 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30834 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30835 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30837 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30838 Define as compat symbol.
30840 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30842 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30843 * sysdeps/unix/sysv/linux/alpha/Makefile
30844 [$(subdir) = csu] (sysdep_routines): Remove rule.
30846 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30848 * sysdeps/generic/libm-alias-double.h: New file.
30849 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30850 * sysdeps/generic/math-type-macros-double.h: Include
30851 <libm-alias-double.h>.
30852 [declare_mgen_alias] (declare_mgen_alias): Define to use
30854 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30855 (M_LIBM_NEED_COMPAT): Remove macro.
30856 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30857 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30858 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30860 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30861 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30862 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30863 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30864 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30865 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30866 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30867 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30868 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30869 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30870 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30871 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30872 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30873 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30874 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30875 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30876 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30877 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30878 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30879 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30880 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30881 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30882 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30883 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30884 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30885 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30886 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30887 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30888 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30890 (declare_mgen_alias): New macro.
30891 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30892 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30894 (M_LIBM_NEED_COMPAT): Remove macro.
30895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30896 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30897 <first-versions.h>.
30898 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30899 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30901 2017-09-12 Joseph Myers <joseph@codesourcery.com>
30903 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30904 (declare_mgen_alias_2): Remove.
30905 * sysdeps/generic/math-type-macros-double.h
30906 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30908 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30910 (ldexp): Define with declare_mgen_alias.
30911 (scalbn): Likewise.
30913 2017-09-12 Steve Ellcey <sellcey@cavium.com>
30915 * grp/initgroups.c: Include config.h.
30916 (DEFAULT_CONFIG): New macro.
30917 (internal_getgrouplist): Use DEFAULT_CONFIG.
30918 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30919 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30920 (DEFAULT_DEFCONFIG): New macro.
30921 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30922 * nss/grp-lookup.c: Include config.h
30923 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30924 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30925 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30926 * manual/nss.texi: Update default values section.
30928 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30931 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30933 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30934 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30935 Handle MathVec_Prefer_No_AVX512.
30936 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30937 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30940 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30942 * posix/sched_primax.c (__sched_get_priority_max): Add
30944 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30945 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30946 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30947 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30948 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30949 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30950 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30951 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30954 2017-09-11 Joseph Myers <joseph@codesourcery.com>
30956 * sysdeps/generic/libm-alias-float.h: New file.
30957 * sysdeps/generic/math-type-macros-float.h: Include
30958 <libm-alias-float.h>.
30959 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30961 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30964 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30965 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30966 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30967 (HWCAP_IMPORTANT): Likewise.
30968 (HWCAP_X86_64): New enum.
30969 (HWCAP_X86_AVX512_1): Updated.
30970 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30971 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30972 (modules-names): Add x86_64/tst-x86_64mod-1.
30973 (LDFLAGS-tst-x86_64mod-1.so): New.
30974 ($(objpfx)tst-x86_64-1): Likewise.
30975 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30976 (tst-x86_64-1-clean): Likewise.
30977 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30978 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30980 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30982 * po/sv.po: Update translations.
30983 * po/fr.po: Likewise.
30985 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30987 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30989 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30991 * elf/rtld-Rules: Fix $(error) use.
30993 2017-09-09 Mike FABIAN <mfabian@redhat.com>
30996 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30997 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30998 * localedata/locales/bn_BD: “Bengali” was still used in some
30999 comments. Change it to “Bangla”.
31001 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
31003 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
31005 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31007 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
31008 thunderx2t99p1 to list of cpu names.
31009 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31010 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
31012 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31014 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
31015 Use strcmp instead of tunable_is_name.
31017 2017-09-08 Joseph Myers <joseph@codesourcery.com>
31019 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31020 (F_GET_RW_HINT): New macro.
31021 [__USE_GNU] (F_SET_RW_HINT): Likewise.
31022 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
31023 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
31024 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
31025 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
31026 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
31027 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
31028 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
31029 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
31031 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31032 (F_ADD_SEALS): New macro.
31033 [__USE_GNU] (F_GET_SEALS): Likewise.
31034 [__USE_GNU] (F_SEAL_SEAL): Likewise.
31035 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
31036 [__USE_GNU] (F_SEAL_GROW): Likewise.
31037 [__USE_GNU] (F_SEAL_WRITE): Likewise.
31039 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31041 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
31042 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
31043 * posix/glob_internal.h (__glob_pattern_type):
31044 * posix/glob.c (glob):
31045 * posix/glob_pattern_p.c (__glob_pattern_p):
31048 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
31049 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31050 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
31051 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
31052 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
31054 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
31055 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
31056 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31057 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31058 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31059 * sysdeps/wordsize-64/glob.c: Likewise.
31060 * sysdeps/wordsize-64/glob64.c: Likewise.
31061 * sysdeps/wordsize-64/globfree.c: Likewise.
31062 * sysdeps/wordsize-64/globfree64.c: Likewise.
31063 * sysdeps/unix/sysv/linux/glob.c: New file.
31064 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
31065 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
31066 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
31067 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31068 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
31069 adds !GLOB_NO_OLD_VERSION as an extra condition.
31070 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
31071 using relative path instead of absolute one.
31072 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
31073 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31074 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31075 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
31076 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
31077 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
31080 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
31081 (glob): Use the same scratch buffer for both getlogin_r and
31082 getpwnam_r. Don’t require preallocation of the login name. This
31083 simplifies storage allocation, and corrects the handling of
31087 * posix/glob.c (glob): Port recent patches to platforms
31088 lacking getpwnam_r.
31089 (glob): Fix longstanding misuse of errno after getpwnam_r, which
31090 returns an error number rather than setting errno.
31092 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
31093 instead of GCC extension.
31094 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
31095 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
31096 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
31100 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
31101 * posix/bug-glob1.c: Remove file.
31102 * posix/tst-glob_symlinks.c: New file.
31103 * posix/glob.c (__lstat64): New macro.
31104 (is_dir): New function.
31105 (glob, glob_in_dir): Match symlinks even if they are dangling.
31106 (link_stat, link_exists_p): Remove. All uses removed.
31110 * posix/glob.c (struct readdir_result): Remove skip_entry member.
31111 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
31116 * posix/Makefile (routines): Add globfree, globfree64, and
31118 * posix/flexmember.h: New file.
31119 * posix/glob_internal.h: Likewise.
31120 * posix/glob_pattern_p.c: Likewise.
31121 * posix/globfree.c: Likewise.
31122 * posix/globfree64.c: Likewise.
31123 * sysdeps/gnu/globfree64.c: Likewise.
31124 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
31125 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31126 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
31127 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31128 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31129 * sysdeps/wordsize-64/globfree.c: Likewise.
31130 * sysdeps/wordsize-64/globfree64.c: Likewise.
31131 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
31132 [NDEBUG): Remove comments.
31133 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
31134 (dirent_type): New type. Use uint_fast8_t not
31135 uint8_t, as C99 does not require uint8_t.
31136 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
31137 (struct readdir_result): Use dirent_type. Do not define skip_entry
31138 unless it is needed; this saves a byte on platforms lacking d_ino.
31139 (readdir_result_type, readdir_result_skip_entry):
31140 New functions, replacing ...
31141 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
31142 these functions, which were removed. This makes the callers
31143 easier to read. All callers changed.
31144 (D_INO_TO_RESULT): Now empty if there is no d_ino.
31145 (size_add_wrapv, glob_use_alloca): New static functions.
31146 (glob, glob_in_dir): Check for size_t overflow in several places,
31147 and fix some size_t checks that were not quite right.
31148 Remove old code using SHELL since Bash no longer
31150 (glob, prefix_array): Separate MS code better.
31151 (glob_in_dir): Remove old Amiga and VMS code.
31152 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
31154 (glob_in_dir): Do not rely on undefined behavior in accessing
31155 struct members beyond their bounds. Use a flexible array member
31157 (link_stat): Rename from link_exists2_p and return -1/0 instead of
31158 0/1. Caller changed.
31159 (glob): Fix memory leaks.
31160 * posix/glob64 (globfree64): Move to separate file.
31161 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
31162 (globfree64): Remove hidden alias.
31163 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
31165 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
31167 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
31169 Move compat code to separate file.
31170 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
31173 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
31175 * resolv/tst-resolv-qtypes.c (domain): Changed to
31176 "const char domain[] =".
31178 2017-09-07 Joseph Myers <joseph@codesourcery.com>
31180 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
31183 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
31184 (TCP_MD5SIG_EXT): Likewise.
31185 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
31186 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
31187 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
31189 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
31191 2017-09-07 Mike FABIAN <mfabian@redhat.com>
31193 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
31195 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
31198 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
31200 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31202 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
31203 before assuming that the file is empty. Avoid testing buffer content
31206 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31209 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31211 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
31213 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
31215 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
31217 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31219 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
31221 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
31224 2017-09-06 Florian Weimer <fweimer@redhat.com>
31226 * malloc/dynarray_emplace_enlarge.c
31227 (__libc_dynarray_emplace_enlarge): Add missing else.
31229 2017-09-06 Florian Weimer <fweimer@redhat.com>
31232 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
31233 case of failure to obtain the global conf object.
31235 2017-09-06 Florian Weimer <fweimer@redhat.com>
31238 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
31239 dynarray allocation failure.
31241 2017-09-06 Florian Weimer <fweimer@redhat.com>
31243 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
31244 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
31245 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
31247 (response): Call them. Add 'p', '6' flag processing.
31248 (test_reverse): New function.
31249 (test_get2_any): Call it.
31250 (test_no_inet6): Add 'p' test.
31251 (test_inet6): Likewise.
31253 2017-09-06 Florian Weimer <fweimer@redhat.com>
31255 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
31256 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
31258 (test_gai): Adjust query names. Add additional tests.
31259 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
31260 test_get2. Adjust query names. Add additional tests.
31261 (test_no_inet6): New function, extracted from threadfunc.
31262 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31263 Add additional tests.
31265 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31268 * localedata/unicode-gen/utf8_gen.py: Set the width for
31269 characters with Prepended_Concatenation_Mark property to 1
31270 * localedata/charmaps/UTF-8: Updated using the improved script.
31272 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31275 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31276 use the range notation for all ranges of neighbouring characters
31277 with the same width.
31279 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31281 * sysdeps/generic/math-type-macros-double.h: Include
31282 <math-svid-compat.h>.
31283 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31284 * sysdeps/generic/math-type-macros-float.h: Include
31285 <math-svid-compat.h>.
31286 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31287 * sysdeps/generic/math-type-macros-ldouble.h: Include
31288 <math-svid-compat.h>.
31289 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31290 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31292 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31293 * math/w_acosf_compat.c: Likewise.
31294 * math/w_acosh_compat.c: Likewise.
31295 * math/w_acoshf_compat.c: Likewise.
31296 * math/w_acoshl_compat.c: Likewise.
31297 * math/w_acosl_compat.c: Likewise.
31298 * math/w_asin_compat.c: Likewise.
31299 * math/w_asinf_compat.c: Likewise.
31300 * math/w_asinl_compat.c: Likewise.
31301 * math/w_atan2_compat.c: Likewise.
31302 * math/w_atan2f_compat.c: Likewise.
31303 * math/w_atan2l_compat.c: Likewise.
31304 * math/w_atanh_compat.c: Likewise.
31305 * math/w_atanhf_compat.c: Likewise.
31306 * math/w_atanhl_compat.c: Likewise.
31307 * math/w_cosh_compat.c: Likewise.
31308 * math/w_coshf_compat.c: Likewise.
31309 * math/w_coshl_compat.c: Likewise.
31310 * math/w_exp10_compat.c: Likewise.
31311 * math/w_exp10f_compat.c: Likewise.
31312 * math/w_exp10l_compat.c: Likewise.
31313 * math/w_exp2_compat.c: Likewise.
31314 * math/w_exp2f_compat.c: Likewise.
31315 * math/w_exp2l_compat.c: Likewise.
31316 * math/w_fmod_compat.c: Likewise.
31317 * math/w_fmodf_compat.c: Likewise.
31318 * math/w_fmodl_compat.c: Likewise.
31319 * math/w_hypot_compat.c: Likewise.
31320 * math/w_hypotf_compat.c: Likewise.
31321 * math/w_hypotl_compat.c: Likewise.
31322 * math/w_j0_compat.c: Likewise.
31323 * math/w_j0f_compat.c: Likewise.
31324 * math/w_j0l_compat.c: Likewise.
31325 * math/w_j1_compat.c: Likewise.
31326 * math/w_j1f_compat.c: Likewise.
31327 * math/w_j1l_compat.c: Likewise.
31328 * math/w_jn_compat.c: Likewise.
31329 * math/w_jnf_compat.c: Likewise.
31330 * math/w_jnl_compat.c: Likewise.
31331 * math/w_lgamma_r_compat.c: Likewise.
31332 * math/w_lgammaf_r_compat.c: Likewise.
31333 * math/w_lgammal_r_compat.c: Likewise.
31334 * math/w_log10_compat.c: Likewise.
31335 * math/w_log10f_compat.c: Likewise.
31336 * math/w_log10l_compat.c: Likewise.
31337 * math/w_log2_compat.c: Likewise.
31338 * math/w_log2f_compat.c: Likewise.
31339 * math/w_log2l_compat.c: Likewise.
31340 * math/w_log_compat.c: Likewise.
31341 * math/w_logf_compat.c: Likewise.
31342 * math/w_logl_compat.c: Likewise.
31343 * math/w_pow_compat.c: Likewise.
31344 * math/w_powf_compat.c: Likewise.
31345 * math/w_powl_compat.c: Likewise.
31346 * math/w_remainder_compat.c: Likewise.
31347 * math/w_remainderf_compat.c: Likewise.
31348 * math/w_remainderl_compat.c: Likewise.
31349 * math/w_sinh_compat.c: Likewise.
31350 * math/w_sinhf_compat.c: Likewise.
31351 * math/w_sinhl_compat.c: Likewise.
31352 * math/w_sqrt_compat.c: Likewise.
31353 * math/w_sqrtf_compat.c: Likewise.
31354 * math/w_sqrtl_compat.c: Likewise.
31355 * math/w_tgamma_compat.c: Likewise.
31356 * math/w_tgammaf_compat.c: Likewise.
31357 * math/w_tgammal_compat.c: Likewise.
31358 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31359 [LIBM_SVID_COMPAT].
31360 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31361 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31362 [LIBM_SVID_COMPAT].
31363 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31364 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31365 [LIBM_SVID_COMPAT].
31366 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31367 * sysdeps/i386/fpu/w_sqrt.c: New file.
31368 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31369 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31370 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31371 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31372 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31373 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31374 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31375 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31376 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31377 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31378 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31379 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31380 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31381 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31382 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31383 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31384 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31385 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31386 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31387 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31388 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31389 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31390 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31391 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31392 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31393 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31394 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31395 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31396 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31397 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31398 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31399 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31400 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31401 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31402 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31403 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31404 * sysdeps/ia64/fpu/w_log.c: Likewise.
31405 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31406 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31407 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31408 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31409 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31410 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31411 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31412 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31413 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31414 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31415 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31416 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31417 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31418 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31419 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31420 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31421 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31422 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31423 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31424 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31425 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31426 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31427 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31428 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31429 [LIBM_SVID_COMPAT].
31430 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31431 * sysdeps/ieee754/k_standard.c: Likewise.
31432 * sysdeps/ieee754/k_standardf.c: Likewise.
31433 * sysdeps/ieee754/k_standardl.c: Likewise.
31434 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31435 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31436 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31437 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31438 long_double_symbol call on [LIBM_SVID_COMPAT].
31439 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31440 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31441 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31442 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31443 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31444 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31445 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31446 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31447 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31448 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31449 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31450 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31451 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31452 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31453 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31454 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31455 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31456 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31457 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31458 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31459 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31460 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31462 2017-09-05 Steve Ellcey <sellcey@cavium.com>
31464 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31465 * malloc/tst-mallocstate.c: Convert from test-skeleton
31466 to test-driver. Ifdef code using TEST_COMPAT macro.
31467 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31468 * math/test-matherr.c: Likewise.
31470 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31473 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31474 comparing word with byte-swapped constant.
31476 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
31479 * locale/iso-639.def: add Miskito.
31480 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31481 * localedata/locales/miq_NI: New file.
31483 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31486 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31487 (__mkdir): Likewise.
31488 * io/chmod.c (__chmod): Add libc_hidden_def.
31489 * io/mkdir.c (__mkdir): Likewise.
31490 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31491 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31492 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31493 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31495 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31497 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31501 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31502 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31504 2017-09-04 Florian Weimer <fweimer@redhat.com>
31506 * math/math.h: Issue warning if log is defined.
31508 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31510 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31511 kernel version to 4.13.
31513 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31515 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
31516 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31518 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31519 just <bits/types.h>.
31520 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
31521 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
31522 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
31523 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
31524 * misc/preadv2.c: Include <errno.h>.
31525 * misc/preadv64v2.c: Include <errno.h>.
31526 * misc/pwritev2.c: Include <errno.h>.
31527 * misc/pwritev64v2.c: Include <errno.h>.
31528 * sysdeps/posix/preadv2.c: Include <errno.h>.
31529 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31530 Fix <unistd.h> inclusion.
31531 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31532 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
31533 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31534 __strtoul_internal): New functions.
31535 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31536 * sysdeps/posix/system.c: Include <sigsetops.h>.
31537 * sysdeps/mach/hurd/i386/Makefile
31538 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31539 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31540 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
31541 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31542 __feraiseexcept_renamed to feraiseexcept instead of
31543 __GI_feraiseexcept.
31544 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
31545 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
31546 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31547 RWF_NOWAIT): Define to 0 if undefined already.
31548 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31550 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31551 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
31553 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31555 * manual/math.texi (pow10): Do not document.
31556 (pow10f): Likewise.
31557 (pow10l): Likewise.
31558 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31559 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31560 * math/libm-test-exp10.inc (pow10_test): Remove.
31561 (do_test): Do not call pow10.
31562 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31563 [NO_LONG_DOUBLE] (pow10l): Likewise.
31564 * math/w_exp10f_compat.c (pow10f): Likewise.
31565 * math/w_exp10l_compat.c (pow10l): Likewise.
31566 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31567 (pow10): Make into compat symbol.
31568 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31569 (pow10f): Make into compat symbol.
31570 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31571 (pow10l): Make into compat symbol.
31572 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31574 (CFLAGS-nldbl-pow10.c): Remove variable..
31575 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31576 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31577 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31578 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31579 Undefine and redefine.
31580 (pow10l): Make into compat symbol.
31581 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31582 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31583 * sysdeps/arm/libm-test-ulps: Likewise.
31584 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31585 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31586 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31587 * sysdeps/microblaze/libm-test-ulps: Likewise.
31588 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31589 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31590 * sysdeps/nios2/libm-test-ulps: Likewise.
31591 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31592 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31593 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31594 * sysdeps/sh/libm-test-ulps: Likewise.
31595 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31596 * sysdeps/tile/libm-test-ulps: Likewise.
31597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31599 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31601 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31603 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31605 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31606 "../ChangeLog.old/ChangeLog.8".
31607 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31608 "../ChangeLog.old/ChangeLog.14".
31610 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31612 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31615 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31617 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31619 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31621 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31622 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31624 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31626 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31627 32 atexit handlers.
31629 2017-09-01 Zack Weinberg <zackw@panix.com>
31631 * math/math.h (HUGE_VAL): Improve commentary.
31633 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31634 Andreas Schwab <schwab@suse.de>
31637 * include/stdio.h (__gen_tempfd): New function.
31638 * stdio-common/Makefile (routines): Add gentempfd.
31639 * stdio-common/gentempfd.c: New file.
31640 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31641 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31642 unnamed file first.
31644 2017-09-01 Florian Weimer <fweimer@redhat.com>
31648 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31649 result to determine success or failure, not the errno value.
31650 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31651 (tst-nss-files-hosts-erange): Link with -ldl.
31652 * nss/tst-nss-files-hosts-erange.c: New file.
31653 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31654 (do_test): Add NO_DATA tests.
31655 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31656 (do_test): Call it.
31658 2017-09-01 Florian Weimer <fweimer@redhat.com>
31661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31662 coming from gethostbyname2_r.
31664 2017-09-01 Florian Weimer <fweimer@redhat.com>
31666 * support/namespace.h (struct support_chroot_configuration): Add
31668 (struct support_chroot): Add path_hosts, path_host_conf.
31669 * support/support_chroot.c (write_file): New function.
31670 (support_chroot_create): Call it to process /etc/resolv.conf,
31671 /etc/hosts, /etc/host.conf.
31672 (support_chroot_free): Update.
31674 2017-09-01 Florian Weimer <fweimer@redhat.com>
31676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31677 status indicates it is set.
31679 2017-09-01 Florian Weimer <fweimer@redhat.com>
31682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31683 function lookup failures more reliable.
31685 2017-09-01 Florian Weimer <fweimer@redhat.com>
31687 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31688 (getcanonname): Likewise.
31689 (gaih_inet): Likewise.
31691 2017-09-01 Florian Weimer <fweimer@redhat.com>
31693 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31694 (getcanonname): Likewise.
31695 (gaih_inet): Likewise.
31697 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31698 Richard Henderson <rth@twiddle.net>
31700 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31701 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31702 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31703 (IREG_SIZE, OREG_SIZE): New macros.
31704 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31705 (IREG_SIZE, OREG_SIZE): New macros.
31706 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31707 (IREG_SIZE): New macro.
31708 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31709 (IREG_SIZE): New macro.
31710 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31712 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31713 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31714 (__CONCATX): Handle exceptions correctly on large values that may
31716 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31717 Initialize if not already set.
31718 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31720 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31722 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31723 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31725 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31727 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31729 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31731 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31733 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31735 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31737 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31738 (NO_CANCELLATION): Likewise.
31739 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31741 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31743 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31745 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31746 (NO_CANCELLATION): Likewise.
31747 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31748 (NO_CANCELLATION): Likewise.
31749 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31751 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31753 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31755 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31757 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31759 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31760 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31762 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31764 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31767 2017-08-31 Florian Weimer <fweimer@redhat.com>
31769 * include/libc-symbols.h (internal_function): Remove.
31771 2017-08-31 Florian Weimer <fweimer@redhat.com>
31773 * stdlib/fmtmsg.c (internal_addseverity): Remove
31776 2017-08-31 Florian Weimer <fweimer@redhat.com>
31778 * stdio-common/printf_fp.c (group_number): Remove
31780 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31782 2017-08-31 Florian Weimer <fweimer@redhat.com>
31784 * posix/fnmatch.c (internal_function): Remove definition.
31785 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31786 * posix/regcomp.c (peek_token, init_word_char)
31787 (duplicate_node_closure, fetch_token, peek_token)
31788 (peek_token_bracket, build_range_exp, build_collating_symbol):
31790 * posix/regex_internal.c (re_string_construct_common)
31791 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31792 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31793 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31794 (re_string_translate_buffer, re_string_reconstruct)
31795 (re_string_peek_byte_case, re_string_fetch_byte_case)
31796 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31797 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31798 (re_node_set_add_intersect, re_node_set_init_union)
31799 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31800 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31801 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31802 (re_acquire_state_context): Likewise.
31803 * posix/regex_internal.h (internal_function): Remove definition.
31804 (re_string_realloc_buffers, build_wcs_buffer)
31805 (build_wcs_upper_buffer, build_upper_buffer)
31806 (re_string_translate_buffer, re_string_context_at)
31807 (re_string_char_size_at, re_string_wchar_at)
31808 (re_string_elem_size_at): Likewise.
31809 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31810 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31811 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31812 (re_search_internal, re_search_2_stub, re_search_stub)
31813 (re_copy_regs, prune_impossible_nodes, check_matching)
31814 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31815 (free_fail_stack_return, sift_states_iter_mb)
31816 (sift_states_backward, build_sifted_states)
31817 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31818 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31819 (check_subexp_limits, sift_states_bkref, merge_state_array)
31820 (find_recover_state, transit_state, merge_state_with_log)
31821 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31822 (transit_state_mb, transit_state_bkref, get_subexp)
31823 (get_subexp_sub, find_subexp_node, check_arrival)
31824 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31825 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31826 (check_node_accept_bytes, find_collation_sequence_value)
31827 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31828 (acquire_init_state_context, check_halt_node_context)
31829 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31830 (sub_epsilon_src_nodes): Likewise.
31831 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31832 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31833 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31834 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31835 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31836 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31837 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31838 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31839 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31840 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31841 (PREADV): Likewise.
31842 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31843 (PREADV): Likewise.
31844 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31845 (PWRITEV): Likewise.
31846 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31847 (PWRITEV): Likewise.
31848 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31849 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31851 2017-08-31 Florian Weimer <fweimer@redhat.com>
31853 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31854 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31855 Remove internal_function.
31856 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31857 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31858 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31859 (__deallocate_stack, __libc_pthread_init)
31860 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31861 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31862 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31864 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31865 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31866 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31868 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31869 (__pthread_mutex_unlock_usercnt): Likewise.
31871 2017-08-31 Florian Weimer <fweimer@redhat.com>
31873 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31874 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31875 (fts_safe_changedir): Remove internal_function.
31876 * io/ftw.c (internal_function): Remove definition.
31877 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31879 2017-08-31 Florian Weimer <fweimer@redhat.com>
31881 * inet/deadline.c (__deadline_current_time)
31882 (__deadline_from_timeval, __deadline_to_ms): Remove
31884 * inet/getnameinfo.c (nrl_domainname): Likewise.
31885 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31886 * inet/inet6_option.c (add_pad): Likewise.
31887 * inet/net-internal.h (__deadline_current_time)
31888 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31889 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31890 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31891 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31893 2017-08-31 Joseph Myers <joseph@codesourcery.com>
31895 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31896 include <bits/nan.h>.
31897 * math/Makefile (headers): Remove bits/nan.h.
31898 * bits/nan.h: Remove.
31899 * sysdeps/ieee754/bits/nan.h: Likewise.
31900 * sysdeps/mips/bits/nan.h: Likewise.
31902 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31903 not include <bits/inf.h>.
31904 * math/Makefile (headers): Remove bits/inf.h.
31905 * bits/inf.h: Remove.
31906 * sysdeps/ieee754/bits/inf.h: Likewise.
31908 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31909 bits/huge_vall.h or bits/huge_val_flt128.h.
31910 (HUGE_VAL): Define directly here.
31911 [__USE_ISOC99] (HUGE_VALF): Likewise.
31912 [__USE_ISOC99] (HUGE_VALL): Likewise.
31913 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31914 (HUGE_VAL_F128): Likewise.
31915 * math/Makefile (headers): Remove bits/huge_val.h,
31916 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31917 * bits/huge_val.h: Remove.
31918 * bits/huge_val_flt128.h: Likewise.
31919 * bits/huge_valf.h: Likewise.
31920 * bits/huge_vall.h: Likewise.
31921 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31922 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31923 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31924 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31925 * sysdeps/sh/bits/huge_val.h: Likewise.
31926 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31927 * sysdeps/x86/bits/huge_vall.h: Likewise.
31929 2017-08-31 Florian Weimer <fweimer@redhat.com>
31931 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31933 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31935 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31936 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31937 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31938 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31939 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31940 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31941 * elf/dl-libc.c (dlerror_run): Likewise.
31942 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31943 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31944 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31945 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31947 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31948 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31949 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31950 * elf/dl-profile.c (_dl_start_profile): Likewise.
31951 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31952 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31954 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31955 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31956 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31957 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31958 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31959 (_dl_allocate_tls_storage): Likewise.
31960 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31961 (_dl_check_all_versions): Likewise.
31962 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31963 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31964 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31965 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31966 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31967 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31968 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31969 internal_function from __dl_start.
31970 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31971 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31972 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31973 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31974 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31975 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31976 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31977 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31978 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31979 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31980 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31981 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31982 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31983 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31984 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31986 (struct rtld_global_ro): Remove internal_function from the
31987 _dl_lookup_symbol_x member.
31988 (_dl_symbol_value): Remove. No longer defined anywhere.
31989 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31991 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31992 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31993 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31994 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31995 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31996 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31997 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31998 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31999 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
32000 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
32001 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32002 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32004 2017-08-31 Florian Weimer <fweimer@redhat.com>
32006 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
32007 Remove internal_function.
32008 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32010 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32013 2017-08-31 Florian Weimer <fweimer@redhat.com>
32015 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
32016 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
32017 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
32019 2017-08-31 Florian Weimer <fweimer@redhat.com>
32021 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
32022 (__gai_enqueue_request): Remove internal_function.
32023 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
32024 (__gai_remove_request, __gai_notify, __gai_notify_only)
32025 (__gai_sigqueue): Likewise.
32026 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
32027 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
32028 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
32029 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32032 2017-08-31 Florian Weimer <fweimer@redhat.com>
32034 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
32035 * include/dirent.h (__opendirat, __getdents, __getdents64)
32036 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
32037 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
32038 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32039 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32041 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
32043 2017-08-31 Florian Weimer <fweimer@redhat.com>
32045 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
32047 (GETCWD_RETURN_TYPE): Likewise.
32049 2017-08-31 Florian Weimer <fweimer@redhat.com>
32051 * include/time.h (__tz_compute, __strptime_internal): Remove
32053 * time/strptime_l.c (__strptime_internal): Likewise.
32054 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
32056 2017-08-31 Florian Weimer <fweimer@redhat.com>
32058 * iconv/gconv.c (__gconv): Remove internal_function.
32059 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
32060 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
32061 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
32062 (__gconv_release_cache): Likewise.
32063 * iconv/gconv_close.c (__gconv_close): Likewise.
32064 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
32065 (read_conf_file, __gconv_get_path): Likewise.
32066 * iconv/gconv_db.c (derivation_lookup, add_derivation)
32067 (__gconv_release_step, gen_steps, increment_counter)
32068 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
32069 (__gconv_close_transform, free_modules_db): Likewise.
32070 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
32072 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
32073 (__gconv_find_transform, __gconv_lookup_cache)
32074 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
32075 (__gconv_close_transform, __gconv_release_cache)
32076 (__gconv_loaded_object, __gconv_release_shlib)
32077 (__gconv_compare_alias): Likewise.
32078 * iconv/gconv_open.c (__gconv_open): Likewise.
32079 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
32080 * iconv/iconvconfig.c (add_module): Likewise.
32081 * intl/dcigettext.c (plural_lookup, guess_category_value)
32082 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
32083 * intl/eval-plural.h (plural_eval): Likewise.
32084 * intl/finddomain.c (_nl_find_domain): Likewise.
32085 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
32086 (_nl_load_domain, _nl_find_msg): Likewise.
32087 (internal_function): Remove definition.
32088 * intl/loadinfo.h (internal_function): Likewise.
32089 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
32091 * intl/localealias.c (internal_function): Remove definition.
32092 (read_alias_file): Remove internal_function.
32093 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
32094 * intl/plural-exp.h (internal_function): Remove definition.
32095 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
32097 * intl/plural.c: Regenerate.
32098 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
32099 * locale/coll-lookup.c (__collidx_table_lookup)
32100 (__collseq_table_lookup): Likewise.
32101 * locale/coll-lookup.h (__collidx_table_lookup)
32102 (__collseq_table_lookup): Likewise.
32103 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
32104 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32105 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
32106 (_nl_unload_locale): Likewise.
32107 * locale/localeinfo.h (struct __locale_data): Remove
32108 internal_function from cleanup member.
32109 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
32110 (_nl_remove_locale, _nl_load_locale_from_archive)
32111 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
32112 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
32113 (_nl_cleanup_time): Remove internal_function.
32114 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
32115 (_nl_parse_alt_digit): Likewise.
32116 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
32117 (_nl_select_era_entry): Likewise.
32118 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
32119 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32120 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
32121 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32122 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
32124 2017-08-31 Florian Weimer <fweimer@redhat.com>
32126 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
32127 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32128 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
32129 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
32131 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
32132 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
32133 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
32134 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32136 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
32138 2017-08-31 Florian Weimer <fweimer@redhat.com>
32140 * misc/getttyent.c (skip, value): Remove internal_function.
32141 * misc/syslog.c (openlog_internal): Likewise.
32142 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
32144 2017-08-31 Florian Weimer <fweimer@redhat.com>
32146 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
32147 (__nss_rewrite_field): Remove internal_function.
32148 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32149 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32150 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32151 * nss/nsswitch.c (nss_parse_file, nss_getline)
32152 (nss_parse_service_list, nss_new_service): Likewise.
32153 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
32154 * nss/valid_field.c (__nss_valid_field): Likewise.
32155 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
32157 2017-08-31 Florian Weimer <fweimer@redhat.com>
32159 * malloc/arena.c (__malloc_fork_lock_parent)
32160 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
32161 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
32162 internal_function from defintions.
32163 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
32164 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
32165 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
32166 internal_function from declarations.
32167 * malloc/malloc.c (internal_function): Do not define.
32168 (mem2mem_check): Remove internal_function from declaration.
32169 (munmap_chunk, mremap_chunk): Remove internal_function.
32170 * malloc/mtrace.c (tr_where): Likewise.
32172 2017-08-31 Florian Weimer <fweimer@redhat.com>
32174 * include/rpc/pmap_clnt.h (__get_socket): Remove
32176 * sunrpc/auth_des.c (synchronize): Likewise.
32177 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
32178 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
32179 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
32180 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
32181 (key_call): Likewise.
32182 * sunrpc/pm_getport.c (__get_socket): Likewise.
32183 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
32184 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
32185 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
32186 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
32187 (invalidate): Likewise.
32188 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
32189 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
32190 (set_input_fragment, get_input_bytes): Likewise.
32192 2017-08-31 Florian Weimer <fweimer@redhat.com>
32194 * malloc/malloc.c (_int_free): Remove locked variable and related
32197 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
32200 * Makerules (build-module-helper-objlist): Filter out
32201 $(elf-objpfx)sofini.os.
32202 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
32205 2017-08-31 Florian Weimer <fweimer@redhat.com>
32207 * libio/fcloseall.c: Assume weak_alias is defined.
32208 * libio/feof.c: Likewise.
32209 * libio/fileno.c: Likewise.
32210 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
32211 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32213 (_IO_file_open): Call __open directly.
32214 (_IO_new_file_sync): Assume ESPIPE is defined.
32215 (_IO_file_seekoff_maybe_mmap): Call __read directly.
32216 (_IO_new_file_write): Call __write directly.
32217 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
32218 * libio/ftello64.c (__ftello64): Assume EIO is defined.
32219 * libio/genops.c: Assume _LIBC is defined.
32220 (save_for_backup): Remove internal_function.
32221 * libio/getc.c: Assume weak_alias is defined.
32222 * libio/getwc.c: Likewise.
32223 * libio/iofclose.c: Assume _LIBC is defined.
32224 * libio/iofdopen.c: Likewise.
32225 (_IO_fcntl): Remove macro definition.
32226 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
32227 Call __fcntl directly.
32228 * libio/iofflush.c: Assume weak_alias is defined.
32229 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
32231 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
32232 * libio/iofgets.c: Likewise.
32233 * libio/iofopen.c: Assume _LIBC is defined.
32234 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
32235 * libio/iofputs.c: Assume weak_alias is defined.
32236 * libio/iofread.c: Likewise.
32237 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
32238 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
32239 * libio/ioftell.c: Assume weak_alias is defined.
32240 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
32241 * libio/iofwide.c: Assume _LIBC is defined.
32242 (_IO_fwide): Drop SHARED conditional because it is implied by
32244 * libio/iofwrite.c: Assume weak_alias is defined.
32245 * libio/iogetdelim.c: Likewise.
32246 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
32247 * libio/iogetwline.c (wmemcpy): Remove macro definition.
32248 (_IO_getwline): Call __wmemcpy directly.
32249 * libio/iopopen.c: Assume _LIBC is defined.
32250 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32251 (_IO_close): Remove macro definitions.
32252 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
32254 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
32256 * libio/ioputs.c: Assume weak_alias is defined.
32257 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
32258 * libio/iosetbuffer.c: Assume weak_alias is defined.
32259 * libio/iosetvbuf.c: Likewise.
32260 * libio/ioungetc.c: Likewise.
32261 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
32262 libc_hidden_def, libc_hidden_weak, NULL are defined.
32263 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32264 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32266 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32268 (_IO_old_file_init_internal): Drop SHARED conditional because it
32269 is implied by SHLIB_COMPAT.
32270 (_IO_old_file_fopen): Call __open directly.
32271 (_IO_old_file_sync): Assume ESPIPE is defined.
32272 (_IO_old_file_write): Call __write directly.
32273 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32274 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32275 Call __fcntl directly.
32276 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32277 (_IO_old_fgetpos): Assume EIO is defined.
32278 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32279 (_IO_old_fgetpos64): Assume EIO is defined.
32280 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32281 (_IO_old_fsetpos): Assume EIO is defined.
32282 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32283 (_IO_old_fsetpos64): Assume EIO is defined.
32284 * libio/oldiopopen.c: Assume _LIBC is defined.
32285 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32286 (_IO_close): Remove macro definitions.
32287 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32289 (_IO_old_proc_close): Call __close, __waitpid directly.
32290 * libio/put.c: Assume weak_alias is defined.
32291 * libio/stdfiles.c: Assume _LIBC is defined.
32292 * libio/stdio.c: Likewise.
32293 * libio/wfileops.c: Likewise.
32294 (_IO_wfile_sync): Assume ESPIPE is defined.
32295 * libio/wgenops.c: Assume _LIBC is defined.
32296 (save_for_wbackup): Remove internal_function.
32298 2017-08-31 Florian Weimer <fweimer@redhat.com>
32300 * malloc/malloc.c (top_check): Change return type to void. Remove
32302 * malloc/hooks.c (top_check): Likewise.
32303 (malloc_check, realloc_check, memalign_check): Adjust.
32305 2017-08-30 Joseph Myers <joseph@codesourcery.com>
32308 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32309 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32310 sigcontext and namespace requirements.
32311 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32312 * sysdeps/m68k/sys/ucontext.h: Likewise.
32313 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32314 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32315 <bits/sigcontext.h>.
32316 (__ctx): Define earlier.
32317 (mcontext_t): Define structure contents rather than using struct
32319 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32320 __glibc_reserved1 instead of __reserved.
32321 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32322 <bits/sigcontext.h>.
32323 (__ctx): Define earlier.
32324 (mcontext_t): Define structure contents rather than using struct
32326 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32327 mcontext_t instead of struct sigcontext.
32328 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32329 <bits/sigcontext.h>.
32330 (__ctx): Define earlier.
32331 (mcontext_t): Define structure contents rather than using struct
32333 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32334 <bits/sigcontext.h>.
32335 (__ctx): Define earlier.
32336 (mcontext_t): Define structure contents rather than using struct
32338 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32339 mcontext_t instead of struct sigcontext.
32340 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32341 mcontext_t instead of struct sigcontext.
32342 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32343 <bits/sigcontext.h>.
32344 (__ctx): New macro.
32345 (struct __ia64_fpreg_mcontext): New type.
32346 (mcontext_t): Define structure contents rather than using struct
32348 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32349 (uc_sigmask): Define using __ctx.
32350 (uc_stack): Likewise.
32351 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32352 <bits/sigcontext.h>.
32353 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32354 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32355 <bits/sigcontext.h>.
32356 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32357 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32358 <bits/sigcontext.h>.
32359 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32360 <bits/sigcontext.h>.
32361 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32362 <bits/sigcontext.h>.
32363 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32364 <bits/sigcontext.h>.
32365 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32366 <bits/sigcontext.h>.
32367 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32368 <bits/sigcontext.h>.
32369 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32370 <bits/sigcontext.h>.
32371 (__ctx): Define earlier.
32372 (mcontext_t): Define structure contents rather than using struct
32374 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32375 <bits/sigcontext.h>. Include <bits/types.h>.
32376 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32377 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32378 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32379 (test-xfail-UNIX98/signal.h/conform): Likewise.
32380 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32381 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32382 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32383 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32384 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32385 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32386 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32387 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32388 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32390 2017-08-30 Florian Weimer <fweimer@redhat.com>
32392 * malloc/dynarray_emplace_enlarge.c
32393 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32394 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32395 * malloc/tst-dynarray.c (test_long_overflow): New function.
32396 (do_test): Call it.
32398 2017-08-30 Florian Weimer <fweimer@redhat.com>
32400 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32401 (set_arena_corrupt): Remove definitions.
32402 (mtrim): Do not check for corrupt arena.
32403 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32406 2017-08-30 Florian Weimer <fweimer@redhat.com>
32409 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32411 (ptmalloc_init): Do not set or use check_action.
32412 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32413 call to malloc_printerr. Remove return statement.
32414 (free_check): Likewise. Remove arena unlock.
32415 (top_check): Update comment. Adjust call to malloc_printerr.
32416 Remove heap repair code.
32417 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32418 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32419 (sysmalloc): Adjust call to malloc_printerr.
32420 (munmap_chunk, __libc_realloc): Likewise. Remove return
32422 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32423 Remove errout label and corresponding gotos.
32424 (_int_free): Likewise. Remove arena unlock.
32425 (do_set_mallopt_check): Do not set check_action.
32426 (malloc_printerr): Adjust parameter list. Do not mark arena as
32428 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32430 * manual/probes.texi (Memory Allocation Probes): Remove
32431 memory_mallopt_check_action.
32433 2017-08-30 Steve Ellcey <sellcey@cavium.com>
32435 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32436 Use pointer to uint64_t instead of long int for sp.
32438 2017-08-30 Florian Weimer <fweimer@redhat.com>
32441 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32442 without printing a backtrace. Do not leak any information in the
32444 * manual/memory.texi (Heap Consistency Checking): Update.
32445 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32447 2017-08-30 Florian Weimer <fweimer@redhat.com>
32449 Do not scale NPTL tests with available number of CPUs.
32450 * nptl/tst-cond16.c (count): Set to constant value of 8.
32451 * nptl/tst-cond18.c (count): Likewise.
32453 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32456 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32457 Define to take a second argument that is a macro that
32458 concatentates a suffix, not the suffix itself.
32459 (__CONCAT_d): New macro.
32460 (__CONCAT_f): Likewise.
32461 (__CONCAT_l): Likewise.
32463 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32465 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32468 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32469 Aurelien Jarno <aurelien@aurel32.net>
32470 Maciej W. Rozycki <macro@imgtec.com>
32473 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32474 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32475 `mips16-syscall6' and `mips16-syscall7'.
32476 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32477 (CFLAGS-mips16-syscall7.c): Remove.
32478 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32479 Remove `__mips16_syscall5', `__mips16_syscall6' and
32480 `__mips16_syscall7'.
32481 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32482 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32483 `__mips_syscall_return'.
32484 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32485 (__mips16_syscall1): Likewise.
32486 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32487 (__mips16_syscall2): Likewise.
32488 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32489 (__mips16_syscall3): Likewise.
32490 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32491 (__mips16_syscall4): Likewise.
32492 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32494 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32496 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32498 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32499 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32500 `__mips16_syscall5'. Remove prototype.
32501 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32502 `__mips16_syscall6'. Remove prototype.
32503 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32504 `__mips16_syscall7'. Remove prototype.
32505 (__nomips16, __mips16_syscall_return): Move to...
32506 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32507 (__nomips16, __mips_syscall_return): ... here.
32508 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32509 `__mips16_syscall_return' to `__mips_syscall_return'.
32510 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32511 `internal_syscall##nr'.
32512 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32513 `internal_syscall##nr'.
32514 (FORCE_FRAME_POINTER): Remove.
32515 (__mips_syscall5): New prototype.
32516 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32517 (__mips_syscall6): New prototype.
32518 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32519 (__mips_syscall7): New prototype.
32520 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32521 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32522 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32523 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32524 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32525 (sysdep_routines): Add libc-do-syscall.
32526 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32527 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32529 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32532 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32533 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32534 (advise_stack_range): New function.
32535 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32536 stack non required to advise_stack_range at allocatestack.c
32538 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32540 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32542 2017-08-29 Florian Weimer <fweimer@redhat.com>
32545 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32546 __end_fct. Mangle __end_fct after setting it to NULL.
32547 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32548 (modules-names, modules-names-tests): Add
32549 tst-gconv-init-failure-mod.
32550 (gconv-modules): New target.
32551 (tst-gconv-init-failure-mod.so): Link against libsupport.
32552 (tst-gconv-init-failure): Depend on gconv-modules,
32553 tst-gconv-init-failure-mod.so.
32554 * iconv/tst-gconv-init-failure-mod.c: New file.
32555 * iconv/tst-gconv-init-failure.c: Likewise.
32556 * iconv/test-gconv-modules: Likewise.
32558 2017-08-29 Florian Weimer <fweimer@redhat.com>
32561 * iconv/gconv_db.c (free_derivation): Remove redundant
32563 (gen_steps): Unconditionally mangle __btowc_fct after
32565 (increment_counter): Likewise. Do not call init_fct for internal
32568 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32571 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32572 (_MSUF_): Remove macro.
32573 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32575 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32576 (__REDIRFROM_X): New macro.
32577 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32579 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32580 (__REDIRTO_X): Likewise.
32581 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32583 (__MATH_REDIRCALL_2): Likewise.
32584 (__MATH_REDIRCALL_INTERNAL): Likewise.
32585 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32586 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32587 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32588 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32589 * math/test-finite-macros.c: New file.
32590 * math/Makefile (tests): Add test-finite-macros.
32591 (CFLAGS-test-finite-macros.c): New variable.
32593 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
32594 Jeff Law <law@redhat.com>
32597 Mangle NULL pointers in iconv/gconv.
32598 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32599 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32600 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32601 is non-NULL before demangling the end_fct. Check for NULL
32602 end_fct after demangling.
32603 (__gconv_release_step): Demangle the end_fct before checking
32604 it for NULL. Remove assert on __shlibc_handle != NULL.
32605 (gen_steps): Don't check btowc_fct for NULL before mangling.
32606 Demangle init_fct before checking for NULL.
32607 (increment_counter): Likewise.
32608 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32609 end_fct for NULL before mangling.
32610 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32613 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
32616 * locale/iso-639.def: add Morisyen.
32618 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32621 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32622 (iszero): New C++ implementation that does not use
32623 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32624 signaling nans are enabled, since __builtin_types_compatible_p
32625 is a C-only feature.
32626 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32627 defined, include ieee754_float128.h for access to the union and
32628 member ieee854_float128.ieee.
32629 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32630 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32631 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32632 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32633 options of test-math-zero on powerpc64le.
32635 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32637 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32638 Change double to float.
32640 2017-08-28 Joseph Myers <joseph@codesourcery.com>
32642 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32644 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32645 conditional code; define contents only for [LIBM_SVID_COMPAT].
32647 2017-08-28 Florian Weimer <fweimer@redhat.com>
32649 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32650 (abi-lp64_be-options): Remove.
32651 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32652 (abi-hard-options): Likewise.
32653 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32654 (abi-o32_hard-options, abi-o32_soft_2008-options)
32655 (abi-o32_hard_2008-options, abi-n32_soft-options)
32656 (abi-n32_hard-options, abi-n32_soft_2008-options)
32657 (abi-n32_hard_2008-options, abi-n64_soft-options)
32658 (abi-n64_hard-options, abi-n64_soft_2008-options)
32659 (abi-n64_hard_2008-options): Likewise.
32660 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32661 (abi-64-v1-options, abi-64-v2-options): Likewise.
32662 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32663 (abi-64-options): Likewise.
32664 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32665 (abi-64-options): Likewise.
32666 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32667 (abi-64-options): Likewise.
32668 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32669 (abi-64-options, abi-x32-options): Likewise.
32671 2017-08-28 Florian Weimer <fweimer@redhat.com>
32673 Store supported list of SYS_* system calls in the source tree.
32674 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32675 (bits/syscall.h): Generate from list file.
32676 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32677 [$(subdir) = misc] (tests): Add tst-syscall-list.
32678 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32679 [$(subdir) = misc] (tst-syscall-list-macros.list)
32680 [$(subdir) = misc] (tst-syscall-list-nr.list)
32681 (tst-syscall-list-sys.list): Helper targets for new
32682 tst-syscall-list test.
32683 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32684 tst-syscall-list.sh.
32685 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32686 target. Do not include bits/syscall.d.
32687 [$(subdir) = misc] (generated): Do not update.
32688 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32689 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32690 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32691 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32693 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32695 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32696 (tst-cxa_atexit, tst-on_exit): Likewise.
32697 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32698 tst-cxa_atexit, and tst-on_exit.
32699 * stdlib/tst-atexit-common.c: New file.
32700 * stdlib/tst-atexit.c: New file.
32701 * stdlib/tst-at_quick_exit.c: New file.
32702 * stdlib/tst-cxa_atexit.c: New file.
32703 * stdlib/tst-on_exit.c: New file.
32705 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32707 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
32708 * mach/stack_chk_fail_local.c: New file.
32709 * hurd/stack_chk_fail_local.c: New file.
32710 * mach/Machrules ($(interface-library)-routines): Add
32711 stack_chk_fail_local.
32712 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32713 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32714 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32715 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32716 * hurd/Makefile (CFLAGS-hurdstartup.o,
32717 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
32719 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32721 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32722 (index_cpu_*, index_arch_*): Removed.
32724 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32726 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32727 Use uint64_t instead of unsigned long.
32729 2017-08-25 Joseph Myers <joseph@codesourcery.com>
32731 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32732 [__HAVE_DISTINCT_FLOAT128].
32734 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32735 of <bits/math-finite.h>.
32736 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32737 inclusion of <bits/math-finite.h>.
32738 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32739 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32740 __NO_LONG_DOUBLE_MATH].
32741 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32742 (__MATH_REDIRCALL_2): Likewise.
32743 (__MATH_REDIRCALL_INTERNAL): Likewise.
32744 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32745 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32746 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32760 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32761 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32762 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32763 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32765 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32766 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32767 w_sqrtf_compat-ppc32.
32769 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32771 * math/math.h [defined __cplusplus] (issignaling): In the long
32772 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32773 is not defined. Call __issignaling, otherwise.
32775 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32777 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32778 syscall definitions and replace __builtin_expect with __glibc_likely.
32779 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32781 (SYSCALL_CANCELLABLE): Removedefinition
32782 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32784 (PSEUDO_END): Likewise.
32785 [IS_IN (libpthread)] (CENABLE): Likewise.
32786 [IS_IN (libpthread)] (CDISABLE): Likewise.
32787 [IS_IN (libc)] (CENABLE): Likewise.
32788 [IS_IN (libc)] (CENABLE): Likewise.
32789 [IS_IN (librt)] (CDISABLE): Likewise.
32790 [IS_IN (librt)] (CDISABLE): Likewise.
32791 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32792 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32794 (PSEUDO_END): Likewise.
32795 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32796 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32797 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32798 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32799 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32800 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32801 (CENABLE): Likewise.
32802 (CDISABLE): Likewise.
32803 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32804 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32806 (PSEUDO_END): Likewise.
32807 [IS_IN (libpthread)] (CENABLE): Likewise.
32808 [IS_IN (libpthread)] (CDISABLE): Likewise.
32809 [IS_IN (libc)] (CENABLE): Likewise.
32810 [IS_IN (libc)] (CENABLE): Likewise.
32811 [IS_IN (librt)] (CDISABLE): Likewise.
32812 [IS_IN (librt)] (CDISABLE): Likewise.
32813 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32814 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32816 (PSEUDO_END): Likewise.
32817 [IS_IN (libpthread)] (CENABLE): Likewise.
32818 [IS_IN (libpthread)] (CDISABLE): Likewise.
32819 [IS_IN (libc)] (CENABLE): Likewise.
32820 [IS_IN (libc)] (CENABLE): Likewise.
32821 [IS_IN (librt)] (CDISABLE): Likewise.
32822 [IS_IN (librt)] (CDISABLE): Likewise.
32823 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32824 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32826 (PSEUDO_END): Likewise.
32827 [IS_IN (libpthread)] (CENABLE): Likewise.
32828 [IS_IN (libpthread)] (CDISABLE): Likewise.
32829 [IS_IN (libc)] (CENABLE): Likewise.
32830 [IS_IN (libc)] (CENABLE): Likewise.
32831 [IS_IN (librt)] (CDISABLE): Likewise.
32832 [IS_IN (librt)] (CDISABLE): Likewise.
32833 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32834 * sysdeps/unix/sysv/linux/ia64/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/m68k/sysdep-cancel.h (PSEUDO): Remove
32846 (PSEUDO_END): Likewise.
32847 [IS_IN (libpthread)] (CENABLE): Likewise.
32848 [IS_IN (libpthread)] (CDISABLE): Likewise.
32849 [IS_IN (libc)] (CENABLE): Likewise.
32850 [IS_IN (libc)] (CENABLE): Likewise.
32851 [IS_IN (librt)] (CDISABLE): Likewise.
32852 [IS_IN (librt)] (CDISABLE): Likewise.
32853 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32854 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32856 (PSEUDO_END): Likewise.
32857 [IS_IN (libpthread)] (CENABLE): Likewise.
32858 [IS_IN (libpthread)] (CDISABLE): Likewise.
32859 [IS_IN (libc)] (CENABLE): Likewise.
32860 [IS_IN (libc)] (CENABLE): Likewise.
32861 [IS_IN (librt)] (CDISABLE): Likewise.
32862 [IS_IN (librt)] (CDISABLE): Likewise.
32863 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32864 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32866 (PSEUDO_END): Likewise.
32867 [IS_IN (libpthread)] (CENABLE): Likewise.
32868 [IS_IN (libpthread)] (CDISABLE): Likewise.
32869 [IS_IN (libc)] (CENABLE): Likewise.
32870 [IS_IN (libc)] (CENABLE): Likewise.
32871 [IS_IN (librt)] (CDISABLE): Likewise.
32872 [IS_IN (librt)] (CDISABLE): Likewise.
32873 (SINGLE_THREAD_P): Likewise.
32874 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32876 (PSEUDO_END): Likewise.
32877 [IS_IN (libpthread)] (CENABLE): Likewise.
32878 [IS_IN (libpthread)] (CDISABLE): Likewise.
32879 [IS_IN (libc)] (CENABLE): Likewise.
32880 [IS_IN (libc)] (CENABLE): Likewise.
32881 [IS_IN (librt)] (CDISABLE): Likewise.
32882 [IS_IN (librt)] (CDISABLE): Likewise.
32883 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32884 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32886 (PSEUDO_END): Likewise.
32887 [IS_IN (libpthread)] (CENABLE): Likewise.
32888 [IS_IN (libpthread)] (CDISABLE): Likewise.
32889 [IS_IN (libc)] (CENABLE): Likewise.
32890 [IS_IN (libc)] (CENABLE): Likewise.
32891 [IS_IN (librt)] (CDISABLE): Likewise.
32892 [IS_IN (librt)] (CDISABLE): Likewise.
32893 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32894 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32895 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32896 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32897 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32899 (PSEUDO_END): Likewise.
32900 [IS_IN (libpthread)] (CENABLE): Likewise.
32901 [IS_IN (libpthread)] (CDISABLE): Likewise.
32902 [IS_IN (libc)] (CENABLE): Likewise.
32903 [IS_IN (libc)] (CENABLE): Likewise.
32904 [IS_IN (librt)] (CDISABLE): Likewise.
32905 [IS_IN (librt)] (CDISABLE): Likewise.
32906 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32907 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32909 (PSEUDO_END): Likewise.
32910 [IS_IN (libpthread)] (CENABLE): Likewise.
32911 [IS_IN (libpthread)] (CDISABLE): Likewise.
32912 [IS_IN (libc)] (CENABLE): Likewise.
32913 [IS_IN (libc)] (CENABLE): Likewise.
32914 [IS_IN (librt)] (CDISABLE): Likewise.
32915 [IS_IN (librt)] (CDISABLE): Likewise.
32916 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32917 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32919 (PSEUDO_END): Likewise.
32920 [IS_IN (libpthread)] (CENABLE): Likewise.
32921 [IS_IN (libpthread)] (CDISABLE): Likewise.
32922 [IS_IN (libc)] (CENABLE): Likewise.
32923 [IS_IN (libc)] (CENABLE): Likewise.
32924 [IS_IN (librt)] (CDISABLE): Likewise.
32925 [IS_IN (librt)] (CDISABLE): Likewise.
32926 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32927 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32928 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32929 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32930 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32932 (PSEUDO_END): Likewise.
32933 [IS_IN (libpthread)] (CENABLE): Likewise.
32934 [IS_IN (libpthread)] (CDISABLE): Likewise.
32935 [IS_IN (libc)] (CENABLE): Likewise.
32936 [IS_IN (libc)] (CENABLE): Likewise.
32937 [IS_IN (librt)] (CDISABLE): Likewise.
32938 [IS_IN (librt)] (CDISABLE): Likewise.
32939 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32940 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32942 (PSEUDO_END): Likewise.
32943 [IS_IN (libpthread)] (CENABLE): Likewise.
32944 [IS_IN (libpthread)] (CDISABLE): Likewise.
32945 [IS_IN (libc)] (CENABLE): Likewise.
32946 [IS_IN (libc)] (CENABLE): Likewise.
32947 [IS_IN (librt)] (CDISABLE): Likewise.
32948 [IS_IN (librt)] (CDISABLE): Likewise.
32949 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32951 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32953 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32955 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32957 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32959 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32962 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32963 middle and outer with size_t instead of int. Repleace %d and
32964 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32965 "MAX (outer, nchars - 64)" to support unsigned outer and
32966 nchars. Also exit loop when outer == 0.
32968 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32970 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32971 * include/signal.h (__sigsuspend_nocancel): Likewise.
32972 * include/time.h (__nanosleep_nocancel): Likewise.
32973 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32974 * login/utmp_file.c: Include non cancellable syscall header.
32975 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32978 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32980 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32981 .byte sequences with AVX512F instructions.
32982 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32983 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32984 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32985 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32987 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32990 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32991 Steve Ellcey <sellcey@cavium.com>
32993 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32994 Use PTR_REG macro in cmp instruction.
32996 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32998 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32999 Change the return type of the ifunc resolver to match the return
33000 type of the target function.
33002 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33004 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
33005 (preadv64): Likewise.
33006 (pwrite64(: Likewise.
33007 (pwritev64): Likewise.
33009 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33010 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
33011 (LOAD_ARGS_0): Likewise.
33012 (LOAD_ARGS_1): Likewise.
33013 (LOAD_ARGS_2): Likewise.
33014 (LOAD_ARGS_3): Likewise.
33015 (LOAD_ARGS_4): Likewise.
33016 (LOAD_ARGS_5): Likewise.
33017 (LOAD_ARGS_6): Likewise.
33018 (LOAD_REGS_0): Likewise.
33019 (LOAD_REGS_1): Likewise.
33020 (LOAD_REGS_2): Likewise.
33021 (LOAD_REGS_3): Likewise.
33022 (LOAD_REGS_4): Likewise.
33023 (LOAD_REGS_5): Likewise.
33024 (LOAD_REGS_6): Likewise.
33025 (ASM_ARGS_0): Likewise.
33026 (ASM_ARGS_1): Likewise.
33027 (ASM_ARGS_2): Likewise.
33028 (ASM_ARGS_3): Likewise.
33029 (ASM_ARGS_4): Likewise.
33030 (ASM_ARGS_5): Likewise.
33031 (ASM_ARGS_6): Likewise.
33032 (LOAD_ARGS_TYPES_1): Likewise.
33033 (LOAD_ARGS_TYPES_2): Likewise.
33034 (LOAD_ARGS_TYPES_3): Likewise.
33035 (LOAD_ARGS_TYPES_4): Likewise.
33036 (LOAD_ARGS_TYPES_5): Likewise.
33037 (LOAD_ARGS_TYPES_6): Likewise.
33038 (LOAD_REGS_TYPES_1): Likewise.
33039 (LOAD_REGS_TYPES_2): Likewise.
33040 (LOAD_REGS_TYPES_3): Likewise.
33041 (LOAD_REGS_TYPES_4): Likewise.
33042 (LOAD_REGS_TYPES_5): Likewise.
33043 (LOAD_REGS_TYPES_6): Likewise.
33044 (TYPEFY): New define.
33045 (ARGIFY): Likewise.
33046 (internal_syscall0): Likewise.
33047 (internal_syscall1): Likewise.
33048 (internal_syscall2): Likewise.
33049 (internal_syscall3): Likewise.
33050 (internal_syscall4): Likewise.
33051 (internal_syscall5): Likewise.
33052 (internal_syscall6): Likewise.
33053 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
33054 (INTERNAL_SYSCALL_NCS): Remove define.
33055 (internal_syscall1): Add define.
33057 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33059 * math/w_remainder_compat.c: Remove duplicate inclusion of
33060 math-svid-compat.h.
33061 * math/w_remainderf_compat.c: Likewise.
33062 * math/w_remainderl_compat.c: Likewise.
33064 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33068 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33071 * math/tgmath.h (__floating_type): Simplify definitions.
33072 (__real_integer_type): New macro.
33073 (__complex_integer_type): Likewise.
33074 (__expr_is_real): Likewise.
33075 (__tgmath_real_type_sub): Update comment to describe handling of
33077 (__tgmath_complex_type_sub): New macro.
33078 (__tgmath_complex_type): Likewise.
33079 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33080 (__TGMATH_CF128): Use __expr_is_real.
33081 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
33083 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33084 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
33085 * math/gen-tgmath-tests.py (Type.create_type): Create complex
33088 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33090 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
33092 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
33094 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
33097 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
33098 nanosleep_not_cancel with __nanosleep_nocancel.
33099 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
33100 (__nanosleep_nocancel): New macro.
33101 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
33103 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
33105 (__nanosleep_nocancel): New prototype.
33107 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
33108 pause_not_cancel with __pause_nocancel.
33109 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
33110 (__pause_nocancel): New macro.
33111 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
33113 (__pause_nocancel): New prototype.
33114 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
33116 2017-08-22 Martin Sebor <msebor@redhat.com>
33118 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
33119 to return a pointer to the same type as the target function.
33121 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33125 * include/printf.h (__printf_fphex): Add attribute_hidden.
33126 (__guess_grouping): New prototype.
33127 * stdio-common/printf_fp.c (__guess_grouping): Removed.
33128 * stdio-common/reg-printf.c (__register_printf_specifier): Add
33129 libc_hidden_proto and libc_hidden_def.
33130 * stdlib/strfmon_l.c (__guess_grouping): Removed.
33131 (__vstrfmon_l): Remove the third argument passed to
33134 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33136 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
33137 definition for issignaling that does not rely on __MATH_TG,
33138 since __MATH_TG uses __builtin_types_compatible_p, which is only
33139 available in C mode.
33140 (CFLAGS-test-math-issignaling.cc): New variable.
33141 * math/Makefile [CXX] (tests): Add test-math-issignaling.
33142 * math/test-math-issignaling.cc: New test for C++ implementation
33143 of type-generic issignaling.
33144 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33145 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
33146 options of test-math-issignaling on powerpc64le.
33148 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33150 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33152 (hidden_proto): Likewise.
33153 (hidden_tls_proto): Likewise.
33154 (__hidden_proto): Likewise.
33156 2017-08-22 Florian Weimer <fweimer@redhat.com>
33158 math: Statically link tests of internal functionality.
33159 * math/Makefile (tests): Remove atest-exp, atest-sincos,
33161 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
33162 (gmp-objs): Remove assignment.
33163 (atest-exp, atest-sincos, atest-exp2): Remove targets.
33165 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33168 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
33170 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
33172 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
33175 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
33176 variable definitions above inclusion of ../Rules.
33178 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33180 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
33181 case calling __builtin_unreachable.
33183 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33185 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
33186 __waitpid_nocancel.
33187 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
33188 (__waitpid_nocancel): New macro.
33189 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
33191 (__waitpid_nocancel): Replace macro with a function.
33192 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
33195 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
33197 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
33198 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
33200 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
33201 __writev_nocancel_nostatus.
33202 (write_call_graph): Likewise.
33203 (write_bb_counts): Likewise.
33204 * resolv/herror.c (herror): Likewise.
33205 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
33207 (__writev_nocancel_nostatus): New macro.
33208 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
33210 (__writev_nocancel_nostatus): New function.
33212 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33215 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33217 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33219 (hidden_proto): Likewise.
33220 (hidden_tls_proto): Likewise.
33221 (__hidden_proto): Likewise.
33224 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
33225 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
33230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
33234 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
33235 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33236 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33237 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33238 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
33239 GLIBC_2.0 sqrtl symbol.
33241 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
33242 [__USE_MISC] (_LIB_VERSION): Likewise.
33243 [__USE_MISC] (struct exception): Likewise.
33244 [__USE_MISC] (matherr): Likewise.
33245 [__USE_MISC] (DOMAIN): Likewise.
33246 [__USE_MISC] (SING): Likewise.
33247 [__USE_MISC] (OVERFLOW): Likewise.
33248 [__USE_MISC] (UNDERFLOW): Likewise.
33249 [__USE_MISC] (TLOSS): Likewise.
33250 [__USE_MISC] (PLOSS): Likewise.
33251 [__USE_MISC] (HUGE): Likewise.
33252 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
33253 * math/math-svid-compat.h: New file.
33254 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
33256 * include/math.h [!_ISOMAC] (__matherr): Remove.
33257 * manual/arith.texi (FP Exceptions): Do not document matherr.
33258 * math/Makefile (tests): Change test-matherr to test-matherr-3.
33259 (tests-internal): New variable.
33260 (install-lib): Do not add libieee.a.
33261 (non-lib.a): Likewise.
33262 (extra-objs): Do not add libieee.a and ieee-math.o.
33263 (CPPFLAGS-s_lib_version.c): Remove variable.
33264 ($(objpfx)libieee.a): Remove rule.
33265 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33266 * math/ieee-math.c: Remove.
33267 * math/libm-test-support.c (matherr): Remove.
33268 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33269 and license notices. Include <math-svid-compat.h> and
33271 (matherr): Undefine as macro. Use compat_symbol_reference.
33272 (_LIB_VERSION): Likewise.
33273 * math/test-matherr-2.c: New file.
33274 * math/test-matherr-3.c: Likewise.
33275 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33277 (__kernel_standard_f): Likewise.
33278 (__kernel_standard_l): Likewise.
33279 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33280 <math_private.h>. Include <math-svid-compat.h>.
33281 (_LIB_VERSION): Undefine as macro.
33282 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33283 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33284 [LIBM_SVID_COMPAT], use compat_symbol.
33285 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33286 <math_private.h>. Include <math-svid-compat.h>.
33287 (matherr): Undefine as macro.
33288 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33290 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33291 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33292 compat_symbol_reference.
33293 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33294 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33295 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33296 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33297 (MATHERR_D): Remove declaration.
33298 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33299 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33300 [LIBM_BUILD] (pmatherrf): Likewise.
33301 [LIBM_BUILD] (pmatherr): Likewise.
33302 [LIBM_BUILD] (pmatherrl): Likewise.
33303 (DOMAIN): Likewise.
33305 (OVERFLOW): Likewise.
33306 (UNDERFLOW): Likewise.
33309 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33310 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33312 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33313 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33315 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33316 * math/w_acos_compat.c: Likewise.
33317 * math/w_acosf_compat.c: Likewise.
33318 * math/w_acosh_compat.c: Likewise.
33319 * math/w_acoshf_compat.c: Likewise.
33320 * math/w_acoshl_compat.c: Likewise.
33321 * math/w_acosl_compat.c: Likewise.
33322 * math/w_asin_compat.c: Likewise.
33323 * math/w_asinf_compat.c: Likewise.
33324 * math/w_asinl_compat.c: Likewise.
33325 * math/w_atan2_compat.c: Likewise.
33326 * math/w_atan2f_compat.c: Likewise.
33327 * math/w_atan2l_compat.c: Likewise.
33328 * math/w_atanh_compat.c: Likewise.
33329 * math/w_atanhf_compat.c: Likewise.
33330 * math/w_atanhl_compat.c: Likewise.
33331 * math/w_cosh_compat.c: Likewise.
33332 * math/w_coshf_compat.c: Likewise.
33333 * math/w_coshl_compat.c: Likewise.
33334 * math/w_exp10_compat.c: Likewise.
33335 * math/w_exp10f_compat.c: Likewise.
33336 * math/w_exp10l_compat.c: Likewise.
33337 * math/w_exp2_compat.c: Likewise.
33338 * math/w_exp2f_compat.c: Likewise.
33339 * math/w_exp2l_compat.c: Likewise.
33340 * math/w_fmod_compat.c: Likewise.
33341 * math/w_fmodf_compat.c: Likewise.
33342 * math/w_fmodl_compat.c: Likewise.
33343 * math/w_hypot_compat.c: Likewise.
33344 * math/w_hypotf_compat.c: Likewise.
33345 * math/w_hypotl_compat.c: Likewise.
33346 * math/w_j0_compat.c: Likewise.
33347 * math/w_j0f_compat.c: Likewise.
33348 * math/w_j0l_compat.c: Likewise.
33349 * math/w_j1_compat.c: Likewise.
33350 * math/w_j1f_compat.c: Likewise.
33351 * math/w_j1l_compat.c: Likewise.
33352 * math/w_jn_compat.c: Likewise.
33353 * math/w_jnf_compat.c: Likewise.
33354 * math/w_jnl_compat.c: Likewise.
33355 * math/w_lgamma_main.c: Likewise.
33356 * math/w_lgamma_r_compat.c: Likewise.
33357 * math/w_lgammaf_main.c: Likewise.
33358 * math/w_lgammaf_r_compat.c: Likewise.
33359 * math/w_lgammal_main.c: Likewise.
33360 * math/w_lgammal_r_compat.c: Likewise.
33361 * math/w_log10_compat.c: Likewise.
33362 * math/w_log10f_compat.c: Likewise.
33363 * math/w_log10l_compat.c: Likewise.
33364 * math/w_log2_compat.c: Likewise.
33365 * math/w_log2f_compat.c: Likewise.
33366 * math/w_log2l_compat.c: Likewise.
33367 * math/w_log_compat.c: Likewise.
33368 * math/w_logf_compat.c: Likewise.
33369 * math/w_logl_compat.c: Likewise.
33370 * math/w_pow_compat.c: Likewise.
33371 * math/w_powf_compat.c: Likewise.
33372 * math/w_powl_compat.c: Likewise.
33373 * math/w_remainder_compat.c: Likewise.
33374 * math/w_remainderf_compat.c: Likewise.
33375 * math/w_remainderl_compat.c: Likewise.
33376 * math/w_scalb_compat.c: Likewise.
33377 * math/w_scalbf_compat.c: Likewise.
33378 * math/w_scalbl_compat.c: Likewise.
33379 * math/w_sinh_compat.c: Likewise.
33380 * math/w_sinhf_compat.c: Likewise.
33381 * math/w_sinhl_compat.c: Likewise.
33382 * math/w_sqrt_compat.c: Likewise.
33383 * math/w_sqrtf_compat.c: Likewise.
33384 * math/w_sqrtl_compat.c: Likewise.
33385 * math/w_tgamma_compat.c: Likewise.
33386 * math/w_tgammaf_compat.c: Likewise.
33387 * math/w_tgammal_compat.c: Likewise.
33388 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33389 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33390 * sysdeps/ieee754/k_standard.c: Likewise.
33391 * sysdeps/ieee754/k_standardf.c: Likewise.
33392 * sysdeps/ieee754/k_standardl.c: Likewise.
33393 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33394 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33395 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33396 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33397 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33398 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33399 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33400 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33401 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33406 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33407 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33408 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33409 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33411 2017-08-21 Florian Weimer <fweimer@redhat.com>
33414 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33415 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33416 Move before inclusion of ../Rules.
33418 2017-08-21 Florian Weimer <fweimer@redhat.com>
33421 * assert/assert.h (assert): Use static_cast (bool) for C++.
33422 Use the ternary operator in the warning branch for GNU C.
33423 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33424 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33425 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33426 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33427 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33429 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33432 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33433 (__syscall_clock_gettime): Add attribute_hidden.
33434 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33435 (__start_context): Likewise.
33437 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33439 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33441 (hidden_proto): Likewise.
33442 (hidden_tls_proto): Likewise.
33443 (__hidden_proto): Likewise.
33445 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33447 * include/libc-symbols.h (attribute_hidden): Enable hidden
33448 visibility in libc.a compiled with PIE.
33450 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33453 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33454 Add attribute_hidden.
33456 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33459 * Makerules (all-nonlib): Add $(others-extras).
33460 * catgets/Makefile (others-extras): New.
33461 * elf/Makefile (others-extras): Likewise.
33462 * nss/Makefile (others-extras): Likewise.
33464 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33467 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33468 * elf/dl-open.c: Include <libc-internal.h>.
33469 (__libc_multiple_libcs): Removed.
33470 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33472 * include/libc-internal.h (__libc_multiple_libcs): New.
33473 * misc/sbrk.c: Include <libc-internal.h>.
33474 (__libc_multiple_libcs): Removed.
33476 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33479 * grp/initgroups.c (__nss_group_database): Removed.
33480 (__nss_initgroups_database): Likewise.
33481 * nscd/gai.c (__nss_hosts_database): Likewise.
33482 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33483 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33484 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33485 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33486 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33487 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33489 * nss/nsswitch.c (__nss_database_custom): Define only if
33490 USE_NSCD is defined.
33491 (__nss_configure_lookup): Use __nss_database_custom only if
33492 USE_NSCD is defined.
33493 * nss/nsswitch.h (__nss_database_custom): Declare only if
33494 USE_NSCD is defined. Add attribute_hidden.
33495 (__nss_setent): Add attribute_hidden.
33496 (__nss_endent): Likewise.
33497 (__nss_getent_r): Likewise.
33498 (__nss_getent): Likewise.
33499 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33501 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33504 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33505 libc_hidden_proto and libc_hidden_def.
33507 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33510 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33511 Add libc_hidden_proto.
33512 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33513 Add libc_hidden_def.
33515 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33518 * gmon/Makefile (routines): Remove bb_init_func and
33520 (elide-routines.os): Removed.
33521 * gmon/bb_exit_func.c: Likewise.
33522 * gmon/bb_init_func.c: Likewise.
33523 * include/sys/gmon.h (__bb): Likewise.
33524 (__bb_init_func): Likewise.
33525 (__bb_exit_func): Likewise.
33526 * sysdeps/alpha/bb_init_func.S: Likewise.
33528 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33530 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33531 * include/setjmp.h (____longjmp_chk): Here. Add
33534 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33537 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33539 (__strspn_sse2): Likewise.
33541 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33543 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33544 (close_not_cancel_no_status): Likewise.
33545 (__close_nocancel): New macro.
33546 (__close_nocancel_nostatus): Likewise.
33547 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33549 (close_not_cancel): Likewise.
33550 (close_not_cancel_no_status): Likewise.
33551 (__close_nocancel): New prototype.
33552 (__close_nocancel_nostatus): New function.
33553 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33554 * catgets/open_catalog.c (__open_catalog): Replace
33555 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33556 * gmon/gmon.c (write_gmon): Likewise.
33557 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33558 * intl/loadmsgcat.c (close): Likewise.
33559 * io/ftw.c (open_dir_stream): Likewise.
33560 (ftw_startup): Likewise.
33561 * libio/fileops.c (_IO_file_open): Likewise.
33562 (_IO_file_close_mmap): Likewise.
33563 (_IO_file_close): Likewise.
33564 * libio/iopopen.c (_IO_dup2): Likewise.
33565 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33566 * locale/loadlocale.c (_nl_load_locale): Likewise.
33567 * login/utmp_file.c (pututline_file): Likewise.
33568 (endutent_file): Likewise.
33569 * misc/daemon.c (daemon): Likewise.
33570 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33571 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33572 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33573 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33574 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33575 * nscd/nscd_helper.c (open_socket): Likewise.
33576 (__nscd_open_socket): Likewise.
33577 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33578 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33579 (__nscd_innetgr): Likewise.
33580 * nss/nss_db/db-open.c (internal_setent): Likewise.
33581 * resolv/res-close.c (__res_iclose): Likewise.
33582 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33583 * sysdeps/posix/closedir.c (__closedir): Likewise.
33584 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33585 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33586 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33587 (opendir_tail): Likewise.
33588 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33589 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33590 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33591 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33592 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33593 (gethostid): Likewise.
33594 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33595 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33597 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33598 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33599 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33600 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33602 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33603 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33604 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33606 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33607 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33609 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33611 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33612 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33613 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33616 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33617 (openat_not_cancel_3): Likewise.
33618 (openat64_not_cancel_3): Likewise).
33619 (openat_not_cancel_3): Likewise).
33620 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33622 (openat_not_cancel_3): Likewise.
33623 (openat64_not_cancel): Likewise.
33624 (openat64_not_cancel_3): Likewise.
33625 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33626 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33627 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33628 __open{64}_nocancel.
33629 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33630 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33631 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33633 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33636 * include/argz.h (__argz_create_sep): New function prototype.
33637 (__argz_append): Likewise.
33638 (__argz_add): Likewise.
33639 (__argz_add_sep): Likewise.
33640 (__argz_delete): Likewise.
33641 (__argz_insert): Likewise.
33642 (__argz_replace): Likewise.
33643 * string/argz.h (__argz_create_sep): Removed.
33644 (__argz_append): Likewise.
33645 (__argz_add): Likewise.
33646 (__argz_add_sep): Likewise.
33647 (__argz_delete): Likewise.
33648 (__argz_insert): Likewise.
33649 (__argz_replace): Likewise.
33651 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33653 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33654 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33655 (GNU_PROPERTY_STACK_SIZE): Likewie.
33656 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33657 (GNU_PROPERTY_LOPROC): Likewise.
33658 (GNU_PROPERTY_HIPROC): Likewise.
33659 (GNU_PROPERTY_LOUSER): Likewise.
33660 (GNU_PROPERTY_HIUSER): Likewise.
33661 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33662 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33663 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33664 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33665 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33666 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33667 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33668 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33669 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33670 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33671 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33672 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33673 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33674 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33675 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33676 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33677 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33678 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33679 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33680 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33681 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33682 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33683 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33685 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33687 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33690 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33693 * math/math.h (isinf): Check if in C or C++ mode before using
33694 __builtin_types_compatible_p, since this is a C mode feature.
33696 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33698 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33699 (__write_nocancel): New macro.
33700 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33701 Rewrite as a function prototype.
33702 (write_not_cancel): Remove macro.
33703 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33704 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33705 (write_gmon): Likewise.
33706 * libio/fileops.c (_IO_new_file_write): Likewise.
33707 * login/utmp_file.c (pututline_file): Likewise.
33708 (updwtmp_file): Likewise.
33709 * stdio-common/psiginfo.c (psiginfo): Likewise.
33710 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33711 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33712 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33714 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33717 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33718 (__read_nocancel): New macro.
33719 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33721 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33723 (__read_nocancel): New prototype.
33724 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33725 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33726 with __read_nocancel.
33727 * intl/loadmsgcat.c (read): Likewise.
33728 * libio/fileops.c (_IO_file_read): Likewise.
33729 * locale/loadlocale.c (_nl_load_locale): Likewise.
33730 * login/utmp_file.c (getutent_r_file): Likewise.
33731 (internal_getut_r): Likewise.
33732 (getutline_r_file): Likewise.
33733 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33734 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33735 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33736 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33738 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33739 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33740 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33742 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33744 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33746 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33748 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33750 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33753 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33754 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33757 2017-08-17 DJ Delorie <dj@redhat.com>
33759 * bug17079.c: Update to new test harness.
33760 * test-digits-dots.c: Likewise.
33761 * test-netdb.c: Likewise.
33762 * tst-field.c: Likewise.
33763 * tst-nss-getpwent.c: Likewise.
33764 * tst-nss-static.c: Likewise.
33765 * tst-nss-test1.c: Likewise.
33766 * tst-nss-test2.c: Likewise.
33767 * tst-nss-test3.c: Likewise.
33768 * tst-nss-test4.c: Likewise.
33769 * tst-nss-test5.c: Likewise.
33771 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33773 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33774 (open_not_cancel_2): Likewise.
33775 (open_nocancel): New macro.
33776 (open64_nocancel): Likewise.
33777 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33778 (open_not_cancel_2): Likewise.
33779 (__open_nocancel): New prototype.
33780 (__open64_nocancel): Likewise.
33781 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33783 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33784 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33785 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33786 with __open_nocancel.
33787 * csu/check_fds.c (check_one_fd): Likewise.
33788 * gmon/gmon.c (write_gmon): Likewise.
33789 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33790 * intl/loadmsgcat.c (open): Likewise.
33791 * libio/fileops.c (_IO_file_open): Likewise.
33792 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33793 * locale/loadlocale.c (_nl_load_locale): Likewise.
33794 * login/utmp_file.c (setutent_file): Likewise.
33795 * misc/daemon.c (daemon): Likewise.
33796 * nss/nss_db/db-open.c (internal_setent): Likewise.
33797 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33798 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33799 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33800 (__opendir): Likewise.
33801 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33802 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33803 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33804 (gethostid): Likewise.
33805 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33806 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33808 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33809 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33810 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33811 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33813 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33815 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33817 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33819 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33821 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33823 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33824 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33826 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33828 * benchtests/bench-skeleton.c (main): Add support for
33829 latency benchmarking.
33830 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33832 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33834 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33835 the startup object.
33837 2017-08-17 Florian Weimer <fweimer@redhat.com>
33839 * include/sys/socket.h (__opensock): Remove internal_function.
33840 * socket/opensock.c (__opensock): Likewise.
33841 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33843 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33846 * signal/bits/types/__sigval_t.h: New file.
33847 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33848 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33849 and define sigval_t using __sigval_t.
33850 * include/bits/types/__sigval_t.h: New file.
33851 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33852 instead of <bits/types/__sigval_t.h>.
33853 (struct sigevent): Use __sigval_t instead of sigval_t.
33854 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33855 instead of <bits/types/__sigval_t.h>.
33856 (siginfo_t): Use __sigval_t instead of sigval_t.
33857 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33858 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33859 (struct sigevent): Use __sigval_t instead of sigval_t.
33860 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33861 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33862 (siginfo_t): Use __sigval_t instead of sigval_t.
33863 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33865 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33867 * NEWS: Remove "[Add new features here]" for 2.27.
33869 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33871 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33874 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33876 * NEWS: Mention x86-64 FMA optimization.
33878 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33881 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33883 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33884 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33885 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33887 2017-08-16 Andreas Schwab <schwab@suse.de>
33891 * elf/ldd.bash.in: Never run file directly.
33893 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33896 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33897 (L(SP_INF_0)): Likewise.
33899 2017-08-15 Florian Weimer <fweimer@redhat.com>
33901 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33904 2017-08-15 Florian Weimer <fweimer@redhat.com>
33906 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33907 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33908 BROKEN_THREAD_SIGNALS code.
33909 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33910 request_list): Remove caller_pid member used for
33911 BROKEN_THREAD_SIGNALS.
33912 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33913 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33914 Remove BROKEN_THREAD_SIGNALS support.
33915 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33916 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33918 2017-08-15 Florian Weimer <fweimer@redhat.com>
33920 * gmon/Makefile (tests): Add tst-gmon.
33921 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33923 (tests-special): Add tst-gmon-prof.out.
33924 (tst-gmon.out): Depend on clean-tst-gmon-data.
33925 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33926 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33927 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33929 * aclocal.m4 (GPROF): Set and substitute.
33930 * config.amke.in (GPROF): Set.
33931 * configure: Regenerate.
33933 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33935 * elf/elf.h A (NT_PPC_TAR): New macro.
33936 (NT_PPC_PPR): Likewise.
33937 (NT_PPC_DSCR): Likewise.
33938 (NT_PPC_EBB): Likewise.
33939 (NT_PPC_PMU): Likewise.
33940 (NT_PPC_TM_CGPR): Likewise.
33941 (NT_PPC_TM_CFPR): Likewise.
33942 (NT_PPC_TM_CVMX): Likewise.
33943 (NT_PPC_TM_CVSX): Likewise.
33944 (NT_PPC_TM_SPR): Likewise.
33945 (NT_PPC_TM_CTAR): Likewise.
33946 (NT_PPC_TM_CPPR): Likewise.
33947 (NT_PPC_TM_CDSCR): Likewise.
33949 2017-08-15 Florian Weimer <fweimer@redhat.com>
33951 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33952 regparm (2) instead of internal_function.
33953 (_MCOUNT_DECL): Adjust.
33955 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33957 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33958 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33960 2017-08-14 Joseph Myers <joseph@codesourcery.com>
33962 * conform/data/sys/wait.h-data (si_value): Do not expect for
33965 2017-08-14 Florian Weimer <fweimer@redhat.com>
33968 NSS: Create stubs for accidentally exported lookup functions.
33969 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33970 Remove declaration.
33971 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33972 (ether_hostton): Call __nss_ethers_lookup2 instead.
33973 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33974 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33975 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33976 (setup): Call __nss_netgroup_lookup2 instead.
33977 * nss/Makefile (routines): Add compat-lookup.
33978 * nss/Versions (GLIBC_2.27): Add symbol version.
33979 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33980 (DB_COMPAT_FCT): Remove.
33981 * nss/compat-lookup.c: New file.
33982 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33983 from databases.def.
33984 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33985 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33986 (netname2user): Call __nss_publickey_lookup2 instead.
33987 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33988 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33991 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33992 Sergei Trofimovich <slyfox@inbox.ru>
33995 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33996 Rename to MMAP2_PAGE_UNIT.
33997 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33998 __OFF_T_MATCHES_OFF64_T is not defined.
33999 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
34001 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
34002 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
34004 2017-08-14 Florian Weimer <fweimer@redhat.com>
34006 i386: Do not set internal_function.
34007 * config.h.in (USE_REGPARMS, internal_function): Remove.
34008 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
34009 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
34011 2017-08-14 Florian Weimer <fweimer@redhat.com>
34013 * elf/dl-init.c (_dl_init): Remove internal_function.
34014 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
34015 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
34017 2017-08-14 Florian Weimer <fweimer@redhat.com>
34019 * elf/rtld.c (_dl_start): Remove internal_function.
34020 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
34023 2017-08-14 Florian Weimer <fweimer@redhat.com>
34025 * elf/dl-fini.c (_dl_fini): Remove internal_function
34026 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
34028 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
34030 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
34031 (bit_cpu_SHSTK): Likewise.
34032 (index_cpu_IBT): Likewise.
34033 (index_cpu_SHSTK): Likewise.
34034 (reg_IBT): Likewise.
34035 (reg_SHSTK): Likewise.
34036 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34037 Handle index_cpu_IBT and index_cpu_SHSTK.
34039 2017-08-14 Mike FABIAN <mfabian@redhat.com>
34042 * po/fr.po: Fix spelling mistake.
34044 2017-08-13 Florian Weimer <fweimer@redhat.com>
34046 * elf/dl-addr.c (_dl_addr): Remove internal_function.
34047 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
34048 (_dl_catch_error, _dl_receive_error): Likewise.
34049 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
34050 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
34051 (_dl_deallocate_tls): Likewise.
34052 * include/dlfcn.h (_dl_addr): Likewise.
34053 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
34054 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
34055 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
34058 2017-08-13 Florian Weimer <fweimer@redhat.com>
34060 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
34061 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
34063 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
34065 2017-08-13 Florian Weimer <fweimer@redhat.com>
34067 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
34069 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
34070 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
34071 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
34072 internal_function from _dl_make_stack_executable_hook member.
34073 (_dl_make_stack_executable): Remove internal_function.
34074 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
34076 * sysdeps/unix/sysv/linux/dl-execstack.c
34077 (_dl_make_stack_executable): Likewise.
34079 2017-08-13 Florian Weimer <fweimer@redhat.com>
34081 * sysdeps/unix/sysv/linux/netlinkaccess.h
34082 (__netlink_assert_response): Remove internal_function.
34083 * sysdeps/unix/sysv/linux/netlink_assert_response.c
34084 (__netlink_assert_response): Likewise.
34086 2017-08-13 Florian Weimer <fweimer@redhat.com>
34088 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
34090 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
34092 2017-08-13 Florian Weimer <fweimer@redhat.com>
34094 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
34096 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
34097 * inet/netgroup.h (__internal_setnetgrent)
34098 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34099 * inet/getnetgrent_r.c (__internal_setnetgrent)
34100 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34101 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
34102 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
34103 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
34104 * nss/nsswitch.h (db_lookup_function): Likewise.
34106 2017-08-13 Florian Weimer <fweimer@redhat.com>
34108 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
34109 Remove internal_function.
34110 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
34111 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
34112 message argument on the stack.
34113 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
34116 2017-08-12 Mike FABIAN <mfabian@redhat.com>
34118 Adapt test case data to the changes in the thousands
34122 * localedata/tst-langinfo.sh: Adapt test case data.
34123 * stdlib/tst-strfmon_l.c: Likewise.
34124 * stdlib/tst-strtod4.c: Likewise.
34125 * stdlib/tst-strtod5i.c: Likewise.
34127 2017-08-11 Florian Weimer <fweimer@redhat.com>
34130 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
34131 Suppress pedantic warning resulting from statement expression.
34132 (__ASSERT_FUNCTION): Add missing __extension__.
34134 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34136 * benchtests/bench-memmove-large.c: Print output in JSON
34138 * benchtests/bench-memmove.c: Likewise.
34140 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
34141 * benchtests/bench-memchr.c (do_one_test): Likewise.
34142 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
34143 * benchtests/bench-memcpy.c (do_one_test): Likewise.
34144 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
34145 * benchtests/bench-memmove.c (do_one_test): Likewise.
34146 * benchtests/bench-memset-large.c (do_one_test): Likewise.
34147 * benchtests/bench-memset.c (do_one_test): Likewise.
34148 * benchtests/bench-string.h (test_init): Remove memsets.
34150 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
34153 (Computing the Width of an Integer Data Type): Rename section to
34154 "Width of an Integer Type". Remove inaccurate statement regarding
34155 lack of C language facilities for determining width of integer
34156 types, and reorder content to improve flow and context of
34159 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
34161 * lang.texi (va_copy): Change standard from ISO to C99.
34162 (__va_copy): Add standard and header annotation.
34163 Update description for clarity of origins and current use.
34165 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34168 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
34169 xssqrtqp requires operands to be in Vector Registers
34170 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
34171 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
34172 (__ieee754_sqrtf128): Likewise.
34174 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
34176 * sysdeps/aarch64/memcmp.S (memcmp):
34177 Rewrite of optimized memcmp.
34179 2017-08-10 Florian Weimer <fweimer@redhat.com>
34181 Introduce ld.so exceptions.
34182 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
34183 (_dl_exception_create, _dl_exception_create_format)
34184 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
34185 (_dl_catch_exception): Declare.
34186 (_dl_catch_error): Update comment.
34187 * elf/dl-error-skeleton.c (struct catch): Replace objname,
34188 errstring, malloced members with exception member.
34189 (_dl_out_of_memory): Remove.
34190 (fatal_error): New function, extracted from _dl_signal_error.
34191 (_dl_signal_exception, _dl_signal_cexception): New functions.
34192 (_dl_signal_error): Call _dl_exception_create to allocate an
34194 (_dl_catch_exception): New function, based on _dl_catch_error.
34195 (_dl_catch_error): Implement using _dl_catch_exception.
34196 * elf/dl-exception.c: New file.
34197 * elf/Makefile (dl-routines): Add dl-exception.
34198 (elide-routines.os): Likewise.
34199 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
34200 _dl_exception_create_format, _dl_exception_free.
34201 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
34202 _dl_signal_exception.
34203 * elf/dl-lookup.c (make_string): Remove.
34204 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
34205 _dl_signal_cexception, _dl_exception_free.
34206 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
34207 _dl_signal_exception.
34208 * elf/dl-sym.c (do_sym): Likewise.
34209 * elf/dl-version.c (make_string): Remove.
34210 (match_symbol): Use _dl_exception_create_format,
34211 _dl_signal_cexception, _dl_exception_free.
34212 (_dl_check_map_versions): Likewise.
34213 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
34214 _dl_catch_exception.
34215 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
34216 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
34217 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
34218 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
34219 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
34220 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
34221 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
34222 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
34224 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
34225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
34227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
34229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
34231 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
34232 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
34233 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
34235 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
34237 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
34239 2017-08-10 Florian Weimer <fweimer@redhat.com>
34241 * inet/net-internal.h (__inet6_scopeid_pton): Remove
34242 attribute_hidden, internal_function.
34243 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
34246 2017-08-10 Florian Weimer <fweimer@redhat.com>
34248 * malloc/malloc.c (get_max_fast): Reimplement as an inline
34249 function which calls __builtin_unreachable.
34251 2017-08-10 Mike FABIAN <mfabian@redhat.com>
34253 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
34254 Indian monetary formatting
34255 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
34258 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
34260 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
34261 Fix typo in comment.
34264 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34265 PTRACE_SEIZE_DEVEL): Remove.
34266 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34267 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34268 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34269 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34270 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34272 2017-08-09 Joseph Myers <joseph@codesourcery.com>
34274 * posix/bits/types.h (__qaddr_t): Remove.
34277 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34278 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34280 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34281 (ucontext_t): Use __ctx with uc_flags.
34282 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34283 (__ctxt): Likewise.
34284 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34286 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34287 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34289 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34290 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34292 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34294 (ucontext_t): Use __ctx with uc_flags.
34295 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34296 (ucontext_t): Use __ctx with uc_flags.
34297 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34298 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34299 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34300 (ucontext_t): Use __ctx with uc_flags.
34301 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34302 undefine further down.
34303 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34305 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34306 undefine further down.
34307 (ucontext_t): Use __ctx with uc_flags.
34308 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34309 undefine further down.
34310 (ucontext_t): Use __ctx with uc_flags.
34311 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34312 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34313 Rename uc_pad to __glibc_reserved1.
34314 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34315 undefine further down.
34316 (ucontext_t): Use __ctx with uc_flags.
34317 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34319 (ucontext_t): Use __ctx with uc_flags.
34320 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34321 __ctx with uc_flags.
34322 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34323 (ucontext_t): Use __ctx with uc_flags.
34324 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34325 __ctx with uc_flags.
34327 2017-08-09 Florian Weimer <fweimer@redhat.com>
34330 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34331 before early return.
34333 2017-08-09 Andreas Schwab <schwab@suse.de>
34336 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34340 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34341 tst-compat-forwarder.
34342 (modules-names): Add tst-compat-forwarder-mod.
34343 ($(objpfx)tst-compat-forwarder): Depend on
34344 $(objpfx)tst-compat-forwarder-mod.so.
34345 * nptl/tst-compat-forwarder.c: New file.
34346 * nptl/tst-compat-forwarder-mod.c: New file.
34348 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34350 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34353 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34354 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34356 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34358 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34359 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34360 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34361 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34363 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34366 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34369 * manual/setjmp.texi (getcontex): Document uc_stack value
34370 compatibility differences.
34372 2017-08-08 Joseph Myers <joseph@codesourcery.com>
34374 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34375 (old_malloc_hook): Likewise.
34376 (old_memalign_hook): Likewise.
34377 (old_realloc_hook): Likewise.
34378 (struct hdr): Likewise.
34380 (freehook): Likewise.
34381 (mallochook): Likewise.
34382 (memalignhook): Likewise.
34383 (reallochook): Likewise.
34384 (mprobe): Likewise.
34385 * malloc/mtrace.c (mallwatch): Likewise.
34386 (tr_old_free_hook): Likewise.
34387 (tr_old_malloc_hook): Likewise.
34388 (tr_old_realloc_hook): Likewise.
34389 (tr_old_memalign_hook): Likewise.
34390 (tr_where): Likewise.
34391 (lock_and_info): Likewise.
34392 (tr_freehook): Likewise.
34393 (tr_mallochook): Likewise.
34394 (tr_reallochook): Likewise.
34395 (tr_memalignhook): Likewise.
34396 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34397 * misc/mmap.c (__mmap): Likewise.
34398 * misc/mmap64.c (__mmap64): Likewise.
34399 * misc/mprotect.c (__mprotect): Likewise.
34400 * misc/msync.c (msync): Likewise.
34401 * misc/munmap.c (__munmap): Likewise.
34402 * posix/posix_madvise.c (posix_madvise): Likewise.
34403 * socket/send.c (__send): Likewise.
34404 * socket/sendto.c (__sendto): Likewise.
34405 * socket/setsockopt.c (__setsockopt): Likewise.
34406 * string/memcmp.c (__ptr_t): Remove macro.
34407 (MEMCMP): Use void * instead of ptr_t.
34408 * string/memrchr.c (__ptr_t): Remove macro.
34409 (__memrchr): Use void * instead of ptr_t.
34410 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34411 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34412 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34413 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34414 * sysdeps/mach/msync.c (msync): Likewise.
34415 * sysdeps/mach/munmap.c (__munmap): Likewise.
34416 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34418 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34419 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34420 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34421 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34422 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34423 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34424 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34425 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34427 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34428 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34429 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34430 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34431 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34432 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34433 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34434 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34435 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34437 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34438 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34439 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34440 (MEMCMP): Use void * instead of ptr_t.
34441 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34442 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34444 2017-08-08 Florian Weimer <fweimer@redhat.com>
34446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34449 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34452 * csu/libc-tls.c: Include <startup.h> first.
34453 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34454 * elf/dl-tunables.c: Include <startup.h> first.
34455 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34456 * sysdeps/generic/startup.h: New file.
34457 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34458 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34459 (I386_USE_SYSENTER): New. Defined to 0.
34461 2017-08-08 Andreas Schwab <schwab@suse.de>
34464 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34465 * nptl/pt-system.c (system): Likewise.
34467 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34470 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34472 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34473 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34474 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34475 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34476 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34477 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34478 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34480 2017-08-07 Joseph Myers <joseph@codesourcery.com>
34483 * bits/sigaction.h (struct sigaction): Define sa_handler and
34484 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34485 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34486 [__USE_XOPEN_EXTENDED].
34487 (SA_RESTART): Likewise.
34488 (SA_NODEFER): Likewise.
34489 (SA_RESETHAND): Likewise.
34490 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34491 (struct sigaction): Define sa_handler and sa_sigaction using union
34492 also for [__USE_XOPEN_EXTENDED].
34493 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34494 [__USE_XOPEN_EXTENDED].
34495 (SA_RESTART): Likewise.
34496 (SA_NODEFER): Likewise.
34497 (SA_RESETHAND): Likewise.
34498 * sysdeps/unix/sysv/linux/bits/sigaction.h
34499 (struct sigaction): Define sa_handler and sa_sigaction using union
34500 also for [__USE_XOPEN_EXTENDED].
34501 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34502 [__USE_XOPEN_EXTENDED].
34503 (SA_RESTART): Likewise.
34504 (SA_NODEFER): Likewise.
34505 (SA_RESETHAND): Likewise.
34506 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34507 (struct sigaction): Define sa_handler and sa_sigaction using union
34508 also for [__USE_XOPEN_EXTENDED].
34509 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34510 [__USE_XOPEN_EXTENDED].
34511 (SA_RESTART): Likewise.
34512 (SA_NODEFER): Likewise.
34513 (SA_RESETHAND): Likewise.
34514 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34515 (struct sigaction): Define sa_handler and sa_sigaction using union
34516 also for [__USE_XOPEN_EXTENDED].
34517 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34518 [__USE_XOPEN_EXTENDED].
34519 (SA_RESTART): Likewise.
34520 (SA_NODEFER): Likewise.
34521 (SA_RESETHAND): Likewise.
34522 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34523 (struct sigaction): Define sa_handler and sa_sigaction using union
34524 also for [__USE_XOPEN_EXTENDED].
34525 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34526 [__USE_XOPEN_EXTENDED].
34527 (SA_RESTART): Likewise.
34528 (SA_NODEFER): Likewise.
34529 (SA_RESETHAND): Likewise.
34530 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34531 (struct sigaction): Define sa_handler and sa_sigaction using union
34532 also for [__USE_XOPEN_EXTENDED].
34533 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34534 [__USE_XOPEN_EXTENDED].
34535 (SA_RESTART): Likewise.
34536 (SA_NODEFER): Likewise.
34537 (SA_RESETHAND): Likewise.
34538 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34539 (struct sigaction): Define sa_handler and sa_sigaction using union
34540 also for [__USE_XOPEN_EXTENDED].
34541 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34542 [__USE_XOPEN_EXTENDED].
34543 (SA_RESTART): Likewise.
34544 (SA_NODEFER): Likewise. Define directly rather than as alias.
34545 (SA_RESETHAND): Likewise.
34546 (SA_INTERRUPT): Define only for [__USE_MISC].
34547 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34548 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34550 (SA_STACK): Define only for [__USE_MISC].
34551 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34552 (struct sigaction): Define sa_handler and sa_sigaction using union
34553 also for [__USE_XOPEN_EXTENDED].
34554 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34555 [__USE_XOPEN_EXTENDED].
34556 (SA_RESTART): Likewise.
34557 (SA_NODEFER): Likewise.
34558 (SA_RESETHAND): Likewise.
34559 (SA_NOPTRACE): Define only for [__USE_MISC].
34561 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34562 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34563 (struct catalog_info): Likewise.
34564 * inet/htontest.c (lo): Likewise.
34566 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34567 * inet/inet_net.c (inet_network): Likewise.
34568 * inet/inet_netof.c (inet_netof): Likewise.
34569 * inet/rcmd.c (__ivaliduser): Likewise.
34570 (iruserok): Likewise.
34571 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34572 * locale/programs/locale-spec.c (locale_special): Likewise.
34573 * nis/nis_findserv.c (struct findserv_req): Likewise.
34574 (__nis_findfastest_with_timeout): Likewise.
34575 * nss/test-netdb.c (test_network): Likewise.
34576 * resolv/inet_neta.c (inet_neta): Likewise.
34577 * resolv/ns_date.c (ns_datetosecs): Likewise.
34578 (SECS_PER_DAY): Likewise.
34579 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34581 * resolv/res_comp.c (__putlong): Likewise.
34582 (__putshort): Likewise.
34583 (_getlong): Likewise.
34584 (_getshort): Likewise.
34585 * resolv/res_debug.c (p_time): Likewise.
34586 (precsize_ntoa): Likewise.
34587 (precsize_aton): Likewise.
34588 (latlon2ul): Likewise.
34589 (loc_aton): Likewise.
34590 (loc_ntoa): Likewise.
34591 * resolv/res_hconf.c (struct netaddr): Likewise.
34592 (_res_hconf_reorder_addrs): Likewise.
34593 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34594 (clnttcp_control): Likewise.
34595 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34596 (clntudp_control): Likewise.
34597 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34598 (clntunix_control): Likewise.
34599 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34600 * sunrpc/rpc/auth.h (union des_block): Likewise.
34601 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34602 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34603 (xdrrec_create): Likewise.
34604 (xdrrec_endofrecord): Likewise.
34605 (flush_out): Likewise.
34606 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34607 (xdrstdio_putlong): Likewise.
34608 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34611 * misc/sys/cdefs.h (__long_double_t): Remove.
34612 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34613 instead of __long_double_t,
34614 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34616 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34618 * benchtests/scripts/compare_strings.py: Avoid display error when
34619 running on a text terminal.
34621 * benchtests/scripts/compare_strings.py (main): Add an
34622 optional -base option.
34623 (process_results): New argument base_func.
34625 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34627 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34628 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34630 2017-08-07 Andreas Schwab <schwab@suse.de>
34632 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34633 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34634 * intl/Makefile ($(objpfx)tst-gettext.out)
34635 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34636 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34637 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34638 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34639 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34640 * posix/Makefile ($(objpfx)globtest.out)
34641 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34642 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34643 ($(objpfx)tst-printf.out): Likewise.
34644 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34645 ($(objpfx)tst-setcontext3.out): Likewise.
34647 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34649 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34650 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34651 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34652 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34653 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34655 (CFLAGS-doasin-fma.c): New.
34656 (CFLAGS-dosincos-fma.c): Likewise.
34657 (CFLAGS-e_asin-fma.c): Likewise.
34658 (CFLAGS-e_atan2-fma.c): Likewise.
34659 (CFLAGS-e_exp-fma.c): Likewise.
34660 (CFLAGS-e_log-fma.c): Likewise.
34661 (CFLAGS-e_pow-fma.c): Likewise.
34662 (CFLAGS-halfulp-fma.c): Likewise.
34663 (CFLAGS-mpa-fma.c): Likewise.
34664 (CFLAGS-mpatan-fma.c): Likewise.
34665 (CFLAGS-mpatan2-fma.c): Likewise.
34666 (CFLAGS-mpexp-fma.c): Likewise.
34667 (CFLAGS-mplog-fma.c): Likewise.
34668 (CFLAGS-mpsqrt-fma.c): Likewise.
34669 (CFLAGS-mptan-fma.c): Likewise.
34670 (CFLAGS-s_atan-fma.c): Likewise.
34671 (CFLAGS-sincos32-fma.c): Likewise.
34672 (CFLAGS-slowexp-fma.c): Likewise.
34673 (CFLAGS-slowpow-fma.c): Likewise.
34674 (CFLAGS-s_sin-fma.c): Likewise.
34675 (CFLAGS-s_tan-fma.c): Likewise.
34676 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34677 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34678 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34679 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34680 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34681 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34682 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34683 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34684 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34685 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34686 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34687 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34688 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34689 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34690 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34691 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34692 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34693 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34694 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34695 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34696 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34697 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34698 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34699 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34700 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34701 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34702 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34703 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34704 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34705 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34706 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34708 2017-08-04 Joseph Myers <joseph@codesourcery.com>
34710 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34711 (min_of_type_f): New macro.
34712 (min_of_type_): Likewise.
34713 (min_of_type_l): Likewise.
34714 (min_of_type_f128): Likewise.
34715 (min_of_type): Define using __MATH_TG and taking an expression
34717 (math_check_force_underflow): Pass expression instead of type to
34719 (math_check_force_underflow_nonneg): Likewise.
34721 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34723 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34724 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34725 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34727 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34729 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34730 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34731 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34732 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34733 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34734 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34735 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34736 memmove_chk-nonshared and memset_chk-nonshared
34737 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34738 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34739 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34740 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34741 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34742 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34743 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34744 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34745 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34746 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34747 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34748 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34749 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34750 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34751 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34752 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34753 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34754 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34755 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34756 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34757 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34758 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34759 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34760 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34761 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34762 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34763 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34764 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34765 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34766 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34767 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34768 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34769 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34770 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34771 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34772 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34773 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34774 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34775 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34776 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34777 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34778 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34779 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34780 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34781 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34782 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34783 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34784 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34785 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34786 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34787 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34788 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34789 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34790 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34791 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34792 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34793 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34794 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34795 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34796 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34797 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34798 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34799 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34800 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34801 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34802 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34803 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34804 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34805 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34806 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34807 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34808 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34809 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34810 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34811 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34812 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34813 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34814 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34815 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34816 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34817 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34818 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34819 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34820 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34821 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34822 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34823 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34824 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34825 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34826 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34827 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34828 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34829 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34830 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34831 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34832 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34833 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34834 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34835 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34836 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34837 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34838 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34839 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34840 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34841 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34842 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34843 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34844 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34846 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34848 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34849 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34850 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34851 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34852 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34853 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34854 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34855 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34856 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34857 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34858 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34859 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34860 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34861 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34862 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34863 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34864 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34865 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34866 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34867 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34868 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34869 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34870 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34871 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34872 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34873 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34874 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34875 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34876 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34877 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34878 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34879 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34880 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34881 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34882 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34883 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34884 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34885 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34886 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34887 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34888 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34889 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34890 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34891 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34892 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34893 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34894 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34895 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34896 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34897 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34898 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34899 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34900 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34901 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34902 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34903 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34904 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34905 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34906 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34908 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34909 Don't include <sysdep.h> nor <init-arch.h>.
34910 (_ZGVbN2v_cos): Removed.
34911 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34913 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34914 Don't include <sysdep.h> nor <init-arch.h>.
34915 (_ZGVdN4v_cos): Removed.
34916 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34918 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34919 Don't include <sysdep.h> nor <init-arch.h>.
34920 (_ZGVeN8v_cos): Removed.
34921 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34923 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34924 Don't include <sysdep.h> nor <init-arch.h>.
34925 (_ZGVbN2v_exp): Removed.
34926 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34928 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34929 Don't include <sysdep.h> nor <init-arch.h>.
34930 (_ZGVdN4v_exp): Removed.
34931 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34933 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34934 Don't include <sysdep.h> nor <init-arch.h>.
34935 (_ZGVeN8v_exp): Removed.
34936 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34938 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34939 Don't include <sysdep.h> nor <init-arch.h>.
34940 (_ZGVbN2v_log): Removed.
34941 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34943 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34944 Don't include <sysdep.h> nor <init-arch.h>.
34945 (_ZGVdN4v_log): Removed.
34946 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34948 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34949 Don't include <sysdep.h> nor <init-arch.h>.
34950 (_ZGVeN8v_log): Removed.
34951 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34953 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34954 Don't include <sysdep.h> nor <init-arch.h>.
34955 (_ZGVbN2vv_pow): Removed.
34956 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34958 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34959 Don't include <sysdep.h> nor <init-arch.h>.
34960 (_ZGVdN4vv_pow): Removed.
34961 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34963 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34964 Don't include <sysdep.h> nor <init-arch.h>.
34965 (_ZGVeN8vv_pow): Removed.
34966 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34968 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34969 Don't include <sysdep.h> nor <init-arch.h>.
34970 (_ZGVbN2v_sin): Removed.
34971 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34973 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34974 Don't include <sysdep.h> nor <init-arch.h>.
34975 (_ZGVbN4v_sin): Removed.
34976 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34978 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34979 Don't include <sysdep.h> nor <init-arch.h>.
34980 (_ZGVbN8v_sin): Removed.
34981 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34983 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34984 Don't include <sysdep.h> nor <init-arch.h>.
34985 (_ZGVbN2vvv_sincos): Removed.
34986 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34988 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34989 Don't include <sysdep.h> nor <init-arch.h>.
34990 (_ZGVdN4vvv_sincos): Removed.
34991 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34993 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34994 Don't include <sysdep.h> nor <init-arch.h>.
34995 (_ZGVeN8vvv_sincos): Removed.
34996 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34998 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34999 Don't include <sysdep.h> nor <init-arch.h>.
35000 (_ZGVeN16v_cosf): Removed.
35001 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
35003 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
35004 Don't include <sysdep.h> nor <init-arch.h>.
35005 (_ZGVbN4v_cosf): Removed.
35006 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
35008 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
35009 Don't include <sysdep.h> nor <init-arch.h>.
35010 (_ZGVdN8v_cosf): Removed.
35011 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
35013 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
35014 Don't include <sysdep.h> nor <init-arch.h>.
35015 (_ZGVeN16v_expf): Removed.
35016 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
35018 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
35019 Don't include <sysdep.h> nor <init-arch.h>.
35020 (_ZGVbN4v_expf): Removed.
35021 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
35023 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
35024 Don't include <sysdep.h> nor <init-arch.h>.
35025 (_ZGVdN8v_expf): Removed.
35026 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
35028 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
35029 Don't include <sysdep.h> nor <init-arch.h>.
35030 (_ZGVeN16v_logf): Removed.
35031 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
35033 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
35034 Don't include <sysdep.h> nor <init-arch.h>.
35035 (_ZGVbN4v_logf): Removed.
35036 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
35038 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
35039 Don't include <sysdep.h> nor <init-arch.h>.
35040 (_ZGVdN8v_logf): Removed.
35041 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
35043 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
35044 Don't include <sysdep.h> nor <init-arch.h>.
35045 (_ZGVeN16vv_powf): Removed.
35046 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
35048 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
35049 Don't include <sysdep.h> nor <init-arch.h>.
35050 (_ZGVbN4vv_powf): Removed.
35051 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
35053 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
35054 Don't include <sysdep.h> nor <init-arch.h>.
35055 (_ZGVdN8vv_powf): Removed.
35056 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
35058 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
35059 Don't include <sysdep.h> nor <init-arch.h>.
35060 (_ZGVeN16vvv_sincosf): Removed.
35061 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
35063 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
35064 Don't include <sysdep.h> nor <init-arch.h>.
35065 (_ZGVbN4vvv_sincosf): Removed.
35066 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
35068 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
35069 Don't include <sysdep.h> nor <init-arch.h>.
35070 (_ZGVdN8vvv_sincosf): Removed.
35071 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
35073 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
35074 Don't include <sysdep.h> nor <init-arch.h>.
35075 (_ZGVeN16v_sinf): Removed.
35076 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
35078 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
35079 Don't include <sysdep.h> nor <init-arch.h>.
35080 (_ZGVbN4v_sinf): Removed.
35081 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
35083 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
35084 Don't include <sysdep.h> nor <init-arch.h>.
35085 (_ZGVdN8v_sinf): Removed.
35087 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35089 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35090 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
35091 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
35092 s_rint-sse4_1 and s_rintf-sse4_1.
35093 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
35094 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
35095 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
35096 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
35097 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
35098 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
35099 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
35100 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
35101 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
35102 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
35103 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
35104 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35106 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
35107 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
35108 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35109 (__ceilf): Removed.
35110 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
35111 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
35112 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35113 (__floor): Removed.
35114 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
35115 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
35116 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35117 (__floorf): Removed.
35118 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
35119 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
35120 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35121 (__nearbyint): Removed.
35122 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
35123 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
35124 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35125 (__nearbyintf): Removed.
35126 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
35127 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
35128 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35130 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
35131 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
35132 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35133 (__rintf): Removed.
35135 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35137 * sysdeps/i386/start.S (_start): Check Check PIC instead of
35138 SHARED. Avoid dynamic relocation against main in static PIE.
35140 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35143 * elf/Makefile (CFLAGS-tst-prelink.c): New.
35144 (LDFLAGS-tst-prelink): Likewise.
35146 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35148 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
35149 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
35150 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
35151 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
35152 (INTERNAL_SYSCALL_NCS): Likewise.
35153 (LOADARGS_1): Likewise.
35154 (LOADARGS_5): Likewise.
35155 (RESTOREARGS_1): Likewise.
35156 (RESTOREARGS_5): Likewise.
35158 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35160 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
35161 (MEMPCPY_SYMBOL): Likewise.
35162 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35163 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
35164 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
35166 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35167 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
35169 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
35170 (__hidden_ver1): Don't use in libc.a.
35171 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
35172 (__mempcpy): Don't create a weak alias in libc.a.
35173 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
35175 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
35176 (__hidden_ver1): Don't use in libc.a.
35178 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35180 * config.make.in (have-insert): New.
35181 * configure.ac (libc_cv_insert): New. Set to yes if linker
35182 supports INSERT in linker script.
35183 (AC_SUBST(libc_cv_insert): New.
35184 * configure: Regenerated.
35185 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
35186 if $(have-insert) == yes.
35188 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35190 * elf/Makefile (tests): Add vismain only if
35191 $(have-protected-data) == yes.
35192 (tests-pie): Likewise.
35194 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35197 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
35198 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
35200 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35203 * sysdeps/i386/i586/memset.S
35204 (__memset_zero_constant_len_parameter): Removed.
35205 * sysdeps/i386/i686/memset.S
35206 (__memset_zero_constant_len_parameter): Likewise.
35207 * sysdeps/i386/i686/multiarch/memset_chk.S
35208 (__memset_zero_constant_len_parameter): Likewise.
35209 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
35212 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35214 * stdlib/getentropy.c (getentropy): Change return type to int.
35216 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35218 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
35220 2017-08-03 Joseph Myers <joseph@codesourcery.com>
35222 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
35224 * math/s_nexttowardf.c (__nexttowardf): Likewise.
35225 * sysdeps/generic/math_private.h (ieee_double_shape_type):
35227 (ieee_float_shape_type): Likewise.
35228 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
35229 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
35230 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35231 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35232 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
35233 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
35234 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
35235 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35236 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
35238 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35239 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35240 (__ieee754_yn): Likewise.
35241 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35242 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35243 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
35245 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35246 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
35247 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
35248 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
35249 (__erfc): Likewise.
35250 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
35251 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
35252 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
35253 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
35254 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
35255 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
35257 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
35258 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
35259 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
35260 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
35261 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35262 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35263 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35264 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35265 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35266 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35267 (__issignaling): Likewise.
35268 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35269 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35270 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35272 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35273 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35274 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35275 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35277 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35279 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35280 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35281 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35282 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35283 (__erfcf): Likewise.
35284 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35285 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35286 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35287 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35289 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35290 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35292 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35293 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35294 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35295 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35296 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35297 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35298 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35299 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35301 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35303 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35305 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35306 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35308 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35310 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35311 (__ieee754_ynl): Likewise.
35312 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35313 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35315 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35317 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35318 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35319 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35321 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35322 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35323 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35324 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35325 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35326 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35327 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35328 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35330 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35331 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35332 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35334 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35335 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35336 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35337 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35338 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35339 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35341 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35343 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35345 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35347 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35348 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35349 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35350 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35351 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35352 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35353 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35355 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35357 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35358 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35360 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35361 (__ieee754_remainderl): Likewise.
35362 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35363 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35364 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35365 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35367 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35368 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35370 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35371 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35372 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35373 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35374 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35375 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35377 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35378 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35379 (__ieee754_y0l): Likewise.
35382 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35383 (__ieee754_y1l): Likewise.
35386 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35387 (__ieee754_ynl): Likewise.
35388 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35389 (__ieee754_lgammal_r): Likewise.
35390 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35392 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35393 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35394 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35395 (__erfcl): Likewise.
35396 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35397 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35399 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35400 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35401 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35402 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35403 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35404 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35405 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35407 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35408 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35409 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35410 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35411 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35413 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35414 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35416 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35417 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35418 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35419 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35420 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35422 2017-08-03 Florian Weimer <fweimer@redhat.com>
35425 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35426 on memory allocation failure.
35428 2017-08-03 Alan Modra <amodra@gmail.com>
35430 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35431 tst-tlsopt-powerpc.c with function name change and no test harness.
35432 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35433 Call tls_get_addr_opt_test.
35434 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35435 (modules-names): Add mod-tlsopt-powerpc.
35436 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35437 (tst-tlsopt-powerpc): Depend on .so.
35438 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35439 define. Expand use in TLS_GD and TLS_LD.
35441 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35443 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35445 * sysdeps/posix/shm_open.c: Include <pthread.h>.
35447 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35450 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35451 comparing size with that of double.
35452 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35453 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35454 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35455 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35456 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35457 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35458 unsigned __int128 types.
35460 2017-08-02 Steve Ellcey <sellcey@cavium.com>
35462 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35463 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35464 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35465 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35466 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35468 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35470 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35472 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35474 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35476 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35477 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35478 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35479 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35480 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35481 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35482 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35484 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35487 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35488 bit-field expressions passed to sizeof or typeof.
35489 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35490 (__TGMATH_F128): Likewise.
35491 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35492 (__TGMATH_CF128): Likewise.
35493 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35494 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35495 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35496 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35497 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35498 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35499 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35500 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35501 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35502 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35503 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35504 (__TGMATH_UNARY_IMAG): Likewise.
35505 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35506 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35507 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35509 (define_vars_for_type): Handle bit_field type specially.
35510 (Tests.__init__): Declare structure with bit-field element.
35512 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35515 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35516 (MEMCPY_CHK): Define only if SHARED is defined.
35517 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35519 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35522 See ChangeLog.18 for earlier changes.