1 2019-06-27 Florian Weimer <fweimer@redhat.com>
4 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
5 buffer size if necessary.
6 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
8 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
10 (large_buffer_checks): Likewise.
11 (do_test): Call large_buffer_checks.
13 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
15 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
16 * sysdeps/x86/dl-lookupcfg.h: Here.
17 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
19 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
22 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
23 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
25 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
26 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
27 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
28 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
29 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
31 * sysdeps/powerpc/powerpc32/fpu/Makefile
32 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
33 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
34 and fctidz optimization.
35 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
36 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
37 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
38 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
39 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
40 CFLAGS-s_lround-power5+.c): New rule.
41 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
43 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
45 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
47 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
49 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
51 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
53 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
55 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
57 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
61 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
63 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
64 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
65 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
66 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
67 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
69 2019-06-26 Vincent Chen <vincentc@andestech.com>
71 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
72 specific system calls, fp_udfiex_crtl and udftrap.
74 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
76 * nptl/tst-eintr1.c (tf1): Add return statement.
77 (do_test): Remove unused th variable.
79 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
81 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
82 Return error if get_character fails.
84 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
86 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
88 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
91 * localedata/locales/szl_PL (day): Use the correct Unicode
92 sequences instead of non-ASCII characters.
94 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
97 * localedata/locales/szl_PL (abday): Spelling corrections.
101 (alt_mon): This, then apply spelling corrections.
102 (mon): New entry, month names in the genitive case.
104 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
107 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
108 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
109 (thousands_sep): Likewise.
110 (grouping): Set to 3;3.
112 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
114 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
115 PREPARE_VERSION_KNOWN.
116 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
117 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
119 (VDSO_HASH_LINUX_2_6_39): Likewise.
120 (VDSO_NAME_LINUX_4_9): Likewise.
121 (VDSO_HASH_LINUX_4_9): Likewise.
122 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
123 * sysdeps/unix/sysv/linux/powerpc/init-first.c
124 (_libc_vdso_platform_setup): Likewise.
125 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
126 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
128 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
131 2019-06-20 Mike Crowe <mac@mcrowe.com>
133 * nptl/eintr.c: Use libsupport.
134 * nptl/tst-eintr1.c: Likewise.
135 * nptl/tst-eintr2.c: Likewise.
136 * nptl/tst-eintr3.c: Likewise.
137 * nptl/tst-eintr4.c: Likewise.
138 * nptl/tst-eintr5.c: Likewise.
139 * nptl/tst-mutex-errorcheck.c: Likewise.
140 * nptl/tst-mutex5.c: Likewise.
142 * support/test-driver.h: Add verbose_printf macro.
144 * support/xtime.h: Add xclock_now() helper function.
146 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
147 Florian Weimer <fweimer@redhat.com>
150 * libio/genops.c (_IO_unbuffer_all)
151 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
152 buffers and access _IO_FILE_complete members of legacy libio streams.
153 * libio/tst-bz24228.c: New file.
154 * libio/tst-bz24228.map: Likewise.
155 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
156 [build-shared] (generated): Add tst-bz24228.mtrace and
158 [run-built-tests && build-shared] (tests-special): Add
159 $(objpfx)tst-bz24228-mem.out.
160 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
161 ($(objpfx)tst-bz24228-mem.out): New rule.
163 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
165 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
166 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
167 (__FPU_MFFSL): Likewise.
168 (_FPU_SETCW): Likewise.
170 2019-06-19 Stan Shebs <stanshebs@google.com>
171 Raoni Fassina Firmino <raoni@linux.ibm.com>
174 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
175 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
176 static-linking version.
177 * sysdeps/unix/sysv/linux/powerpc/Makefile
178 (tests-static): Add test-gettimebasefreq-static.
180 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
183 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
186 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
187 between the currency symbol and the minus sign).
188 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
190 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
193 * string/test-strcasestr.c (check_result): Add NULL check.
194 * nss/tst-field.c (check_rewrite): Likewise.
195 * benchtests/bench-strstr.c (do_one_test): Likewise.
196 * string/test-strstr.c (check_result): Likewise.
197 * argp/argp-test.c (popt): Increase size of buf to 12.
198 * benchtests/bench-malloc-simple.c (bench):
199 Do not initialize tests array out of bounds.
201 2019-06-19 Florian Weimer <fweimer@redhat.com>
204 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
207 2019-06-18 Florian Weimer <fweimer@redhat.com>
210 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
211 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
212 fail when called from dlopen.
213 * elf/Makefile [have-fpie && build-shared] (tests): Add
215 (tst-dlopen-pie): Link with -ldl.
216 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
217 * elf/tst-dlopen-pie.c (do_test): New file.
219 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
222 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
223 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
224 between the currency symbol and the minus sign).
225 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
226 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
228 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
230 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
231 sysdep-rtld-routines): Remove rules.
232 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
233 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
234 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
235 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
236 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
237 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
238 vDSO path for SHARED.
239 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
240 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
241 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
242 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
243 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
244 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
246 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
247 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
248 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
249 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
250 CFLAGS-s_llround-power5+.c): New rule.
251 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
253 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
255 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
257 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
259 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
262 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
264 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
266 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
267 * sysdeps/powerpc/powerpc64/fpu/Makefile
268 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
270 (libm-sysdep_routines): Remove s_llround-* objects.
271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
281 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
282 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
283 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
284 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
285 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
286 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
287 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
288 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
289 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
290 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
291 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
292 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
293 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
294 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
296 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
297 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
298 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
299 * sysdeps/powerpc/powerpc32/fpu/Makefile
300 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
301 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
303 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
304 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
305 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
307 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
308 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
309 CFLAGS-s_lrint-ppc32.c): New rule.
310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
320 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
321 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
322 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
323 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
335 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
336 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
338 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
339 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
341 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
343 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
346 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
348 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
350 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
351 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
352 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
354 (libm-sysdep_routines): Remove s_llrint-* objects.
355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
360 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
361 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
362 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
363 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
364 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
365 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
366 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
367 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
368 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
370 2019-06-14 Florian Weimer <fweimer@redhat.com>
372 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
373 argument to __glibc_has_include to inhibit macro expansion.
375 2019-06-14 Florian Weimer <fweimer@redhat.com>
377 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
378 function-like macro, so that __has_include can inhibit expansion
381 2019-06-13 Joseph Myers <joseph@codesourcery.com>
383 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
387 Allow memset in libc.so.
389 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
391 * sysdeps/aarch64/dl-dtprocnum.h: New file.
392 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
393 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
394 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
395 symbols at load time.
396 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
398 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
400 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
401 (DT_AARCH64_VARIANT_PCS): Define.
403 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
406 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
416 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
417 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
419 Remove s_finite* objects.
420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
426 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
427 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
428 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
429 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
431 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
432 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
435 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
445 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
446 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
447 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
448 Remove s_isinf* and s_isinf* objects.
449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
455 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
456 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
457 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
458 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
460 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
461 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
463 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
464 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
465 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
467 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
483 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
484 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
485 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
486 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
487 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
488 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
489 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
490 Remove s_isnan-* and s_isnanf-* objects.
491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
500 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
501 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
502 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
503 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
504 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
505 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
506 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
507 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
509 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
510 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
512 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
513 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
514 CFLAGS-bench-isfinite.c): New rule.
515 * benchtests/isnan-input: New file.
516 * benchtests/isinf-input: New file.
517 * benchtests/isfinite-input: New file.
519 * sysdeps/powerpc/fpu/s_copysign.c: New file.
520 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
521 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
522 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
524 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
534 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
535 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
536 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
537 Remove s_copysign-power6 s_copysign-ppc64.
538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
544 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
545 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
546 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
547 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
549 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
550 round_to_integer_float, round_mode): Add RINT handling.
551 (reset_fenv_mode): New symbol.
552 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
553 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
554 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
555 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
556 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
557 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
559 2019-06-12 Florian Weimer <fweimer@redhat.com>
562 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
563 * libio/freopen.c (freopen): Use it.
565 2019-06-12 Florian Weimer <fweimer@redhat.com>
567 Linux: Deprecate sysctl.
568 * include/sysctl.h (__sysctl): Remove declaration.
569 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
571 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
572 (sysctl): Add deprecation attribute.
573 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
574 directly, to avoid the deprecation warning. Do not include
576 (__sysctl): Remove hidden alias.
578 2019-06-12 Florian Weimer <fweimer@redhat.com>
580 Linux: Use kernel headers for statx definitions if available.
581 * include/bits/statx-generic.h: New file.
582 * include/bits/types/struct_statx.h: Likewise.
583 * include/bits/types/struct_statx_timestamp.h: Likewise.
584 * io/Makefile (headers): Add bits/statx-generic.h.
585 * io/bits/statx-generic.h: New file. Partly copied from
587 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
588 define original_statx.
589 * io/bits/types/struct_statx.h: Likewise.
590 * io/bits/types/struct_statx_timestamp.h: Likewise.
591 (statx_generic): Use original_statx.
592 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
593 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
595 2019-06-12 Florian Weimer <fweimer@redhat.com>
597 * misc/sys/cdefs.h (__glibc_has_include): Define.
599 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
601 * string/memmem.c (__memmem): Rewrite to improve performance.
603 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
605 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
607 (two_way_long_needle): Block inlining.
608 * string/strstr.c (strstr2): Add new function.
610 (STRSTR): Completely rewrite strstr to improve performance.
612 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
614 * benchtests/bench-strstr.c (test_hard_needle): New function.
616 2019-06-10 Joseph Myers <joseph@codesourcery.com>
618 * malloc/tst-calloc.c: Include <libc-diag.h>.
619 (null_test): Ignore -Wunused-result around calls to calloc.
620 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
621 (do_test): Ignore -Wunused-result around call to malloc.
623 2019-06-07 Florian Weimer <fweimer@redhat.com>
625 Linux: Add getdents64 system call.
626 * include/dirnent.h (getdents): Add comment and change buffer
627 argument type to void *.
628 (getdents64): Likewise. Add hidden prototype.
629 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
631 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
633 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
634 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
635 argument type to void *.
636 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
637 Add hidden definition and getdents64 alias.
638 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
640 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
641 * manual/filesys.texi (Accessing Directories): Add Low-level
642 Directory Access node reference.
643 (Opening a Directory): Cross-reference it.
644 (Low-level Directory Access): New node.
645 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
647 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
649 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
650 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
652 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
654 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
656 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
658 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
660 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
662 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
664 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
665 (GLIBC_2.30): Likewise.
666 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
667 (GLIBC_2.30): Likewise.
668 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
669 (GLIBC_2.30): Likewise.
670 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
671 (GLIBC_2.30): Likewise.
672 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
675 (GLIBC_2.30): Likewise.
676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
677 (GLIBC_2.30): Likewise.
678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
679 (GLIBC_2.30): Likewise.
680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
681 (GLIBC_2.30): Likewise.
682 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
684 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
686 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
688 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
689 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
691 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
693 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
695 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
698 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
700 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
704 (_FPU_GETCW): Use __FPU_MFFS().
705 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
707 2019-06-06 Florian Weimer <fweimer@redhat.com>
709 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
710 internal GCC preprocessor identifier __has_include__.
712 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
714 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
715 with call to equivalent function.
717 2019-06-04 Florian Weimer <fweimer@redhat.com>
719 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
720 (do_release_shlib): Adjust for __twalk_r.
721 (__gconv_release_shlib): Call __twalk_r.
723 2019-06-04 Andreas Schwab <schwab@suse.de>
726 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
727 no irreversible characters occurred.
728 * iconv/gconv_simple.c (internal_ucs4_loop)
729 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
730 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
731 (ucs4_internal_loop_single, internal_ucs4le_loop)
732 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
733 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
734 (ucs4le_internal_loop_single): Add const to outend.
735 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
736 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
737 * iconv/Makefile (tests): Add tst-iconv7.
738 * iconv/tst-iconv7.c: New file.
740 2019-06-03 Joseph Myers <joseph@codesourcery.com>
742 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
744 2019-06-01 Florian Weimer <fweimer@redhat.com>
746 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
747 * sysdeps/unix/sysv/linux/arm/Makefile
748 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
749 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
750 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
751 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
752 compatibility symbols.
754 2019-05-31 Florian Weimer <fweimer@redhat.com>
756 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
757 system calls for the arm architecture: breakpoint, get_tls,
758 set_tls, usr26, usr32.
760 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
762 * sysdeps/powerpc/Makefile
763 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
764 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
765 Declare '.machine power7' to get support for ldbrx.
766 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
767 directive based on the directory of the file.
768 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
769 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
770 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
771 '.machine' directive.
772 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
773 (VADDUQM_V7_V8): Remove.
774 (__STRCASECMP): Replace macros with actual instructions.
775 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
776 '.machine' directive.
777 (VCLZD_V8_v7): Remove.
778 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
780 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
782 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
784 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
786 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
788 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
790 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
791 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
792 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
793 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
794 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
795 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
797 2019-05-28 mansayk <6688000@gmail.com>
800 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
802 2019-05-28 mansayk <6688000@gmail.com>
805 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
806 (abmon): Likewise, but remove the trailing dots.
808 2019-05-28 Joseph Myers <joseph@codesourcery.com>
810 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
812 2019-05-27 Florian Weimer <fweimer@redhat.com>
814 * nptl/nptl-init.c: Add comment.
816 2019-05-24 Florian Weimer <fweimer@redhat.com>
818 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
819 struct in_addr/struct in6_addr alignment.
821 2019-05-23 Joseph Myers <joseph@codesourcery.com>
823 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
824 (F_SEAL_FUTURE_WRITE): New macro.
826 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
828 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
829 * elf/tst-ldconfig-bad-aux-cache.c: New file.
830 * elf/tst-ldconfig_aux-cache.root: New directory.
831 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
832 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
833 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
835 2019-05-22 Zack Weinberg <zackw@panix.com>
837 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
839 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
840 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
842 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
847 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
848 Issue an #error if used with a compiler in SPE-float mode.
849 * sysdeps/powerpc/powerpc32/__longjmp_common.S
850 * sysdeps/powerpc/powerpc32/setjmp_common.S
851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
857 Remove code to preserve SPE register state.
859 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
860 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
861 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
862 Remove __SPE__ ifndefs.
864 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
866 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
867 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
868 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
869 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
870 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
871 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
872 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
873 (INNER_LOOP_ITERS_MEDIUM): New define.
874 (INNER_LOOP_ITERS_SMALL): New define.
875 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
876 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
877 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
878 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
879 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
881 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
883 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
885 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
886 (SEMTIMEDOP_IPC_ARGS): Likewise.
888 2019-05-21 Florian Weimer <fweimer@redhat.com>
891 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
892 before updating __counter field and release it afterwards. Add
894 * iconv/gconv.h (struct __gconv_step): Mention synchronization
895 requirement for __counter member.
897 2019-05-21 Florian Weimer <fweimer@redhat.com>
900 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
901 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
902 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
903 instead of __gconv_release_step.
904 * libio/Makefile (tests): Add tst-wfile-gconv.
905 (tests-container): Add tst-wfile-ascii.
906 (tst-wfile-gconv-ENV): Enable mtrace.
907 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
908 (tests-special): Add tst-wfile-gconv-mem.out.
909 (tst-wfile-gconv.out): Depend on locales.
910 (tst-wfile-gconv-mem.out): Add mtrace rule.
911 * libio/tst-wfile-ascii.c: New file.
912 * libio/tst-wfile-gconv.c: Likewise.
914 2019-05-20 Florian Weimer <fweimer@redhat.com>
917 libio: Remove codecvt vtable.
918 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
920 * libio/iofgetpos.c (_IO_new_fgetpos): Call
921 __libio_codecvt_encoding.
922 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
923 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
924 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
925 * libio/iofwide.c (__libio_codecvt): Remove variable.
926 (_IO_fwide): Do not copy __libio_codecvt.
927 (__libio_codecvt_out): Rename from do_out and export.
928 (do_unshift): Remove function.
929 (__libio_codecvt_in): Rename from do_in and export.
930 (__libio_codecvt_encoding): Rename from do_encoding and export.
931 (do_always_noconv): Remove function.
932 (__libio_codecvt_length): Rename from do_length and export.
933 (do_max_length): Remove function.
934 * libio/libio.h (enum __codecvt_result): Remove definition; moved
936 (struct _IO_codecvt): Remove fields __codecvt_destr,
937 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
938 __codecvt_do_encoding, __codecvt_do_always_noconv,
939 __codecvt_do_length, __codecvt_do_max_length.
940 * libio/libioP.h (enum __codecvt_result): Define; moved from
942 (__libio_codecvt_out, __libio_codecvt_in)
943 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
945 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
946 (_IO_wfile_underflow): Call __libio_codecvt_in.
947 (_IO_wfile_underflow): Likewise.
948 (_IO_wfile_underflow_mmap): Likewise.
949 (_IO_wfile_sync): Call __libio_codecvt_encoding,
950 __libio_codecvt_length.
951 (adjust_wide_data): Call __libio_codecvt_encoding,
953 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
954 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
955 __libio_codecvt_length.
957 2019-05-20 Florian Weimer <fweimer@redhat.com>
959 * support/support.h (support_sbindir_prefix): Declare.
960 (support_install_rootsbindir): Update comment.
961 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
962 * support/support_paths.c (support_sbindir_prefix): Define.
964 2019-05-20 Mike Crowe <mac@mcrowe.com>
966 * support/timespec.c: Add backslash to correct newline in failure
969 * support/timespec.h: Correct confusing comment.
971 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
973 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
975 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
976 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
977 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
978 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
981 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
984 2019-05-20 Joseph Myers <joseph@codesourcery.com>
986 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
987 (NT_ARM_PACG_KEYS): Likewise.
989 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
991 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
992 (tcache_put): Remove redundant assert.
993 (tcache_get): Remove redundant asserts.
994 (__libc_malloc): Check tcache count is not zero.
995 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
997 2019-05-17 Florian Weimer <fweimer@redhat.com>
999 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
1001 2019-05-16 Joseph Myers <joseph@codesourcery.com>
1003 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1004 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
1006 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
1008 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1009 (__ASSUME_STATX): Likewise.
1011 2019-05-16 Florian Weimer <fweimer@redhat.com>
1013 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
1015 (LINE_PARSER): Do not map IPv4 addresses.
1016 (internal_nis_gethostent_r): Remove flags argument. Adjust call
1018 (_nss_nis_gethostent_r): Always pass AF_INET to
1019 internal_nis_gethostent_r.
1020 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1022 (_nss_nis_gethostbyname2_r): Adjust call to
1023 internal_nis_gethostent_r.
1024 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
1025 call to internal_nis_gethostent_r.
1026 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
1028 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
1029 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
1030 Remove flags argument. Do not map IPv4 addresses.
1031 (internal_nisplus_gethostent_r): Adjust call to
1032 _nss_nisplus_parse_hostent.
1033 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1034 to _nss_nisplus_parse_hostent.
1035 (_nss_nisplus_gethostbyname2_r): Adjust call to
1036 internal_gethostbyname2_r.
1037 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
1038 Adjust call to internal_gethostbyname2_r.
1039 (_nss_nisplus_gethostbyaddr_r): Adjust call to
1040 _nss_nisplus_parse_hostent.
1041 (_nss_nisplus_gethostbyname4_r): Adjust call to
1042 internal_gethostbyname2_r.
1044 2019-05-16 Florian Weimer <fweimer@redhat.com>
1046 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
1048 (LINE_PARSER): Remove address mapping.
1049 (EXTRA_ARGS_VALUE): Remove flags argument.
1050 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
1051 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
1052 gethostbyname3_multi.
1053 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
1054 _nss_files_gethostbyname3_r.
1055 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
1057 2019-05-16 Florian Weimer <fweimer@redhat.com>
1059 * support/support_test_compare_blob.c (report_blob): Report
1060 incorrect NULL blobs.
1062 2019-05-15 Mark Wielaard <mark@klomp.org>
1065 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
1066 __libc_once_get (once) and static_buf == NULL.
1067 (__dlerror): Check we have a valid key, set result to static_buf
1070 2019-05-15 Andreas Schwab <schwab@suse.de>
1073 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
1074 __codecvt_do_length.
1075 * libio/Makefile (tests): Add tst-wfile-sync.
1076 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
1077 * libio/tst-wfile-sync.c: New file.
1078 * libio/tst-wfile-sync.input: New file.
1080 2019-05-15 Florian Weimer <fweimer@redhat.com>
1082 nss: Turn __nss_database_lookup into a compatibility symbol.
1083 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
1084 __nss_database_lookup.
1085 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
1086 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
1087 __nss_database_lookup.
1088 (__nss_next): Move to …
1089 * nss/compat-lookup.c (nss_next): … here. Change it to fail
1091 (__nss_database_lookup): New function.
1092 * nss/Versions (GLIBC_2.0): Update comment.
1093 (GLIBC_PRIVATE): Export __nss_database_lookup2.
1094 * grp/initgroups.c (internal_getgrouplist): Call
1095 __nss_database_lookup2 instead of __nss_database_lookup.
1096 * nscd/aicache.c (addhstaiX): Likewise.
1097 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1098 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1099 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
1100 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
1101 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
1103 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
1104 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
1105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1107 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
1109 * support/support.h (support_install_rootsbindir): New variable.
1110 * support/support_paths.c: Likewise.
1111 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
1113 2019-05-15 Florian Weimer <fweimer@redhat.com>
1115 * iconv/gconv.h (__gconv_transliterate): Move declaration …
1116 * iconv/gconv_int.h (__gconv_transliterate): … here.
1117 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
1118 * iconv/skeleton.c: Likewise.
1120 2019-05-14 Florian Weimer <fweimer@redhat.com>
1122 Linux: Add the tgkill function.
1123 * bits/signal_ext.h: New file.
1124 * manual/signal.texi (Signaling Another Process): Document tgkill.
1125 * signal/Makefile (headers): Add bits/signal_ext.h.
1126 * signal/signal.h: Include <bits/signal_ext.h>.
1127 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
1128 (tst-tgkill): Link with libpthread.
1129 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
1130 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
1131 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
1132 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1134 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1135 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1136 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1137 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1138 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1139 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1140 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1141 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1142 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1143 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1144 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1146 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1147 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1148 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
1155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
1157 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1158 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1159 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1160 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1161 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1162 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1163 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1164 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1166 2019-05-14 Carlos O'Donell <carlos@redhat.com>
1168 * manual/search.texi (Tree Search Function): Adjust twalk_r
1171 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1174 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
1177 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
1178 * support/support.h (support_bindir_prefix): New variable.
1179 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
1181 * config.make.in (bindir): New variable.
1183 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
1184 (lll_trylock): Call __lll_trylock.
1185 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
1186 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
1187 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1188 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1189 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
1190 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
1191 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1192 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1193 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
1194 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
1195 lowlevellock-futex.h.
1197 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1198 initialization for LLL_LOCK_INITIALIZER different than 0.
1199 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
1200 Assume LLL_LOCK_INITIALIZER being 0.
1201 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
1202 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
1204 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
1205 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
1207 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
1208 Optimize futex call and add systemtap probe.
1210 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
1211 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
1212 __libc_disable_asynccancel, __librt_enable_asynccancel,
1213 __libc_disable_asynccancel, __librt_enable_asynccancel,
1214 __librt_disable_asynccancel): Move to ...
1215 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
1216 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
1217 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
1218 * sysdeps/generic/single-thread.h: New file.
1219 * sysdeps/unix/sysdep.h: Include single-thread.h.
1220 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
1221 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1223 2019-05-08 Mike FABIAN <mfabian@redhat.com>
1226 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
1227 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1229 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1230 * localedata/unicode-gen/PropList.txt: Likewise.
1231 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1232 * localedata/charmaps/UTF-8: Regenerate.
1233 * localedata/locales/i18n_ctype: Likewise.
1234 * localedata/locales/tr_TR: Likewise.
1235 * localedata/locales/translit_circle: Likewise.
1236 * localedata/locales/translit_cjk_compat: Likewise.
1237 * localedata/locales/translit_combining: Likewise.
1238 * localedata/locales/translit_compat: Likewise.
1239 * localedata/locales/translit_font: Likewise.
1240 * localedata/locales/translit_fraction: Likewise.
1242 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
1245 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
1246 (do_set_tcache_count): Only update if count is small enough.
1247 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
1249 2019-05-10 Florian Weimer <fweimer@redhat.com>
1251 * nptl/sem_close.c (struct walk_closure): Define.
1252 (walker): Adjust for __twalk_r.
1253 (sem_close): Call __twalk_r.
1255 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1257 * support/timespec.c (test_timespec_before_impl,
1258 test_timespec_equal_or_after_impl): print timespec member as intmax_t
1261 2019-05-09 Mike Crowe <mac@mcrowe.com>
1263 * nptl/tst-abstime.c: Use libsupport.
1265 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
1266 small bug where only tv.tv_usec was checked which could cause an
1267 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
1270 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
1273 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
1274 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
1276 * nptl/tst-cond11.c: Use libsupport.
1278 * support/timespec.h: New file. Provide timespec helper functions
1279 along with macros in the style of those in check.h.
1280 * support/timespec.c: New file. Implement check functions declared
1281 in support/timespec.h.
1282 * support/timespec-add.c: New file from gnulib containing
1283 timespec_add implementation that handles overflow.
1284 * support/timespec-sub.c: New file from gnulib containing
1285 timespec_sub implementation that handles overflow.
1286 * support/README: Mention timespec.h.
1288 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1291 * nptl/Makefile: Move tst-eintr1 to xtests.
1293 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1295 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
1297 (round_mode): Add definition for TRUNC.
1298 * sysdeps/powerpc/fpu/s_trunc.c: New file.
1299 * sysdeps/powerpc/fpu/s_truncf.c: New file.
1300 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
1301 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1302 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
1304 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
1306 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
1308 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1310 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
1312 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
1314 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
1316 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
1318 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
1319 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
1320 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1321 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
1322 s_truncf-power5+, and s_truncf-ppc64.
1323 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
1324 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
1326 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
1327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
1328 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
1329 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
1331 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
1333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
1334 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
1335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1336 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
1337 s_truncf-power5+, and s_truncf-ppc64.
1338 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
1340 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1341 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
1343 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1344 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1345 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1346 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1347 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1349 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1351 (round_mode): Add definition for ROUND.
1352 (round_to_integer_float): Likewise.
1353 * sysdeps/powerpc/fpu/s_round.c: New file.
1354 * sysdeps/powerpc/fpu/s_roundf.c: New file.
1355 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
1356 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1357 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
1359 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
1361 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
1363 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1365 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
1367 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
1369 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
1371 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
1373 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
1374 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
1375 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1376 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
1377 s_roundf-power5+, and s_roundf-ppc64.
1378 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
1379 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
1381 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
1382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
1383 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
1384 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
1386 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
1388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
1389 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
1390 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1391 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
1392 s_roundf-power5+, and s_roundf-ppc64.
1393 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
1395 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1396 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
1398 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1399 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1400 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1401 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1402 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1404 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1406 (round_mode): Add definition for FLOOR.
1407 * sysdeps/powerpc/fpu/s_floor.c: New file.
1408 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1409 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1410 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1427 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1428 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1429 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1430 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1431 s_floorf-power5+, and s_floorf-ppc64.
1432 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1433 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1435 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1437 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1438 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1440 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1443 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1444 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1445 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1446 s_floorf-power5+, and s_floorf-ppc64.
1447 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1455 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1456 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1457 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1458 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1460 2019-05-08 Mike Crowe <mac@mcrowe.com>
1462 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1463 clock_gettime wrapper for use in tests that fails the test rather
1464 than returning failure.
1466 * support/xtime.h: New file to declare xclock_gettime.
1468 * support/Makefile: Add xclock_gettime.c.
1470 * support/README: Mention xtime.h.
1472 2019-05-08 Florian Weimer <fweimer@redhat.com>
1474 malloc/tst-mallocfork2: Use process-shared barriers.
1475 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1476 (signal_count, sigusr1_sender_pid): Remove.
1477 (iterations): Define constant.
1478 (shared): New variable.
1479 (sigusr1_received): Update comment.
1480 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1481 (signal_sender): Optional use barriers to avoid sending signals
1482 during irrelevant times.
1483 (do_it): Initialize variable shared. Use xfork for error
1484 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1485 the iteration count, independent of signal delivery. Check for
1486 deadlocks in fork. Introduce barriers for reducing signal
1487 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1488 replaced by the barriers. Count signals during fork/free/malloc
1490 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1492 2019-05-07 Joseph Myers <joseph@codesourcery.com>
1494 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1496 (clock_adjtime64) New syscall.
1497 (clock_getres_time64) Likewise.
1498 (clock_gettime64) Likewise.
1499 (clock_nanosleep_time64) Likewise.
1500 (clock_settime64) Likewise.
1501 (futex_time64) Likewise.
1502 (io_pgetevents_time64) Likewise.
1503 (io_uring_enter) Likewise.
1504 (io_uring_register) Likewise.
1505 (io_uring_setup) Likewise.
1506 (mq_timedreceive_time64) Likewise.
1507 (mq_timedsend_time64) Likewise.
1508 (pidfd_send_signal) Likewise.
1509 (ppoll_time64) Likewise.
1510 (pselect6_time64) Likewise.
1511 (recvmmsg_time64) Likewise.
1512 (rt_sigtimedwait_time64) Likewise.
1513 (sched_rr_get_interval_time64) Likewise.
1514 (semtimedop_time64) Likewise.
1515 (timer_gettime64) Likewise.
1516 (timer_settime64) Likewise.
1517 (timerfd_gettime64) Likewise.
1518 (timerfd_settime64) Likewise.
1519 (utimensat_time64) Likewise.
1521 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1522 version to 9 branch.
1524 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1526 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1527 __memmove_thunderx2 to the list of implementations
1528 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1529 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1530 (__memmove_thunderx2): Rewritten using SIMD ld/st
1531 (__memcpy_thunderx2): Fixed handling overlapping cases.
1532 Used ldp/stp instead of ldr/str if possible. Made loops
1535 2019-05-03 Florian Weimer <fweimer@redhat.com>
1537 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1539 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1542 * elf/tst-pldd.c (in_str_list): New function.
1543 (do_test): Add default names for ld and libc as one option.
1545 2019-05-02 Florian Weimer <fweimer@redhat.com>
1547 misc: Add twalk_r function.
1548 * include/search.h (__twalk_r): Declare.
1549 * manual/examples/twalk.c: New file.
1550 * manual/search.texi (Tree Search Function): Document twalk_r.
1551 * misc/Versions (2.30): Export twalk_r.
1552 (GLIBC_PRIVATE): Export __twalk_r.
1553 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1554 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1555 (twalk_r): Add weak alias.
1556 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1557 (walk_trace): New variable.
1558 (struct twalk_with_twalk_r_closure): Define.
1559 (twalk_with_twalk_r_action): New function.
1560 (twalk_with_twalk_r): Likewise.
1561 (walk_action): Call walk_trace_add.
1562 (walk_tree_with): Rename from walk_tree. Add walk argument.
1563 (walk_tree): New function.
1564 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1565 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1567 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1569 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1570 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1571 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1572 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1573 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1574 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1576 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1578 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1580 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1581 (GLIBC_2.30): Likewise.
1582 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1583 (GLIBC_2.30): Likewise.
1584 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1585 (GLIBC_2.30): Likewise.
1586 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1587 (GLIBC_2.30): Likewise.
1588 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1591 (GLIBC_2.30): Likewise.
1592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1593 (GLIBC_2.30): Likewise.
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1595 (GLIBC_2.30): Likewise.
1596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1597 (GLIBC_2.30): Likewise.
1598 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1600 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1602 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1604 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1605 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1607 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1609 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1611 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1614 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1616 Make mktime etc. compatible with __time64_t
1617 Keep these functions compatible with Gnulib while adding
1618 __time64_t support. The basic idea is to move private API
1619 declarations from include/time.h to time/mktime-internal.h, since
1620 the former file cannot easily be shared with Gnulib whereas the
1622 Also, do some other minor cleanup while in the neighborhood.
1623 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1624 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1625 since Gnulib needs it.
1626 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1627 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1628 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1629 (in_time_t_range): New static function.
1630 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1631 so that glibc users are not tempted to use __time64_t.
1632 * time/mktime-internal.h: Rewrite so that it does both glibc
1633 and Gnulib work. Include time.h if not _LIBC.
1634 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1635 (__time64_t): New type or macro, moved here from
1637 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1638 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1639 from include/time.h.
1640 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1641 New macros, taken from GNulib.
1642 (__mktime_internal): New prototype, moved here from include/time.h.
1643 * time/mktime.c (mktime_min, mktime_max, convert_time)
1644 (ranged_convert, __mktime_internal, __mktime64):
1645 * time/timegm.c (__timegm64):
1646 Use __time64_t, not time_t.
1647 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1648 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1650 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1651 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1652 for libc_hidden_def.
1654 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1656 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1658 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
1661 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1662 from `-Wmaybe-uninitialized'.
1663 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1665 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1667 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1669 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1670 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1671 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1672 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1673 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1675 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1692 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1693 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1694 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1695 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1697 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1700 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1701 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1703 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1706 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1708 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1709 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1710 s_ceilf-power5+, and s_ceilf-ppc64.
1711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1716 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1717 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1718 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1719 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1721 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1722 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1723 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1725 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1727 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1728 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1729 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1730 (sem_getvalue): Likewise.
1732 2019-04-26 Florian Weimer <fweimer@redhat.com>
1734 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1735 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1737 2019-04-26 Florian Weimer <fweimer@redhat.com>
1739 Makeconfig: Move -Wl,-rpath-link options before library references.
1740 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1741 (link-libc): Remove $(link-libc-rpath-link).
1743 2019-04-25 Florian Weimer <fweimer@redhat.com>
1745 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1746 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1747 (+link-static-before-libc): Remove $(CC).
1748 (+link-static, +link-static-tests): Add $(CC).
1749 (+link-before-libc): Remove $(CC).
1750 (+link, +link-pie, +link-pie-printers): Add $(CC).
1752 2019-04-26 Florian Weimer <fweimer@redhat.com>
1754 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1755 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1756 (+link-static-before-libc): Remove $(CC).
1757 (+link-static, +link-static-tests): Add $(CC).
1758 (+link-before-libc): Remove $(CC).
1759 (+link, +link-pie, +link-pie-printers): Add $(CC).
1761 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1764 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1766 2019-04-25 Florian Weimer <fweimer@redhat.com>
1768 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1769 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1770 (bench-link-targets): New variable.
1771 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1773 2019-04-25 Florian Weimer <fweimer@redhat.com>
1775 Also enable BIND_NOW for programs if --enable-bind-now.
1776 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1777 (+link-pie): Use $(link-extra-flags).
1778 (+link-static): Likewise.
1779 [! $(build-pie-default)] (+link): Likewise.
1780 * manual/install.texi (Configuring and compiling): Update
1781 --enable-bind-now description.
1782 * INSTALL: Regenerated.
1784 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1786 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1787 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1789 2019-04-24 Mike Frysinger <vapier@gentoo.org>
1792 * malloc/Makefile (others): Add memusagestat.
1793 ($(objpfx)memusagestat): Delete rule.
1794 (LDLIBS-memusagestat): New variable.
1796 2019-04-24 Florian Weimer <fweimer@redhat.com>
1798 * locale/Makefile (tests-special): Guard setting by
1799 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1800 to run while cross-compiling.
1802 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1805 * elf/Makefile (tests-container): Add tst-pldd.
1806 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1807 (E(find_maps)): Avoid use alloca, use default read file operations
1808 instead of explicit LFS names, and fix infinite loop.
1809 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1810 (get_process_info): Use _Static_assert instead of assert, use default
1811 directory operations instead of explicit LFS names, and free some
1813 * elf/tst-pldd.c: New file.
1815 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1817 * malloc/arena.c (do_set_mallopt_check): Removed.
1819 2019-04-23 Florian Weimer <fweimer@redhat.com>
1821 locale: Add LOCPATH diagnostics to the locale program.
1822 * locale/programs/locale.c (setlocale_failed): New variable.
1823 (try_setlocale): New function.
1824 (quote_string): Likewise.
1825 (setlocale_diagnostics): Likewise.
1826 (main): Call try_setlocale instead of setlocale. Call
1827 setlocale_diagnostics.
1828 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1829 (tst-locale-locpath.out): New target.
1830 * locale/tst-locale-locpath.sh: New file.
1832 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1834 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1837 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1840 * malloc/hooks.c (malloc_check, realloc_check): Use
1841 __builtin_add_overflow on overflow check and adapt to
1842 checked_request2size change.
1843 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1844 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1845 allocation size to PTRDIFF_MAX.
1846 (REQUEST_OUT_OF_RANGE): Remove macro.
1847 (checked_request2size): Change to inline function and limit maximum
1848 requested size to PTRDIFF_MAX.
1849 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1850 maximum allocation size to PTRDIFF_MAX.
1851 (_mid_memalign): Use _int_memalign call for overflow check.
1852 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1853 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1854 limit maximum requested size to PTRDIFF_MAX.
1855 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1856 valloc, pvalloc): Add __attribute_alloc_size__.
1857 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1858 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1859 larger than PTRDIFF_MAX.
1860 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1861 around tests of malloc with negative sizes.
1862 * malloc/tst-posix_memalign.c (do_test): Likewise.
1863 * malloc/tst-pvalloc.c (do_test): Likewise.
1864 * malloc/tst-valloc.c (do_test): Likewise.
1865 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1866 with resulting size allocation larger than PTRDIFF_MAX with
1867 reallocarray_nowarn.
1868 (reallocarray_nowarn): New function.
1869 * NEWS: Mention the malloc function semantic change.
1871 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1873 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1874 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1876 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1877 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1878 * sysdeps/powerpc/fpu/s_fma.c: New file.
1879 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1881 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1882 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1884 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1885 the magic flag store.
1886 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1888 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1890 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1891 Remove rt_sigreturn call.
1893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1894 Remove rt_sigreturn call.
1895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1900 * support/Makefile (libsupport-routines): Add support_subprocess,
1901 xposix_spawn, xposix_spawn_file_actions_addclose, and
1902 xposix_spawn_file_actions_adddup2.
1903 (tst-support_capture_subprocess-ARGS): New rule.
1904 * support/capture_subprocess.h (support_capture_subprogram): New
1906 * support/support_capture_subprocess.c (support_capture_subprocess):
1907 Refactor to use support_subprocess and support_capture_poll.
1908 (support_capture_subprogram): New function.
1909 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1910 str_to_write_mode, test_common, parse_int, handle_restart,
1911 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1912 (do_test): Add support_capture_subprogram tests.
1913 * support/subprocess.h: New file.
1914 * support/support_subprocess.c: Likewise.
1915 * support/xposix_spawn.c: Likewise.
1916 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1917 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1918 * support/xspawn.h: Likewise.
1920 2019-04-17 Mike Gerow <gerow@google.com>
1922 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1925 2019-04-11 Florian Weimer <fweimer@redhat.com>
1927 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1928 domain with empty string.
1929 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1931 2019-04-11 Florian Weimer <fweimer@redhat.com>
1933 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1935 (alloc_buffer_next): Change return type to non-const. Update
1938 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1940 * manual/time.texi (Formatting Calendar Time): Add missing percent
1941 sign to conversion specifier.
1943 2019-04-09 Carlos O'Donell <carlos@redhat.com>
1944 Kwok Cheung Yeung <kcy@codesourcery.com>
1947 * malloc/mtrace.c: Define prototypes for all hooks.
1948 (set_default_hooks): New function.
1949 (set_trace_hooks): Likewise.
1950 (save_default_hooks): Likewise.
1951 (tr_freehook): Use new s*_hooks functions.
1952 (tr_mallochook): Likewise.
1953 (tr_reallochook): Likewise.
1954 (tr_memalignhook): Likewise.
1956 (muntrace): Likewise.
1958 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1960 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1961 (generic_stpcpy): New function.
1962 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1963 (generic_stpncpy): New function.
1964 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1965 (generic_strcat): New function.
1966 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1967 (generic_strcpy): New function.
1968 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1969 (STUPID_STRNCAT): Remove function.
1970 (generic_strncat): New function.
1971 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1972 (STUPID_STRNCPY): Remove function.
1973 (generic_strncpy): New function.
1974 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1975 (generic_strnlen): New function.
1976 (memchr_strnlen): New function.
1977 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1978 (memchr_strlen): Likewise.
1980 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1982 * benchtests/bench-strstr.c (input): Add realistic input text.
1983 (stupid_strstr): Remove function.
1984 (basic_strstr): Add function.
1985 (twoway_strstr): Add function.
1986 (do_one_test): Add result checking.
1987 (do_test): Use new input text. Remove accidental early matches.
1988 (test_main): Improve range of tests, reduce unaligned cases.
1990 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1992 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1993 (basic_memmem): Add function.
1994 (twoway_memmem): Add function.
1996 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1998 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1999 * benchtests/bench-malloc-thread.c: Likewise.
2000 * benchtests/bench-skeleton.c: Likewise.
2001 * benchtests/bench-strtod.c: Likewise.
2002 * benchtests/bench-timing.h: Likewise.
2004 2019-04-08 Florian Weimer <fweimer@redhat.com>
2006 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
2008 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
2009 RES_INSECURE2 security checks.
2010 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
2011 RES_INSECURE2 handling.
2013 2019-04-08 Florian Weimer <fweimer@redhat.com>
2015 resolv: Remove support for RES_USE_INET6 and the inet6 option.
2016 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
2017 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
2019 * resolv/Makefile (tests): Remove tst-res_use_inet6.
2020 (tests-internal): Update justification for tst-resolv-res_init,
2021 tst-resolv-res_init-thread.
2022 (tst-res_use_inet6): Remove target.
2023 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
2024 * resolv/res_debug.c (p_option): Remove "inet6" support.
2025 * resolv/res_init.c (res_setoptions): Likewise.
2026 * resolv/res_use_inet6.h: Remove file.
2027 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
2029 (res_use_inet6): Always return false.
2030 * resolv/resolv.h (RES_USE_INET6): Remove definition.
2031 * resolv/resolv_context.h: Adjust file comment.
2032 (struct resolv_context): Update comment on __next field.
2033 (__resolv_context_put): Update comment.
2034 * resolv/tst-res_use_inet6.c: Remove file.
2035 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
2037 (test_cases): Adjust test case.
2038 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
2039 (thread_byname2_af_inet6): Use old byname_inet6 code.
2040 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
2041 (gai): Remove do_inet6 argument.
2042 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
2043 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
2044 (thread_gai_unspec_inet6): Remove functions.
2045 (do_test): Adjust thread_funcs.
2046 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
2048 (gaih_inet): Do not disable RES_USE_INET6 flag.
2050 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2052 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
2053 and remove redundant code.
2055 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2057 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
2059 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
2060 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
2062 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
2064 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
2066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2067 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
2068 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
2069 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
2070 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2071 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
2072 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2073 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
2075 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
2076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2077 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2078 Remove wcsrchr optimizations.
2079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2081 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
2084 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
2086 * sysdeps/powerpc/power6/wcschr.c: Remove file.
2087 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
2089 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
2091 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
2093 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2094 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
2095 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
2096 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
2097 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2098 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
2099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2100 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
2102 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
2103 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2104 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2105 Remove wcschr optimizations.
2106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2108 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
2111 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
2113 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
2114 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
2116 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
2118 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
2120 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2121 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
2122 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
2123 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
2124 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2125 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
2126 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2127 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
2129 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
2130 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2132 Remove wcscpy optimizations.
2133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2135 * include/loop_unroll.h: New file.
2136 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
2137 besides generic implementation.
2139 2019-04-03 DJ Delorie <dj@redhat.com>
2141 * time/tst-strftime3.c (tm_to_printed): Disable warning about
2142 snprintf truncating output.
2144 2019-04-02 DJ Delorie <dj@redhat.com>
2146 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
2149 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2152 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
2154 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
2155 (mkreftable): Add rules for the new Japanese era and the new dates.
2157 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2158 Rafal Luzynski <digitalfreak@lingonborough.com>
2160 * time/tst-strftime2.c (date_t): Explicitly define the type.
2161 (dates): Use natural month and year numbers to express a date.
2162 (is_before): New function to compare dates.
2163 (mkreftable): Minor improvements to simplify maintenance.
2164 (do_test): Reflect the changes in dates array.
2167 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
2168 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
2169 * time/tst-strftime2.c (locales): Likewise.
2170 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
2171 2010-04-01, and 2011-04-01.
2172 (mkreftable): Add rules for the new locales and the new dates.
2174 2019-04-01 Carlos O'Donell <carlos@redhat.com>
2176 * localedata/locales/ja_JP: Add comments to era entries.
2178 2019-04-01 DJ Delorie <dj@redhat.com>
2181 * time/strptime_l.c (%Ey): Fix fencepost error.
2182 * time/tst-strftime3.c: New.
2183 * time/Makefile (tests): Add tst-strftime3.
2185 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
2187 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
2188 conditional branch to DIVBYZERO. Fix unwind info.
2189 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
2190 excb after conditional branch to $powerof2. Add missing unop
2191 instructions and .align directives and reorder instructions to
2194 2019-04-01 Richard Henderson <rth@twiddle.net>
2196 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2198 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
2201 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
2203 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
2204 $libc_cv_riscv_float_abi in `test' invocation.
2205 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
2207 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
2209 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
2211 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
2213 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2214 (_GET_SI_FPSCR): Likewise.
2215 (_SET_SI_FPSCR): Likewise.
2217 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2219 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
2221 (signbit): Use builtin for clang 3.3.
2222 (isinf): Use builtin for clang 3.7.
2224 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2226 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
2228 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
2230 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
2233 2019-03-25 Mike Crowe <mac@mcrowe.com>
2235 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
2236 pthread_rwlock_timedrdlock with calls to
2237 pthread_rwlock_timedwrlock to ensure that the latter is tested
2238 too. Use new function name in diagnostic messages too.
2240 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
2241 (do_test) Use libsupport test macros rather than hand-coded
2242 conditionals and error messages. Ensure that sem_init returns zero
2243 rather than not -1. Use <support/test-driver.c> rather than
2246 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
2247 test macros rather than hand-coded conditionals and error messages.
2248 Use <support/test-driver.c> rather than test-skeleton.c.
2250 2019-03-25 Joseph Myers <joseph@codesourcery.com>
2252 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
2254 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
2255 (NT_MIPS_MSA): Likewise.
2257 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2259 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
2260 * benchtests/README: Update description.
2261 * benchtests/bench-timing.h: Default to hp-timing.
2262 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
2263 HP_TIMING_PRINT): Remove.
2264 (HP_TIMING_NOW): Add generic implementation.
2265 (hp_timing_t): Change to uint64_t.
2267 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
2269 * nptl/descr.h: Likewise.
2270 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
2271 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
2272 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
2273 Abstract hp-timing usage with RTLD_* macros.
2274 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
2275 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
2276 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
2277 HP_TIMING_NONAVAIL): Likewise.
2278 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2280 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
2281 HP_SMALL_TIMING_AVAIL): Likewise.
2282 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
2283 HP_SMALL_TIMING_AVAIL): Likewise.
2284 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
2285 HP_SMALL_TIMING_AVAIL): Likewise.
2286 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
2287 HP_SMALL_TIMING_AVAIL): Likewise.
2288 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2290 * sysdeps/generic/hp-timing-common.h: Update comment with
2291 HP_TIMING_AVAIL removal.
2293 * include/random-bits.h: New file.
2294 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
2295 (__res_context_mkquery): Remove usage hp-timing usage and replace with
2297 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
2298 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
2301 * include/libc-internal.h (__get_clockfreq): Remove prototype.
2302 * rt/Makefile (clock-routines): Remove get_clockfreq.
2303 * rt/get_clockfreq.c: Remove file.
2304 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2305 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
2306 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
2307 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
2308 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
2310 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
2311 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
2312 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
2313 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
2314 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
2316 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
2317 pthread_clock_settime.
2318 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
2319 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
2320 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
2321 * elf/rtld.c (_dl_start_final): Likewise.
2322 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
2323 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
2325 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
2326 (_dl_cpuclock_offset): Remove.
2327 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
2328 cpuclock_offset_ununsed.
2329 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2330 cpuclock_offset set.
2331 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2332 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2333 * nptl/pthread_clock_gettime.c: Remove file.
2334 * nptl/pthread_clock_settime.c: Likewise.
2335 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
2336 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
2337 and CLOCK_PROCESS_CPUTIME_ID support.
2338 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
2339 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
2340 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
2341 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
2342 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
2344 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
2346 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2348 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
2349 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
2350 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
2352 * sysdeps/s390/memmem-arch13.S: New file.
2353 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
2354 if it is only used as fallback.
2355 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
2356 * sysdeps/s390/multiarch/ifunc-impl-list.c
2357 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
2359 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2361 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
2362 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
2363 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
2365 * sysdeps/s390/multiarch/ifunc-impl-list.c
2366 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
2367 * sysdeps/s390/strstr-arch13.S: New file.
2368 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
2369 if it is only used as fallback.
2370 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
2372 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2374 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
2375 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
2376 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
2377 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
2379 * sysdeps/s390/multiarch/ifunc-impl-list.c
2380 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
2381 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
2382 S390_IS_ARCH13_MIE3): New defines.
2384 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2386 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
2387 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
2388 * sysdeps/s390/configure.ac: Add checks for arch13 support.
2389 * sysdeps/s390/configure: Regenerated.
2391 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2393 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
2394 Add vxe2, vxp, dflt, sort flags.
2395 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
2396 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
2398 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
2399 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
2400 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
2401 HWCAP_S390_DFLT): Define.
2403 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2406 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2407 of compiler warning.
2408 * locale/programs/ld-collate.c (collate_output): Likewise.
2410 2019-03-21 DJ Delorie <dj@redhat.com>
2413 * iconv/iconvconfig.c (write_output): Replace floating point math
2414 with integer math to avoid imprecise results.
2415 * locale/programs/ld-collate.c (collate_output): Likewise.
2417 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
2419 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2420 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2422 2019-03-20 mansayk <6688000@gmail.com>
2425 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2426 (abday): Likewise, but remove the trailing dots.
2428 2019-03-19 Joseph Myers <joseph@codesourcery.com>
2430 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2432 (HWCAP_PACA): Likewise.
2433 (HWCAP_PACG): Likewise.
2434 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2436 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2438 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2440 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2443 2019-03-15 Joseph Myers <joseph@codesourcery.com>
2445 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2447 (old_getpagesize): New syscall.
2449 2019-03-15 Felix Yan <felixonmars@archlinux.org>
2452 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2453 * localedata/locales/cmn_TW (era): Likewise.
2454 * localedata/locales/hak_TW (era): Likewise.
2455 * localedata/locales/lzh_TW (era): Likewise.
2456 * localedata/locales/nan_TW (era): Likewise.
2458 2019-03-14 Adam Maris <amaris@redhat.com>
2460 * malloc/malloc.c (_int_malloc): Check for large bin list
2461 corruption when inserting unsorted chunk.
2463 2019-03-14 Florian Weimer <fweimer@redhat.com>
2465 Remove obsolete, never-implemented XSI STREAMS declarations.
2466 * manual/terminal.texi (Allocation): Remove portability note and
2468 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2470 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2471 * sysdeps/unix/inet/Subdirs (streams): Remove.
2472 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2473 (conformtest-headers-UNIX98): Likewise.
2474 (conformtest-headers-XOPEN2K): Likewise.
2475 (conformtest-headers-POSIX2008): Likewise.
2476 * posix/compat-streams.c: New file.
2477 * posix/Makefile (routines): Add it.
2478 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2479 getpmsg, isastream, putmsg, putpmsg.
2480 (GLIBC_2.30): New section.
2481 * bits/stropts.h: Remove file.
2482 * bits/xtitypes.h: Likewise.
2483 * conform/data/stropts.h-data: Likewise.
2484 * include/stropts.h: Likewise.
2485 * include/sys/stropts.h: Likewise.
2486 * include/xtitypes.h: Likewise.
2487 * streams/Makefile: Likewise.
2488 * streams/fattach.c: Likewise.
2489 * streams/fdetach.c: Likewise.
2490 * streams/getmsg.c: Likewise.
2491 * streams/getpmsg.c: Likewise.
2492 * streams/isastream.c: Likewise.
2493 * streams/putmsg.c: Likewise.
2494 * streams/putpmsg.c: Likewise.
2495 * streams/stropts.h: Likewise.
2496 * streams/sys/stropts.h: Likewise.
2497 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2498 * sysdeps/s390/bits/xtitypes.h: Likewise.
2499 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2500 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2501 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2502 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2503 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2504 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2505 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2506 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2507 * sysdeps/x86/bits/xtitypes.h: Likewise.
2509 2019-03-14 Florian Weimer <fweimer@redhat.com>
2511 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2513 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2514 but not with libnss_files.
2515 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2517 2019-03-14 Zack Weinberg <zackw@panix.com>
2519 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2520 Specify encoding="utf-8" when opening headers to check.
2522 2019-03-13 Joseph Myers <joseph@codesourcery.com>
2524 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2526 (Context.checkout_tar): Handle variable major version for Linux
2529 2019-03-13 Florian Weimer <fweimer@redhat.com>
2532 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2534 2019-03-13 Zack Weinberg <zackw@panix.com>
2536 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2538 * include/inttypes.h: Adjust to match.
2539 * include/stdint.h: New wrapper.
2541 2019-03-13 Zack Weinberg <zackw@panix.com>
2543 * scripts/check-obsolete-constructs.py: New test script.
2544 * scripts/check-installed-headers.sh: Remove tests for
2545 obsolete typedefs, superseded by check-obsolete-constructs.py.
2546 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2547 as a special test. Update commentary.
2548 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2549 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2551 * posix/sys/types.h (__u_intN_t): Remove.
2552 (u_int8_t): Typedef using __uint8_t.
2553 (u_int16_t): Typedef using __uint16_t.
2554 (u_int32_t): Typedef using __uint32_t.
2555 (u_int64_t): Typedef using __uint64_t.
2557 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
2559 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2561 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2562 Ignore types other than AT_HWCAP.
2563 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2564 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2566 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2567 in the case of falling back to generic output mechanism.
2568 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2571 2019-03-12 Florian Weimer <fweimer@redhat.com>
2573 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2575 2019-03-12 Florian Weimer <fweimer@redhat.com>
2578 resolv: Enable full ICMP errors for UDP DNS sockets
2579 * resolv/res_enable_icmp.c: New file.
2580 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2581 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2582 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2585 2019-03-11 Mao Han <han_mao@c-sky.com>
2587 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2588 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2590 2019-03-11 Mao Han <han_mao@c-sky.com>
2592 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2593 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2594 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2596 2019-03-11 Mao Han <han_mao@c-sky.com>
2598 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2600 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2603 2019-03-11 Mao Han <han_mao@c-sky.com>
2605 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2606 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2609 2019-03-08 Mike FABIAN <mfabian@redhat.com>
2612 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2613 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2615 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2616 * localedata/unicode-gen/PropList.txt: Likewise.
2617 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2618 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2619 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2620 * localedata/charmaps/UTF-8: Regenerate.
2621 * localedata/locales/i18n_ctype: Likewise.
2622 * localedata/locales/tr_TR: Likewise.
2623 * localedata/locales/translit_circle: Likewise.
2624 * localedata/locales/translit_cjk_compat: Likewise.
2625 * localedata/locales/translit_combining: Likewise.
2626 * localedata/locales/translit_compat: Likewise.
2627 * localedata/locales/translit_font: Likewise.
2628 * localedata/locales/translit_fraction: Likewise.
2630 2019-03-07 Joseph Myers <joseph@codesourcery.com>
2632 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2633 than after operators.
2634 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2635 (setitimer_locked): Likewise.
2636 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2637 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2638 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2639 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2640 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2641 (PPC_CPU_SUPPORTED): Likewise.
2642 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2643 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2644 (stat_overflow): Likewise.
2645 (statfs_overflow): Likewise.
2646 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2647 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2648 (eq_ttyname_r): Likewise.
2649 (run_chroot_tests): Likewise.
2651 2019-03-07 Florian Weimer <fweimer@redhat.com>
2653 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2656 2019-03-07 Martin Liska <mliska@suse.cz>
2658 * math/Makefile: Change location where math-vector-fortran.h is
2660 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2661 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2662 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2663 * scripts/check-installed-headers.sh: Skip Fortran header files.
2664 * scripts/check-wrapper-headers.py: Likewise.
2666 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2668 * nptl/nptl-init.c (__have_futex_clock_realtime,
2669 __have_futex_clock_realtime): Remove definition.
2670 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2671 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2672 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2673 __ASSUME_FUTEX_CLOCK_REALTIME support.
2674 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2675 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2676 * sysdeps/unix/sysv/linux/kernel-features.h
2677 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2678 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2681 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2683 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2684 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2685 __GI___wcscpy and wcscpy.
2687 2019-03-04 Florian Weimer <fweimer@redhat.com>
2689 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2691 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2694 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
2696 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2697 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2699 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2702 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2703 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2705 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2707 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2709 (do_test): Likewise.
2710 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2711 (do_test_call_varg): Likewise.
2712 (do_test_call_rarg): Likewise.
2713 * sysdeps/ieee754/ldbl-opt/Makefile
2714 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2716 ($(objpfx)tst-nldbl-warn.c): New rule.
2717 ($(objpfx)tst-nldbl-error.c): Likewise.
2718 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2721 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2724 * include/bits/error-ldbl.h: New file.
2725 * include/error.h: Include stdarg.h. Declare internal functions
2726 __error_internal and __error_at_line_internal.
2727 * misc/Makefile (headers): Add bits/error-ldbl.h.
2728 * misc/bits/error-ldbl.h: New file.
2729 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2730 avoid the inclusion of bits/error.h.
2731 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2732 and __nldbl_error_at_line.
2733 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2734 (__nldbl_error, __ndlbl_error_at_line): New functions.
2735 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2736 Redirect error and error_at_line.
2737 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2746 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2747 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2748 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2750 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2753 * include/bits/err-ldbl.h: New file.
2754 * include/err.h: Add prototypes for the internal functions:
2755 __vwarnx_internal and __vwarn_internal.
2756 * misc/Makefile (headers): Add bits/err-ldbl.h.
2757 * misc/bits/err-ldbl.h: New file.
2758 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2759 defined, i.e.: when -mlong-double-64 is in use.
2760 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2761 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2762 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2763 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2764 (VA_CALL): New macro.
2765 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2766 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2768 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2769 declare prototypes for the new functions.
2770 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2779 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2780 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2781 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2783 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2785 * sysdeps/ieee754/ldbl-opt/Makefile
2786 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2787 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2788 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2790 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2793 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2794 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2795 * argp/bits/argp-ldbl.h: New file.
2796 * include/argp.h: Include stdarg.h. Add prototypes for internal
2797 functions: __argp_error_internal and __argp_failure_internal.
2798 * include/bits/argp-ldbl.h: New file.
2799 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2800 __nldbl_argp_error and __nldbl_argp_failure.
2801 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2802 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2803 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2804 Redirect argp_error and argp_failure calls.
2805 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2814 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2815 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2816 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2818 2019-03-01 Florian Weimer <fweimer@redhat.com>
2821 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2822 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2823 code, to avoid creating an ABI tag note.
2824 (modules-names-nobuild): Add tst-big-note-lib.
2826 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
2828 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2829 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2831 2019-03-01 Florian Weimer <fweimer@redhat.com>
2834 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2835 (__netlink_assert_response): Add additional missing newlines.
2837 2019-02-28 Joseph Myers <joseph@codesourcery.com>
2839 * sysdeps/powerpc/powerpc32/dl-machine.c
2840 (__elf_machine_fixup_plt): Use space before '('.
2841 (__process_machine_rela): Likewise.
2842 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2844 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2846 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2848 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2849 (pattern): Likewise.
2851 (check_result): Likewise.
2852 (check_excepts): Likewise.
2853 (check_op): Likewise.
2854 (fail_xr): Likewise.
2855 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2856 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2858 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2861 (__makecontext): Likewise.
2862 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2865 2019-02-28 Florian Weimer <fweimer@redhat.com>
2868 elf: Add test with a local IFUNC resolver.
2869 * elf/ifuncmain9.c: New file.
2870 * elf/ifuncmain9pic.c: Likewise.
2871 * elf/ifuncmain9picstatic.c: Likewise.
2872 * elf/ifuncmain9pie.c: Likewise.
2873 * elf/ifuncmain9static.c: Likewise.
2874 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2875 ifuncmain9static, ifuncmain9picstatic.
2876 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2877 Add ifuncmain9, ifuncmain9pic.
2878 * elf/Makefile [multi-arch && build-shared && have-fpie]
2879 (ifunc-pie-tests): Add ifuncmain9pie.
2880 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2881 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2882 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2884 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2886 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2887 * configure: Regenerated.
2888 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2890 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2892 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2893 symbol as __wcspcy instead of wcscpy.
2895 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2897 * include/stdio.h (__renameat2): New hidden prototype.
2898 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2899 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2900 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2901 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2903 2019-02-27 Joseph Myers <joseph@codesourcery.com>
2905 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2908 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2909 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2910 * benchtests/bench-strlen.c (do_test): Likewise.
2911 (test_main): Likewise.
2912 * catgets/gencat.c (read_old): Likewise.
2913 * elf/cache.c (load_aux_cache): Likewise.
2914 * iconvdata/bug-iconv8.c (do_test): Likewise.
2915 * math/test-tgmath-ret.c (do_test): Likewise.
2916 * nis/nis_call.c (rec_dirsearch): Likewise.
2917 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2918 * nptl/tst-audit-threads.c (do_test): Likewise.
2919 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2920 * nss/nss_test1.c (init): Likewise.
2921 * nss/test-netdb.c (test_hosts): Likewise.
2922 * posix/execvpe.c (maybe_script_execute): Likewise.
2923 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2924 * stdio-common/tst-printf.c (do_test): Likewise.
2925 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2926 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2927 * stdlib/qsort.c (STACK_SIZE): Likewise.
2928 * stdlib/test-canon.c (do_test): Likewise.
2929 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2930 * string/memcmp.c (OPSIZ): Likewise.
2931 * string/test-strcpy.c (do_test): Likewise.
2932 (do_random_tests): Likewise.
2933 * string/test-strlen.c (do_test): Likewise.
2934 (test_main): Likewise.
2935 * string/test-strrchr.c (do_test): Likewise.
2936 (do_random_tests): Likewise.
2937 * string/tester.c (test_memrchr): Likewise.
2938 (test_memchr): Likewise.
2939 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2940 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2941 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2942 (read_encoded_value_with_base): Likewise.
2943 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2944 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2945 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2946 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2947 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2948 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2950 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2952 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2953 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2954 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2956 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2958 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2960 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2962 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2963 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2964 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2965 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2966 * time/test_time.c (main): Likewise.
2968 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2970 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2972 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2975 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2978 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2980 * include/wchar.h (__wcscpy): New prototype.
2981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2982 (__wcscpy): Route internal symbol to generic implementation.
2983 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2984 Add internal __wcscpy alias.
2985 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2986 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2987 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2988 * wcsmbs/wcscpy.c (wcscpy): Add
2989 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2990 use generic implementation.
2991 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2993 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2996 * sysdeps/m68k/wcpcpy.c: Remove file.
2997 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2999 2019-02-26 Joseph Myers <joseph@codesourcery.com>
3001 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
3002 than after operators.
3003 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3004 * sysdeps/mach/hurd/getcwd.c
3005 (__hurd_canonicalize_directory_name_internal): Likewise.
3006 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
3007 (pthread_mutex_consistent): Likewise.
3008 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
3010 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
3011 (__pthread_mutex_transfer_np): Likewise.
3012 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
3013 (__pthread_mutex_unlock): Likewise.
3014 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
3015 (mtx_owned_p): Likewise.
3016 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
3017 (pthread_mutexattr_getrobust): Likewise.
3018 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
3019 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3021 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3022 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
3023 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
3024 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
3025 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3026 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3027 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
3029 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
3031 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
3032 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
3033 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
3034 (____longjmp_chk): Likewise.
3035 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
3037 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3038 (INTERNAL_SYSCALL): Likewise.
3039 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3040 (INTERNAL_SYSCALL): Likewise.
3041 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3042 (__get_clockfreq_via_cpuinfo): Likewise.
3044 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
3046 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
3047 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
3048 (WORD_COPY_BWD): Likewise.
3049 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3050 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3052 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
3053 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
3055 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
3057 2019-02-25 Joseph Myers <joseph@codesourcery.com>
3059 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
3060 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
3061 rather than after operators.
3062 * elf/cache.c (print_cache): Likewise.
3063 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
3064 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
3065 * hurd/hurdinit.c (_hurd_setproc): Likewise.
3066 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
3067 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
3068 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3069 (reauth_proc): Likewise.
3070 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
3071 (__file_name_split_at): Likewise.
3072 (__directory_name_split_at): Likewise.
3073 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3074 * hurd/port2fd.c (_hurd_port2fd): Likewise.
3075 * iconv/gconv_dl.c (do_print): Likewise.
3076 * inet/netinet/in.h (struct sockaddr_in): Likewise.
3077 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
3078 * locale/setlocale.c (new_composite_name): Likewise.
3079 * malloc/memusagestat.c (main): Likewise.
3080 * misc/fstab.c (fstab_convert): Likewise.
3081 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3083 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
3084 (getgrent_next_file): Likewise.
3085 (internal_getgrnam_r): Likewise.
3086 (internal_getgrgid_r): Likewise.
3087 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
3089 (internal_getgrent_r): Likewise.
3090 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
3091 (getpwent_next_nss): Likewise.
3092 (getpwent_next_file): Likewise.
3093 (internal_getpwnam_r): Likewise.
3094 (internal_getpwuid_r): Likewise.
3095 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
3097 (getspent_next_nss): Likewise.
3098 (internal_getspnam_r): Likewise.
3099 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3100 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
3101 * string/strchr.c (STRCHR): Likewise.
3102 * string/strchrnul.c (STRCHRNUL): Likewise.
3103 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
3104 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3105 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
3106 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
3107 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
3109 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
3110 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3111 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3112 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
3113 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
3114 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
3115 (open_file): Likewise.
3116 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
3117 (pthread_mutexattr_setprotocol): Likewise.
3118 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3119 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3120 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3121 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3122 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3124 (elf_machine_rela): Likewise.
3125 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3126 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3127 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
3128 * sysdeps/posix/rename.c (rename): Likewise.
3129 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
3130 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
3131 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
3132 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
3133 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3134 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
3135 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
3137 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
3139 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
3140 * time/tzfile.c (__tzfile_compute): Likewise.
3142 2019-02-22 Joseph Myers <joseph@codesourcery.com>
3144 * benchtests/bench-memmem.c (simple_memmem): Break lines before
3145 rather than after operators.
3146 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
3147 * crypt/md5.c (md5_finish_ctx): Likewise.
3148 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
3149 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
3150 * elf/cache.c (load_aux_cache): Likewise.
3151 * elf/dl-load.c (open_verify): Likewise.
3152 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3153 * elf/readelflib.c (process_elf_file): Likewise.
3154 * elf/rtld.c (dl_main): Likewise.
3155 * elf/sprof.c (generate_call_graph): Likewise.
3156 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
3157 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3158 * hurd/dtable.c (reauth_dtable): Likewise.
3159 * hurd/getdport.c (__getdport): Likewise.
3160 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
3161 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
3162 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
3164 * hurd/hurdioctl.c (fioctl): Likewise.
3165 * hurd/hurdselect.c (_hurd_select): Likewise.
3166 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
3167 (STOPSIGS): Likewise.
3168 * hurd/hurdstartup.c (_hurd_startup): Likewise.
3169 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
3170 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3171 * hurd/msgportdemux.c (msgport_server): Likewise.
3172 * hurd/setauth.c (_hurd_setauth): Likewise.
3173 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
3174 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
3175 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
3176 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
3177 * login/tst-utmp.c (do_check): Likewise.
3178 (simulate_login): Likewise.
3179 * mach/lowlevellock.h (lll_lock): Likewise.
3180 (lll_trylock): Likewise.
3181 * math/test-fenv.c (ALL_EXC): Likewise.
3182 * math/test-fenvinline.c (ALL_EXC): Likewise.
3183 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
3184 * nis/nis_call.c (__do_niscall3): Likewise.
3185 * nis/nis_callback.c (cb_prog_1): Likewise.
3186 * nis/nis_defaults.c (searchaccess): Likewise.
3187 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3188 * nis/nis_ismember.c (internal_ismember): Likewise.
3189 * nis/nis_local_names.c (nis_local_principal): Likewise.
3190 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
3191 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
3193 * nis/ypclnt.c (yp_match): Likewise.
3194 (yp_first): Likewise.
3195 (yp_next): Likewise.
3196 (yp_master): Likewise.
3197 (yp_order): Likewise.
3198 * nscd/hstcache.c (cache_addhst): Likewise.
3199 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3200 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
3201 (internal_getpwuid_r): Likewise.
3202 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
3203 * posix/glob.h (__GLOB_FLAGS): Likewise.
3204 * posix/regcomp.c (peek_token): Likewise.
3205 (peek_token_bracket): Likewise.
3206 (parse_expression): Likewise.
3207 * posix/regexec.c (sift_states_iter_mb): Likewise.
3208 (check_node_accept_bytes): Likewise.
3209 * posix/tst-spawn3.c (do_test): Likewise.
3210 * posix/wordexp-test.c (testit): Likewise.
3211 * posix/wordexp.c (parse_tilde): Likewise.
3212 (exec_comm): Likewise.
3213 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
3214 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
3215 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
3216 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
3217 * stdio-common/tst-fileno.c (do_test): Likewise.
3218 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
3219 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
3220 * stdlib/strtod_l.c (round_and_return): Likewise.
3221 (____STRTOF_INTERNAL): Likewise.
3222 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
3223 * string/strcspn.c (STRCSPN): Likewise.
3224 * string/test-memmem.c (simple_memmem): Likewise.
3225 * termios/tcsetattr.c (tcsetattr): Likewise.
3226 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
3227 * time/asctime.c (asctime_internal): Likewise.
3228 * time/strptime_l.c (__strptime_internal): Likewise.
3229 * time/sys/time.h (timercmp): Likewise.
3230 * time/tzfile.c (__tzfile_compute): Likewise.
3232 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
3235 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
3237 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3239 * argp/argp-help.c (__argp_error_internal): New function,
3240 renamed from __argp_error, but that takes a 'mode_flags'
3241 parameter to control the format of long double parameters.
3242 (__argp_error): Converted into a call __argp_error_internal.
3243 (__argp_failure_internal): New function, renamed from
3244 __argp_failure, but that takes a 'mode_flags' parameter.
3245 (__argp_failure): Converted into a call __argp_failure_internal.
3246 * misc/err.c (__vwarnx_internal): New function, renamed from
3247 vwarnx, but that takes a 'mode_flags' parameter.
3248 (vwarnx): Converted into a call to __vwarnx_internal.
3249 (__vwarn_internal): New function, renamed from vwarn, but that
3250 takes a 'mode_flags' parameter.
3251 (vwarn): Converted into a call to __vwarn_internal.
3252 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
3253 call to __vfxprintf with 'mode_flags'.
3254 (__error_internal): New function, renamed from error, but that
3255 takes a 'mode_flags' parameter.
3256 (error): Converted into a call to __error_internal.
3257 (__error_at_line_internal): New function, renamed from
3258 error_at_line, but that takes a 'mode_flags' parameter.
3259 (error_at_line): Converted into a call to
3260 __error_at_line_internal.
3261 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
3262 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
3265 2019-02-20 Martin Liska <mliska@suse.cz>
3267 * math/Makefile: Install math-vector-fortran.h.
3268 * bits/math-vector-fortran.h: New file.
3269 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
3271 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3273 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
3274 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
3276 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
3278 * nptl/pthread_mutex_trylock.c: Fix comment.
3280 2019-02-19 Carlos O'Donell <carlos@redhat.com>
3282 * nptl/pthread_tryjoin.c: Fix comment.
3284 2019-02-18 Joseph Myers <joseph@codesourcery.com>
3287 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
3288 after R_SPARC_H34 case.
3290 2019-02-18 Florian Weimer <fweimer@redhat.com>
3292 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
3293 (getanswer): Do not call Dprintf.
3294 (res_gethostbyname2_context): Likewise.
3295 (res_gethostbyaddr_context): Likewise.
3297 2019-02-18 Florian Weimer <fweimer@redhat.com>
3299 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
3301 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
3303 * libio/stdfiles.c: Update comment.
3304 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
3305 set _IO_stdin, _IO_stdout, _IO_stderr.
3306 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
3307 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
3309 (_IO_deallocate_file): New inline function.
3310 * libio/iolibio.h (_IO_vprintf): Remove definition.
3311 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
3312 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3313 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
3315 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
3316 __builtin_expect. Use _IO_legacy_file.
3318 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
3320 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
3321 Initialize ctid with a known value and remove update of ctid
3323 (wait_tid): Adjust arguments and call futex_wait with ctid_val
3324 as assumed current value of ctid_ptr.
3326 2019-02-16 Florian Weimer <fweimer@redhat.com>
3328 Check that non-sysdeps headers have wrapper headers.
3329 * scripts/check-wrapper-headers.py: New file.
3330 * Makefile (tests-special): Add check-wrapper-headers.out.
3331 (check-wrapper-headers.out): New target.
3332 * Rules (tests-special): Add check-wrapper-headers.out.
3333 (check-wrapper-headers.out): New target.
3335 2019-02-16 Florian Weimer <fweimer@redhat.com>
3337 Add missing header wrappers under include/.
3338 * include/ar.h: New file.
3339 * include/bits/mqueue2.h: Likewise.
3340 * include/bits/stdio.h: Likewise.
3341 * include/bits/stdio2.h: Likewise.
3342 * include/fstab.h: Likewise.
3343 * include/fts.h: Likewise.
3344 * include/lastlog.h: Likewise.
3345 * include/netinet/icmp6.h: Likewise.
3346 * include/netinet/igmp.h: Likewise.
3347 * include/netinet/ip6.h: Likewise.
3348 * include/re_comp.h: Likewise.
3349 * include/regexp.h: Likewise.
3350 * include/rpcsvc/bootparam.h: Likewise.
3351 * include/rpcsvc/yp_prot.h: Likewise.
3352 * include/sys/random.h: Likewise.
3353 * include/sys/stropts.h: Likewise.
3354 * include/sys/ttychars.h: Likewise.
3355 * include/sys/vfs.h: Likewise.
3356 * include/wait.h: Likewise.
3358 2019-02-16 Florian Weimer <fweimer@redhat.com>
3360 * nptl_db/proc_service.h: Move to ...
3361 * sysdeps/nptl/proc_service.h: ... here.
3362 * nptl_db/thread_db.h: Move to ...
3363 * sysdeps/nptl/thread_db.h: ... here.
3364 * nptl/descr.h: Include <thread_db.h>.
3366 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3368 * io/Makefile (tests): Add tst-lockf.
3369 * io/lockf.c (lockf): Use __fcntl and only define for
3370 !__OFF_T_MATCHES_OFF64_T.
3371 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
3372 __OFF_T_MATCHES_OFF64_T case.
3373 * io/tst-lockf.c: New file.
3374 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
3375 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
3376 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
3377 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
3378 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
3379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
3380 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
3381 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
3382 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
3384 2019-02-15 Florian Weimer <fweimer@redhat.com>
3387 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
3388 pd->result after the thread descriptor has been freed.
3390 2019-02-15 Joseph Myers <joseph@codesourcery.com>
3392 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
3393 from function return type.
3395 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
3397 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3399 * scripts/test_printers_common.py: Set TERM to a known harmless
3402 2019-02-14 Joseph Myers <joseph@codesourcery.com>
3404 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3405 (xdr_u_int): Likewise.
3406 (xdr_enum): Likewise.
3407 (xdr_bytes): Reword fall-through comment.
3408 (xdr_string): Likewise.
3410 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3413 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3414 (tests): Add tst-join8 tst-join9.
3415 * nptl/lll_timedwait_tid.c: Remove file.
3416 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3417 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3418 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3419 * nptl/pthread_join_common.c (timedwait_tid): New function.
3420 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3422 * nptl/tst-join5.c (thread_join): New function.
3423 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3425 * nptl/tst-join8.c: New file.
3426 * nptl/tst-join9.c: Likewise.
3427 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3428 lll_futex_timed_wait_cancel): Add generic macros.
3429 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3431 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3432 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3433 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3434 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3436 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3438 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3439 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3440 (lll_futex_timed_wait_cancel): New macro.
3442 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3444 * benchtests/Makefile: Add malloc-simple benchmark.
3445 * benchtests/bench-malloc-simple.c: New benchmark.
3447 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3449 * benchtests/bench-memmove.c (do_one_test): Remove unused
3452 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3456 2019-01-13 Jim Wilson <jimw@sifive.com>
3459 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3460 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3462 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3464 * nptl/Makefile (tests): Add tst-unwind-thread.
3465 (CFLAGS-tst-unwind-thread.c): Define.
3466 * nptl/tst-unwind-thread.c: New file.
3467 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3470 2019-02-13 Joseph Myers <joseph@codesourcery.com>
3472 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3474 * nis/nis_call.c (__do_niscall3): Likewise.
3476 * catgets/gencat.c (normalize_line): Use braces around empty
3478 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3479 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3480 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3481 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3482 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3483 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3484 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3487 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3490 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3492 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3493 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3494 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3495 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3496 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3497 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3498 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3499 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3500 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3501 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3502 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3503 * benchtests/bench-bcopy.c: Delete file.
3504 * benchtests/bench-bzero.c: Likewise.
3505 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3506 (simple_memccpy): Remove.
3507 (generic_memccpy): Add function.
3508 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3509 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3510 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3511 (generic_mempcpy): Add new function.
3512 * benchtests/bench-memset.c (simple_bzero): Remove.
3513 (builtin_bzero): Remove.
3514 (builtin_memset): Remove.
3515 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3516 (generic_rawmemchr): Add new function.
3518 2019-02-12 Florian Weimer <fweimer@redhat.com>
3520 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3522 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3525 * elf/Makefile (tests): Add tst-audit13.
3526 (modules-names): Add tst-audit13mod1.
3527 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3529 * elf/tst-audit13.c: New file.
3530 * elf/tst-audit13mod1.c: Likewise.
3532 2019-02-12 Florian Weimer <fweimer@redhat.com>
3535 * elf/rtld.c (unload_audit_module): New function.
3536 (report_audit_module_load_error): Likewise.
3537 (load_audit_module): Likewise. Extracted from dl_main. Call
3538 _dl_close if the laversion symbol cannot be found. Use early
3539 returns for error handling. Add malloc error check. Check for a
3540 zero return value from la_version. Remove spurious comment about
3541 static TLS initialization. Remove useless casts.
3542 (notify_audit_modules_of_loaded_object): New function. Extracted
3544 (load_audit_module): Likewise.
3545 (dl_main): Call load_audit_modules.
3547 2019-02-12 Joseph Myers <joseph@codesourcery.com>
3549 * elf/dl-exception.c (_dl_exception_create_format): Add
3550 fall-through comments.
3551 * elf/ldconfig.c (parse_conf_include): Likewise.
3552 * elf/rtld.c (print_statistics): Likewise.
3553 * locale/programs/charmap.c (parse_charmap): Likewise.
3554 * misc/mntent_r.c (__getmntent_r): Likewise.
3555 * posix/wordexp.c (parse_arith): Likewise.
3556 (parse_backtick): Likewise.
3557 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3558 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3559 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3561 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
3563 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3564 Use float instead of double.
3566 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3568 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3570 2019-02-08 Joseph Myers <joseph@codesourcery.com>
3572 * sysdeps/powerpc/bits/mathinline.h: Remove.
3574 2019-02-08 Florian Weimer <fweimer@redhat.com>
3576 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3577 * math/bits/math-finite.h: Move to ...
3578 * bits/math-finite.h: ... here.
3580 2019-02-08 Florian Weimer <fweimer@redhat.com>
3582 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3583 * bits/unistd_ext.h: here.
3585 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3588 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3589 * nss/tst-nss-files-hosts-long.c: New file.
3590 * nss/tst-nss-files-hosts-long.root: New directory.
3591 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3592 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3594 2019-02-08 Florian Weimer <fweimer@redhat.com>
3596 * include/bits/unistd_ext.h: Remove file.
3597 * posix/bits/unistd_ext.h: Move to ...
3598 * sysdeps/generic/bits/unistd_ext.h: ... here.
3600 2019-02-08 Florian Weimer <fweimer@redhat.com>
3602 * include/bits/unistd_ext.h: New file.
3604 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3606 * time/tst-strftime2.c: Use array_length macros instead of magic
3609 2019-02-08 Florian Weimer <fweimer@redhat.com>
3612 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3614 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3615 locking if the new do_locking argument is true.
3616 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3617 __run_fork_handlers.
3619 2019-02-08 Florian Weimer <fweimer@redhat.com>
3622 Linux: Add gettid system call wrapper.
3623 * posix/Makefile (headers): Add bits/unistd_ext.h.
3624 * posix/bits/unistd_ext.h: New file.
3625 * posix/unistd.h: Include it.
3626 * manual/process.texi (Process Identification): Document gettid.
3627 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3628 tst-gettid, tst-gettid-kill.
3629 (tst-gettid): Link with $(shared-thread-library).
3630 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3631 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3632 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3633 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3634 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3635 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3637 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3639 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3640 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3642 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3644 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3646 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3648 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3650 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3652 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3654 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3655 (GLIBC_2.30): Likewise.
3656 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3657 (GLIBC_2.30): Likewise.
3658 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3659 (GLIBC_2.30): Likewise.
3660 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3661 (GLIBC_2.30): Likewise.
3662 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3665 (GLIBC_2.30): Likewise.
3666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3667 (GLIBC_2.30): Likewise.
3668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3669 (GLIBC_2.30): Likewise.
3670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3671 (GLIBC_2.30): Likewise.
3672 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3674 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3676 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3678 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3679 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3681 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3683 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3685 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3687 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3689 2019-02-08 Florian Weimer <fweimer@redhat.com>
3691 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3692 compatibility symbols.
3694 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
3697 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3698 Add compiler barriers and comments.
3700 2019-02-07 Florian Weimer <fweimer@redhat.com>
3702 * include/array_length.h (array_length): Do not use a statement
3703 expression and _Static_assert, so that array_length can be used at
3704 file scope and as a constant expression.
3706 2019-02-07 Florian Weimer <fweimer@redhat.com>
3708 * support/xdlfcn.h (xdlmopen): Declare.
3709 * support/xdlmopen.c: New file.
3710 * support/Makefile (libsupport-routines): Add xdlmopen.
3712 2019-02-06 Joseph Myers <joseph@codesourcery.com>
3714 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3715 before return type, without separate inline.
3716 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3717 * elf/dl-tunables.h (tunable_is_name): Likewise.
3718 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3719 (do_set_top_pad): Likewise.
3720 (do_set_mmap_threshold): Likewise.
3721 (do_set_mmaps_max): Likewise.
3722 (do_set_mallopt_check): Likewise.
3723 (do_set_perturb_byte): Likewise.
3724 (do_set_arena_test): Likewise.
3725 (do_set_arena_max): Likewise.
3726 (do_set_tcache_max): Likewise.
3727 (do_set_tcache_count): Likewise.
3728 (do_set_tcache_unsorted_limit): Likewise.
3729 * nis/nis_subr.c (count_dots): Likewise.
3730 * nptl/allocatestack.c (advise_stack_range): Likewise.
3731 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3733 (reduce_sincos): Likewise.
3734 (do_sincos): Likewise.
3735 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3736 (do_set_elision_enable): Likewise.
3737 (TUNABLE_CALLBACK_FNDECL): Likewise.
3739 2019-02-06 Florian Weimer <fweimer@redhat.com>
3741 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3742 (xdlsym): Use dlerror to detect a NULL symbol.
3744 2019-02-06 Florian Weimer <fweimer@redhat.com>
3746 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3748 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3750 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3752 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3754 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3756 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3757 __wmemcmp and weak alias to wmemcmp.
3759 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3762 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3763 TLS_TCB_AT_TP tls variant.
3764 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3765 Add alignment checks.
3766 * support/Makefile (libsupport-routines): Add xposix_memalign and
3768 * support/support.h: Add xposix_memalign.
3769 * support/xthread.h: Add xpthread_attr_setstack.
3770 * support/xposix_memalign.c: New File.
3771 * support/xpthread_attr_setstack.c: Likewise.
3773 2019-02-05 Florian Weimer <fweimer@redhat.com>
3776 arm: Use "nr" constraint for Systemtap probes, to avoid the
3777 compiler using memory operands for constants, due to the "o"
3778 alternative in the default "nor" constraint.
3779 * include/stap-probe.h [USE_STAP_PROBE]: Include
3780 <stap-probe-machine.h>
3781 * sysdeps/generic/stap-probe-machine.h: New file.
3782 * sysdeps/arm/stap-probe-machine.h: Likewise.
3784 2019-02-04 Joseph Myers <joseph@codesourcery.com>
3786 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3787 with 0, not tcache->entries[tc_idx].
3789 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3792 2019-02-04 Andreas Schwab <schwab@suse.de>
3796 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3797 looking up collating elements match against (wide) character
3798 sequence instead of name. Correct alignment adjustment.
3799 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3800 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3801 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3802 (LOCALES): Add cs_CZ.ISO-8859-2.
3803 * posix/tst-fnmatch4.c: New file.
3804 * posix/tst-fnmatch5.c: New file.
3805 * include/wchar.h (__wmemcmp): Declare.
3806 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3807 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3808 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3809 * sysdeps/s390/wmemcmp.c: Likewise.
3811 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3815 * NEWS: Updated for CVE-2019-7309.
3816 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3817 upper 32 bits of RDX register for x32. Use unsigned Jcc
3818 instructions, instead of signed.
3819 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3820 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3822 2019-02-04 Florian Weimer <fweimer@redhat.com>
3824 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3825 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3826 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3828 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3829 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3830 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3831 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3833 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3835 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3837 (posix_spawn_file_actions_addopen): Likewise.
3838 (posix_spawn_file_actions_addclose): Likewise.
3839 (posix_spawn_file_actions_adddup2): Likewise.
3840 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3842 (posix_spawn_file_actions_addfchdir_np): Likewise.
3844 2019-02-04 David Newall <glibc@davidnewall.com>
3846 elf: Implement --preload option for the dynamic linker.
3847 * elf/rtld.c (preloadarg): New variable.
3848 (handle_preload_list): Pass through “where” argument to
3850 (dl_main): Handle "--preload" and add second call to
3851 handle_preload_list.
3852 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3853 (tst-rtld-preload-OBJS): Set variable.
3854 (tst-rtld-preload.out): New target.
3855 * elf/tst-rtld-preload.sh: New file.
3857 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3859 * Makefile (testrun.sh): Exit in case of incorrect argument.
3861 2019-02-04 Florian Weimer <fweimer@redhat.com>
3863 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3866 2019-02-03 Florian Weimer <fweimer@redhat.com>
3868 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3869 implicit overflow checks.
3871 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3873 * stdlib/isomac.c: Include <unistd.h>.
3875 2019-02-03 Florian Weimer <fweimer@redhat.com>
3877 * include/time.h (__tzfile_default): Use int, not long int, for
3879 * time/tzfile.c (struct ttinfo): Change type of the offset member
3881 (__tzfile_read): Remove useless cast.
3882 (__tzfile_default): Adjust prototype.
3883 * time/tzset.c (tz_rule): Change type of the offset member to int.
3884 (parse_offset): Change the type of the sign variable to int.
3886 2019-02-03 Florian Weimer <fweimer@redhat.com>
3889 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3890 * libio/getchar.c (getchar): Likewise.
3891 * libio/getchar_u.c (getchar_unlocked): Likewise.
3892 * libio/getwchar.c (getwchar): Likewise.
3893 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3894 * libio/iogets.c (_IO_gets): Likewise.
3895 * libio/vscanf.c (_IO_vscanf): Likewise.
3896 * libio/vwscanf.c (__vwscanf): Likewise.
3897 * libio/tst-bz24153.c: New file.
3898 * libio/Makefile (tests): Add it.
3900 2019-02-02 Florian Weimer <fweimer@redhat.com>
3903 * manual/resource.texi (Basic Scheduling Functions): Add
3904 portability note. Change process to task throughout the section.
3905 Remove incorrect comment about sched_yield as it affects
3906 tasks/threads, not entire processes.
3907 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3908 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3910 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3912 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3913 * configure: Regenerated.
3914 * manual/install.texi (Tools for Compilation): Update minimum GCC
3916 * INSTALL: Regenerated.
3918 2019-02-01 Florian Weimer <fweimer@redhat.com>
3920 * support/support_test_compare_string.c
3921 (support_test_compare_string): Use "string" in error message.
3922 * support/tst-test_compare_string.c (do_test): Adjust.
3924 2019-02-01 Florian Weimer <fweimer@redhat.com>
3926 * support/support_format_address_family.c
3927 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3929 2019-02-01 Florian Weimer <fweimer@redhat.com>
3931 * manual/socket.texi (Internet Address Formats): Clarify the byte
3932 order of struct sockaddr_in, struct sockaddr_in6. Document
3933 sin6_flowinfo and sin6_scope_id.
3935 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3937 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3938 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3939 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3940 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3941 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3942 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3944 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3946 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3947 [!MEMCHR](MEMCHR): Set to __memchr.
3948 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3949 Add memchr_generic and memchr_nosimd.
3950 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3951 (__libc_ifunc_impl_list): Add memchr ifuncs.
3952 * sysdeps/aarch64/multiarch/memchr.c: New file.
3953 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3954 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3956 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3958 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3960 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3961 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3962 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3963 Add IS_EMAG check for ifunc dispatch.
3964 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3965 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3967 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3969 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3970 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3972 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3975 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
3977 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3979 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
3981 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3982 syscall-template file.
3984 2019-01-31 Carlos O'Donell <carlos@redhat.com>
3985 Torvald Riegel <triegel@redhat.com>
3986 Rik Prohaska <prohaska7@gmail.com>
3989 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3990 tst-rwlock-trywrlock-stall.
3991 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3992 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3993 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3994 Set __wrphase_fute to 1 only if we started the write phase.
3995 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3996 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3997 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3998 * support/xpthread_rwlock_destroy.c: New file.
3999 * support/xthread.h: Declare xpthread_rwlock_destroy.
4001 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4003 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4006 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4009 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
4010 * libio/fileops.c (_IO_new_file_underflow): Likewise
4011 * libio/wfileops.c (_IO_wfile_underflow): Likewise
4012 * libio/putchar.c (putchar): Likewise.
4013 * libio/putchar_u.c (putchar_unlocked): Likewise.
4014 * libio/putwchar.c (putchar): Likewise.
4015 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4016 * libio/tst-bz24051.c: New test.
4017 * libio/Makefile (tests): Add tst-bz24051
4019 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
4022 regex: fix read overrun [BZ #24114]
4023 Problem found by AddressSanitizer, reported by Hongxu Chen in:
4024 https://debbugs.gnu.org/34140
4025 * posix/regexec.c (proceed_next_node):
4026 Do not read past end of input buffer.
4028 2019-01-31 Florian Weimer <fweimer@redhat.com>
4031 * nss/nss_files/files-alias.c (get_next_alias): Handle
4032 continuation line without newline at the end.
4033 * nss/tst-nss-files-alias-truncated.c: New file.
4034 * nss/Makefile [$(build-shared)] (tests): Add
4035 tst-nss-files-alias-truncated.
4036 (tst-nss-files-alias-truncated): Link with libnss_files.so.
4037 * support/namespace.h (struct support_chroot_configuration): Add
4039 (struct support_chroot): Add path_aliases member.
4040 * support/support_chroot.c (support_chroot_create): Handle
4042 (support_chroot_free): Free path_aliases.
4044 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4046 * version.h (RELEASE): Set to "development".
4047 (VERSION): Set to "2.29.9000".
4048 * NEWS: Add section for 2.30.
4050 * version.h (RELEASE): Set to "stable".
4051 (VERSION): Set to "2.29".
4052 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
4054 * NEWS: Add the list of bugs fixed in 2.29.
4055 * manual/contrib.texi: Update contributors list with some more
4057 * manual/install.texi: Update latest versions of packages
4059 * INSTALL: Regenerated.
4061 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4063 * po/be.po: Update translations.
4064 * po/bg.po: Likewise.
4065 * po/ca.po: Likewise.
4066 * po/cs.po: Likewise.
4067 * po/da.po: Likewise.
4068 * po/de.po: Likewise.
4069 * po/el.po: Likewise.
4070 * po/eo.po: Likewise.
4071 * po/es.po: Likewise.
4072 * po/fi.po: Likewise.
4073 * po/fr.po: Likewise.
4074 * po/gl.po: Likewise.
4075 * po/hr.po: Likewise.
4076 * po/hu.po: Likewise.
4077 * po/ia.po: Likewise.
4078 * po/id.po: Likewise.
4079 * po/it.po: Likewise.
4080 * po/ja.po: Likewise.
4081 * po/ko.po: Likewise.
4082 * po/lt.po: Likewise.
4083 * po/nb.po: Likewise.
4084 * po/nl.po: Likewise.
4085 * po/pl.po: Likewise.
4086 * po/pt_BR.po: Likewise.
4087 * po/ru.po: Likewise.
4088 * po/rw.po: Likewise.
4089 * po/sk.po: Likewise.
4090 * po/sl.po: Likewise.
4091 * po/sv.po: Likewise.
4092 * po/tr.po: Likewise.
4093 * po/uk.po: Likewise.
4094 * po/vi.po: Likewise.
4095 * po/zh_CN.po: Likewise.
4096 * po/zh_TW.po: Likewise.
4098 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
4101 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
4102 of $f3 register on $y_is_neg path.
4104 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
4107 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
4108 sigaltstack.ss_flags.
4110 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
4113 * manual/time.texi (strftime): Document "%Ey".
4114 * time/strftime_l.c (__strftime_internal): Set the default width
4115 padding with zero of "%Ey" to 2.
4118 * manual/time.texi (strftime): Document "%EC" and "%EY".
4119 * time/Makefile (tests): Add tst-strftime2.
4120 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
4121 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
4122 override padding for "%Ey".
4123 If an optional flag ('_' or '-') is specified to "%EY", interpret the
4124 "%Ey" in the subformat as if decorated with that flag.
4125 * time/tst-strftime2.c: New file.
4127 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4129 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
4133 * elf/Makefile (tests): Add tst-audit13.
4134 (modules-names): Add tst-audit13mod1.
4135 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4137 * elf/rtld.c (dl_main): Handle invalid audit module version.
4138 * elf/tst-audit13.c: New file.
4139 * elf/tst-audit13mod1.c: Likewise.
4141 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4143 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
4144 returned by __hurd_at_flags.
4145 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
4146 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
4147 directly instead of __hurd_file_name_lookup.
4149 2019-01-21 Joseph Myers <joseph@codesourcery.com>
4151 * scripts/build-many-glibcs.py (Context.checkout): Default
4152 binutils version to 2.32 branch.
4154 2019-01-21 Florian Weimer <fweimer@redhat.com>
4158 resolv: Reject trailing characters in host names
4159 * include/arpa/inet.h (__inet_aton_exact): Declare.
4160 (inet_aton): Remove hidden prototype. No longer used internally.
4161 * nscd/gai.c (__inet_aton): Do not define.
4162 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
4163 * nss/digits_dots.c (__inet_aton): Likewise.
4164 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
4165 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
4166 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
4167 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
4168 (tst-resolv-trailing): Likewise.
4169 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
4171 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
4172 Make static. Add endp parameter.
4173 (__inet_aton_exact): New function.
4174 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
4175 (__inet_addr): Call inet_aton_end.
4176 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
4177 not just IPv6. Call __inet_aton_exact.
4178 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
4179 (tests): Make const. Add additional test cases with trailing
4181 (do_test): Use array_length.
4182 * resolv/tst-inet_aton_exact.c: New file.
4183 * resolv/tst-resolv-trailing.c: Likewise.
4184 * resolv/tst-resolv-nondecimal.c: Likewise.
4185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
4187 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4191 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
4192 Clear the upper 32 bits of RSI register.
4193 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
4194 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
4195 and tst-size_t-wcsnlen.
4196 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
4197 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
4199 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4203 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
4204 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4205 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4206 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
4207 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
4209 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4213 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
4214 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4215 * sysdeps/x86_64/strcmp.S: Likewise.
4216 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
4217 tst-size_t-strncmp and tst-size_t-wcsncmp.
4218 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
4219 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
4220 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
4222 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4226 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
4227 RDX_LP for length. Clear the upper 32 bits of RDX register.
4228 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
4229 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
4230 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
4231 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
4233 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4237 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
4238 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
4239 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
4240 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
4242 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4246 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
4247 length. Clear the upper 32 bits of RDX register.
4248 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4249 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4251 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4253 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
4255 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
4257 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4261 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
4262 length. Clear the upper 32 bits of RDX register.
4263 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4264 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4265 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
4267 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
4268 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
4270 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4274 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
4275 upper 32 bits of RDX register.
4276 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
4277 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
4279 * sysdeps/x86_64/x32/test-size_t.h: New file.
4280 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
4281 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
4283 2019-01-18 Florian Weimer <fweimer@redhat.com>
4286 resolv: Do not send queries for non-host-names in nss_dns.
4287 * resolv/nss_dns/dns-host.c (check_name): New function.
4288 (_nss_dns_gethostbyname2_r): Use it.
4289 (_nss_dns_gethostbyname_r): Likewise.
4290 (_nss_dns_gethostbyname4_r): Likewise.
4292 2019-01-21 Florian Weimer <fweimer@redhat.com>
4294 * resolv/inet_addr.c: Reformat to GNU style.
4295 (__inet_addr, __inet_aton): Update comment.
4297 2019-01-18 Florian Weimer <fweimer@redhat.com>
4299 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
4300 ("malloc: Use current (C11-style) atomics for fastbin access").
4301 This commit introduces a substantial performance regression on
4303 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
4304 (REMOVE_FB): Define.
4305 (_int_malloc): Use it and reindent.
4306 (_int_free): Use CAS loop with
4307 catomic_compare_and_exchange_val_rel.
4308 (malloc_consolidate): Use atomic_exchange_acq.
4311 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
4313 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
4315 (LDFLAGS-tst-minsigstksz-2): Likewise.
4316 (LDFLAGS-tst-minsigstksz-3): Likewise.
4317 (LDFLAGS-tst-minsigstksz-3a): Likewise.
4318 (LDFLAGS-tst-minsigstksz-4): Likewise.
4320 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
4322 * manual/time.texi (strftime): Fix the wording to "alternative" rather
4325 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
4327 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
4329 2019-01-16 Zack Weinberg <zackw@panix.com>
4331 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
4332 (xget_sigstack_location): New test support functions.
4333 * support/xsigstack.c: New file, implementing them.
4334 * support/tst-xsigstack.c: New test for them.
4335 * support/Makefile: Update.
4337 * signal/tst-minsigstksz-1.c
4338 * signal/tst-minsigstksz-2.c
4339 * signal/tst-minsigstksz-3.c
4340 * signal/tst-minsigstksz-3a.c
4341 * signal/tst-minsigstksz-4.c: New tests.
4342 * signal/Makefile: Run them.
4344 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4346 * po/libc.pot: Regenerate.
4348 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4350 * math/libm-test-fma.inc (fma_test_data): Set
4351 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
4353 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4355 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
4356 (do_test): Changed __vector __int128_t to __vector unsigned int.
4358 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4361 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
4362 stpcpy-avx2 and stpncpy-avx2.
4363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
4364 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
4365 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
4367 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
4368 ifunc-strcpy.h}: rename header for a more generic name.
4369 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
4370 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
4371 AVX unaligned load is fast and vzeroupper is preferred.
4372 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
4373 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
4374 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
4375 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
4376 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
4377 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
4379 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
4381 * argp/argp-help.c: Fix typo in comment.
4382 * misc/sys/cdefs.h: Likewise.
4383 * posix/regexec.c (sift_states_iter_mb): Likewise.
4384 * socket/sockatmark.c: Likewise.
4385 * socket/sys/socket.h: Likewise.
4386 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4387 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4388 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4389 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4390 * sysdeps/unix/sockatmark.c: Likewise.
4391 * time/strptime_l.c: Likewise.
4393 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4395 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
4396 missing space after the cast of "_NL_CURRENT".
4398 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4400 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
4401 ifdef to fix read of VSCR.
4402 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4403 tst-ucontext-ppc64-vscr.c to test list.
4404 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4406 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4408 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4411 2019-01-09 Jim Wilson <jimw@sifive.com>
4413 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4415 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4417 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4418 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4419 __memcpy_falkor for ares.
4420 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4422 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4425 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4428 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4429 4_FP_W_TYPEs are used for IEEE quad precision.
4430 * soft-fp/extendhftf2.c: Likewise.
4431 * soft-fp/extendsftf2.c: Likewise.
4432 * soft-fp/extendxftf2.c: Likewise.
4433 * soft-fp/trunctfdf2.c: Likewise.
4434 * soft-fp/trunctfhf2.c: Likewise.
4435 * soft-fp/trunctfsf2.c: Likewise.
4436 * soft-fp/trunctfxf2.c: Likewise.
4437 * sysdeps/alpha/ots_cvttx.c: Likewise.
4438 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4439 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4440 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4441 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4442 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4443 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4444 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4445 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4446 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4447 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4448 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4449 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4450 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4451 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4452 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4453 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4454 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4456 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4459 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4460 code with -fmath-errno.
4461 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4462 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4463 * string/test-strerror-errno.c: New file.
4465 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4468 * localedata/locales/en_US (date_fmt): Add, set to
4469 "%a %d %b %Y %r %Z".
4471 2019-01-07 Florian Weimer <fweimer@redhat.com>
4474 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4475 instead of @var{errno}.
4476 (Parsing of Integers): Likewise.
4477 (Parsing of Floats): Likewise.
4478 * manual/filesys.texi (Working with Directory Trees): Likewise.
4479 (Temporary Files): Likewise.
4480 * manual/job.texi (Terminal Access Functions): Likewise.
4481 * manual/llio.texi (Synchronizing I/O): Likewise.
4482 * manual/math.texi (SVID Random): Likewise.
4483 * manual/message.texi (The catgets Functions): Likewise.
4484 (Translation with gettext): Likewise.
4485 (Locating gettext catalog): Likewise.
4486 (Charset conversion in gettext): Likewise.
4487 * manual/nss.texi (NSS Module Function Internals): Likewise.
4488 * manual/search.texi (Hash Search Function): Likewise.
4489 * manual/setjmp.texi (System V contexts): Likewise.
4490 * manual/time.texi (Sleeping): Likewise.
4491 * manual/users.texi (Lookup User): Likewise.
4492 (Lookup Group): Likewise.
4494 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4496 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4499 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
4502 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4503 __builtin_unreachable for default case in switch.
4504 (__ieee754_yn): Likewise.
4505 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4506 (__ieee754_ynl): Likewise.
4507 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4508 (__ieee754_ynl): Likewise.
4509 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4510 (__ieee754_ynl): Likewise.
4512 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4514 * manual/maint.texi: Use @{ and @}.
4516 2019-01-04 Florian Weimer <fweimer@redhat.com>
4518 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4520 (do_in_chroot_1): Call it.
4522 Improve error reporting in case it is not possible to create a
4523 collision for the PTY name required by the test.
4525 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4527 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4528 lll_wait_tid with timeout.
4529 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4530 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4531 futex_reltimed_wait_cancelable for cancelabla mode.
4532 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4533 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4535 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4536 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4537 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4538 SYSCALL_CANCEL_NCS): New macro.
4539 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4540 (lll_timedwait_tid): Remove macro.
4541 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4543 (lll_timedwait_tid): Likewise.
4544 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4546 (lll_timedwait_tid): Likewise.
4547 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4549 (lll_timedwait_tid): Likewise.
4550 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4551 Use INTERNAL_SYSCALL_CANCEL.
4552 * sysdeps/unix/sysv/linux/futex-internal.h
4553 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4554 instead of __pthread_{enable,disable}_asynccancel.
4555 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4556 (lll_futex_wait_cancel): New macro.
4558 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4559 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4561 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4562 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4564 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4565 in backtrace analysis.
4566 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4568 (tf_send): Likewise.
4570 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4571 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4572 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4573 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4574 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4575 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4576 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4577 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4578 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4579 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4580 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4581 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4583 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4584 tst-cancel-wrappers.sh.
4585 (generated): Remove tst-cancel-wrappers.out.
4586 (tst-cancel-wrappers.out): Remove rule.
4587 * nptl/tst-cancel-wrappers.sh: Remove file.
4589 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4591 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4592 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4595 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4598 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4599 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4600 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4601 close-on-exec reset for adddup2 file action.
4602 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4604 2019-01-03 Zack Weinberg <zackw@panix.com>
4606 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4607 parameter. Only use deprecated scanf when __USE_GNU is defined
4608 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4609 than 201103L, whichever is relevant for the language being compiled.
4611 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4612 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4613 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4614 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4615 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4619 * libio/iovswscanf.c
4624 * stdio-common/fscanf.c
4625 * stdio-common/scanf.c
4626 * stdio-common/vfscanf.c
4627 * stdio-common/vfwscanf.c
4628 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4629 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4630 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4631 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4632 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4633 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4634 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4635 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4636 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4637 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4638 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4639 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4640 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4641 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4642 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4644 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4645 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4646 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4648 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4649 with a preprocessor macro.
4651 * stdio-common/bug21.c, stdio-common/scanf14.c:
4652 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4653 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4654 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4655 to xscanf, xfscanf, xsscanf.
4657 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4658 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4659 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4660 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4662 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4663 override feature selection macros or provide definitions of u_char etc.
4664 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4665 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4666 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4669 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4672 bits/termios-misc.h.
4673 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4674 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4675 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4676 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4677 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4678 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4680 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4681 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4682 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4683 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4684 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4685 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4687 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4688 (sysdep_headers): Add termios-misc.h.
4690 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4691 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4692 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4694 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4696 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4697 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4698 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4699 TCSAFLUSH): Move to termios-tcflow.h.
4700 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4701 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4702 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4703 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4707 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4708 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4709 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4710 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4711 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4712 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4713 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4714 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4716 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4717 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4718 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4719 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4723 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4724 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4725 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4726 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4727 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4729 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4730 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4731 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4732 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4737 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4738 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4739 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4740 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4741 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4742 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4743 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4744 __MAX_BAUD): Move to termios-baud.h.
4745 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4746 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4747 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4748 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4749 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4751 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4753 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4754 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4755 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4756 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4757 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4758 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4760 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4761 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4763 [USE_MISC] (XTABS): Likewise.
4764 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4765 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4766 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4767 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4769 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4771 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4772 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4773 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4774 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4775 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4776 IUTF8): Move to termios-c_iflag.h.
4777 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4778 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4779 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4780 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4782 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4784 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4785 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4786 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4787 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4788 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4789 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4790 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4791 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4792 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4793 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4794 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4795 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4797 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4798 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4799 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4800 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4803 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4805 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4807 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4809 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4811 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4813 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4814 _HAVE_C_OSPEED): Define.
4815 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4816 _HAVE_C_OSPEED): Likewise.
4817 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4818 _HAVE_C_OSPEED): Likewise.
4819 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4820 (cfsetospeed): Check for define value instead of existence.
4821 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4822 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4823 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4824 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4825 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4828 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4830 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4831 (TIOCSER_TEMT): Likewise.
4832 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4833 (TEOCSER_TEMT): Likewise.
4835 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
4838 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4840 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4842 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4844 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4846 * sysdeps/htl/pt-barrierattr-setpshared.c
4847 (pthread_barrierattr_setpshared): Add stub warning.
4848 * sysdeps/htl/pt-condattr-setpshared.c
4849 (pthread_condattr_setpshared): Likewise.
4850 * sysdeps/htl/pt-mutexattr-setpshared.c
4851 (pthread_mutexattr_setpshared): Likewise.
4852 * sysdeps/htl/pt-rwlockattr-setpshared.c
4853 (pthread_rwlockattr_setpshared): Likewise.
4854 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4855 (pthread_mutexattr_setpshared): Likewise.
4857 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4859 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4860 constants to match with Linux 4.20.
4862 * sysdeps/mips/mips32/libm-test-ulps: Update.
4863 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4865 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4868 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4869 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4870 than __typeof (...) for the a_ptr variable.
4872 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4874 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4875 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4876 * libio/Makefile (tests): Add tst-sprintf-ub and
4878 (CFLAGS-tst-sprintf-ub.c): New variable.
4879 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4880 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4881 destination buffer and check for overflows in fortified mode.
4882 * libio/libioP.h (PRINTF_CHK): New macro.
4883 * libio/tst-sprintf-chk-ub.c: New file.
4884 * libio/tst-sprintf-ub.c: Likewise.
4886 2019-01-02 Florian Weimer <fweimer@redhat.com>
4889 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4892 2019-01-02 Florian Weimer <fweimer@redhat.com>
4894 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4896 2019-01-01 Joseph Myers <joseph@codesourcery.com>
4898 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4901 * sysdeps/unix/sysv/linux/netpacket/packet.h
4902 (PACKET_IGNORE_OUTGOING): New macro.
4904 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4907 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4909 (riscv_flush_icache): New syscall.
4911 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4912 trailing whitespace removed.
4913 * scripts/config.guess: Update to version 2019-01-01.
4914 * scripts/config.sub: Update to version 2019-01-01.
4915 * scripts/move-if-change: Update from gnulib.
4917 * NEWS: Update copyright dates.
4918 * catgets/gencat.c (print_version): Likewise.
4919 * csu/version.c (banner): Likewise.
4920 * debug/catchsegv.sh: Likewise.
4921 * debug/pcprofiledump.c (print_version): Likewise.
4922 * debug/xtrace.sh (do_version): Likewise.
4923 * elf/ldconfig.c (print_version): Likewise.
4924 * elf/ldd.bash.in: Likewise.
4925 * elf/pldd.c (print_version): Likewise.
4926 * elf/sotruss.sh: Likewise.
4927 * elf/sprof.c (print_version): Likewise.
4928 * iconv/iconv_prog.c (print_version): Likewise.
4929 * iconv/iconvconfig.c (print_version): Likewise.
4930 * locale/programs/locale.c (print_version): Likewise.
4931 * locale/programs/localedef.c (print_version): Likewise.
4932 * login/programs/pt_chown.c (print_version): Likewise.
4933 * malloc/memusage.sh (do_version): Likewise.
4934 * malloc/memusagestat.c (print_version): Likewise.
4935 * malloc/mtrace.pl: Likewise.
4936 * manual/libc.texinfo: Likewise.
4937 * nptl/version.c (banner): Likewise.
4938 * nscd/nscd.c (print_version): Likewise.
4939 * nss/getent.c (print_version): Likewise.
4940 * nss/makedb.c (print_version): Likewise.
4941 * posix/getconf.c (main): Likewise.
4942 * scripts/test-installation.pl: Likewise.
4943 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4945 * All files with FSF copyright notices: Update copyright dates
4946 using scripts/update-copyrights.
4947 * locale/programs/charmap-kw.h: Regenerated.
4948 * locale/programs/locfile-kw.h: Likewise.
4950 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4952 * timezone/zdump.c: Update from tzcode 2018i.
4953 * timezone/zic.c: Likewise.
4955 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4957 regex: improve Gnulib port to AIX
4958 From the glibc point of view, this removes duplicate macro
4959 definitions and is obviously safe.
4960 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4961 * posix/regex_internal.h:
4962 (__attribute__, __attribute_warn_unused_result__):
4963 Remove; already defined elsewhere.
4965 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
4968 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4969 copying operation. (ncopies had the wrong type, resulting in an
4970 integer wraparound and too few elements being copied.)
4972 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4975 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4976 <asm/syscalls.h> exists with __has_include__ before including it.
4978 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4980 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4983 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
4985 * hurd/lookup-retry: Include <unistd.h>.
4986 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4987 Release it on return. Handle "pid" magical lookup retry.
4989 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4992 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4993 (t_fmt_ampm): Likewise.
4994 * localedata/locales/aa_ER (t_fmt): Likewise.
4995 (t_fmt_ampm): Likewise.
4996 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4997 (t_fmt_ampm): Likewise.
4998 * localedata/locales/aa_ET (t_fmt): Likewise.
4999 (t_fmt_ampm): Likewise.
5000 * localedata/locales/am_ET (t_fmt): Likewise.
5001 (t_fmt_ampm): Likewise.
5002 * localedata/locales/byn_ER (t_fmt): Likewise.
5003 (t_fmt_ampm): Likewise.
5004 * localedata/locales/om_ET (t_fmt): Likewise.
5005 (t_fmt_ampm): Likewise.
5006 * localedata/locales/sid_ET (t_fmt): Likewise.
5007 (t_fmt_ampm): Likewise.
5008 * localedata/locales/so_DJ (t_fmt): Likewise.
5009 (t_fmt_ampm): Likewise.
5010 * localedata/locales/so_ET (t_fmt): Likewise.
5011 (t_fmt_ampm): Likewise.
5012 * localedata/locales/so_SO (t_fmt): Likewise.
5013 (t_fmt_ampm): Likewise.
5014 * localedata/locales/ti_ER (t_fmt): Likewise.
5015 (t_fmt_ampm): Likewise.
5016 * localedata/locales/ti_ET (t_fmt): Likewise.
5017 (t_fmt_ampm): Likewise.
5018 * localedata/locales/tig_ER (t_fmt): Likewise.
5019 (t_fmt_ampm): Likewise.
5020 * localedata/locales/wal_ET (t_fmt): Likewise.
5021 (t_fmt_ampm): Likewise.
5023 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
5024 * localedata/locales/ar_IN (t_fmt): Likewise.
5025 * localedata/locales/bhb_IN (t_fmt): Likewise.
5026 * localedata/locales/bho_IN (t_fmt): Likewise.
5027 * localedata/locales/bi_VU (t_fmt): Likewise.
5028 * localedata/locales/bn_BD (t_fmt): Likewise.
5029 * localedata/locales/bn_IN (t_fmt): Likewise.
5030 * localedata/locales/brx_IN (t_fmt): Likewise.
5031 * localedata/locales/doi_IN (t_fmt): Likewise.
5032 * localedata/locales/en_HK (t_fmt): Likewise.
5033 (t_fmt_ampm): Likewise.
5034 * localedata/locales/en_IN (t_fmt): Likewise.
5035 * localedata/locales/en_PH (t_fmt): Likewise.
5036 * localedata/locales/gu_IN (t_fmt): Likewise.
5037 * localedata/locales/hi_IN (t_fmt): Likewise.
5038 * localedata/locales/hif_FJ (t_fmt): Likewise.
5039 * localedata/locales/hne_IN (t_fmt): Likewise.
5040 * localedata/locales/kn_IN (t_fmt): Likewise.
5041 * localedata/locales/kok_IN (t_fmt): Likewise.
5042 * localedata/locales/ks_IN (t_fmt): Likewise.
5043 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
5044 * localedata/locales/mag_IN (t_fmt): Likewise.
5045 * localedata/locales/mai_IN (t_fmt): Likewise.
5046 * localedata/locales/mjw_IN (t_fmt): Likewise.
5047 * localedata/locales/ml_IN (t_fmt): Likewise.
5048 * localedata/locales/mni_IN (t_fmt): Likewise.
5049 * localedata/locales/mr_IN (t_fmt): Likewise.
5050 * localedata/locales/ms_MY (t_fmt): Likewise.
5051 * localedata/locales/pa_IN (t_fmt): Likewise.
5052 * localedata/locales/raj_IN (t_fmt): Likewise.
5053 * localedata/locales/sa_IN (t_fmt): Likewise.
5054 * localedata/locales/sat_IN (t_fmt): Likewise.
5055 * localedata/locales/sd_IN (t_fmt): Likewise.
5056 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
5057 * localedata/locales/tcy_IN (t_fmt): Likewise.
5058 * localedata/locales/the_NP (t_fmt): Likewise.
5059 * localedata/locales/to_TO (t_fmt): Likewise.
5060 * localedata/locales/ur_IN (t_fmt): Likewise.
5062 * localedata/locales/hif_FJ (d_t_fmt): Set to
5063 "%A %d %b %Y %I:%M:%S %p".
5064 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
5066 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
5067 * localedata/locales/ar_BH (t_fmt): Likewise.
5068 * localedata/locales/ar_DZ (t_fmt): Likewise.
5069 * localedata/locales/ar_EG (t_fmt): Likewise.
5070 * localedata/locales/ar_IQ (t_fmt): Likewise.
5071 * localedata/locales/ar_JO (t_fmt): Likewise.
5072 * localedata/locales/ar_KW (t_fmt): Likewise.
5073 * localedata/locales/ar_LB (t_fmt): Likewise.
5074 * localedata/locales/ar_LY (t_fmt): Likewise.
5075 * localedata/locales/ar_OM (t_fmt): Likewise.
5076 * localedata/locales/ar_QA (t_fmt): Likewise.
5077 * localedata/locales/ar_SD (t_fmt): Likewise.
5078 * localedata/locales/ar_SS (t_fmt): Likewise.
5079 * localedata/locales/ar_SY (t_fmt): Likewise.
5080 * localedata/locales/ar_TN (t_fmt): Likewise.
5081 * localedata/locales/ar_YE (t_fmt): Likewise.
5083 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
5084 (t_fmt_ampm): Likewise.
5085 * localedata/locales/gez_ET (t_fmt): Likewise.
5086 (t_fmt_ampm): Likewise.
5088 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
5089 (t_fmt_ampm): Likewise.
5090 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
5092 * localedata/locales/zh_HK (t_fmt):
5093 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
5095 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
5096 because this locale does not use the 12-hour clock.
5097 (t_fmt): Set to "%Z %H:%M:%S".
5098 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
5100 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
5101 because this locale does not use the 12-hour clock.
5102 (t_fmt): Set to "%H:%M:%S %Z".
5103 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
5105 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
5106 because this locale does not use the 12-hour clock.
5107 (t_fmt): Set to "%T".
5108 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
5109 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
5111 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
5112 because this locale does not use the 12-hour clock.
5113 (t_fmt): Set to "%H:%M:%S %Z".
5114 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
5116 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
5117 because this locale does not use the 12-hour clock.
5118 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
5119 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
5121 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5125 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
5126 (t_fmt_ampm): Likewise.
5127 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
5128 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
5129 (d_fmt): Set to "%-d.%-m.%y".
5131 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5133 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
5134 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
5135 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
5137 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5138 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
5139 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
5141 * support/blob_repeat.c (check_mul_overflow_size_t,
5142 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
5144 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
5146 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
5148 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
5150 regex: simplify Gnulib port
5151 This simplifies the code, by removing stuff intended for porting
5152 to Gnulib but no longer needed there.
5153 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
5154 uses of libc_hidden_def, weak_alias.
5155 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
5156 _Restrict_ except for public-facing headers.
5157 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
5158 Remove; already defined elsewhere.
5159 * posix/regex.c, posix/regex_internal.h:
5160 Use __GNUC_PREREQ instead of rolling our own.
5161 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
5163 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
5165 * benchtests/bench-strlen.c (generic_strlen): New function.
5166 (memchr_strlen): New function.
5168 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5170 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
5171 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
5172 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
5174 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5176 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5178 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5180 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
5181 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
5182 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
5183 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
5184 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
5185 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
5186 <sysdeps/ieee754/flt-32/s_sincosf.c>.
5188 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5191 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
5192 PLT reference in libc.so.
5193 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
5194 _Q_lltoq and _Q_qtod PLT references in libc.so.
5196 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
5198 * benchtests/bench-memchr.c: Cleanup defines.
5199 * benchtests/bench-memcmp.c: Likewise.
5200 * benchtests/bench-memset.c: Likewise.
5201 * benchtests/bench-memset-large.c: Likewise.
5202 * benchtests/bench-memset-walk.c: Likewise.
5203 * benchtests/bench-stpcpy.c: Likewise.
5204 * benchtests/bench-stpncpy.c: Likewise.
5205 * benchtests/bench-strcat.c: Likewise.
5206 * benchtests/bench-strchr.c: Likewise.
5207 * benchtests/bench-strcmp.c: Likewise.
5208 * benchtests/bench-strcpy.c: Likewise.
5209 * benchtests/bench-strcspn.c: Likewise.
5210 * benchtests/bench-string.h: Likewise.
5211 * benchtests/bench-strlen.c: Likewise.
5212 * benchtests/bench-strncat.c: Likewise.
5213 * benchtests/bench-strncmp.c: Likewise.
5214 * benchtests/bench-strncpy.c: Likewise.
5215 * benchtests/bench-strnlen.c: Likewise.
5216 * benchtests/bench-strpbrk.c: Likewise.
5217 * benchtests/bench-strrchr.c: Likewise.
5218 * benchtests/bench-strspn.c: Likewise.
5220 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5222 * stdlib/longlong.h: Update from GCC.
5225 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
5226 * configure: Regenerated.
5227 * manual/install.texi (Tools for Compilation): Update minimum GCC
5229 * INSTALL: Regenerated.
5231 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
5233 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
5235 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
5237 * malloc/malloc.c (mremap_chunk): Additional checks.
5239 2018-12-21 Mao Han <han_mao@c-sky.com>
5241 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
5242 * scripts/build-many-glibcs.py: Add C-SKY targets.
5243 * sysdeps/csky/Implies: New file.
5244 * sysdeps/csky/Makefile: Likewise.
5245 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
5246 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
5247 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
5248 * sysdeps/csky/abiv2/memcmp.S: Likewise.
5249 * sysdeps/csky/abiv2/memcpy.S: Likewise.
5250 * sysdeps/csky/abiv2/memmove.S: Likewise.
5251 * sysdeps/csky/abiv2/memset.S: Likewise.
5252 * sysdeps/csky/abiv2/setjmp.S: Likewise.
5253 * sysdeps/csky/abiv2/start.S: Likewise.
5254 * sysdeps/csky/abiv2/strcmp.S: Likewise.
5255 * sysdeps/csky/abiv2/strcpy.S: Likewise.
5256 * sysdeps/csky/abiv2/strlen.S: Likewise.
5257 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
5258 * sysdeps/csky/abort-instr.h: Likewise.
5259 * sysdeps/csky/atomic-machine.h: Likewise.
5260 * sysdeps/csky/bits/endian.h: Likewise.
5261 * sysdeps/csky/bits/fenv.h: Likewise.
5262 * sysdeps/csky/bits/link.h: Likewise.
5263 * sysdeps/csky/bits/setjmp.h: Likewise.
5264 * sysdeps/csky/bsd-_setjmp.S: Likewise.
5265 * sysdeps/csky/bsd-setjmp.S: Likewise.
5266 * sysdeps/csky/configure: Likewise.
5267 * sysdeps/csky/configure.ac: Likewise.
5268 * sysdeps/csky/dl-machine.h: Likewise.
5269 * sysdeps/csky/dl-procinfo.c: Likewise.
5270 * sysdeps/csky/dl-procinfo.h: Likewise.
5271 * sysdeps/csky/dl-sysdep.h: Likewise.
5272 * sysdeps/csky/dl-tls.h: Likewise.
5273 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
5274 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
5275 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
5276 * sysdeps/csky/fpu/fegetenv.c: Likewise.
5277 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
5278 * sysdeps/csky/fpu/fegetmode.c: Likewise.
5279 * sysdeps/csky/fpu/fegetround.c: Likewise.
5280 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
5281 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
5282 * sysdeps/csky/fpu/fenv_private.h: Likewise.
5283 * sysdeps/csky/fpu/fesetenv.c: Likewise.
5284 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
5285 * sysdeps/csky/fpu/fesetmode.c: Likewise.
5286 * sysdeps/csky/fpu/fesetround.c: Likewise.
5287 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
5288 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
5289 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
5290 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
5291 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
5292 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
5293 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
5294 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
5295 * sysdeps/csky/fpu_control.h: Likewise.
5296 * sysdeps/csky/gccframe.h: Likewise.
5297 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
5298 * sysdeps/csky/ldsodefs.h: Likewise.
5299 * sysdeps/csky/libc-tls.c: Likewise.
5300 * sysdeps/csky/linkmap.h: Likewise.
5301 * sysdeps/csky/machine-gmon.h: Likewise.
5302 * sysdeps/csky/memusage.h: Likewise.
5303 * sysdeps/csky/nofpu/Implies: Likewise.
5304 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
5305 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
5306 * sysdeps/csky/nptl/Makefile: Likewise.
5307 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
5308 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
5309 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
5310 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
5311 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
5312 * sysdeps/csky/nptl/tls.h: Likewise.
5313 * sysdeps/csky/preconfigure: Likewise.
5314 * sysdeps/csky/sfp-machine.h: Likewise.
5315 * sysdeps/csky/sotruss-lib.c: Likewise.
5316 * sysdeps/csky/stackinfo.h: Likewise.
5317 * sysdeps/csky/sysdep.h: Likewise.
5318 * sysdeps/csky/tininess.h: Likewise.
5319 * sysdeps/csky/tst-audit.h: Likewise.
5320 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
5321 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
5322 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
5323 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
5324 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5325 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
5326 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5327 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
5328 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
5329 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
5330 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
5331 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
5332 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
5333 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
5334 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
5335 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
5336 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
5337 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
5338 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
5339 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
5340 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
5341 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
5342 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
5343 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
5344 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
5345 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
5346 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
5347 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
5348 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
5349 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
5350 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
5351 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
5352 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
5353 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
5354 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
5355 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
5356 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
5357 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
5358 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
5359 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
5360 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
5361 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
5362 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
5363 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
5365 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5367 * include/time.h (__difftime64): Add.
5368 * time/difftime.c (subtract): convert to 64-bit time.
5369 * time/difftime.c (__difftime64): Add.
5370 * time/difftime.c (__difftime): Wrap around __difftime64.
5372 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
5374 * manual/examples/add.c: Remove redundant "if not".
5375 * manual/examples/argp-ex1.c: Likewise.
5376 * manual/examples/argp-ex2.c: Likewise.
5377 * manual/examples/argp-ex3.c: Likewise.
5378 * manual/examples/argp-ex4.c: Likewise.
5379 * manual/examples/atexit.c: Likewise.
5380 * manual/examples/db.c: Likewise.
5381 * manual/examples/dir.c: Likewise.
5382 * manual/examples/dir2.c: Likewise.
5383 * manual/examples/execinfo.c: Likewise.
5384 * manual/examples/filecli.c: Likewise.
5385 * manual/examples/filesrv.c: Likewise.
5386 * manual/examples/fmtmsgexpl.c: Likewise.
5387 * manual/examples/genpass.c: Likewise.
5388 * manual/examples/inetcli.c: Likewise.
5389 * manual/examples/inetsrv.c: Likewise.
5390 * manual/examples/isockad.c: Likewise.
5391 * manual/examples/longopt.c: Likewise.
5392 * manual/examples/memopen.c: Likewise.
5393 * manual/examples/memstrm.c: Likewise.
5394 * manual/examples/mkdirent.c: Likewise.
5395 * manual/examples/mkfsock.c: Likewise.
5396 * manual/examples/mkisock.c: Likewise.
5397 * manual/examples/mygetpass.c: Likewise.
5398 * manual/examples/pipe.c: Likewise.
5399 * manual/examples/popen.c: Likewise.
5400 * manual/examples/rprintf.c: Likewise.
5401 * manual/examples/search.c: Likewise.
5402 * manual/examples/select.c: Likewise.
5403 * manual/examples/setjmp.c: Likewise.
5404 * manual/examples/sigh1.c: Likewise.
5405 * manual/examples/sigusr.c: Likewise.
5406 * manual/examples/stpcpy.c: Likewise.
5407 * manual/examples/strdupa.c: Likewise.
5408 * manual/examples/strftim.c: Likewise.
5409 * manual/examples/subopt.c: Likewise.
5410 * manual/examples/swapcontext.c: Likewise.
5411 * manual/examples/termios.c: Likewise.
5412 * manual/examples/testopt.c: Likewise.
5413 * manual/examples/testpass.c: Likewise.
5414 * manual/examples/timeval_subtract.c: Likewise.
5416 2018-12-19 Joseph Myers <joseph@codesourcery.com>
5418 * sysdeps/x86/fpu/math_private.h: New file.
5419 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5421 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5426 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5428 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5429 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5430 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5431 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5433 (_dl_show_auxv): Give a special treatment to
5434 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5435 and AT_L3_CACHEGEOMETRY.
5436 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5437 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5438 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5439 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5441 2018-12-19 Andreas Schwab <schwab@suse.de>
5443 * nscd/connections.c (check_use): Don't abort on invalid len.
5445 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5447 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5448 values in the 64bit value cases.
5450 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5456 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5462 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5465 (__gmtime64_r): Add.
5467 (__gmtime64_r): Add.
5468 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5474 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5477 (__localtime64_r): Add.
5479 (__localtime64_r): Add.
5480 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5482 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5484 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5485 kernel_sigction definition.
5487 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5489 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5491 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5492 __syscall_rt_sigaction.
5493 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5494 (kernel_sigaction): Use Linux generic defintion.
5496 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5497 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5498 (__syscall_rt_sigaction): Remove implementation.
5499 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5501 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5502 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5503 INTERNAL_SYSCALL): Remove definitions.
5504 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5505 action and signal set size.
5506 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5507 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5509 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5510 James Clarke <jrtc27@jrtc27.com>
5513 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5514 Define if SA_RESTORER is defined.
5515 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5516 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5518 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5519 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5521 (HAS_SA_RESTORER): Define.
5522 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5523 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5524 (HAS_SA_RESTORER): Define.
5525 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5526 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5527 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5528 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5529 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5531 2018-12-18 Joseph Myers <joseph@codesourcery.com>
5533 * sysdeps/unix/sysv/linux/kernel-features.h
5534 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5535 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5536 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5537 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5538 (__ASSUME_ST_INO_64_BIT): Likewise.
5539 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5540 <kernel-features.h>.
5541 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5542 Remove conditional code.
5543 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5544 <kernel-features.h>.
5545 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5546 Remove conditional code.
5547 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5548 <kernel-features.h>.
5549 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5550 Remove conditional code.
5551 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5552 <kernel-features.h>.
5553 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5554 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5556 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5558 * sysdeps/s390/multiarch/ifunc-resolve.h
5559 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5560 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5561 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5562 Delete macro definition.
5563 (s390_libc_ifunc_init): Rename to
5564 s390_libc_ifunc_expr_stfle_init.
5565 * sysdeps/s390/bzero: Use
5566 s390_libc_ifunc_expr_stfle_init instead of
5567 s390_libc_ifunc_init.
5568 * sysdeps/s390/memcmp.c: Likewise.
5569 * sysdeps/s390/memcpy.c: Likewise.
5570 * sysdeps/s390/mempcpy.c: Likewise.
5571 * sysdeps/s390/memset.c: Likewise.
5573 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5575 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5576 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5578 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5580 * sysdeps/s390/multiarch/Makefile
5581 (sysdep_routines): Remove wmemcmp variants.
5582 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5583 * sysdeps/s390/multiarch/ifunc-impl-list.c
5584 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5585 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5586 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5587 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5588 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5589 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5590 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5591 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5593 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5595 * sysdeps/s390/multiarch/Makefile
5596 (sysdep_routines): Remove wmemset variants.
5597 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5598 * sysdeps/s390/multiarch/ifunc-impl-list.c
5599 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5600 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5601 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5602 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5603 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5604 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5605 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5606 * sysdeps/s390/ifunc-wmemset.h: New file.
5608 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5610 * sysdeps/s390/multiarch/Makefile
5611 (sysdep_routines): Remove wmemchr variants.
5612 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5613 * sysdeps/s390/multiarch/ifunc-impl-list.c
5614 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5615 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5616 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5617 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5618 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5619 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5620 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5621 * sysdeps/s390/ifunc-wmemchr.h: New file.
5623 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5625 * sysdeps/s390/multiarch/Makefile
5626 (sysdep_routines): Remove wcscspn variants.
5627 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5628 * sysdeps/s390/multiarch/ifunc-impl-list.c
5629 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5630 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5631 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5632 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5633 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5634 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5635 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5636 * sysdeps/s390/ifunc-wcscspn.h: New file.
5638 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5640 * sysdeps/s390/multiarch/Makefile
5641 (sysdep_routines): Remove wcspbrk variants.
5642 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5643 * sysdeps/s390/multiarch/ifunc-impl-list.c
5644 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5645 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5646 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5647 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5648 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5649 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5650 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5651 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5653 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5655 * sysdeps/s390/multiarch/Makefile
5656 (sysdep_routines): Remove wcsspn variants.
5657 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5658 * sysdeps/s390/multiarch/ifunc-impl-list.c
5659 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5660 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5661 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5662 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5663 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5664 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5665 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5666 * sysdeps/s390/ifunc-wcsspn.h: New file.
5668 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5670 * sysdeps/s390/multiarch/Makefile
5671 (sysdep_routines): Remove wcsrchr variants.
5672 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5673 * sysdeps/s390/multiarch/ifunc-impl-list.c
5674 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5675 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5676 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5677 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5678 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5679 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5680 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5681 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5683 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5685 * sysdeps/s390/multiarch/Makefile
5686 (sysdep_routines): Remove wcschrnul variants.
5687 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5688 * sysdeps/s390/multiarch/ifunc-impl-list.c
5689 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5690 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5691 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5692 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5693 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5694 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5695 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5696 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5698 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5700 * sysdeps/s390/multiarch/Makefile
5701 (sysdep_routines): Remove wcschr variants.
5702 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5703 * sysdeps/s390/multiarch/ifunc-impl-list.c
5704 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5705 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5706 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5707 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5708 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5709 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5710 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5711 * sysdeps/s390/ifunc-wcschr.h: New file.
5713 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5715 * sysdeps/s390/multiarch/Makefile
5716 (sysdep_routines): Remove wcsncmp variants.
5717 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5718 * sysdeps/s390/multiarch/ifunc-impl-list.c
5719 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5720 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5721 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5722 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5723 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5724 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5725 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5726 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5728 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5730 * sysdeps/s390/multiarch/Makefile
5731 (sysdep_routines): Remove wcscmp variants.
5732 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5733 * sysdeps/s390/multiarch/ifunc-impl-list.c
5734 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5735 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5736 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5737 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5738 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5739 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5740 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5741 * sysdeps/s390/ifunc-wcscmp.h: New file.
5743 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5745 * sysdeps/s390/multiarch/Makefile
5746 (sysdep_routines): Remove wcsncat variants.
5747 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5748 * sysdeps/s390/multiarch/ifunc-impl-list.c
5749 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5750 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5751 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5752 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5753 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5754 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5755 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5756 * sysdeps/s390/ifunc-wcsncat.h: New file.
5758 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5760 * sysdeps/s390/multiarch/Makefile
5761 (sysdep_routines): Remove wcscat variants.
5762 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5763 * sysdeps/s390/multiarch/ifunc-impl-list.c
5764 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5765 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5766 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5767 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5768 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5769 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5770 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5771 * sysdeps/s390/ifunc-wcscat.h: New file.
5773 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5775 * sysdeps/s390/multiarch/Makefile
5776 (sysdep_routines): Remove wcpncpy variants.
5777 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5778 * sysdeps/s390/multiarch/ifunc-impl-list.c
5779 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5780 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5781 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5782 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5783 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5784 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5785 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5786 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5788 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5790 * sysdeps/s390/multiarch/Makefile
5791 (sysdep_routines): Remove wcsncpy variants.
5792 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5793 * sysdeps/s390/multiarch/ifunc-impl-list.c
5794 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5795 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5796 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5797 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5798 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5799 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5800 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5801 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5803 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5805 * sysdeps/s390/multiarch/Makefile
5806 (sysdep_routines): Remove wcpcpy variants.
5807 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5808 * sysdeps/s390/multiarch/ifunc-impl-list.c
5809 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5810 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5811 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5812 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5813 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5814 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5815 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5816 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5818 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5820 * sysdeps/s390/multiarch/Makefile
5821 (sysdep_routines): Remove wcscpy variants.
5822 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5823 * sysdeps/s390/multiarch/ifunc-impl-list.c
5824 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5825 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5826 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5827 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5828 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5829 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5830 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5831 * sysdeps/s390/ifunc-wcscpy.h: New file.
5833 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5835 * sysdeps/s390/multiarch/Makefile
5836 (sysdep_routines): Remove wcsnlen variants.
5837 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5838 * sysdeps/s390/multiarch/ifunc-impl-list.c
5839 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5840 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5841 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5842 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5843 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5844 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5845 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5846 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5848 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5850 * sysdeps/s390/multiarch/Makefile
5851 (sysdep_routines): Remove wcslen variants.
5852 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5853 * sysdeps/s390/multiarch/ifunc-impl-list.c
5854 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5855 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5856 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5857 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5858 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5859 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5860 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5861 * sysdeps/s390/ifunc-wcslen.h: New file.
5863 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5865 * sysdeps/s390/multiarch/Makefile
5866 (sysdep_routines): Remove memrchr variants.
5867 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5868 * sysdeps/s390/multiarch/ifunc-impl-list.c
5869 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5870 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5871 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5872 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5873 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5874 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5875 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5876 * sysdeps/s390/ifunc-memrchr.h: New file.
5878 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5880 * sysdeps/s390/multiarch/Makefile
5881 (sysdep_routines): Remove memccpy variants.
5882 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5883 * sysdeps/s390/multiarch/ifunc-impl-list.c
5884 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5885 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5886 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5887 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5888 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5889 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5890 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5891 * sysdeps/s390/ifunc-memccpy.h: New file.
5893 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5895 * sysdeps/s390/multiarch/Makefile
5896 (sysdep_routines): Remove rawmemchr variants.
5897 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5898 * sysdeps/s390/multiarch/ifunc-impl-list.c
5899 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5900 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5901 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5902 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5903 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5904 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5905 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5906 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5908 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5910 * sysdeps/s390/multiarch/Makefile
5911 (sysdep_routines): Remove memchr variants.
5912 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5913 * sysdeps/s390/multiarch/ifunc-impl-list.c
5914 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5915 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5916 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5917 * sysdeps/s390/multiarch/memchr.c: Move to ...
5918 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5919 * sysdeps/s390/ifunc-memchr.h: New file.
5920 * sysdeps/s390/s390-64/memchr.S: Move to ...
5921 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5922 for 31/64bit and ifunc handling.
5923 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5924 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5925 * sysdeps/s390/s390-32/memchr.S: Likewise.
5927 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5929 * sysdeps/s390/multiarch/Makefile
5930 (sysdep_routines): Remove strcspn variants.
5931 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5932 * sysdeps/s390/multiarch/ifunc-impl-list.c
5933 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5934 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5935 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5936 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5937 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5938 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5939 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5940 * sysdeps/s390/ifunc-strcspn.h: New file.
5942 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5944 * sysdeps/s390/multiarch/Makefile
5945 (sysdep_routines): Remove strpbrk variants.
5946 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5947 * sysdeps/s390/multiarch/ifunc-impl-list.c
5948 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5949 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5950 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5951 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5952 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5953 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5954 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5955 * sysdeps/s390/ifunc-strpbrk.h: New file.
5957 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5959 * sysdeps/s390/multiarch/Makefile
5960 (sysdep_routines): Remove strspn variants.
5961 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5962 * sysdeps/s390/multiarch/ifunc-impl-list.c
5963 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5964 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5965 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5966 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5967 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5968 * sysdeps/s390/multiarch/strspn.c: Move to ...
5969 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5970 * sysdeps/s390/ifunc-strspn.h: New file.
5972 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5974 * sysdeps/s390/multiarch/Makefile
5975 (sysdep_routines): Remove strrchr variants.
5976 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5977 * sysdeps/s390/multiarch/ifunc-impl-list.c
5978 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5979 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5980 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5981 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5982 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5983 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5984 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5985 * sysdeps/s390/ifunc-strrchr.h: New file.
5987 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5989 * sysdeps/s390/multiarch/Makefile
5990 (sysdep_routines): Remove strchrnul variants.
5991 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5992 * sysdeps/s390/multiarch/ifunc-impl-list.c
5993 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5994 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5995 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5996 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5997 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5998 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5999 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
6000 * sysdeps/s390/ifunc-strchrnul.h: New file.
6002 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6004 * sysdeps/s390/multiarch/Makefile
6005 (sysdep_routines): Remove strchr variants.
6006 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
6007 * sysdeps/s390/multiarch/ifunc-impl-list.c
6008 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
6009 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
6010 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
6011 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
6012 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
6013 * sysdeps/s390/multiarch/strchr.c: Move to ...
6014 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
6015 * sysdeps/s390/ifunc-strchr.h: New file.
6017 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6019 * sysdeps/s390/multiarch/Makefile
6020 (sysdep_routines): Remove strncmp variants.
6021 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
6022 * sysdeps/s390/multiarch/ifunc-impl-list.c
6023 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
6024 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
6025 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
6026 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
6027 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
6028 * sysdeps/s390/multiarch/strncmp.c: Move to ...
6029 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
6030 * sysdeps/s390/ifunc-strncmp.h: New file.
6032 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6034 * sysdeps/s390/multiarch/Makefile
6035 (sysdep_routines): Remove strcmp variants.
6036 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
6037 * sysdeps/s390/multiarch/ifunc-impl-list.c
6038 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
6039 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
6040 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
6041 * sysdeps/s390/multiarch/strcmp.c: Move to ...
6042 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
6043 * sysdeps/s390/ifunc-strcmp.h: New file.
6044 * sysdeps/s390/s390-64/strcmp.S: Move to ...
6045 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
6046 for 31/64bit and ifunc handling.
6047 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
6048 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6049 * sysdeps/s390/s390-32/strcmp.S: Likewise.
6051 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6053 * sysdeps/s390/multiarch/Makefile
6054 (sysdep_routines): Remove strncat variants.
6055 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
6056 * sysdeps/s390/multiarch/ifunc-impl-list.c
6057 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
6058 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
6059 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
6060 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
6061 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
6062 * sysdeps/s390/multiarch/strncat.c: Move to ...
6063 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
6064 * sysdeps/s390/ifunc-strncat.h: New file.
6066 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6068 * sysdeps/s390/multiarch/Makefile
6069 (sysdep_routines): Remove strcat variants.
6070 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
6071 * sysdeps/s390/multiarch/ifunc-impl-list.c
6072 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
6073 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
6074 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
6075 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
6076 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
6077 * sysdeps/s390/multiarch/strcat.c: Move to ...
6078 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
6079 * sysdeps/s390/ifunc-strcat.h: New file.
6081 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6083 * sysdeps/s390/multiarch/Makefile
6084 (sysdep_routines): Remove stpncpy variants.
6085 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
6086 * sysdeps/s390/multiarch/ifunc-impl-list.c
6087 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
6088 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
6089 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
6090 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
6091 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
6092 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
6093 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
6094 * sysdeps/s390/ifunc-stpncpy.h: New file.
6096 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6098 * sysdeps/s390/multiarch/Makefile
6099 (sysdep_routines): Remove strncpy variants.
6100 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
6101 * sysdeps/s390/multiarch/ifunc-impl-list.c
6102 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
6103 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
6104 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
6105 * sysdeps/s390/multiarch/strncpy.c: Move to ...
6106 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
6107 * sysdeps/s390/ifunc-strncpy.h: New file.
6108 * sysdeps/s390/s390-64/strncpy.S: Move to ...
6109 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
6110 and adjust ifunc handling.
6111 * sysdeps/s390/s390-32/strncpy.S: Move to ...
6112 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
6113 and adjust ifunc handling.
6114 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
6115 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6117 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6119 * sysdeps/s390/multiarch/Makefile
6120 (sysdep_routines): Remove stpcpy variants.
6121 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
6122 * sysdeps/s390/multiarch/ifunc-impl-list.c
6123 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
6124 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
6125 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
6126 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
6127 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
6128 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
6129 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
6130 * sysdeps/s390/ifunc-stpcpy.h: New file.
6132 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6134 * sysdeps/s390/multiarch/Makefile
6135 (sysdep_routines): Remove strcpy variants.
6136 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
6137 * sysdeps/s390/multiarch/ifunc-impl-list.c
6138 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
6139 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
6140 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
6141 * sysdeps/s390/multiarch/strcpy.c: Move to ...
6142 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
6143 * sysdeps/s390/ifunc-strcpy.h: New file.
6144 * sysdeps/s390/s390-64/strcpy.S: Move to ...
6145 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
6146 for 31/64bit and ifunc handling.
6147 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
6148 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6149 * sysdeps/s390/s390-32/strcpy.S: Likewise.
6151 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6153 * sysdeps/s390/multiarch/Makefile
6154 (sysdep_routines): Remove strnlen variants.
6155 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
6156 * sysdeps/s390/multiarch/ifunc-impl-list.c
6157 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
6158 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
6159 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
6160 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
6161 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
6162 * sysdeps/s390/multiarch/strnlen.c: Move to ...
6163 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
6164 * sysdeps/s390/ifunc-strnlen.h: New file.
6166 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6168 * sysdeps/s390/multiarch/Makefile
6169 (sysdep_routines): Remove strlen variants.
6170 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
6171 * sysdeps/s390/multiarch/ifunc-impl-list.c
6172 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
6173 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
6174 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
6175 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
6176 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
6177 * sysdeps/s390/multiarch/strlen.c: Move to ...
6178 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
6179 * sysdeps/s390/ifunc-strlen.h: New file.
6181 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6183 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
6184 * sysdeps/s390/multiarch/ifunc-impl-list.c
6185 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
6186 * sysdeps/s390/ifunc-memmem.h: New file.
6187 * sysdeps/s390/memmem.c: Likewise.
6188 * sysdeps/s390/memmem-c.c: Likewise.
6189 * sysdeps/s390/memmem-vx.c: Likewise.
6191 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6193 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
6194 * sysdeps/s390/multiarch/ifunc-impl-list.c
6195 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
6196 * sysdeps/s390/ifunc-strstr.h: New file.
6197 * sysdeps/s390/strstr.c: Likewise.
6198 * sysdeps/s390/strstr-c.c: Likewise.
6199 * sysdeps/s390/strstr-vx.c: Likewise.
6201 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6203 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
6204 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
6205 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
6206 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
6208 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
6209 * sysdeps/s390/memmove-c.c: New file.
6210 * sysdeps/s390/memmove.c: Likewise.
6211 * sysdeps/s390/multiarch/ifunc-impl-list.c
6212 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
6214 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6216 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
6217 * sysdeps/s390/configure.ac: Add check for z13 support.
6218 * sysdeps/s390/configure: Regenerated.
6220 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6222 * sysdeps/s390/memcopy.h: New file.
6224 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6226 * sysdeps/s390/s390-32/bcopy.S: Remove.
6227 * sysdeps/s390/s390-64/bcopy.S: Likewise.
6229 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6231 * sysdeps/s390/ifunc-memcpy.h: New File.
6232 * sysdeps/s390/memcpy.S: Move to ...
6233 * sysdeps/s390/memcpy-z900.S ... here.
6234 Move implementations from memcpy-s390x.s to here.
6235 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
6236 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6237 Remove memcpy/mempcpy variants.
6238 * sysdeps/s390/Makefile (sysdep_routines):
6239 Add memcpy/mempcpy variants.
6240 * sysdeps/s390/multiarch/ifunc-impl-list.c
6241 (__libc_ifunc_impl_list): Adjust ifunc variants for
6243 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
6245 * sysdeps/s390/memcpy.c: ... here.
6246 Adjust ifunc variants for memcpy.
6247 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
6248 * sysdeps/s390/mempcpy.c: ... here.
6249 Adjust ifunc variants for mempcpy.
6250 * sysdeps/s390/mempcpy.S: Delete file.
6252 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6254 * sysdeps/s390/s390-64/memcpy.S: Move to ...
6255 * sysdeps/s390/memcpy.S: ... here.
6256 Adjust to be usable for 31/64bit.
6257 * sysdeps/s390/s390-32/memcpy.S: Delete File.
6258 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
6259 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
6260 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6261 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
6262 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
6263 Adjust to be usable for 31/64bit.
6264 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
6265 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
6266 * sysdeps/s390/multiarch/memcpy.c: ... here.
6267 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
6269 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6271 * sysdeps/s390/ifunc-memcmp.h: New File.
6272 * sysdeps/s390/memcmp.S: Move to ...
6273 * sysdeps/s390/memcmp-z900.S ... here.
6274 Move implementations from memcmp-s390x.s to here.
6275 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
6276 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6277 Remove memcmp variants.
6278 * sysdeps/s390/Makefile (sysdep_routines):
6279 Add memcmp variants.
6280 * sysdeps/s390/multiarch/ifunc-impl-list.c
6281 (__libc_ifunc_impl_list): Adjust ifunc variants for
6283 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
6285 * sysdeps/s390/memcmp.c: ... here.
6286 Adjust ifunc variants for memcmp.
6288 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6290 * sysdeps/s390/s390-64/memcmp.S: Move to ...
6291 * sysdeps/s390/memcmp.S: ... here.
6292 Adjust to be usable for 31/64bit.
6293 * sysdeps/s390/s390-32/memcmp.S: Delete File.
6294 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
6295 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6297 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6298 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
6299 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
6300 Adjust to be usable for 31/64bit.
6301 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
6302 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
6303 * sysdeps/s390/multiarch/memcmp.c: ... here.
6304 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
6306 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6308 * sysdeps/s390/s390-32/bzero.S: Delete file.
6309 * sysdeps/s390/s390-64/bzero.S: Likewise.
6310 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
6311 * sysdeps/s390/bzero.c: New file.
6312 * sysdeps/s390/memset-z900.S: Add bzero entry points.
6313 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
6314 * sysdeps/s390/multiarch/ifunc-impl-list.c
6315 (__libc_ifunc_impl_list): Add bzero ifunc variants.
6317 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6319 * sysdeps/s390/ifunc-memset.h: New File.
6320 * sysdeps/s390/memset.S: Move to ...
6321 * sysdeps/s390/memset-z900.S ... here.
6322 Move implementations from memset-s390x.s to here.
6323 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
6324 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6325 Remove memset variants.
6326 * sysdeps/s390/Makefile (sysdep_routines):
6327 Add memset variants.
6328 * sysdeps/s390/multiarch/ifunc-impl-list.c
6329 (__libc_ifunc_impl_list): Adjust ifunc variants for
6331 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
6333 * sysdeps/s390/memset.c: ... here.
6334 Adjust ifunc variants for memset.
6336 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6338 * sysdeps/s390/s390-64/memset.S: Move to ...
6339 * sysdeps/s390/memset.S: ... here.
6340 Adjust to be usable for 31/64bit.
6341 * sysdeps/s390/s390-32/memset.S: Delete File.
6342 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
6343 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6345 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6346 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
6347 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
6348 Adjust to be usable for 31/64bit.
6349 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
6350 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
6351 * sysdeps/s390/multiarch/memset.c: ... here.
6352 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
6354 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6356 * sysdeps/s390/multiarch/ifunc-resolve.h
6357 (s390_libc_ifunc_init, s390_libc_ifunc,
6358 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
6360 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6362 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
6363 * sysdeps/s390/configure.ac: Add check for z10 support.
6364 * sysdeps/s390/configure: Regenerated.
6366 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
6368 * sysdeps/i386/atomic-machine.h: Merged with ...
6369 * sysdeps/x86_64/atomic-machine.h: To ...
6370 * sysdeps/x86/atomic-machine.h: This. New file.
6372 2018-12-18 Florian Weimer <fweimer@redhat.com>
6374 Rewrite locale/gen-translit.pl in Python.
6375 * locale/Makefile (generated): Add C-translit.h.
6376 (before-compile): Add $(objpfx)C-translit.h.
6377 (C-translit.h): Move to $(objpfx). Create target directory.
6378 Build using Python script.
6379 * locale/gen-translit.py: New file.
6380 * locale/gen-translit.pl: Remove file.
6381 * locale/C-translit.h.in: Change comment character to '#' for
6382 easier parsing without a C preprocessor.
6383 * locale/C-translit.h: Remove generated file.
6384 * manual/install.texi (Tools for Compilation): Do not mention
6386 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6387 Remove locale/C-translit.h.
6388 * scripts/update-copyrights: Likewise.
6389 * INSTALL: Regenerate.
6391 2018-12-18 Florian Weimer <fweimer@redhat.com>
6394 * localedata/locales/bi_VU: Remove executable bit from file.
6396 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6399 (__localtime64): Add.
6400 * manual/maint.texi: Document Y2038 symbol handling.
6402 (__localtime64): Add.
6403 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6405 2018-12-17 Joseph Myers <joseph@codesourcery.com>
6407 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6410 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6411 to allow extra macros from first or second sources.
6412 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6413 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6414 (tests-special): Add $(objpfx)tst-mman-consts.out.
6415 ($(objpfx)tst-mman-consts.out): New makefile target.
6417 2018-12-17 Mao Han <han_mao@c-sky.com>
6419 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6420 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6421 without stat64 system call support.
6422 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6423 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6424 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6425 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6426 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6427 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6428 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6429 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6430 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6431 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6432 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6434 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6436 regex: fix storage-exhaustion error
6438 * posix/regexec.c (get_subexp):
6439 Do not continue if storage is exhausted.
6441 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
6443 regex: fix heap-use-after-free error
6445 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6446 https://debbugs.gnu.org/32592
6447 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6448 call extend_buffers which reallocates the re_string_t internal buffer.
6449 Local variable 'buf' was not updated in such case, resulting in
6451 * posix/regexec.c (get_subexp): Update 'buf' after call to
6454 2018-12-15 Florian Weimer <fweimer@redhat.com>
6456 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6457 (minimum_stride_size): Use it.
6458 (support_blob_repeat_allocate): Likewise.
6460 2018-12-14 Joseph Myers <joseph@codesourcery.com>
6462 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6467 2018-12-14 Florian Weimer <fweimer@redhat.com>
6469 * manual/process.texi (Process Creation Concepts): Remove
6470 documentation of process (ID) lifetime. List more process
6471 creation functions. Reference Process Identification section.
6472 (Process Identification): Add information about process ID
6473 lifetime. Describe Linux thread/task IDs.
6474 * manual/signal.texi (Signaling Another Process): Mention that the
6475 signal is always sent to the process.
6477 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6479 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6480 and tst-ldbl-efgcvt.
6481 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6482 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6483 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6484 (fcvt_tests, output_error, output_r_error, do_test): Use the
6485 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6486 select the type of floating-point variables and arguments; to
6487 produce extra tests for double and conversion specifiers for
6488 printf; and to set the names of called functions.
6489 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6490 in tst-efgcvt-template.c.
6491 * misc/tst-ldbl-efgcvt.c: Likewise.
6493 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
6495 * nss/Makefile (tst-nss-test3.out): New rule.
6497 2018-12-13 Joseph Myers <joseph@codesourcery.com>
6499 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6502 2018-12-13 fanjinke <fanjinke@hygon.cn>
6504 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6507 2018-12-13 Andreas Schwab <schwab@suse.de>
6510 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
6511 (__pthread_rwlock_rdlock_full): Update expected value for
6512 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6513 * nptl/tst-rwlock-pwn.c: New file.
6514 * nptl/Makefile (tests): Add tst-rwlock-pwn.
6516 2018-12-12 Joseph Myers <joseph@codesourcery.com>
6518 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6521 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6523 * benchtests/scripts/compare_bench.py (do_compare): write to
6524 stderr in casestat is not present.
6525 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6526 stderr in case timings field is not present. Also string showing
6527 the output filename goes into the stderr.
6529 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6531 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6532 and ZeroDivisorError exceptions.
6533 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6534 argument to loop through user provided statistics.
6535 * benchtests/scripts/compare_bench.py (main): Include the --stats
6538 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6540 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6543 2018-12-12 Florian Weimer <fweimer@redhat.com>
6545 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6546 clause to copyright header.
6548 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6551 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6552 registers saved in the stack frame.
6553 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6554 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6556 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6558 * include/bits/monetary-ldbl.h: New file.
6559 * include/bits/printf-ldbl.h: Likewise.
6560 * include/bits/stdio-ldbl.h: Likewise.
6561 * include/bits/stdlib-ldbl.h: Likewise.
6562 * include/bits/syslog-ldbl.h: Likewise.
6563 * include/bits/wchar-ldbl.h: Likewise.
6565 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6567 * libio/libio.h: Remove redirection for _IO_vfprintf.
6569 2018-12-11 Andreas Schwab <schwab@suse.de>
6571 * Makerules: Remove all references to abilist-pattern.
6572 (update-all-abi): Simplify find expression.
6574 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6577 * math/auto-libm-test-in: Add new test case.
6578 * math/auto-libm-test-out-pow: Regenerated.
6579 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6581 2018-12-10 DJ Delorie <dj@redhat.com>
6584 * support/test-container.c: Move postclean step to before we
6587 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6589 * scripts/gen-as-const.py (main): Handle --python option.
6590 * scripts/gen-py-const.awk: Remove.
6591 * Makerules (py-const-script): Use gen-as-const.py.
6592 ($(py-const)): Likewise.
6593 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6594 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6595 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6596 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6597 ~PTHREAD_MUTEX_NO_ELISION_NP.
6598 * manual/README.pretty-printers: Update reference to
6601 * scripts/glibcextract.py: New file.
6602 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6603 or tempfile. Import glibcexctract.
6604 (compute_c_consts): Remove. Moved to glibcextract.py.
6605 (gen_test): Update reference to compute_c_consts.
6607 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6608 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6609 * sysdeps/unix/sysv/linux/Makefile
6610 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6611 Redirect stderr as well as stdout.
6613 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6616 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
6617 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6618 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
6619 ALWAYS_USE_VSYSCALL.
6620 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
6621 ALWAYS_USE_VSYSCALL.
6622 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6623 ALWAYS_USE_VSYSCALL.
6625 2018-12-10 Florian Weimer <fweimer@redhat.com>
6628 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6629 offset instead of count for clarity. Fix typo in comment.
6630 (__old_getdents64): Keep track of previous offset. Use it to call
6632 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6633 that d_off is never zero.
6635 2018-12-10 Andreas Schwab <schwab@suse.de>
6637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6638 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6640 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6641 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6643 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6645 * timezone/private.h: Update from tzcode 2018g.
6646 * timezone/tzfile.h: Likewise.
6647 * timezone/tzselect.ksh: Likewise.
6648 * timezone/zdump.c: Likewise.
6649 * timezone/zic.c: Likewise.
6651 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6654 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6655 (do_test): Adjust buffer size and fix format.
6657 2018-12-07 DJ Delorie <dj@redhat.com>
6660 * malloc/tst-tcfree3.c: New.
6661 * malloc/Makefile: Add it.
6663 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6665 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6667 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6669 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6670 used as a mask for the mode argument of __vfscanf_internal and
6671 __vfwscanf_internal.
6672 * stdio-common/vfscanf-internal.c
6673 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6674 (__strtof128_internal): Define to __wcstof128_internal.
6675 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6676 __strtof128_internal or __wcstof128_internal when the format of
6677 long double is the same as _Float128.
6679 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6681 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6682 * posix/confstr.c (confstr): Rename to __confstr.
6683 (__confstr): Add hidden def.
6684 (confstr): Add weak alias for __confstr.
6685 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6688 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6690 * NEWS: Mention getcpu.
6691 * include/sched.h (__getcpu): New libc_hidden_proto.
6692 * manual/resource.texi: Document getcpu.
6693 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6694 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6695 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6696 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6697 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6698 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6699 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6700 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6701 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6702 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6703 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6704 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6705 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6707 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6708 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6709 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6718 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6719 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6720 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6721 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6722 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6723 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6724 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6725 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6726 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6727 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6728 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6731 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6733 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6735 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6737 2018-12-07 Florian Weimer <fweimer@redhat.com>
6740 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6741 * posix/Versions (GLIBC_2.29): Export
6742 posix_spawn_file_actions_addfchdir_np.
6743 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6744 * posix/spawn_faction_destroy.c
6745 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6746 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6747 and the field action.fchdir_action.
6748 * posix/tst-spawn-chdir.c (add_chdir): New function.
6749 (do_test): Add do_fchdir loop. Call add_chdir.
6750 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6751 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6752 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6753 posix_spawn_file_actions_addfchdir_np.
6754 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6756 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6758 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6759 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6761 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6763 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6765 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6767 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6769 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6771 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6772 (GLIBC_2.29): Likewise.
6773 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6774 (GLIBC_2.29): Likewise.
6775 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6776 (GLIBC_2.29): Likewise.
6777 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6778 (GLIBC_2.29): Likewise.
6779 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6782 (GLIBC_2.29): Likewise.
6783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6784 (GLIBC_2.29): Likewise.
6785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6786 (GLIBC_2.29): Likewise.
6787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6788 (GLIBC_2.29): Likewise.
6789 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6791 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6793 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6795 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6796 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6798 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6800 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6802 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6805 2018-12-06 Joseph Myers <joseph@codesourcery.com>
6807 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6808 trailing whitespace removed.
6809 * scripts/config.guess: Update to version 2018-11-28.
6810 * scripts/config.sub: Update to version 2018-11-28.
6811 * scripts/install-sh: Update to version 2018-03-11.20.
6812 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6813 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6815 2018-12-07 Florian Weimer <fweimer@redhat.com>
6819 * inet/tst-if_index-long.c: New file.
6820 * inet/Makefile (tests): Add tst-if_index-long.
6822 2018-12-07 Florian Weimer <fweimer@redhat.com>
6824 * support/check.h (support_record_failure_is_failed): Declare.
6825 * support/descriptors.h: New file.
6826 * support/support_descriptors.c: Likewise.
6827 * support/tst-support_descriptors.c: Likewise.
6828 * support/support_record_failure.c
6829 (support_record_failure_is_failed): New function.
6830 * support/Makefile (libsupport-routines): Add support_descriptors.
6831 (tests): Add tst-support_descriptors.
6833 2018-12-05 Zack Weinberg <zackw@panix.com>
6834 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6836 * stdio-common/vfprintf-internal.c
6837 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6838 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6839 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6840 and __no_long_double.
6841 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6842 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6843 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6844 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6845 and __nldbl_*syslog* functions.
6846 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6847 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6848 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6849 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6850 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6851 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6852 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6853 (__nldbl_vwprintf, __nldbl_wprintf):
6854 Directly call the appropriate __v*printf_internal routine, passing
6855 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6857 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6858 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6859 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6860 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6861 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6862 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6863 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6864 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6865 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6866 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6867 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6868 (__nldbl_syslog, __nldbl_vsyslog):
6869 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6870 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6872 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6875 2018-12-05 Zack Weinberg <zackw@panix.com>
6876 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6879 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6880 Moved here from debug/vsprintf_chk.c.
6881 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6882 and completion logic for the strfile to match exactly what
6883 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6884 _IO_str_init_static_internal instead of maxlen-1.
6885 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6886 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6887 __vsprintf_internal.
6889 * debug/vsprintf_chk.c (__vsprintf_chk)
6890 * debug/sprintf_chk.c (__sprintf_chk):
6891 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6892 'flags' argument is positive, and slen as maxlen. No need to lock
6893 the FILE and/or construct a temporary FILE. Minimize and normalize
6894 header inclusions and variable names. Do not libc_hidden_def anything.
6896 * debug/asprintf_chk.c (__asprintf_chk)
6897 * debug/dprintf_chk.c (__dprintf_chk)
6898 * debug/fprintf_chk.c (__fprintf_chk)
6899 * debug/fwprintf_chk.c (__fwprintf_chk)
6900 * debug/printf_chk.c (__printf_chk)
6901 * debug/snprintf_chk.c (__snprintf_chk)
6902 * debug/swprintf_chk.c (__swprintf_chk)
6903 * debug/vasprintf_chk.c (__vasprintf_chk)
6904 * debug/vdprintf_chk.c (__vdprintf_chk)
6905 * debug/vfprintf_chk.c (__vfprintf_chk)
6906 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6907 * debug/vprintf_chk.c (__vprintf_chk)
6908 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6909 * debug/vswprintf_chk.c (__vswprintf_chk)
6910 * debug/vwprintf_chk.c (__vwprintf_chk)
6911 * debug/wprintf_chk.c (__wprintf_chk):
6912 Directly call the corresponding vxxprintf_internal function, passing
6913 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6914 the FILE and/or construct a temporary FILE. Minimize and normalize
6915 header inclusions and variable names. Do not libc_hidden_def anything.
6917 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6918 __obstack_vprintf_internal.
6919 (__obstack_vprintf_chk): Convert into a wrapper that calls
6920 __obstack_vprintf_internal (these two functions already had the
6921 same code) and move to new file...
6922 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6924 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6925 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6926 * debug/Makefile (routines): Add vobprintf_chk.
6928 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6929 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6930 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6931 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6932 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6933 (__nldbl___obstack_vfprintf_chk):
6934 Directly call the corresponding vxxprintf_internal function,
6935 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6936 duplicate comparison of slen with 0 or maxlen from the corresponding
6937 non-__nldbl function.
6939 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6940 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6941 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6942 Remove libc_hidden_proto.
6944 * stdio-common/vfprintf-internal.c
6945 (__vfprintf_internal, __vfwprintf_internal):
6946 Do not check _IO_FLAGS2_FORTIFY.
6947 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6948 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6949 a comment explaining why it has the maxlen argument.
6950 (_IO_acquire_lock_clear_flags2_fct): Remove.
6951 (_IO_acquire_lock_clear_flags2): Remove.
6952 (_IO_release_lock): Remove conditional statement which will
6954 (_IO_acquire_lock): Remove variable which is now unused.
6955 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6956 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6958 * stdio-common/Makefile (tests): Add tst-bz11319 and
6959 tst-bz11319-fortify2.
6960 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6961 * stdio-common/tst-bz11319-fortify2.c: New file.
6962 * stdio-common/tst-bz11319.c: Likewise.
6964 2018-12-05 Zack Weinberg <zackw@panix.com>
6965 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6967 * misc/syslog.c: Include libioP.h, not iolibio.h.
6968 (__vsyslog_internal): New function with the former body of
6969 __vsyslog_chk; takes mode_flags argument same as
6970 __v*printf_internal. Call __vfprintf_internal directly.
6972 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6973 Remove libc_hidden_def.
6974 (__syslog, __syslog_chk): Use __vsyslog_internal.
6975 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6977 * include/sys/syslog.h: Add multiple inclusion guard.
6978 Add prototype for __vsyslog_internal.
6979 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6981 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6982 Use __vsyslog_internal.
6984 2018-12-05 Zack Weinberg <zackw@panix.com>
6985 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6987 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6988 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6989 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6991 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6992 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6994 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6995 Include wctype.h here if COMPILE_WPRINTF is defined.
6996 Define __vfprintf_internal or __vfwprintf_internal, depending
6998 Temporarily, on entry to this function, update mode_flags
6999 according to the environmental settings corresponding to
7000 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
7001 Throughout, check mode_flags instead of __ldbl_is_dbl and
7002 _IO_FLAGS2_FORTIFY on the destination FILE.
7003 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
7004 Include vfprintf-internal.c. Don't include wctype.h.
7005 * stdio-common/vfprintf.c: New file. Just define __vfprintf
7006 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
7008 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
7009 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
7011 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
7013 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
7014 and add mode_flags argument; use __vfprintf_internal.
7015 (__vdprintf): New function. Alias vdprintf to this.
7016 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
7017 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
7018 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
7019 (__obstack_printf): Use __obstack_printf_internal.
7020 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
7021 public aliases __vsnprintf and vsnprintf.
7022 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
7024 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
7025 public aliases _IO_vsprintf and vsprintf.
7026 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
7027 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
7028 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
7029 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
7030 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
7032 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
7033 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
7034 * stdio-common/fprintf.c, stdio-common/fxprintf.c
7035 * stdio-common/printf.c: Use __vfprintf_internal.
7037 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
7038 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
7039 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
7041 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
7042 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
7043 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
7044 __vfwprintf_internal.
7046 * libio/libio.h: Remove libc_hidden_proto and declaration for
7048 Remove declaration of _IO_vfwprintf.
7049 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
7051 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
7053 * include/stdio.h: Add prototype for __vasprintf.
7054 (__vsnprintf): Remove declaration, because there are no more
7056 * include/wchar.h (__vfwprintf, __vswprintf): Remove
7057 declaration, because there are no more internal calls.
7059 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
7060 __vsnprintf_internal, instead of _IO_vsnprintf.
7061 * argp/argp-help.c (__argp_error, __argp_failure): Use
7062 __vasprintf_internal, instead of _IO_vasprintf.
7063 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
7064 redefine, because there are no more internal calls.
7066 2018-12-05 Zack Weinberg <zackw@panix.com>
7067 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7069 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
7070 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
7071 Include libio/strfile.h instead of libioP.h.
7072 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
7073 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
7074 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
7075 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
7076 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
7077 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
7078 necessary. Do not set __no_long_double. Normalize variable names.
7079 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
7080 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
7081 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
7082 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
7083 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
7084 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
7085 Call __vfscanf_internal / __vfwscanf_internal directly, passing
7086 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
7087 Do not set __no_long_double. Normalize variable names.
7089 2018-12-05 Zack Weinberg <zackw@panix.com>
7090 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7092 * stdio-common/isoc99_scanf.c
7093 * stdio-common/isoc99_fscanf.c
7094 * stdio-common/isoc99_sscanf.c
7095 * stdio-common/isoc99_vscanf.c
7096 * stdio-common/isoc99_vfscanf.c
7097 * stdio-common/isoc99_vsscanf.c
7098 * wcsmbs/isoc99_wscanf.c
7099 * wcsmbs/isoc99_fwscanf.c
7100 * wcsmbs/isoc99_swscanf.c
7101 * wcsmbs/isoc99_vwscanf.c
7102 * wcsmbs/isoc99_vfwscanf.c
7103 * wcsmbs/isoc99_vswscanf.c:
7104 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
7105 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
7106 No need to lock and unlock the FILE passed to that function.
7108 * stdio-common/vfscanf-internal.c
7109 (__vfscanf_internal, __vfwscanf_internal):
7110 Don't look at _IO_FLAGS2_SCANF_STD.
7111 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
7112 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
7113 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
7115 2018-12-05 Zack Weinberg <zackw@panix.com>
7116 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7118 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
7119 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
7120 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
7121 * libio/strfile.h: Add multiple inclusion guard.
7122 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
7124 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
7125 consistency with the other version of this file.
7126 (ldbl_compat_symbol): New macro.
7127 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
7130 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
7131 Define __vfscanf_internal or __vfwscanf_internal, depending on
7132 COMPILE_WSCANF; don't define any other public symbols.
7133 Remove errval and code to set errp.
7134 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
7135 as the mode_flags argument.
7136 (encode_error, conv_error, input_error): Don't set errval.
7137 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
7138 Include vfscanf-internal.c.
7139 * stdio-common/vfscanf.c: New file defining the public entry
7140 point vfscanf, which calls __vfscanf_internal.
7141 * stdio-common/vfwscanf.c: New file defining the public entry
7142 point vfwscanf, which calls __vfwscanf_internal.
7144 * stdio-common/iovfscanf.c: New file.
7145 * stdio-common/iovfwscanf.c: Likewise.
7147 * stdio-common/Makefile (routines): Add vfscanf-internal,
7148 vfwscanf-internal, iovfscanf, iovfwscanf.
7149 * stdio-common/Versions: Mention GLIBC_2.29, so that
7150 it can be used in SHLIB_COMPAT expressions.
7151 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
7152 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
7153 Call __vfscanf_internal, instead of _IO_vfscanf.
7154 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
7156 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
7159 * libio/iovsscanf.c: Clean up includes, when possible. Use
7160 _IO_strfile_read or _IO_strfile_readw, when needed. Call
7161 __vfscanf_internal or __vfwscanf_internal directly.
7162 * libio/iovswscanf.c: Likewise.
7163 * libio/swscanf.c: Likewise.
7164 * libio/vscanf.c: Likewise.
7165 * libio/vwscanf.c: Likewise.
7166 * libio/wscanf.c: Likewise.
7167 * stdio-common/isoc99_fscanf.c: Likewise.
7168 * stdio-common/isoc99_scanf.c: Likewise.
7169 * stdio-common/isoc99_sscanf.c: Likewise.
7170 * stdio-common/isoc99_vfscanf.c: Likewise.
7171 * stdio-common/isoc99_vscanf.c: Likewise.
7172 * stdio-common/isoc99_vsscanf.c: Likewise.
7173 * stdio-common/scanf.c: Likewise.
7174 * stdio-common/sscanf.c: Likewise.
7175 * wcsmbs/isoc99_fwscanf.c: Likewise.
7176 * wcsmbs/isoc99_swscanf.c: Likewise.
7177 * wcsmbs/isoc99_vfwscanf.c: Likewise.
7178 * wcsmbs/isoc99_vswscanf.c: Likewise.
7179 * wcsmbs/isoc99_vwscanf.c: Likewise.
7180 * wcsmbs/isoc99_wscanf.c: Likewise.
7182 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
7185 (__tz_compute): Replace time_t with __time64_t.
7186 (__tz_convert): Replace time_t* with __time64_t.
7187 (__offtime): Replace time_t* with __time64_t.
7189 (__gmtime_r): Adjust call to __tz_convert.
7192 (__localtime_r): Likewise.
7193 (localtime): Likewise.
7194 * time/offtime.c: Replace time_t with __time64_t.
7195 * time/tzset.c: Likewise.
7197 2018-12-04 Joseph Myers <joseph@codesourcery.com>
7199 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
7200 dynamic linker unless [$(run-built-tests) = yes].
7202 2018-12-03 DJ Delorie <dj@delorie.com>
7204 * support/test-container.c (check_for_unshare_hints): New.
7205 (main): Call it if unshare fails. Add support for "su" scriptlet
7208 2018-12-03 Joseph Myers <joseph@codesourcery.com>
7210 * scripts/gen-as-const.py (compute_c_consts): Take an argument
7211 'START' to indicate that start text should be output.
7212 (gen_test): Likewise.
7213 (main): Generate 'START' for first symbol or '--' line, or at end
7214 of input if not previously generated.
7216 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
7219 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
7220 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
7221 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
7222 ALWAYS_USE_VSYSCALL.
7224 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7227 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
7230 2018-12-03 Carlos O'Donell <carlos@redhat.com>
7233 * locale/programs/localedef.c: Declare boolean hard_links default true.
7234 (options): Add --no-hard-links option.
7235 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
7236 * locale/programs/localedef.h: Declare prototype for hard_links.
7237 * locale/programs/locfile.c (write_locale_data): Don't use hard
7238 links if hard_links is false.
7240 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
7242 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
7244 (__cache_sysconf): Likewise.
7245 (init_cacheinfo): Likewise.
7246 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
7247 populate COMMON_CPUID_INDEX_80000007 and
7248 COMMON_CPUID_INDEX_80000008.
7249 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
7250 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
7251 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
7252 (init_cpu_features): Use _Static_assert on
7253 index_arch_Fast_Unaligned_Load.
7254 __get_cpuid_registers and __get_arch_feature. Updated for
7255 cpu_features_basic. Set stepping in cpu_features.
7256 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
7257 (FEATURE_INDEX_2): New.
7258 (FEATURE_INDEX_MAX): Changed to enum.
7259 (COMMON_CPUID_INDEX_D_ECX_1): New.
7260 (COMMON_CPUID_INDEX_80000007): Likewise.
7261 (COMMON_CPUID_INDEX_80000008): Likewise.
7262 (cpuid_registers): Likewise.
7263 (cpu_features_basic): Likewise.
7264 (CPU_FEATURE_USABLE): Likewise.
7265 (bit_arch_XXX_Usable): Likewise.
7266 (cpu_features): Use cpuid_registers and cpu_features_basic.
7267 (bit_arch_XXX): Reweritten.
7268 (bit_cpu_XXX): Likewise.
7269 (index_cpu_XXX): Likewise.
7270 (reg_XXX): Likewise.
7271 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
7273 (CHECK_CPU_FEATURE): New.
7274 (CHECK_CPU_FEATURE_USABLE): Likewise.
7275 (cpu_kinds): Likewise.
7276 (do_test): Print vendor, family, model and stepping. Check
7277 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
7278 (TEST_FUNCTION): Removed.
7279 Include <support/test-driver.c> instead of
7280 "../../test-skeleton.c".
7281 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
7282 Check POPCNT instead of POPCOUNT.
7283 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
7285 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7287 * scripts/gen-as-const.py (main): Avoid emitting empty line when
7288 there is no element in `consts'.
7290 2018-12-01 Florian Weimer <fweimer@redhat.com>
7292 * support/support_capture_subprocess.c
7293 (support_capture_subprocess): Check that pipe descriptors have
7294 expected values. Close original pipe descriptors in subprocess.
7296 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7299 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
7300 attr with __pthread_default_barrierattr.
7301 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
7302 attr with __pthread_default_condattr.
7303 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
7304 attr with __pthread_default_mutexattr.
7305 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
7306 attr with __pthread_default_rwlockattr.
7308 2018-12-01 Kemi Wang <kemi.wang@intel.com>
7310 * manual/tunables.texi (POSIX Thread Tunables): New node.
7311 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
7312 * nptl/nptl-init.c: Include pthread_mutex_conf.h
7313 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
7314 __pthread_tunables_init.
7315 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
7316 (max_adaptive_count): Define.
7317 * nptl/pthread_mutex_conf.c: New file.
7318 * nptl/pthread_mutex_conf.h: New file.
7319 * sysdeps/generic/adaptive_spin_count.h: New file.
7320 * sysdeps/nptl/dl-tunables.list: New file.
7321 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7322 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
7323 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
7326 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7329 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
7330 * stdlib/on_exit.c (__on_exit): Likewise.
7331 * stdlib/Makefile (tests): Add tst-bz20544.
7332 * stdlib/tst-bz20544.c: New test.
7334 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
7337 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
7338 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
7341 2018-11-30 Florian Weimer <fweimer@redhat.com>
7343 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
7344 Extend error logging.
7345 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
7348 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7350 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
7351 __sigismember instead of sigismember.
7352 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
7353 cancel_handler): New definitions.
7354 (do_system): Use posix_spawn instead of fork and execl and remove
7356 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
7357 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
7358 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
7359 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7360 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7361 * sysdeps/unix/sysv/linux/system.c: Likewise.
7365 * NEWS: Add new semantic for atfork with popen and system.
7366 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
7369 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7372 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
7373 modification order when accessing reloc_result->addr.
7374 * include/link.h (reloc_result): Add field init.
7375 * nptl/Makefile (tests): Add tst-audit-threads.
7376 (modules-names): Add tst-audit-threads-mod1 and
7377 tst-audit-threads-mod2.
7378 Add rules to build tst-audit-threads.
7379 * nptl/tst-audit-threads-mod1.c: New file.
7380 * nptl/tst-audit-threads-mod2.c: Likewise.
7381 * nptl/tst-audit-threads.c: Likewise.
7382 * nptl/tst-audit-threads.h: Likewise.
7384 2018-11-30 Joseph Myers <joseph@codesourcery.com>
7386 * scripts/gen-as-const.py: New file.
7387 * scripts/gen-as-const.awk: Remove.
7388 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
7390 ($(objpfx)test-as-const-%.c): Likewise.
7392 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7394 * elf/dl-exception.c: Include <_itoa.h>.
7396 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7398 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
7399 returned by __f_setlk.
7401 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7402 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7404 * elf/Makefile (tests-internal): Add tst-create_format1.
7405 * elf/dl-exception.c (_dl_exception_create_format): Support
7407 * elf/tst-create_format1.c: New file.
7409 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7411 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7412 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7414 * argp/argp-help.c (__argp_failure): Likewise.
7416 2018-11-29 Mao Han <han_mao@c-sky.com>
7418 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7419 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7420 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7421 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7422 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7423 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7424 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7425 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7426 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7427 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7428 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7429 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7430 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7431 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7432 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7433 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7434 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7435 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7436 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7437 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7438 (R_CKCORE_TLS_TPOFF32): New defines.
7440 2018-11-29 Florian Weimer <fweimer@redhat.com>
7442 * posix/Makefile (before-compile): Remove testcases.h and
7444 (generated): Add testcases.h and ptestcases.h.
7445 (testcases.h, ptestcases.h): Move to $(objpfx).
7446 (runtests.o): Add dependency on testcases.h.
7447 (runptests.o): Add dependency on ptestcases.h.
7448 * posix/testcases.h, posix/ptestcases.h: Remove files.
7449 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7450 not touch posix/testcases.h and posix/ptestcases.h.
7452 2018-11-28 Florian Weimer <fweimer@redhat.com>
7454 support: Add signal support to support_capture_subprocess_check.
7455 * support/capture_subprocess.h (support_capture_subprocess_check):
7456 Adjust comment and rename parameter.
7457 * support/support_capture_subprocess_check.c
7458 (print_actual_status): New function.
7459 (support_capture_subprocess_check): Support negative
7460 status_or_signal. Call print_actual_status.
7461 * support/tst-support_capture_subprocess.c (do_test): Call
7462 support_capture_subprocess_check.
7463 * libio/tst-vtables-common.c (termination_status)
7464 (init_termination_status): Remove.
7465 (check_for_termination): Adjust support_capture_subprocess_check
7467 (do_test): Remove call to init_termination_status.
7469 2018-11-28 Joseph Myers <joseph@codesourcery.com>
7471 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7472 source directory instead of a copy.
7473 (CommandList.create_copy_dir): Remove.
7475 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
7477 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7479 2018-11-28 Florian Weimer <fweimer@redhat.com>
7481 * support/support.h (support_quote_string): Do not use str
7484 2018-11-27 Joseph Myers <joseph@codesourcery.com>
7486 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7487 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7489 2018-11-27 Florian Weimer <fweimer@redhat.com>
7491 * support/support.h (support_quote_string): Declare.
7492 * support/support_quote_string.c: New file.
7493 * support/tst-support_quote_string.c: Likewise.
7494 * support/Makefile (libsupport-routines): Add
7495 support_quote_string.
7496 (tests): Add tst-support_quote_string.
7498 2018-11-27 Florian Weimer <fweimer@redhat.com>
7502 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7503 descriptor leak in case of ENODEV error.
7505 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7508 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7509 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7510 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7512 2018-11-26 Carlos O'Donell <carlos@redhat.com>
7514 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7515 Error for unknown lines.
7517 2018-11-26 Joseph Myers <joseph@codesourcery.com>
7519 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7520 Touch additional files.
7522 2018-11-26 Florian Weimer <fweimer@redhat.com>
7525 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7528 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7531 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7532 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7533 SHARED. Include sysdep.h.
7534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7535 ALWAYS_USE_VSYSCALL.
7536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7537 ALWAYS_USE_VSYSCALL.
7539 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7542 * nptl/Makefile (tests-static): Add tst-cond11-static.
7544 * nptl/tst-cond11-static.c: New File.
7545 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7546 tst-affinity-static.
7548 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7550 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7551 (USE_VSYSCALL): Likewise.
7552 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7553 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7555 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7560 2018-11-23 Joseph Myers <joseph@codesourcery.com>
7563 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7564 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7567 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7569 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7570 (tst-cet-legacy-1a-ARGS): New.
7571 ($(objpfx)tst-cet-legacy-1a): New target.
7572 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7574 2018-11-22 Joseph Myers <joseph@codesourcery.com>
7576 * conform/conformtest.py (CompileSubTest.__init__): Set
7577 self.run_early to False.
7578 (ExecuteSubTest.__init__): Likewise.
7579 (HeaderTests.run): Try running all non-optional, non-XFAILed
7580 compilation tests in a single execution of the compiler.
7582 * conform/conformtest.py (CompileSubTest): New class.
7583 (ExecuteSubTest): Likewise.
7584 (ElementTest.run): Rename to gen_subtests. Append tests to
7585 self.subtests instead of running them.
7586 (ConstantTest.run): Likewise.
7587 (SymbolTest.run): Likewise.
7588 (TypeTest.run): Likewise.
7589 (TagTest.run): Likewise.
7590 (FunctionTest.run): Likewise.
7591 (VariableTest.run): Likewise.
7592 (MacroFunctionTest.run): Likewise.
7593 (MacroStrTest.run): Likewise.
7594 (HeaderTests.handle_test_line): Generate subtests for tests.
7595 (HeaderTests.run): Run subtests for tests.
7597 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7599 * math/Versions (GLIBC_2.29): Add pow.
7600 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7602 * math/w_pow.c: New file.
7603 * sysdeps/i386/fpu/w_pow.c: New file.
7604 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7605 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7606 and add necessary aliases.
7607 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7608 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7609 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7610 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7611 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7612 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7613 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7614 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7615 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7616 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7617 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7618 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7619 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7620 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7621 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7626 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7627 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7628 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7629 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7630 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7631 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7632 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7633 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7635 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7636 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7637 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7639 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7641 * math/Versions (GLIBC_2.29): Add log2.
7642 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7644 * math/w_log2.c: New file.
7645 * sysdeps/i386/fpu/w_log2.c: New file.
7646 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7647 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7648 and add necessary aliases.
7649 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7650 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7651 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7652 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7653 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7654 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7655 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7656 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7657 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7658 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7659 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7660 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7661 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7662 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7663 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7668 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7669 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7670 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7671 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7672 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7673 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7674 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7676 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7678 * math/Versions (GLIBC_2.29): Add log.
7679 * math/w_log_compat.c (__log_compat): Change to versioned compat
7681 * math/w_log.c: New file.
7682 * sysdeps/i386/fpu/w_log.c: New file.
7683 * sysdeps/ia64/fpu/e_log.S: Update.
7684 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7685 and add necessary aliases.
7686 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7687 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7688 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7689 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7690 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7691 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7692 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7693 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7694 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7695 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7696 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7697 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7698 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7699 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7700 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7705 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7706 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7707 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7708 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7709 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7710 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7711 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7712 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7714 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7715 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7716 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7717 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7719 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7721 * math/Versions (GLIBC_2.29): Add exp and exp2.
7722 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7723 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7724 * math/w_exp_compat.c (__exp_compat): Likewise.
7725 * math/w_exp.c: New file.
7726 * math/w_exp2.c: New file.
7727 * sysdeps/i386/fpu/w_exp.c: New file.
7728 * sysdeps/i386/fpu/w_exp2.c: New file.
7729 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7730 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7731 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7732 and add necessary aliases.
7733 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7734 and add necessary aliases.
7735 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7736 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7737 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7738 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7739 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7740 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7741 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7742 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7743 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7744 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7745 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7746 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7747 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7748 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7749 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7750 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7751 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7756 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7757 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7758 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7759 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7760 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7761 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7762 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7763 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7764 (__ieee754_exp): Rename to __exp.
7765 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7766 (__ieee754_exp): Rename to __exp.
7767 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7768 (__ieee754_exp): Rename to __exp.
7769 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7771 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7773 2018-11-20 DJ Delorie <dj@redhat.com>
7775 * malloc/malloc.c (tcache_entry): Add key field.
7776 (tcache_put): Set it.
7777 (tcache_get): Likewise.
7778 (_int_free): Check for double free in tcache.
7779 * malloc/tst-tcfree1.c: New.
7780 * malloc/tst-tcfree2.c: New.
7781 * malloc/Makefile: Run the new tests.
7782 * manual/probes.texi: Document memory_tcache_double_free probe.
7784 * dlfcn/dlerror.c (check_free): Prevent double frees.
7786 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7788 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7790 2018-11-20 Joseph Myers <joseph@codesourcery.com>
7792 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7793 in tests. Use names for format arguments.
7794 (ConstantTest.run): Likewise.
7795 (SymbolTest.run): Likewise.
7796 (TypeTest.run): Likewise.
7797 (TagTest.run): Likewise.
7798 (FunctionTest.run): Likewise.
7799 (VariableTest.run): Likewise.
7800 (MacroFunctionTest.run): Likewise.
7801 (MacroStrTest.run): Likewise.
7802 (HeaderTests.__init__): Set self.num_tests.
7803 (HeaderTests.handle_test_line): Set test.num. Increment
7806 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7808 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7809 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7812 2018-11-19 Mao Han <han_mao@c-sky.com>
7814 * scripts/config.guess: Update to version 2018-08-29.
7815 * scripts/config.sub: Update to version 2018-08-29.
7817 2018-11-19 Florian Weimer <fweimer@redhat.com>
7819 support: Print timestamps in timeout handler.
7820 * support/support_test_main.c (print_timestamp): New function.
7821 (signal_handler): Use it to print the termination time and the
7822 time of the last write to standard output.
7824 2018-11-16 Zack Weinberg <zackw@panix.com>
7825 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7827 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7828 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7830 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7831 and add flags argument. Check flags instead of __ldbl_is_dbl when
7832 deciding whether to set is_long_double.
7833 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7834 passing zero for flags argument.
7835 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7837 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7838 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7839 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7840 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7841 variable names. Remove libc_hidden_def/libc_hidden_proto from
7842 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7843 longer called from within the library.
7844 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7845 for __nldbl___vstrfmon_l, declare it explicitly.
7847 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7849 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7851 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7853 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7854 F_SETLK64, F_SETLKW64, respectively.
7855 * sysdeps/mach/hurd/f_setlk.c: New file.
7856 * sysdeps/mach/hurd/f_setlk.h: New file.
7857 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7859 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7860 (__libc_fcntl): Move non-flock operations to...
7861 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7862 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7864 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7866 mktime: DEBUG_MKTIME cleanup
7867 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7868 And it’s no longer needed now that glibc and Gnulib both have
7869 their own testing mechanisms for mktime.
7870 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7872 mktime: fix non-EOVERFLOW errno handling
7874 mktime was not properly reporting failures when the underlying
7875 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7876 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7877 The problem could happen on non-glibc platforms, with Gnulib.
7878 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7879 (tm_diff): ... this simpler function, which does not change errno.
7880 All callers changed to deal with errno themselves.
7881 (ranged_convert, __mktime_internal): Return failure immediately if
7882 the underlying function reports any failure other than EOVERFLOW.
7883 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7886 mktime: fix bug with Y2038 DST transition
7888 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7889 mishandle a DST transition that jumps over the Y2038 boundary.
7890 No such DST transitions are known so this is only a theoretical
7891 bug, but we might as well do things right.
7893 mktime: make more room for overflow
7895 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7896 This is so that we can add tm_diff results to a previous guess,
7897 which will be useful in a later patch.
7899 mktime: simplify offset guess
7901 * time/mktime.c (__mktime_internal): Omit excess precision.
7903 mktime: new test for mktime failure
7905 Based on a test suggested by Albert Aribaud in:
7906 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7907 * time/Makefile (tests): Add bug-mktime4.
7908 * time/bug-mktime4.c: New file.
7910 mktime: fix EOVERFLOW bug
7912 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7913 Include libc-config.h, not config.h, for __set_errno.
7914 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7916 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7918 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7919 __attribute_copy__ to copy attributes from name. Drop static qualifier
7920 to avoid warnings about leaf attribute not having effect on static
7923 2018-11-13 Florian Weimer <fweimer@redhat.com>
7925 * malloc/malloc.c (fastbin_push_entry): New function.
7926 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7927 (REMOVE_FB): Remove macro.
7928 (_int_malloc): Use fastbin_pop_entry and reindent.
7929 (_int_free): Use fastbin_push_entry.
7930 (malloc_consolidate): Use atomic_exchange_acquire.
7932 2018-11-13 Joseph Myers <joseph@codesourcery.com>
7934 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7935 alias attribute, not with strong_alias.
7937 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7938 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7939 with additional parameter thread.
7940 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7941 in terms of __hidden_ver2.
7942 (hidden_tls_def): New macro.
7943 (libc_hidden_tls_def): Likewise.
7944 (rtld_hidden_tls_def): Likewise.
7945 (libm_hidden_tls_def): Likewise.
7946 (libmvec_hidden_tls_def): Likewise.
7947 (libresolv_hidden_tls_def): Likewise.
7948 (librt_hidden_tls_def): Likewise.
7949 (libdl_hidden_tls_def): Likewise.
7950 (libnss_files_hidden_tls_def): Likewise.
7951 (libnsl_hidden_tls_def): Likewise.
7952 (libnss_nisplus_hidden_tls_def): Likewise.
7953 (libutil_hidden_tls_def): Likewise.
7954 (libutil_hidden_tls_def): Likweise.
7955 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7956 libc_hidden_tls_def.
7957 (__sim_disabled_exceptions_thread): Likewise.
7958 (__sim_round_mode_thread): Likewise.
7960 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7961 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7962 copy attributes from name.
7964 2018-11-12 Joseph Myers <joseph@codesourcery.com>
7966 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7967 Use __attribute_copy__ to copy attributes from name.
7969 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7970 with __hidden_ver1 call.
7971 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7972 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7973 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7974 (__cosf): Do not declare here.
7975 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7976 (__sincosf): Do not declare here.
7977 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7978 (__sinf): Do not declare here.
7980 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7981 (__BIG_ENDIAN): Likewise.
7982 (__BYTE_ORDER): Likewise.
7983 (strong_alias): Likewise.
7984 (_strong_alias): Likewise.
7986 2018-11-12 Florian Weimer <fweimer@redhat.com>
7988 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7989 function. Move after the definition of in_smallbin_range. Do not
7990 use __builtin_expect for paths that lead to a noreturn function.
7991 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7992 because it is unclear whether this is in fact an unlikely
7994 (_int_malloc, _int_free): Adjust.
7995 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7997 * malloc/arena.c (heap_trim): Likewise.
7999 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8001 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
8002 it, free it if needed.
8003 (reauthenticate): Test and use ccwdir.
8004 (child_init_port): In non-resetids case, test and use ccwdir.
8005 (child_chdir): New nested function to set ccwdir.
8006 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
8007 * hurd/hurd/port.h (_hurd_port_move): New function.
8008 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
8009 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
8010 * hurd/Versions (_hurd_port_move): Export function.
8011 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
8013 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
8014 of dtablesize for allocating dtable_cloexec.
8016 2018-11-09 Martin Sebor <msebor@redhat.com>
8018 * include/libc-symbols.h (__attribute_copy__): Define macro unless
8019 it's already defined.
8020 (_strong_alias): Use __attribute_copy__.
8021 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
8022 * misc/sys/cdefs.h (__attribute_copy__): New macro.
8023 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
8024 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
8025 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
8026 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
8027 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
8028 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
8029 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
8030 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
8031 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
8032 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
8033 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
8034 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
8035 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
8036 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
8037 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
8038 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
8039 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
8041 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8043 * misc/tst-efgcvt.c: Include support/check.h and
8044 support/test-driver.c. Do not include test-skeleton.c.
8045 (error_count): Remove.
8046 (output_error): Replace increments to error_count with calls to
8047 support_record_failure.
8048 (output_r_error): Likewise.
8049 (special): Likewise.
8050 (do_test): Unconditionally return zero.
8051 (TEST_FUNCTION): Remove.
8053 2018-11-09 Joseph Myers <joseph@codesourcery.com>
8055 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
8057 ($(linknamespace-header-tests)): Likewise.
8059 * conform/conformtest.py: New file.
8060 * conform/conformtest.pl: Remove.
8061 * conform/GlibcConform.pm: Likewise.
8062 * conform/glibcconform.py (KEYWORDS_C90): New constant.
8063 (KEYWORDS_C99): Likewise.
8064 (KEYWORDS): Likewise.
8065 * conform/Makefile ($(conformtest-header-tests)): Use
8066 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
8067 option. Use --header instead of --headers.
8068 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
8070 * conform/data/spawn.h-data: Likewise.
8071 * conform/data/fcntl.h-data (openat): Add space after function
8073 * conform/data/wchar.h-data (wcscasecmp): Likewise.
8074 (wcscasecmp_l): Likewise.
8075 * conform/data/termios.h-data (c_cc): Add space after element
8078 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8080 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
8081 instead of manually comparing and reporting mismatching strings.
8082 * misc/tst-ldbl-error.c (do_one_test): Likewise.
8083 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
8085 2018-11-08 Joseph Myers <joseph@codesourcery.com>
8087 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
8088 __ASSUME_SOCKETCALL.
8089 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8090 (__ASSUME_SOCKETCALL): Remove.
8091 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8092 (__ASSUME_SOCKETCALL): Likewise.
8093 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8094 (__ASSUME_SOCKETCALL): Likewise.
8095 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8096 (__ASSUME_SOCKETCALL): Likewise.
8097 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8098 (__ASSUME_SOCKETCALL): Likewise.
8099 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8100 (__ASSUME_SOCKETCALL): Likewise.
8101 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8102 (__ASSUME_SOCKETCALL): Likewise.
8104 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
8107 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
8108 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
8109 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
8110 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
8111 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
8114 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
8117 * resolv/tst-resolv-network.c: Add test for getnetbyname.
8119 2018-11-07 Joseph Myers <joseph@codesourcery.com>
8122 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8123 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8124 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8125 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8127 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8129 * support/support_test_compare_string.c
8130 (support_test_compare_string): Fix printf format.
8132 2018-11-07 Florian Weimer <fweimer@redhat.com>
8134 Implement TEST_COMPARE_STRING.
8135 * support/check.h (TEST_COMPARE_STRING): Define.
8136 (support_test_compare_string): Declare.
8137 * support/Makefile (libsupport-routines): Add
8138 support_test_compare_string.
8139 (tests): Add tst-test_compare_string.
8140 * support/support_test_compare_string.c: New file.
8141 * support/tst-test_compare_string.c: Likewise.
8143 2018-11-07 Andreas Schwab <schwab@suse.de>
8146 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
8147 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
8150 2018-11-06 Joseph Myers <joseph@codesourcery.com>
8153 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8154 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
8155 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
8156 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
8159 2018-11-06 Florian Weimer <fweimer@redhat.com>
8162 * posix/Makefile (routines): Add spawn_faction_addchdir.
8163 (tests): Add tst-spawn-chdir.
8164 * posix/Versions (GLIBC_2.29): Add
8165 posix_spawn_file_actions_addchdir_np.
8166 * posix/spawn_faction_addchdir.c: New file.
8167 * posix/spawn_faction_destroy.c
8168 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
8169 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
8170 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
8172 * posix/tst-spawn-chdir.c: New file.
8173 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
8174 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8175 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8176 posix_spawn_file_actions_addchdir_np.
8177 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8179 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8181 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8182 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8184 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8186 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8188 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8190 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8192 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8194 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8195 (GLIBC_2.29): Likewise.
8196 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8197 (GLIBC_2.29): Likewise.
8198 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8199 (GLIBC_2.29): Likewise.
8200 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8201 (GLIBC_2.29): Likewise.
8202 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8205 (GLIBC_2.29): Likewise.
8206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8207 (GLIBC_2.29): Likewise.
8208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8209 (GLIBC_2.29): Likewise.
8210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8211 (GLIBC_2.29): Likewise.
8212 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8214 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8216 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8218 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8219 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8221 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8223 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8225 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8228 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8230 * misc/Makefile (tests): Add tst-ldbl-error.
8231 * misc/tst-ldbl-error.c: New file.
8233 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8235 * misc/Makefile (tests): Add tst-ldbl-warn.
8236 * misc/tst-ldbl-warn.c: New file.
8238 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8240 * argp/Makefile (tests): Add tst-ldbl-argp.
8241 * argp/tst-ldbl-argp.c: New file.
8243 2018-11-05 Arjun Shankar <arjun@redhat.com>
8245 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
8246 __gconv_path_elem and call __gconv_get_path unconditionally.
8248 2018-11-05 Andreas Schwab <schwab@suse.de>
8251 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
8252 creating the first helper thread failed.
8254 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8256 * sysdeps/mach/hurd/msync.c: New file.
8258 2018-11-02 Florian Weimer <fweimer@redhat.com>
8260 * support/shell-container.c (copy_func): Call
8261 support_copy_file_range instead of copy_file_range to support
8262 cross-device copies.
8264 2018-11-02 Florian Weimer <fweimer@redhat.com>
8266 * support/test-container.c: Include <libc-pointer-arith.h> for
8269 2018-11-01 Zong Li <zong@andestech.com>
8271 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
8272 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
8273 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
8274 (__FP_FRAC_SET_8): Add implementation for RV32 use.
8276 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
8277 variable to avoid overlap arguments.
8279 2018-11-01 Joseph Myers <joseph@codesourcery.com>
8281 * posix/bug-regex22.c (main): Use puts with distinct error
8282 messages for unexpected success of re_compile_pattern, not printf
8283 with NULL argument to %s.
8285 * stdio-common/bug22.c: Include <libc-diag.h>.
8286 (do_test): Disable -Wformat-overflow= warnings around fprintf
8287 calls outputting more than INT_MAX characters.
8288 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
8289 around printf call with NULL %s argument.
8292 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
8293 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
8295 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8296 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8297 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8298 (__ASSUME_SENDTO_SYSCALL): Likewise.
8299 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8300 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
8302 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8303 (__ASSUME_CONNECT_SYSCALL): Likewise.
8304 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8305 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8306 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
8308 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
8310 [__LINUX_KERNEL_VERSION >= 0x040400]
8311 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8312 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
8315 (setsockopt): Likewise.
8317 2018-11-01 Fredrik Noring <noring@nocrew.org>
8319 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
8320 with the ISA override.
8322 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
8324 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
8327 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8329 * manual/errno.texi (EIEIO): Document how translators should
8330 translate the error message.
8331 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
8332 printing trailing whitespaces refused by git.
8333 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
8334 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8335 * hurd/Makefile (user-interfaces): Add pci.
8337 2018-10-30 Joseph Myers <joseph@codesourcery.com>
8339 * conform/linknamespace.py: New file.
8340 * conform/linknamespace.pl: Remove file.
8341 * conform/Makefile ($(linknamespace-header-tests)): Use
8342 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
8345 2018-10-30 Florian Weimer <fweimer@redhat.com>
8347 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
8350 2018-10-30 Florian Weimer <fweimer@redhat.com>
8352 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
8354 2018-10-30 Florian Weimer <fweimer@redhat.com>
8356 * stdlib/tst-strtod-overflow.c (do_test): Switch to
8357 support_blob_repeat.
8359 2018-10-30 Florian Weimer <fweimer@redhat.com>
8361 Avoid spurious test failures in stdlib/test-bz22786.
8362 * support/Makefile (libsupport-routines): Add blob_repeat.
8363 (tests): Add tst-support_blob_repeat.
8364 * support/blob_repeat.h: New file.
8365 * support/blob_repeat.c: Likewise.
8366 * support/tst-support_blob_repeat.c: Likewise.
8367 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
8368 support_blob_repeat_allocate.
8370 2018-10-30 Andreas Schwab <schwab@suse.de>
8373 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
8374 Don't use tail call.
8375 * elf/tst-unwind-main.c: New file.
8376 * elf/Makefile (tests): Add tst-unwind-main.
8377 (CFLAGS-tst-unwind-main.c): Define.
8379 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
8382 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
8384 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
8386 2018-10-29 Joseph Myers <joseph@codesourcery.com>
8388 * conform/glibcconform.py: Do not import shutil.
8389 (list_exported_functions): Use tempfile.TemporaryDirectory instead
8392 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
8393 critic_missing for versions before 3.4.
8394 * configure: Regenerated.
8395 * manual/install.texi (Tools for Compilation): Document
8396 requirement for Python to build glibc.
8397 * INSTALL: Regenerated.
8398 * Rules [PYTHON]: Make code unconditional.
8399 * benchtests/Makefile [PYTHON]: Likewise.
8400 * conform/Makefile [PYTHON]: Likewise.
8401 * manual/Makefile [PYTHON]: Likewise.
8402 * math/Makefile [PYTHON]: Likewise.
8404 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8406 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
8407 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
8408 answer to interrupt_operation, return EIEIO instead of EINTR.
8409 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8410 _hurd_intr_rpc_msg_about_to global point to start of controlled
8411 assembly snippet. Make it check canceled flag.
8412 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8413 the _hurd_intr_rpc_msg_about_to point.
8414 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8415 issue, remove cancel flag check.
8417 2018-10-26 Joseph Myers <joseph@codesourcery.com>
8419 * scripts/build-many-glibcs.py: Remove compatibility for missing
8420 os.cpu_count and re.fullmatch.
8422 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8425 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8426 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8427 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8429 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8431 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8434 2018-10-25 Florian Weimer <fweimer@redhat.com>
8438 XFAIL siginfo_t si_band conform test on sparc64.
8439 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8440 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8441 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8442 (conformtest-xfail-conds): Add sparc64-linux.
8443 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8445 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8447 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8449 * elf/elf.h (NT_MIPS_DSP): New macro.
8450 (NT_MIPS_FP_MODE): Likewise.
8452 2018-10-25 Zong Li <zong@andestech.com>
8454 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8455 name by adding the file extension (.so).
8457 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8459 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8460 (test-xfail-ISO11/threads.h/linknamespace,
8461 test-xfail-ISO11/threads.h/conform): Add.
8463 2018-10-24 Joseph Myers <joseph@codesourcery.com>
8465 * math/gen-libm-test.py: Import os.
8466 (ALL_FLOATS_MANUAL): New constant.
8467 (ALL_FLOATS_SUFFIX): Likewise.
8468 (Ulps.all_functions): New function.
8469 (real_all_ulps): Likewise.
8470 (generate_err_table_sub): Likewise.
8471 (generate_err_table): Likewise.
8472 (main): Handle -s and -m options.
8473 * manual/libm-err-tab.pl: Remove.
8474 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8475 instead of libm-err-tab.pl.
8476 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8478 * manual/install.texi (Tools for Compilation): Document
8479 requirement for Python to build manual.
8480 * INSTALL: Regenerated.
8482 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8484 * bits/time64.h: New file.
8485 * include/time.h: Replace internal_time_t with __time64_t.
8486 * posix/bits/types (__time64_t): Add.
8487 * stdlib/Makefile: Add bits/time64.h to includes.
8488 * time/tzfile.c: Replace internal_time_t with __time64_t.
8490 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8492 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8493 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8494 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8495 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8496 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8498 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8499 * posix/spawn_faction_addclose.c
8500 (__posix_spawn_file_actions_addclose): Add hidden definition.
8501 * posix/spawn_faction_adddup2.c
8502 (__posix_spawn_file_actions_adddup2): Likewise.
8503 * posix/spawn_faction_destroy.c
8504 (__posix_spawn_file_actions_destroy): Likewise.
8505 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8507 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8508 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8509 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8511 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8512 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8515 2018-10-24 Andreas Schwab <schwab@suse.de>
8518 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8520 * elf/cache.c (print_cache): Likewise.
8522 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8524 * bits/timesize.h: New file.
8525 * stdlib/Makefile (headers): Add bits/timesize.h.
8526 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8527 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8528 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8529 (__SEM_PAD_AFTER_TIME): Likewise.
8530 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8531 (__SHM_PAD_AFTER_TIME): Likewise.
8532 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8533 (__MSQ_PAD_BEFORE_TIME): Likewise.
8534 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8535 (__SEM_PAD_BEFORE_TIME): Likewise.
8536 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8537 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8538 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
8539 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8540 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8541 (__MSQ_PAD_BEFORE_TIME): Likewise.
8542 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8543 (__SEM_PAD_BEFORE_TIME): Likewise.
8544 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8545 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8546 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8547 (__MSQ_PAD_BEFORE_TIME): Likewise.
8548 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8549 (__SEM_PAD_BEFORE_TIME): Likewise.
8550 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8551 (__SHM_PAD_BEFORE_TIME): Likewise.
8552 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8553 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8554 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8556 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8558 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8559 USE_RDTSCP is defined.
8560 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8561 USE_RDTSCP is defined.
8563 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8565 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8569 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8570 independently of other flags.
8572 2018-10-23 Florian Weimer <fweimer@redhat.com>
8574 * time/tst-mktime2.c (N_STRINGS): Remove.
8575 (set_timezone): New function.
8576 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8577 (mktime_test1): Report localtime failure and check errno value.
8579 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8580 (do_test): Remove alarm call. Use set_timezone and array_length.
8582 2018-10-23 Andreas Schwab <schwab@suse.de>
8584 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8585 (__start_context): Use END instead of PSEUDO_END.
8587 2018-10-22 Joseph Myers <joseph@codesourcery.com>
8589 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8592 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8596 * wcsmbs/c32rtomb.c: New file.
8597 * wcsmbs/mbrtoc32.c: Likewise.
8598 * wcsmbs/tst-c32-state.c: Likewise.
8599 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8600 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8601 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8602 (tests): Add tst-c32-state.
8603 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8606 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8608 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8609 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8611 2018-10-19 Joseph Myers <joseph@codesourcery.com>
8614 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8615 pair and return 0 in that case, and use saved character to
8616 interpret following character.
8617 * wcsmbs/tst-c16-surrogate.c: New file.
8618 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8619 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8620 Depend on $(gen-locales)
8622 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8625 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8626 (struct siginfo_t): Use correct type for si_band.
8628 2018-10-19 Florian Weimer <fweimer@redhat.com>
8631 * resource/bits/types/struct_rusage.h (struct rusage): Update
8632 comment on struct. Remove extraneous field comment.
8634 2018-10-18 David S. Miller <davem@davemloft.net>
8636 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8637 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8638 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8639 sysdep_routines in subdir elf.
8640 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8641 version for __vdso_clock_gettime.
8642 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8644 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8645 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8647 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8649 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8651 * sysdeps/i386/init-arch.h: Removed.
8652 * sysdeps/i386/i586/init-arch.h: Likewise.
8653 * sysdeps/i386/i686/init-arch.h: Likewise.
8654 * sysdeps/i386/i686/hp-timing.h: Likewise.
8655 * sysdeps/x86_64/hp-timing.h: Likewise.
8656 * sysdeps/i386/isa.h: New file.
8657 * sysdeps/i386/i586/isa.h: Likewise.
8658 * sysdeps/i386/i686/isa.h: Likewise.
8659 * sysdeps/x86_64/isa.h: Likewise.
8660 * sysdeps/x86/hp-timing.h: New file.
8661 * sysdeps/x86/init-arch.h: Include <isa.h>.
8663 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8665 * math/libm-test-pow.inc (pow_test_data): Do not allow
8666 divide-by-zero exception for pow(+/- 0, -Inf).
8668 2018-10-17 Zack Weinberg <zackw@panix.com>
8670 * manual/job.texi (Job Control is Optional): Remove node, as
8671 job control has not been optional in quite some time.
8672 (Job Control): Mention briefly that systems older than
8673 POSIX.1-2001 might not support job control.
8674 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8675 defined on systems conforming to POSIX.1-2001.
8677 2018-10-17 Arjun Shankar <arjun@redhat.com>
8680 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8682 * (__gconv_read_conf): Mark function static.
8683 * (once): New static variable.
8684 * (__gconv_load_conf): New function.
8685 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8686 * iconv/gconv_db.c (once): Remove static variable.
8687 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8689 * (__gconv_find_transform): Likewise.
8690 * iconv/tst-iconv-mt.c: New test.
8691 * iconv/Makefile: Add tst-iconv_mt.
8693 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8695 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8697 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8698 (shmatt_t): Define as __syscall_ulong_t.
8699 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8700 and [__SHM_PAD_AFTER_TIME].
8701 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8702 Define shm_segsz and associated padding based on
8703 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8704 Use __syscall_ulong_t instead of unsigned long int.
8705 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8707 [__USE_MISC] (struct shm_info): Likewise.
8708 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8709 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8710 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8711 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8712 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8713 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8714 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8715 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8716 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8717 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8718 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8722 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8723 (SHMLBA): Remove macro.
8724 (__getpagesize): Remove function declaration.
8725 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8727 (SHMLBA): Remove macro.
8728 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8730 (SHMLBA): Remove macro.
8731 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8733 (SHMLBA): Remove macro.
8734 (__getpagesize): Remove function declaration.
8735 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8737 (SHMLBA): Remove macro.
8738 (__getshmlba): Remove function declaration.
8739 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8740 (SHMLBA): Remove macro.
8741 (__getpagesize): Remove function declaration.
8742 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8743 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8744 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8745 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8746 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8747 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8748 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8749 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8750 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8751 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8753 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
8756 * nptl/tst-mutex10.c: New File.
8757 * nptl/Makefile (tests): Add tst-mutex10.
8758 (tst-mutex10-ENV): New variable.
8759 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8760 Ensure that elision path is used if elision is available.
8761 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8763 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8765 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8766 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8767 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8768 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8770 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8771 (__pthread_mutex_cond_lock_adjust): Likewise.
8772 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8774 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8775 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8776 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8777 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8779 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8780 Use atomic_load_relaxed and atomic_store_relaxed.
8781 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8782 Use atomic_store_relaxed.
8784 2018-10-17 Andreas Schwab <schwab@suse.de>
8786 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8787 * crypt/badsalttest.c (TIMEOUT): Likewise.
8788 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8789 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8790 * io/test-lfs.c (TIMEOUT): Likewise.
8791 * libio/tst-atime.c (TIMEOUT): Likewise.
8792 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8793 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8794 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8795 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8796 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8797 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8798 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8799 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8800 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8801 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8802 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8803 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8804 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8805 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8806 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8807 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8808 * nptl/tst-once2.c (TIMEOUT): Likewise.
8809 * nptl/tst-once3.c (TIMEOUT): Likewise.
8810 * nptl/tst-once4.c (TIMEOUT): Likewise.
8811 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8812 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8813 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8814 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8815 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8816 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8817 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8818 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8819 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8820 * posix/tst-chmod.c (TIMEOUT): Likewise.
8821 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8822 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8823 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8824 * posix/tst-regex2.c (TIMEOUT): Likewise.
8825 * posix/tst-waitid.c (TIMEOUT): Likewise.
8826 * rt/tst-aio.c (TIMEOUT): Likewise.
8827 * rt/tst-aio10.c (TIMEOUT): Likewise.
8828 * rt/tst-aio4.c (TIMEOUT): Likewise.
8829 * rt/tst-aio5.c (TIMEOUT): Likewise.
8830 * rt/tst-aio6.c (TIMEOUT): Likewise.
8831 * rt/tst-aio64.c (TIMEOUT): Likewise.
8832 * rt/tst-aio7.c (TIMEOUT): Likewise.
8833 * rt/tst-aio9.c (TIMEOUT): Likewise.
8834 * rt/tst-clock.c (TIMEOUT): Likewise.
8835 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8836 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8837 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8838 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8839 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8840 * rt/tst-timer4.c (TIMEOUT): Likewise.
8841 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8842 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8843 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8844 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8845 * time/tst-ftime.c (TIMEOUT): Likewise.
8846 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8848 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
8850 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8851 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8854 2018-10-15 Joseph Myers <joseph@codesourcery.com>
8856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8858 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8859 instead of <bits/wordsize.h>.
8860 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8861 and [__SEM_PAD_AFTER_TIME].
8862 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8863 __syscall_ulong_t instead of unsigned long int.
8864 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8865 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8866 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8867 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8868 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8869 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8870 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8871 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8872 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8873 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8874 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8876 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8878 regex: simplify by using intprops.h
8880 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8881 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8882 intprops.h defines them.
8884 regex: __builtin_expect → __glibc_unlikely
8886 This refactoring was prompted by a problem when the regex code is
8887 used as part of Gnulib and when the builder’s compiler does not grok
8888 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8889 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8890 Although this refactoring does not fix the problem directly,
8891 we might as well have Gawk use the now-preferred glibc style for when
8892 __builtin_expect is unavailable.
8893 * posix/regex_internal.h (BE): Remove.
8894 All uses replaced by __glibc_unlikely or __glibc_likely.
8896 2018-10-11 Joseph Myers <joseph@codesourcery.com>
8898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8900 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8901 instead of <bits/wordsize.h>.
8902 (msgqnum_t): Define as __syscall_ulong_t.
8903 (msglen_t): Likewise.
8904 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8905 and [__MSQ_PAD_AFTER_TIME].
8906 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8907 __syscall_ulong_t instead of unsigned long int.
8908 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8909 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8910 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8911 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8912 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8913 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8914 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8915 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8916 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8917 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8918 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8920 2018-10-10 Joseph Myers <joseph@codesourcery.com>
8922 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8923 (struct shmid_ds): Condition padding after time fields on
8925 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8926 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8927 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8929 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8930 (struct semid_ds): Condition padding after time fields on
8932 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8933 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8934 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8935 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8937 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8938 (struct msqid_ds): Condition padding after time fields on
8940 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8941 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8942 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8943 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8945 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8947 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8949 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8951 * libio/tst-readline.c (TIMEOUT): Define.
8953 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8955 mktime fix for Gnulib + coreutils
8957 This fix affects only Gnulib. Problem discovered when
8958 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8960 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8961 Do not define since it is not used. Defining an unused static
8962 function prompts a warning from GCC when Coreutils is configured
8963 with --enable-gcc-warnings.
8965 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8967 * benchtests/scripts/compare_bench.py (main): set float type on
8970 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8973 * localedata/locales/kl_GL (mon): Update, the relative case.
8974 (alt_mon): Add, fill with month names in the nominative case.
8975 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8976 (d_fmt): Set to "%b %d %Y".
8978 2018-10-04 Joseph Myers <joseph@codesourcery.com>
8980 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8981 <bits/mman-linux.h>.
8982 (PROT_READ): Don't define here.
8983 (PROT_WRITE): Likewise.
8984 (PROT_EXEC): Likewise.
8985 (PROT_NONE): Likewise.
8986 (PROT_GROWSDOWN): Likewise.
8987 (PROT_GROWSUP): Likewise.
8988 (MAP_SHARED): Likewise.
8989 (MAP_PRIVATE): Likewise.
8990 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8991 [__USE_MISC] (MAP_FILE): Likewise.
8992 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8993 [__USE_MISC] (MAP_ANON): Likewise.
8994 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8995 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8996 (MCL_CURRENT): Likewise.
8997 (MCL_FUTURE): Likewise.
8998 (MCL_ONFAULT): Likewise.
8999 [__USE_MISC] (MADV_NORMAL): Likewise.
9000 [__USE_MISC] (MADV_RANDOM): Likewise.
9001 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
9002 [__USE_MISC] (MADV_WILLNEED): Likewise.
9003 [__USE_MISC] (MADV_DONTNEED): Likewise.
9004 [__USE_MISC] (MADV_FREE): Likewise.
9005 [__USE_MISC] (MADV_REMOVE): Likewise.
9006 [__USE_MISC] (MADV_DONTFORK): Likewise.
9007 [__USE_MISC] (MADV_DOFORK): Likewise.
9008 [__USE_MISC] (MADV_HWPOISON): Likewise.
9009 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
9010 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
9011 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
9012 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
9013 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
9014 (__MAP_ANONYMOUS): New macro.
9015 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
9016 <bits/mman-linux.h> inclusion.
9017 (MAP_FIXED): Likewise.
9018 (MS_SYNC): Likewise.
9019 (MS_ASYNC): Likewise.
9020 (MS_INVALIDATE): Likewise.
9021 [__USE_MISC] (MADV_MERGEABLE): Likewise.
9022 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
9023 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
9024 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
9025 [__USE_MISC] (MADV_DONTDUMP): Likewise.
9026 [__USE_MISC] (MADV_DODUMP): Likewise.
9027 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
9028 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
9031 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
9033 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
9034 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
9035 Add test-nldbl-redirect.
9036 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
9037 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
9038 $(objpfx)libnldbl_nonshared.a.
9040 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
9042 * support/support.h (support_objdir_elf_ldso): New variable.
9043 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
9044 * support/Makefile (CFLAGS-support_paths.c): Add definition
9045 for OBJDIR_ELF_LDSO_PATH.
9046 * support/test-container.c (main): Search for the ld.so
9047 which is also used by the testsuite.
9049 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
9052 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
9053 should be "sap" rather than "sab".
9054 (day): Fix spelling of Sunday, should be "sapaat" rather than
9057 2018-10-02 Joseph Myers <joseph@codesourcery.com>
9059 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9061 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
9064 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
9065 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
9066 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
9068 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9070 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
9072 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
9074 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
9076 (CFLAGS-elision-unlock.c): Likewise.
9077 (CFLAGS-elision-timed.c): Likewise.
9078 (CFLAGS-elision-trylock.c): Likewise.
9079 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
9081 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9084 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
9085 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
9086 new fd_to_filename interface.
9087 * libio/freopen64.c (freopen64): Likewise.
9088 * libio/tst-memstream.h: New file.
9089 * libio/tst-memstream4.c: Likewise.
9090 * libio/tst-wmemstream4.c: Likewise.
9091 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
9092 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
9093 and remove internal dynamic allocation.
9095 2018-10-01 Joseph Myers <joseph@codesourcery.com>
9097 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
9098 (MREMAP_MAYMOVE): Do not define here.
9099 [__USE_GNU] (MREMAP_FIXED): Likewise.
9100 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
9101 (MREMAP_MAYMOVE): Define here instead.
9102 [__USE_GNU] (MREMAP_FIXED): Likewise.
9103 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
9104 (MREMAP_MAYMOVE): Remove.
9105 [__USE_GNU] (MREMAP_FIXED): Likewise.
9107 2018-09-28 Joseph Myers <joseph@codesourcery.com>
9109 * math/fromfp.h: Do not include <math_private.h>.
9110 * math/s_cacosh_template.c: Likewise.
9111 * math/s_casin_template.c: Likewise.
9112 * math/s_casinh_template.c: Likewise.
9113 * math/s_ccos_template.c: Likewise.
9114 * math/s_cproj_template.c: Likewise.
9115 * math/s_fdim_template.c: Likewise.
9116 * math/s_fmaxmag_template.c: Likewise.
9117 * math/s_fminmag_template.c: Likewise.
9118 * math/s_iseqsig_template.c: Likewise.
9119 * math/s_ldexp_template.c: Likewise.
9120 * math/s_nextdown_template.c: Likewise.
9121 * math/w_log1p_template.c: Likewise.
9122 * math/w_scalbln_template.c: Likewise.
9123 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9124 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9125 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9126 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9127 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
9128 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
9129 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
9130 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
9131 * sysdeps/i386/fpu/s_atanl.c: Likewise.
9132 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
9133 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9134 * sysdeps/i386/fpu/s_fdim.c: Likewise.
9135 * sysdeps/i386/fpu/s_logbl.c: Likewise.
9136 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9137 * sysdeps/i386/fpu/s_significandl.c: Likewise.
9138 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
9139 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9141 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9144 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9145 * sysdeps/ieee754/k_standardf.c: Likewise.
9146 * sysdeps/ieee754/k_standardl.c: Likewise.
9147 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9148 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9149 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
9150 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9151 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9152 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9153 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9154 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9155 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9156 * sysdeps/ieee754/s_signgam.c: Likewise.
9157 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9158 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
9159 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
9160 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9161 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9162 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9163 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9164 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9165 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9166 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9167 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9168 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9169 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9170 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9171 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9172 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9173 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9174 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9175 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9176 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9177 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9178 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9179 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9180 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9181 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9182 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9183 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9184 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9185 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9186 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9187 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9188 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9189 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9190 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9191 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9192 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9193 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
9195 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9197 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
9200 * sysdeps/i386/dl-cet.c: Removed.
9201 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
9203 (_dl_runtime_profile_shstk): Likewise.
9204 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
9205 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
9207 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9210 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
9211 do_test_with_invalid_iov): New tests.
9212 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
9213 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
9214 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
9216 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9217 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9218 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9220 2018-09-27 Joseph Myers <joseph@codesourcery.com>
9222 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9223 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
9224 (MATH_REDIRECT_BINARY_ARGS): New macro.
9225 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9226 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
9227 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
9229 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
9230 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9231 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
9232 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9233 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9234 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9235 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
9240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
9242 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
9243 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
9244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
9246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
9248 * sysdeps/generic/math_private_calls.h
9249 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
9250 Do not declare and define as an inline function.
9251 * math/divtc3.c (__divtc3): Use copysign functions instead of
9252 __copysign variants.
9253 * math/multc3.c (__multc3): Likewise.
9254 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
9255 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
9256 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9257 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9259 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9260 (__ieee754_yn): Likewise.
9261 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9262 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
9263 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9264 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9265 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
9267 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9268 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9270 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9272 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9274 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9275 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9277 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9278 (__ieee754_ynf): Likewise.
9279 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9280 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9281 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9282 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9284 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9285 (__ieee754_ynl): Likewise.
9286 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9287 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9288 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9290 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9291 (__ieee754_ynl): Likewise.
9292 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
9293 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9294 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9295 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9297 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9299 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
9300 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9301 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
9302 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9303 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9305 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9306 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
9307 using MATH_REDIRECT.
9308 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
9310 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
9311 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9312 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9313 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
9314 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9315 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9316 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
9318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
9319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
9320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
9321 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9322 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9323 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9324 (round): Redirect to __round.
9325 (__roundl): Call round instead of __round.
9326 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
9328 [_ARCH_PWR5X] (__roundf): Likewise.
9329 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
9330 functions instead of __round variants.
9331 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9332 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9334 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9336 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9338 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
9339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
9341 (__ieee754_expl): Call roundl instead of __roundl.
9343 2018-09-27 Andreas Schwab <schwab@suse.de>
9346 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
9347 (do_test): Make st1 static.
9349 2018-09-26 Andreas Schwab <schwab@suse.de>
9352 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
9353 * elf/Makefile (tests): Add tst-unwind-ctor.
9354 (modules-names): Add tst-unwind-ctor-lib.
9355 ($(objpfx)tst-unwind-ctor): Depend on
9356 $(objpfx)tst-unwind-ctor-lib.so.
9358 2018-09-26 Joseph Myers <joseph@codesourcery.com>
9360 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
9361 file. Most contents moved from ....
9362 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
9363 and include <bits/mman-map-flags-generic.h>.
9364 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9365 (sysdep_headers): Add bits/mman-map-flags-generic.h.
9366 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
9367 <bits/mman-map-flags-generic.h>.
9368 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
9369 macros defined in <bits/mman-map-flags-generic.h>.
9370 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
9371 <bits/mman-map-flags-generic.h>.
9372 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
9373 defined in <bits/mman-map-flags-generic.h>.
9375 2018-09-26 Andreas Schwab <schwab@suse.de>
9377 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
9380 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
9381 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9382 Fangrui Song <maskray@google.com>
9385 * config.make.in (have-textrel_ifunc): New define.
9386 * configure.ac: Add check if linker supports textrel relocation with
9388 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
9390 (CFLAGS-tst-ifunc-textrel.c): New rule.
9391 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
9392 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
9393 * elf/tst-ifunc-textrel.c: New file.
9395 2018-09-25 Joseph Myers <joseph@codesourcery.com>
9397 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9398 <bits/procfs-prregset.h>.
9399 (prgregset_t): Define using __prgregset_t.
9400 (prfpregset_t): Define using __prfpregset_t.
9401 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9402 (sysdep_headers): Add bits/procfs-prregset.h.
9403 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9404 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9405 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9406 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9408 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9409 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9410 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9412 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9413 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9414 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9415 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9416 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9417 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9418 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9419 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9420 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9421 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9422 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9423 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9424 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9425 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9426 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9427 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9428 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9429 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9430 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9431 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9432 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9433 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9434 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9435 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9437 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9438 AArch64 version. Include <bits/procfs.h>.
9439 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9440 (sysdep_headers): Add bits/procfs.h.
9441 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9442 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9443 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9444 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9445 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9446 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9447 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9448 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9449 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9450 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9451 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9452 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9453 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9454 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9455 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9456 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9457 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9459 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9461 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9464 2018-09-25 Arjun Shankar <arjun@redhat.com>
9466 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9467 (__gconv_max_path_elem_len): Likewise.
9468 (__gconv_nmodules): Likewise.
9469 (__gconv_get_path): Likewise.
9470 (path_elem): Move to ...
9471 * iconv/gconv_conf.c: ... here.
9472 (__gconv_get_path): Mark function static.
9473 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9474 * iconv/gconv_open.c: ... here.
9476 2018-09-24 Andreas Schwab <schwab@suse.de>
9478 * scripts/haveversions.awk: New file.
9479 * Makerules ($(common-objpfx)Versions.def)
9480 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9481 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9483 * Makeconfig ($(common-objpfx)Versions.def)
9484 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9485 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9487 ($(common-objpfx)Versions.mk): New rule. Include it.
9488 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9489 Emit error if build-obsolete-nsl = yes.
9490 * manual/install.texi (Configuring and compiling): Describe
9491 --enable-obsolete-nsl as unavaiable after version 2.28.
9492 * INSTALL: Regenerate.
9494 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9496 * NEWS: Add note about new TLE support on powerpc64le.
9497 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9498 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9500 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9501 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9502 * sysdeps/powerpc/powerpc32/sysdep.h,
9503 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9504 ABORT_TRANSACTION): Remove macros.
9505 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9506 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9507 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9509 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9510 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9512 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9514 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9517 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9518 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9519 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9520 which is the same as in it_IT.
9521 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9522 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9524 2018-09-20 Joseph Myers <joseph@codesourcery.com>
9526 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9527 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9528 using MATH_REDIRECT.
9529 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9531 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9532 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9533 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9534 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9535 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9536 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9541 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9542 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9543 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9544 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9545 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9546 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9547 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9548 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9549 (ceil): Redirect to __ceil.
9550 (floor): Redirect to __floor.
9551 (trunc): Redirect to __trunc.
9552 (__truncl): Call trunc instead of __trunc.
9553 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9555 [_ARCH_PWR5X] (__truncf): Likewise.
9556 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9557 trunc functions instead of __trunc variants.
9558 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9560 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9562 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9564 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9567 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9568 [__i586__ || __pentium__].
9569 [__i486__]: Handle explicitly.
9570 (HAS_CPUID): Define to 1 if above macros are undefined.
9571 (HAS_I586): Likewise.
9572 (HAS_I686): Likewise.
9574 2018-09-20 Florian Weimer <fweimer@redhat.com>
9576 * misc/tst-gethostid.c: New file.
9577 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9578 (tst-gethostid): Link with -ldl.
9580 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9582 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9583 value from gethostbyname_r.
9585 2018-09-19 Carlos O'Donell <carlos@redhat.com>
9587 * stdlib/tst-setcontext9.c (f1): Rename to...
9589 (f1b): New function implementing lower half of f1 in alternate stack.
9591 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9593 Fix mktime localtime offset confusion
9595 * include/time.h (__mktime_internal): The localtime offset is now
9596 of type long int instead of time_t. This is the longstanding type
9597 in glibc, and it is more than enough to represent difference
9598 between localtime and gmtime even if it is 32 bits and time_t is
9599 64. Changing it now will let us avoid an unnecessary change when
9600 time_t is widened to 64 bits on 32-bit platforms.
9601 * time/mktime-internal.h (mktime_offset_t): Now long int.
9603 Merge mktime, timegm from upstream Gnulib
9604 [BZ #23603][BZ #16346]
9605 This fixes some obscure problems with integer overflow.
9606 Although it looks scary, it is almost all a byte-for-byte copy
9607 from Gnulib, and the Gnulib code has been tested reasonably well.
9608 * include/intprops.h: New file, copied from Gnulib.
9609 * include/verify.h, time/mktime-internal.h:
9610 New tiny files, simplified from Gnulib.
9611 * time/mktime.c: Copy from Gnulib. This has the following changes:
9612 Do not include config.h if DEBUG_MKTIME is nonzero.
9613 Include stdbool.h, intprops.h, verify.h.
9614 Include string.h only if needed.
9615 Include stdlib.h on MS-Windows.
9616 Include mktime-internal.h.
9617 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9618 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9619 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9620 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9621 simplify later conditionals; default the others to zero. Use
9622 these conditionals to express only the code needed on the current
9623 platform. In uses of these conditionals, explicitly spell out how
9624 _LIBC affects things, so it’s easier to review from a glibc
9626 (WRAPV): Remove; no longer needed now that we have
9627 systematic overflow checking.
9628 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9629 compartmentalize tzset issues. Move system-dependent tzsettish
9630 code here from mktime.
9631 (verify): Remove; now done by verify.h. All uses changed.
9632 (long_int): Use a more-conservative definition, to avoid
9634 (SHR): Remove, replacing with ...
9635 (shr): New function, which means we needn’t worry about side
9636 effects in args, and conversion analysis is simpler.
9637 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9638 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9639 (time_t_avg, time_t_add_ok): Remove.
9640 (mktime_min, mktime_max): New constants.
9641 (leapyear, isdst_differ): Use bool for booleans.
9642 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9643 Use long_int, not time_t, for mktime differences.
9644 (long_int_avg): New function, replacing time_t_avg.
9645 INT_ADD_WRAPV replaces time_t_add_ok.
9646 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9648 (convert_time): New function.
9649 (ranged_convert): Use it.
9650 (__mktime_internal): Last arg now points to mktime_offset_t, not
9651 time_t. All uses changed. This is a no-op on glibc, where
9652 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9653 offset guess. Directly check for integer overflow instead of
9654 using a heuristic that works only 99.9...% of the time.
9655 Access *OFFSET only once, to avoid an unlikely race if the
9656 compiler delays a load and if this cascades into a signed integer
9658 (mktime): Move tzsettish code to my_tzset, and move
9659 localtime_offset to within mktime so that it doesn’t
9660 need a separate ifdef.
9661 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9662 instead of localtime.
9663 * time/timegm.c: Copy from Gnulib. This has the following changes:
9664 Include mktime-internal.h.
9665 [!_LIBC]: Include config.h and time.h. Do not include
9666 timegm.h or time_r.h. Make __mktime_internal a macro,
9667 and include mktime-internal.h to get its declaration.
9668 (timegm): Temporary is now mktime_offset_t, not time_t.
9669 This affects only Gnulib.
9671 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9674 * string/test-strstr.c (pr23637): New function.
9675 (test_main): Add tests with longer needles.
9676 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9677 * string/strstr.c (AVAILABLE): Likewise.
9679 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9681 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9683 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9685 * NEWS: Mention pow improvements.
9686 * math/Makefile (type-double-routines): Add e_pow_log_data.
9687 * sysdeps/generic/math_private.h (__exp1): Remove.
9688 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9689 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9690 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9692 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9693 (exp_inline): Remove.
9694 (__ieee754_exp): Only single double input is handled.
9695 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9696 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9697 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9698 (__pow_log_data): Define.
9699 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9700 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9701 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9702 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9704 (CFLAGS-e_pow-fma4.c): Likewise.
9706 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9708 Simplify tzfile fstat failure code
9710 * time/tzfile.c (__tzfile_read): Simplify slightly.
9712 Fix tzfile low-memory assertion failure
9714 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9715 when registering time zone abbreviations.
9717 2018-09-18 Joseph Myers <joseph@codesourcery.com>
9719 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9720 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9721 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9722 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9723 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9724 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9725 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9726 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9727 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9729 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9731 (__ceill): Call ceil instead of __ceil.
9732 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9734 (__floorl): Call floor instead of __floor.
9736 2018-09-17 Joseph Myers <joseph@codesourcery.com>
9738 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9739 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9740 using MATH_REDIRECT.
9741 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9743 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9744 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9745 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9746 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9747 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9748 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9749 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9750 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9755 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9756 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9759 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9760 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9761 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9763 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9764 functions instead of __ceil variants.
9765 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9766 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9768 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9770 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9771 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9773 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9774 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9777 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9779 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9780 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9781 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9782 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9783 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9784 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9785 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9786 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9787 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9788 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9789 (ILL_BADIADDR): Remove constant.
9790 (TRAP_BRANCH): Likewise.
9791 (TRAP_HWBKPT): Likewise.
9793 2018-09-14 Joseph Myers <joseph@codesourcery.com>
9796 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9797 Remove [_MIPS_SIM = _ABIN32] conditional case.
9798 (struct elf_prpsinfo): Likewise.
9801 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9802 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9803 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9805 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9806 elf_prpsinfo): Likewise.
9807 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9808 elf_prpsinfo): Likewise.
9809 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9812 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9813 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9814 using MATH_REDIRECT.
9815 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9817 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9818 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9819 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9820 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9821 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9822 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9823 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9824 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9825 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9826 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9827 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9828 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9829 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9830 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9831 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9832 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9833 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9834 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9835 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9838 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9839 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9840 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9841 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9842 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9843 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9845 * math/e_scalbf.c (invalid_fn): Likewise.
9846 * math/e_scalbl.c (invalid_fn): Likewise.
9847 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9849 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9851 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9852 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9853 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9855 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9857 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9859 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9860 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9862 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9863 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9865 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9866 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9867 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9868 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9869 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9870 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9871 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9872 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9873 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9874 && !NO_MATH_REDIRECT] (floor): Likewise.
9875 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9877 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9878 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9879 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9880 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9881 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9882 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9883 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9884 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9889 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9890 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9892 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9893 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9894 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9895 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9897 [_ARCH_PWR5X] (__floorf): Likewise.
9898 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9900 [__SSE4_1__] (__floorf): Likewise.
9901 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9902 instead of __floor variants.
9903 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9904 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9905 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9906 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9907 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9908 * math/w_tgamma_compat.c (__tgamma): Likewise.
9909 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9910 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9911 * math/w_tgammal_compat.c (__tgammal): Likewise.
9912 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9913 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9915 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9916 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9917 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9918 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9920 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9921 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9923 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9924 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9926 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9927 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9929 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9930 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9931 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9932 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9933 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9934 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9936 2018-09-12 Joseph Myers <joseph@codesourcery.com>
9938 * elf/Makefile (modules-names-tests): New variable.
9940 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9942 * NEWS: Mention log2 improvements.
9943 * math/Makefile (type-double-routines): Add e_log2_data.
9944 * sysdeps/i386/fpu/e_log2_data.c: New file.
9945 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9946 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9947 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9948 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9949 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9950 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9952 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9954 * NEWS: Mention log improvement.
9955 * math/Makefile (type-double-routines): Add e_log_data.
9956 * sysdeps/i386/fpu/e_log_data.c: New file.
9957 * sysdeps/ia64/fpu/e_log_data.c: New file.
9958 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9959 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9960 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9961 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9962 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9963 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9965 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9966 Xuepeng Guo <xuepeng.guo@intel.com>
9969 * sysdeps/i386/start.S: Include <sysdep.h>
9970 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9971 enabled. Add cfi_undefined (eip).
9973 2018-09-11 Joseph Myers <joseph@codesourcery.com>
9975 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9977 (EXTRACT_WORDS64): Likewise.
9978 (INSERT_WORDS64): Likewise.
9979 (GET_FLOAT_WORD): Likewise.
9980 (SET_FLOAT_WORD): Likewise.
9982 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9984 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9985 build, but not for second build if --full-gcc. Use
9986 --enable-languages=all for second build if --full-gcc.
9987 (get_parser): Add --full-gcc option.
9988 (main): Update call to Context.
9990 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9993 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9994 Single Quotation Mark).
9995 (thousands_sep): Likewise.
9996 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9997 * localedata/locales/it_IT (thousands_sep): Use ".".
9998 (grouping): Use "3;3".
10000 2018-09-10 Joseph Myers <joseph@codesourcery.com>
10002 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10003 x86_64 and i686 configs using --enable-obsolete-rpc
10004 --enable-obsolete-nsl.
10006 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10008 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10010 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10012 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
10013 Increment size of new_argv by one.
10015 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
10018 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
10019 * localedata/locales/ar_IN (d_fmt): Likewise.
10020 * localedata/locales/bhb_IN (d_fmt): Likewise.
10021 * localedata/locales/bho_IN (d_fmt): Likewise.
10022 * localedata/locales/bn_BD (d_fmt): Likewise.
10023 * localedata/locales/bn_IN (d_fmt): Likewise.
10024 * localedata/locales/doi_IN (d_fmt): Likewise.
10025 * localedata/locales/gu_IN (d_fmt): Likewise.
10026 * localedata/locales/hi_IN (d_fmt): Likewise.
10027 * localedata/locales/hne_IN (d_fmt): Likewise.
10028 * localedata/locales/kn_IN (d_fmt): Likewise.
10029 * localedata/locales/mag_IN (d_fmt): Likewise.
10030 * localedata/locales/mai_IN (d_fmt): Likewise.
10031 * localedata/locales/mjw_IN (d_fmt): Likewise.
10032 * localedata/locales/ml_IN (d_fmt): Likewise.
10033 * localedata/locales/mni_IN (d_fmt): Likewise.
10034 * localedata/locales/mr_IN (d_fmt): Likewise.
10035 * localedata/locales/pa_IN (d_fmt): Likewise.
10036 * localedata/locales/raj_IN (d_fmt): Likewise.
10037 * localedata/locales/sat_IN (d_fmt): Likewise.
10038 * localedata/locales/sd_IN (d_fmt): Likewise.
10039 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
10040 * localedata/locales/ta_IN (d_fmt): Likewise.
10041 * localedata/locales/ta_LK (d_fmt): Likewise.
10042 * localedata/locales/tcy_IN (d_fmt): Likewise.
10043 * localedata/locales/ur_IN (d_fmt): Likewise.
10045 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
10046 * localedata/locales/ks_IN (d_fmt): Likewise.
10047 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
10049 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
10050 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
10051 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
10052 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
10054 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
10056 * NEWS: Mention exp and exp2 improvements.
10057 * math/Makefile (libm-support): Remove t_exp.
10058 (type-double-routines): Add math_err and e_exp_data.
10059 * sysdeps/aarch64/libm-test-ulps: Update.
10060 * sysdeps/arm/libm-test-ulps: Update.
10061 * sysdeps/i386/fpu/e_exp_data.c: New file.
10062 * sysdeps/i386/fpu/math_err.c: New file.
10063 * sysdeps/i386/fpu/t_exp.c: Remove.
10064 * sysdeps/ia64/fpu/e_exp_data.c: New file.
10065 * sysdeps/ia64/fpu/math_err.c: New file.
10066 * sysdeps/ia64/fpu/t_exp.c: Remove.
10067 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
10068 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
10069 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
10070 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
10071 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
10072 * sysdeps/ieee754/dbl-64/math_config.h: New file.
10073 * sysdeps/ieee754/dbl-64/math_err.c: New file.
10074 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
10075 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
10076 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
10077 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
10078 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
10079 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
10080 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
10081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10084 2018-09-05 Joseph Myers <joseph@codesourcery.com>
10086 * sysdeps/alpha/fpu/math_private.h: Remove.
10088 * sysdeps/generic/math_private.h
10089 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
10090 Move this inline function ....
10091 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
10092 * include/math.h [!_ISOMAC]: To here....
10094 2018-09-04 Joseph Myers <joseph@codesourcery.com>
10096 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
10098 [!FE_HAVE_ROUNDING_MODES]: And this code ....
10099 * include/fenv.h [!_ISOMAC]: ... to here.
10100 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
10101 (feraiseexcept): Likewise.
10102 * math/fromfp.h: Do not include <fenv_private.h>.
10103 * math/s_cexp_template.c: Likewise.
10104 * math/s_csin_template.c: Likewise.
10105 * math/s_csinh_template.c: Likewise.
10106 * math/s_ctan_template.c: Likewise.
10107 * math/s_ctanh_template.c: Likewise.
10108 * math/s_iseqsig_template.c: Likewise.
10109 * math/w_acos_compat.c: Likewise.
10110 * math/w_acosf_compat.c: Likewise.
10111 * math/w_acosl_compat.c: Likewise.
10112 * math/w_asin_compat.c: Likewise.
10113 * math/w_asinf_compat.c: Likewise.
10114 * math/w_asinl_compat.c: Likewise.
10115 * math/w_j0_compat.c: Likewise.
10116 * math/w_j0f_compat.c: Likewise.
10117 * math/w_j0l_compat.c: Likewise.
10118 * math/w_j1_compat.c: Likewise.
10119 * math/w_j1f_compat.c: Likewise.
10120 * math/w_j1l_compat.c: Likewise.
10121 * math/w_jn_compat.c: Likewise.
10122 * math/w_jnf_compat.c: Likewise.
10123 * math/w_log10_compat.c: Likewise.
10124 * math/w_log10f_compat.c: Likewise.
10125 * math/w_log10l_compat.c: Likewise.
10126 * math/w_log2_compat.c: Likewise.
10127 * math/w_log2f_compat.c: Likewise.
10128 * math/w_log2l_compat.c: Likewise.
10129 * math/w_log_compat.c: Likewise.
10130 * math/w_logf_compat.c: Likewise.
10131 * math/w_logl_compat.c: Likewise.
10132 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10133 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10134 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10135 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10136 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10137 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10138 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10139 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10140 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10141 * sysdeps/ieee754/k_standardl.c: Likewise.
10142 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10143 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10144 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10145 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10146 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10147 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10148 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10149 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10150 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10151 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10152 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10153 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10154 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10155 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10156 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10157 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10158 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10159 * math/w_ilogb_template.c: Include <fenv.h> instead of
10161 * math/w_llogb_template.c: Likewise.
10162 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10163 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10165 2018-09-03 Joseph Myers <joseph@codesourcery.com>
10167 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
10168 * math/fromfp.h: Include <fenv_private.h>.
10169 * math/math-narrow.h: Likewise.
10170 * math/s_cexp_template.c: Likewise.
10171 * math/s_csin_template.c: Likewise.
10172 * math/s_csinh_template.c: Likewise.
10173 * math/s_ctan_template.c: Likewise.
10174 * math/s_ctanh_template.c: Likewise.
10175 * math/s_iseqsig_template.c: Likewise.
10176 * math/w_acos_compat.c: Likewise.
10177 * math/w_acosf_compat.c: Likewise.
10178 * math/w_acosl_compat.c: Likewise.
10179 * math/w_asin_compat.c: Likewise.
10180 * math/w_asinf_compat.c: Likewise.
10181 * math/w_asinl_compat.c: Likewise.
10182 * math/w_ilogb_template.c: Likewise.
10183 * math/w_j0_compat.c: Likewise.
10184 * math/w_j0f_compat.c: Likewise.
10185 * math/w_j0l_compat.c: Likewise.
10186 * math/w_j1_compat.c: Likewise.
10187 * math/w_j1f_compat.c: Likewise.
10188 * math/w_j1l_compat.c: Likewise.
10189 * math/w_jn_compat.c: Likewise.
10190 * math/w_jnf_compat.c: Likewise.
10191 * math/w_llogb_template.c: Likewise.
10192 * math/w_log10_compat.c: Likewise.
10193 * math/w_log10f_compat.c: Likewise.
10194 * math/w_log10l_compat.c: Likewise.
10195 * math/w_log2_compat.c: Likewise.
10196 * math/w_log2f_compat.c: Likewise.
10197 * math/w_log2l_compat.c: Likewise.
10198 * math/w_log_compat.c: Likewise.
10199 * math/w_logf_compat.c: Likewise.
10200 * math/w_logl_compat.c: Likewise.
10201 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10202 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10203 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10204 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10206 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10207 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10208 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10209 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10210 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10211 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10212 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10213 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
10214 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10215 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10216 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10217 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10218 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10219 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10220 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10221 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10222 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10223 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10224 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10225 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10226 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10227 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10228 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10229 * sysdeps/ieee754/float128/float128_private.h: Likewise.
10230 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10231 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10232 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10233 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10234 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10235 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10236 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10237 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10238 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10239 * sysdeps/ieee754/k_standardl.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10242 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10259 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10265 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10266 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10270 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10271 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10273 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10275 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10276 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10277 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10278 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10279 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10280 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10281 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10282 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10283 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10284 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10285 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10286 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10287 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10288 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10289 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10290 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10291 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10292 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10293 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10294 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10295 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10296 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10297 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10298 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10299 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10300 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10301 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10302 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10303 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10304 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10305 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10306 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10307 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10308 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10309 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10310 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10312 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10315 * include/stdio.h (__libc_fatal): Mention newline in comment.
10316 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
10317 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
10318 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10319 * nss/nsswitch.c (__nss_next2): Likewise.
10320 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
10321 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
10322 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
10323 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10324 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
10325 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
10326 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
10327 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
10328 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
10329 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
10330 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
10331 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10332 (__netlink_assert_response): Likewise.
10334 2018-08-31 Joseph Myers <joseph@codesourcery.com>
10336 * conform/glibcconform.py: New file.
10337 * conform/list-header-symbols.py: Likewise.
10338 * conform/list-header-symbols.pl: Remove.
10339 * conform/Makefile (tests-special): Only add linknamespace tests
10341 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
10343 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
10346 * support/Makefile (libsupport-routines): Add
10347 support_copy_file_range and xcopy_file_range.
10348 * support/support.h: Include <sys/types.h>.
10349 (support_copy_file_range): New prototype.
10350 * support/support_copy_file_range.c: New file. Copied and
10351 modified from io/copy_file_range-compat.c.
10352 * support/test-container.c (copy_one_file): Call xcopy_file_rang
10353 instead of copy_file_range.
10354 * support/xcopy_file_range.c: New file.
10355 * support/xunistd.h (xcopy_file_range): New prototype.
10357 2018-08-30 Carlos O'Donell <carlos@redhat.com>
10359 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
10360 xpthread_create and xpthread_join.
10362 2018-08-30 Florian Weimer <fweimer@redhat.com>
10364 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
10366 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
10368 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
10371 2018-08-29 Joseph Myers <joseph@codesourcery.com>
10373 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
10374 and minus_oflow as non-finite.
10376 2018-08-28 Joseph Myers <joseph@codesourcery.com>
10378 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
10379 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
10380 moved to fenv_private.h except for ...
10381 (TOINT_INTRINSICS): Kept in math_private.h.
10382 (roundtoint): Likewise.
10383 (converttoint): Likewise.
10384 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
10385 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10386 * sysdeps/arm/math_private.h: Remove.
10387 * sysdeps/generic/fenv_private.h: New file. Contents moved from
10389 * sysdeps/generic/math_private.h: ... this file. Include
10390 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
10391 Include <fenv_private.h>. Remove functions and macros moved to
10393 * sysdeps/i386/fpu/math_private.h: Remove.
10394 * sysdeps/mips/math_private.h: Move to ....
10395 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
10396 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
10397 [__mips_hard_float] conditional. Include next <fenv_private.h>.
10398 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
10399 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10400 * sysdeps/powerpc/fpu/math_private.h: Do not include
10402 * sysdeps/riscv/rvf/math_private.h: Move to ....
10403 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10404 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10406 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10407 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10408 * sysdeps/sparc/fpu/math_private.h: Remove.
10409 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10410 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10411 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10413 * sysdeps/x86_64/fpu/math_private.h: Do not include
10414 <sysdeps/i386/fpu/fenv_private.h>.
10416 2018-08-28 Florian Weimer <fweimer@redhat.com>
10419 * posix/tst-regcomp-truncated.c: New file.
10420 * posix/Makefile (tests): Add it.
10421 (tst-regcomp-truncated.out): Depend on generated locales.
10423 2018-08-28 Florian Weimer <fweimer@redhat.com>
10425 * support/test-container.c (main): Treat unshare failure with
10426 EPERM as an unsupported test.
10428 2018-08-28 Florian Weimer <fweimer@redhat.com>
10431 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10432 * nscd/netgroupcache.c
10433 (addgetnetgrentX): Add tofreep parameter. Do not free
10434 heap-allocated buffer.
10435 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10436 (addgetnetgrentX_ignore): New function.
10437 (addgetnetgrent): Call it.
10438 (readdgetnetgrent): Likewise.
10440 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10442 * string/memmem.c: Use memcmp for first match.
10444 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10447 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10449 2018-08-27 DJ Delorie <dj@redhat.com>
10451 * support/Makefile (others): Don't list programs explicitly as a
10452 dependency of "others".
10454 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10456 * sysdeps/generic/math-tests-trap-force.h: New file.
10457 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10458 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10459 * sysdeps/powerpc/math-tests.h: Remove file.
10460 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10462 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10463 Torvald Riegel <triegel@redhat.com>
10466 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10467 Update r to include the set wake-request flag if waiters are
10468 remaining after spinning.
10470 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10472 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10474 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10477 regex: fix uninitialized memory access
10478 I introduced this bug into gnulib in commit
10479 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10480 eventually it was merged into glibc. The bug was found by
10481 project-repo <bugs@feusi.co> and reported here:
10482 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10483 Diagnosis and draft fix reported by Assaf Gordon here:
10484 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10485 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10486 * posix/regex_internal.c (build_wcs_upper_buffer):
10487 Fix bug when mbrtowc returns 0.
10489 2018-08-24 Carlos O'Donell <carlos@redhat.com>
10491 * po/be.po: Update translation.
10493 2018-08-24 DJ Delorie <dj@delorie.com>
10495 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10498 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10501 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10502 create temporary files in source tree.
10504 2018-08-24 Joseph Myers <joseph@codesourcery.com>
10506 * sysdeps/generic/math-tests-trap.h: New file.
10507 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10508 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10509 * sysdeps/aarch64/math-tests.h: Remove file.
10510 * sysdeps/arm/math-tests.h: Likewise.
10511 * sysdeps/riscv/math-tests.h: Likewise.
10512 * sysdeps/aarch64/math-tests-trap.h: New file.
10513 * sysdeps/arm/math-tests-trap.h: Likewise.
10514 * sysdeps/riscv/math-tests-trap.h: Likewise.
10516 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10518 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10519 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10520 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10521 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10522 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10523 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10524 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10525 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10526 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10527 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10528 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10529 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10530 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10531 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10532 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10533 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10534 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10535 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10537 2018-08-23 Joseph Myers <joseph@codesourcery.com>
10539 * sysdeps/generic/math-tests-exceptions.h: New file.
10540 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10541 (EXCEPTION_TESTS_float): Do not define here.
10542 (EXCEPTION_TESTS_double): Likewise.
10543 (EXCEPTION_TESTS_long_double): Likewise.
10544 (EXCEPTION_TESTS_float128): Likewise.
10545 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10547 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10548 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10549 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10550 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10551 * sysdeps/mips/math-tests.h: Likewise.
10552 * sysdeps/nios2/math-tests.h: Likewise.
10553 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10554 (EXCEPTION_TESTS_float): Do not define here.
10555 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10556 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10557 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10559 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10561 * NEWS: Move optimized sinf entry to 2.29.
10563 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10565 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10567 2018-08-22 DJ Delorie <dj@redhat.com>
10569 * Makefile (testroot.pristine): New rules to initialize the
10570 test-in-container "testroot".
10571 * Makerules (all-testsuite): Add tests-container.
10572 * Rules (tests-expected): Add tests-container.
10573 (binaries-all-tests): Likewise.
10574 (tests-container): New, run these tests in the testroot container.
10575 * support/Makefile (others): Add *-container, support_paths.c,
10576 xmkdirp, and links-dso-program.
10577 * support/links-dso-program-c.c: New.
10578 * support/links-dso-program.cc: New.
10579 * support/test-container.c: New.
10580 * support/shell-container.c: New.
10581 * support/echo-container.c: New.
10582 * support/true-container.c: New.
10583 * support/xmkdirp.c: New.
10584 * support/xsymlink.c: New.
10585 * support/support_paths.c: New.
10586 * support/support.h: Add support paths prototypes.
10587 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10589 * nss/tst-nss-test3.c: Convert to test-in-container.
10590 * nss/tst-nss-test3.root/: New.
10592 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10594 regex: port Gnulib code to z/OS POSIX environment
10595 Problem reported by Arnold Robbins in:
10596 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10597 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10600 2018-08-22 Joseph Myers <joseph@codesourcery.com>
10602 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10603 (ROUNDING_TESTS_double): Remove.
10604 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10605 (ROUNDING_TESTS_double): Remove.
10606 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10607 (ROUNDING_TESTS_double): Remove.
10608 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10609 (ROUNDING_TESTS_float): Remove.
10610 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10611 (ROUNDING_TESTS_float): Remove.
10612 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10613 (ROUNDING_TESTS_float): Remove.
10614 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10615 !TEST_MATHVEC here.
10616 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10617 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10619 * sysdeps/generic/math-tests-rounding.h: New file.
10620 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10621 (ROUNDING_TESTS_float): Do not define here.
10622 (ROUNDING_TESTS_double): Likewise.
10623 (ROUNDING_TESTS_long_double): Likewise.
10624 (ROUNDING_TESTS_float128): Likewise.
10625 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10626 (ROUNDING_TESTS_double): Undefine before defining.
10627 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10628 (ROUNDING_TESTS_double): Undefine before defining.
10629 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10630 (ROUNDING_TESTS_double): Undefine before defining.
10631 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10632 (ROUNDING_TESTS_float): Undefine before defining.
10633 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10634 (ROUNDING_TESTS_float): Undefine before defining.
10635 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10636 (ROUNDING_TESTS_float): Undefine before defining.
10637 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10638 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10640 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10641 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10642 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10643 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10644 (ROUNDING_TESTS_float): Do not define here.
10645 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10646 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10647 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10648 (ROUNDING_TESTS_float): Likewise.
10649 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10650 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10651 * sysdeps/mips/math-tests.h [__mips_soft_float]
10652 (ROUNDING_TESTS_float): Likewise.
10653 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10654 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10655 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10656 (ROUNDING_TESTS_double): Likewise.
10657 (ROUNDING_TESTS_long_double): Likewise.
10659 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
10661 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10662 (PF_XDP): New macro.
10663 (AF_XDP): New macro.
10664 (SOL_XDP): New macro.
10666 2018-08-21 Joseph Myers <joseph@codesourcery.com>
10668 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10669 (TCP_INQ): Likewise.
10670 (TCP_CM_INQ): Likewise.
10671 (TCP_REPAIR_ON): Likewise.
10672 (TCP_REPAIR_OFF): Likewise.
10673 (TCP_REPAIR_OFF_NO_WP): Likewise.
10674 (struct tcp_zerocopy_receive): New type.
10676 2018-08-21 Florian Weimer <fweimer@redhat.com>
10678 * support/support.h (support_descriptor_supports_holes): Declare.
10679 * support/Makefile (libsupport-routines): Add
10680 support_descriptor_supports_holes.
10681 * support/support_descriptor_supports_holes.c: New file.
10682 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10683 and stop testing if holes are not supported.
10684 * io/test-lfs.c (do_prepare): Likewise.
10685 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10687 * timezone/tst-tzset.c (create_tz_file): Likewise.
10688 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10690 (do_prepare): Set it.
10691 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10693 2018-08-21 Florian Weimer <fweimer@redhat.com>
10696 * Makeconfig (+cflags): Do not sort (and deduplicate).
10698 2018-08-21 Florian Weimer <fweimer@redhat.com>
10700 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10701 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10703 2018-08-20 Florian Weimer <fweimer@redhat.com>
10705 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10706 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10708 2018-08-20 Joseph Myers <joseph@codesourcery.com>
10710 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10711 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10712 and ssi_arch members.
10714 * elf/elf.c (NT_VMCOREDD): New macro.
10715 (AT_MINSIGSTKSZ): Likewise.
10717 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10719 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10720 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10721 s_cosf-ppc64 and s_cosf-power8.
10722 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10723 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10724 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10725 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10732 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10733 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10735 2018-08-17 Florian Weimer <fweimer@redhat.com>
10737 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10739 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10741 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10743 2018-08-16 Florian Weimer <fweimer@redhat.com>
10745 * configure.ac: Add --with-nonshared-cflags option.
10746 * config.make.in (extra-nonshared-cflags): Set variable.
10747 * Makeconfig (CFLAGS-.oS): Use it.
10748 * manual/install.texi (Configuring and compiling): Document
10749 --with-nonshared-cflags.
10750 * configure: Regenerate.
10751 * INSTALL: Likewise.
10753 2018-08-16 Florian Weimer <fweimer@redhat.com>
10755 * Makeconfig (ASFLAGS): Always append required assembler flags.
10757 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
10759 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10760 (malloc_consolidate): Likewise.
10762 2018-08-16 Pochang Chen <johnchen902@gmail.com>
10764 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10766 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10768 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10771 * benchtests/bench-strlen.c: Print performance numbers in json.
10773 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10775 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10776 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10777 only for little endian.
10778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10779 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10780 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10781 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10782 Add check for little endian.
10783 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10784 (__strcmp_power9): Add check for little endian.
10785 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10786 Add check for little endian.
10787 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10788 (__strncmp_power9): Add check for little endian.
10789 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10790 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10791 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10792 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10793 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10795 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10797 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10798 [!STRLEN](STRLEN): Set to __strlen.
10799 * sysdeps/aarch64/multiarch/strlen.c: New file.
10800 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10801 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10802 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10803 (__libc_ifunc_impl_list): Add strlen.
10804 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10805 strlen_generic and strlen_asimd.
10807 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10809 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10810 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10811 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10813 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10815 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10817 2018-08-14 Florian Weimer <fweimer@redhat.com>
10820 * include/stdio.h (__vfxprintf): Declare.
10821 * stdio-common/fxprintf.c (__vfxprintf): New function.
10822 (__fxprintf): Call it.
10823 * misc/err.c (convert_and_print): Remove function.
10824 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10825 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10826 * misc/Makefile (tests): Add tst-warn-wide.
10827 * misc/tst-warn-wide.c: New file.
10829 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10830 Szabolcs Nagy <szabolcs.nagy@arm.com>
10832 * NEWS: Mention sinf, cosf, sincosf.
10833 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10834 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10835 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10836 constants rather than including generic sincosf.h.
10837 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10838 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10839 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10840 (reduced_cos): Remove.
10841 (sinf_poly): New function.
10842 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10844 2018-08-14 Florian Weimer <fweimer@redhat.com>
10848 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10849 processing, bail out if no room, and close the stream before
10851 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10852 (tst-nss-files-alias-leak): Link with libdl.
10853 (tst-nss-files-alias-leak.out): Depend on nss_files.
10855 * nss/tst-nss-files-alias-leak.c: New file.
10857 2018-08-14 Florian Weimer <fweimer@redhat.com>
10859 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10860 server_user, stat_user.
10862 2018-08-13 Joseph Myers <joseph@codesourcery.com>
10864 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10866 (io_pgetevents): New syscall.
10869 * manual/install.texi (Configuring and compiling): Do not list
10870 tools used for testing pretty printers here.
10871 (Tools for Compilation): List Python, PExpect and GDB here.
10872 Update descriptions of uses of Perl and Python.
10873 * INSTALL: Regenerate.
10875 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10878 2018-08-13 Florian Weimer <fweimer@redhat.com>
10880 * misc/error.c (error): Add missing va_end call.
10881 (error_at_line): Likewise.
10883 2018-08-13 Florian Weimer <fweimer@redhat.com>
10885 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10887 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10889 * benchtests/scripts/benchout.schema.json (properties): Add
10892 * benchtests/bench-skeleton.c (main): Add duration and
10893 iterations attributes.
10895 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10897 regex: Gnulib unibyte RRI uses bytes not chars
10898 Adjust the non-glibc code to agree with what Gawk needs for
10899 rational range interpretation (RRI) for regular expression ranges.
10900 In unibyte locales, Gawk wants ranges to use the underlying byte
10901 rather than the character code point. This change does not affect
10903 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10904 In unibyte locales, use the byte value rather than
10905 running it through btowc.
10907 2018-08-10 Joseph Myers <joseph@codesourcery.com>
10909 * sysdeps/generic/math-tests-snan.h: New file.
10910 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10911 (SNAN_TESTS_float): Do not define here.
10912 (SNAN_TESTS_double): Likewise.
10913 (SNAN_TESTS_long_double): Likewise.
10914 (SNAN_TESTS_float128): Likewise.
10915 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10916 * sysdeps/i386/fpu/math-tests.h: Remove file.
10917 * sysdeps/ia64/math-tests-snan.h: New file.
10918 * sysdeps/ia64/math-tests.h: Remove file.
10919 * sysdeps/x86/math-tests.h: Likewise.
10920 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10922 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10923 Szabolcs Nagy <szabolcs.nagy@arm.com>
10925 * math/Makefile: Add s_sincosf_data.c.
10926 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10927 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10928 (sincosf_poly): Likewise.
10929 (reduce_small): Likewise.
10930 (reduce_large): Likewise.
10931 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10932 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10933 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10934 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10936 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10937 Szabolcs Nagy <szabolcs.nagy@arm.com>
10939 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10940 (converttoint): Use lround.
10941 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10942 document the semantics when TOINT_INTRINSICS is set.
10943 (converttoint): Likewise.
10944 (TOINT_RINT): Remove.
10945 (TOINT_SHIFT): Remove.
10946 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10949 2018-08-10 Florian Weimer <fweimer@redhat.com>
10952 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10954 (__old_getdents64): Use getdents64. Convert entries without
10956 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10957 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10958 tst-readdir64-compat.
10960 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10962 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10965 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10967 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10968 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10969 code to s390x-mcount.h and #include it.
10970 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10971 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10974 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10976 * stdlib/Versions: Remove __fentry__.
10977 * sysdeps/i386/Versions: Add __fentry__.
10978 * sysdeps/x86_64/Versions: Add __fentry__.
10980 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10982 * sysdeps/s390/Makefile: Register the new tests.
10983 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10984 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10985 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10986 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10987 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10988 * sysdeps/s390/tst-dl-runtime.c: New file.
10990 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10992 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10995 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10997 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11000 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11002 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11005 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11007 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11010 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11012 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11013 Use symbolic offsets for stack variables.
11015 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11017 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11018 Use symbolic offsets for stack variables.
11020 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11022 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11023 Use symbolic offsets for stack variables.
11025 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11027 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11028 Use symbolic offsets for stack variables.
11030 2018-08-09 Joseph Myers <joseph@codesourcery.com>
11032 * math/gen-libm-test.py: New file.
11033 * math/gen-libm-test.pl: Remove.
11034 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
11035 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
11037 ($(libm-test-c-noauto-obj)): Likewise.
11038 ($(libm-test-c-auto-obj)): Likewise.
11039 ($(libm-test-c-narrow-obj)): Likewise.
11040 (regen-ulps): Likewise.
11041 * math/README.libm-test: Update references to gen-libm-test.pl.
11042 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
11043 referencing gen-libm-test.pl.
11044 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
11045 * math/libm-test-support.c: Likewise.
11046 * math/libm-test-support.h: Likewise.
11047 * sysdeps/generic/libm-test-ulps: Likewise.
11049 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
11051 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
11054 2018-08-08 Joseph Myers <joseph@codesourcery.com>
11056 * math/libm-test-nextdown.inc (do_test): Move comment to ....
11057 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
11059 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11061 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
11063 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
11064 __pthread_setspecific): Add hidden proto.
11065 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
11066 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
11068 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11070 * benchtests/bench-string.h (buf1_size, buf2_size): New
11072 (init_sizes): New function.
11073 (test_init): Use it.
11074 (alloc_buf, exit_error): New functions.
11075 (alloc_bufs): Use ALLOC_BUF.
11076 (realloc_bufs): Remove.
11077 * benchtests/bench-memcmp.c (do_test): Adjust.
11078 * benchtests/bench-memset-large.c (do_test): Likewise.
11079 * benchtests/bench-memset-walk.c (do_test): Likewise.
11080 * benchtests/bench-memset.c (do_test): Likewise.
11081 * benchtests/bench-strncmp.c (do_test): Likewise.
11083 2018-08-06 Andreas Schwab <schwab@suse.de>
11085 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
11086 of CONST_THREAD_AREA.
11088 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
11090 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
11091 (STATE_SAVE_MASK): Likewise.
11092 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
11093 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
11094 (STATE_SAVE_MASK): Likewise.
11095 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
11096 instead of <cpu-features.h>.
11098 2018-08-03 DJ Delorie <dj@redhat.com>
11100 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
11101 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
11103 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
11105 2018-08-03 Joseph Myers <joseph@codesourcery.com>
11107 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
11108 after TEST_* calls.
11109 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
11110 * math/libm-test-logb.inc (logb_test_data): Likewise.
11112 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
11114 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
11115 * string/strstr.c (AVAILABLE): Likewise.
11117 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11119 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
11121 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
11122 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
11123 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
11125 2018-08-03 Carlos O'Donell <carlos@redhat.com>
11127 * po/be.po: Update translation.
11129 * po/be.po: Update translation.
11131 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11133 * sysdeps/x86/cpu-features-offsets.sym
11134 (rtld_global_ro_offsetof): Removed.
11135 (CPU_FEATURES_SIZE): Likewise.
11136 (CPUID_OFFSET): Likewise.
11137 (CPUID_SIZE): Likewise.
11138 (CPUID_EAX_OFFSET): Likewise.
11139 (CPUID_EBX_OFFSET): Likewise.
11140 (CPUID_ECX_OFFSET): Likewise.
11141 (CPUID_EDX_OFFSET): Likewise.
11142 (FAMILY_OFFSET): Likewise.
11143 (MODEL_OFFSET): Likewise.
11144 (FEATURE_OFFSET): Likewise.
11145 (FEATURE_SIZ): Likewise.
11146 (COMMON_CPUID_INDEX_1): Likewise.
11147 (COMMON_CPUID_INDEX_7): Likewise.
11148 (FEATURE_INDEX_1): Likewise.
11149 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
11151 2018-08-02 Carlos O'Donell <carlos@redhat.com>
11153 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
11154 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
11155 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
11156 (install-locales): Depend on install-locale-archive.
11157 (install-locale-archive): Define.
11158 (install-locale-files): Define.
11159 (build-one-locale): Define macro.
11160 * manual/install.texi (Running make install): Document.
11161 * manual/INSTALL: Regenerate.
11163 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
11165 * benchtests/scripts/compare_strings.py: Import traceback.
11166 (parse_file): Pretty-print error.
11168 * NEWS: Mention the change.
11169 * elf/dl-tunables.list: Rename tune namespace to cpu.
11170 * sysdeps/powerpc/dl-tunables.list: Likewise.
11171 * sysdeps/x86/dl-tunables.list: Likewise.
11172 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
11174 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
11175 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
11176 * manual/README.tunables: Likewise.
11177 * manual/tunables.texi: Likewise.
11178 * sysdeps/powerpc/cpu-features.c: Likewise.
11179 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
11180 (init_cpu_features): Likewise.
11181 * sysdeps/x86/cpu-features.c: Likewise.
11182 * sysdeps/x86/cpu-features.h: Likewise.
11183 * sysdeps/x86/cpu-tunables.c: Likewise.
11184 * sysdeps/x86_64/Makefile: Likewise.
11185 * sysdeps/x86/dl-cet.c: Likewise.
11187 2018-08-02 Joseph Myers <joseph@codesourcery.com>
11190 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
11191 [__mips_hard_float].
11192 (FE_UNDERFLOW): Likewise.
11193 (FE_OVERFLOW): Likewise.
11194 (FE_DIVBYZERO): Likewise.
11195 (FE_INVALID): Likewise.
11196 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
11197 (FE_TOWARDZERO): Define only if [__mips_hard_float].
11198 (FE_UPWARD): Likewise.
11199 (FE_DOWNWARD): Likewise.
11200 (__FE_UNDEFINED): Define if [!__mips_hard_float]
11201 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
11202 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
11203 [__mips_hard_float].
11204 (FP_ROUNDMODE): Likewise.
11205 (FP_RND_NEAREST): Likewise.
11206 (FP_RND_ZERO): Likewise.
11207 (FP_RND_PINF): Likewise.
11208 (FP_RND_MINF): Likewise.
11209 (FP_EX_INVALID): Likewise.
11210 (FP_EX_OVERFLOW): Likewise.
11211 (FP_EX_UNDERFLOW): Likewise.
11212 (FP_EX_DIVZERO): Likewise.
11213 (FP_EX_INEXACT): Likewise.
11214 (FP_INIT_ROUNDMODE): Likewise.
11215 * sysdeps/mips/nofpu/fesetenv.c: New file.
11216 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
11218 2018-08-01 Joseph Myers <joseph@codesourcery.com>
11220 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
11221 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
11222 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
11223 conditional on [FE_UPWARD].
11225 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
11227 regex: fix memory leak in Gnulib
11228 Problem and fix reported by Assaf Gordon in:
11229 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
11230 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
11231 range_ends members too, as they are defined in 'struct
11232 re_charset_t' even if not _LIBC. This affects only Gnulib.
11234 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
11236 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
11238 (get_common_indices): This.
11239 (init_cpu_features): Updated.
11241 2018-08-01 Joseph Myers <joseph@codesourcery.com>
11243 * sysdeps/generic/math-tests-snan-payload.h: New file.
11244 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
11245 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
11246 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
11247 * sysdeps/generic/math-tests.h: Include
11248 <math-tests-snan-payload.h>.
11249 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11250 * sysdeps/hppa/math-tests.h: Remove file.
11251 * sysdeps/mips/math-tests.h [!__mips_nan2008]
11252 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11253 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
11256 * sysdeps/generic/math-tests-snan-cast.h: New file.
11257 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
11258 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
11259 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
11260 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
11262 2018-08-01 Carlos O'Donel <carlos@redhat.com>
11264 * version.h (RELEASE): Set to "development".
11265 (VERSION): Set to "2.28.9000".
11266 * NEWS (2.29): New section.
11268 * version.h (RELEASE): Set to "stable".
11269 (VERSION): Set to "2.28".
11270 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
11271 * NEWS: Add the list of bugs fixed in 2.28.
11273 * po/ca.po: Update to latest version.
11274 * po/cs.po: Likewise
11275 * po/da.po: Likewise
11276 * po/el.po: Likewise
11277 * po/eo.po: Likewise
11278 * po/es.po: Likewise
11279 * po/fi.po: Likewise
11280 * po/fr.po: Likewise
11281 * po/gl.po: Likewise
11282 * po/hu.po: Likewise
11283 * po/ia.po: Likewise
11284 * po/id.po: Likewise
11285 * po/it.po: Likewise
11286 * po/ja.po: Likewise
11287 * po/ko.po: Likewise
11288 * po/lt.po: Likewise
11289 * po/nb.po: Likewise
11290 * po/nl.po: Likewise
11291 * po/pt_BR.po: Likewise
11292 * po/ru.po: Likewise
11293 * po/rw.po: Likewise
11294 * po/sk.po: Likewise
11295 * po/sl.po: Likewise
11296 * po/tr.po: Likewise
11297 * po/zh_CN.po: Likewise
11298 * po/zh_TW.po: Likewise
11300 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11302 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
11304 (init): ... before initializing libpthread.
11306 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
11307 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
11308 (__mach_setup_tls): ... new function.
11309 (mach_setup_tls): New alias.
11310 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
11311 __mach_setup_thread.
11312 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
11313 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
11314 * mach/Versions [libc] (mach_setup_tls): Add symbol.
11315 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
11317 2018-07-31 Carlos O'Donell <carlos@redhat.com>
11319 * manual/install.texi: Update versions.
11320 * INSTALL: Regenerate.
11322 * manual/contrib.texi (Contributors): Update contributions.
11324 2018-07-31 Carlos O'Donell <carlos@redhat.com>
11326 * po/be.po: Update translations.
11328 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11330 * sysdeps/sh/libm-test-ulps: Update.
11332 2018-07-30 Carlos O'Donell <carlos@redhat.com>
11334 * po/bg.po: Update translations.
11335 * po/de.po: Likewise.
11336 * po/hr.po: Likewise.
11337 * po/pt_BR.po: Likewise.
11338 * po/sv.po: Likewise.
11339 * po/vi.po: Likewise.
11341 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11344 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11345 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
11346 (CFLAGS-tst-cet-property-1.o): New.
11347 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
11348 ($(objpfx)tst-cet-property-2): Likewise.
11349 ($(objpfx)tst-cet-property-2.out): Likewise.
11350 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
11351 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
11352 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
11353 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
11354 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
11356 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11359 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
11361 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11363 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
11364 __sbrk): Do not set attribute_hidden.
11365 * sysdeps/mach/hurd/not-errno.h: New file.
11366 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11367 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
11369 2018-07-27 Carlos O'Donell <carlos@redhat.com>
11371 * po/uk.po: Update translations.
11372 * po/cs.po: Likewise.
11373 * po/pl.po: Likewise.
11375 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
11377 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
11378 parse beyond the note end.
11380 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11382 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
11383 kernel does not support OFD locks.
11384 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
11386 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11388 * sysdeps/mach/hurd/Versions (libc): Make __access and
11389 __access_noerrno external so they can override the ld symbols.
11390 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
11391 __writev, __open64, __access_noerrno extern so they can be overrided.
11392 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
11393 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11395 2018-07-26 Carlos O'Donell <carlos@redhat.com>
11397 * po/libc.pot: Regenerate.
11399 2018-07-26 Joseph Myers <joseph@codesourcery.com>
11401 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11403 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11406 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11408 (init_cpu_features): Call get_extended_indices for both Intel
11410 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11411 Remove "for AMD" comment.
11413 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11416 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11417 COMMON_CPUID_INDEX_80000001.
11419 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
11421 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11422 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11424 2018-07-26 Florian Weimer <fweimer@redhat.com>
11426 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11427 aliases for symbols not in the implementation namespace.
11429 2018-07-25 Carlos O'Donell <carlos@redhat.com>
11432 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11433 lowercase in LATIN script.
11434 * localedata/Makefile (test-input): Add en_US.UTF-8.
11435 * localedata/en_US.UTF-8.in: New file.
11436 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11437 and restore old tests.
11438 * posix/tst-regexloc.c (do_test): Add back range expression test.
11440 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11442 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11444 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11446 * nptl/threads.h: Move to ...
11447 * sysdeps/nptl/threads.h: ... here.
11448 * sysdeps/hurd/stdc-predef.h: New file.
11450 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11452 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11453 tst-cet-setcontext-1 if CET is enabled.
11454 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11455 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11457 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11459 * include/threads.h: Move to ...
11460 * sysdeps/nptl/threads.h: ... here.
11461 * sysdeps/htl/threads.h: New file.
11462 * conform/Makefile (linknamespace-libs-ISO11): Use
11463 static-thread-library instead of linking libpthread.
11464 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11466 2018-07-25 Florian Weimer <fweimer@redhat.com>
11468 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11469 nanoseconds into seconds.
11470 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11471 (do_test): Likewise.
11472 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11473 (do_test): Likewise. Avoid nanosecond overflow and spurious
11474 timeouts due to system load.
11475 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11476 (child_wait): Increment it.
11477 (do_test): Wait as long as necessary until all expected threads
11480 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11481 H.J. Lu <hongjiu.lu@intel.com>
11483 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11485 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11486 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11487 (__push___start_context): New.
11488 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11490 (__getcontext): Record the current shadow stack base. Save the
11491 caller's shadow stack pointer and base.
11492 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11493 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11494 (__push___start_context): New prototype.
11495 (__makecontext): Call __push___start_context to allocate a new
11496 shadow stack, push __start_context onto the new stack as well
11497 as the new shadow stack.
11498 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11500 (__setcontext): Restore the target shadow stack.
11501 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11503 (__swapcontext): Record the current shadow stack base. Save
11504 the caller's shadow stack pointer and base. Restore the target
11506 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11507 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11508 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11510 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11512 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11513 tst-setcontext8 and tst-setcontext9.
11514 * stdlib/tst-setcontext6.c: New file.
11515 * stdlib/tst-setcontext7.c: Likewise.
11516 * stdlib/tst-setcontext8.c: Likewise.
11517 * stdlib/tst-setcontext9.c: Likewise.
11519 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11521 * stdlib/Makefile ((tests): Add tst-setcontext5.
11522 * stdlib/tst-setcontext5.c: New file.
11524 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11526 * stdlib/Makefile (tests): Add tst-setcontext4.
11527 * stdlib/tst-setcontext4.c: New file.
11529 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11531 * stdlib/Makefile (tests): Add tst-swapcontext1.
11532 * stdlib/tst-swapcontext1.c: New test.
11534 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11536 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11537 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11538 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11539 and tst-cet-legacy-4c.
11540 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11541 and tst-cet-legacy-mod-4.
11542 (CFLAGS-tst-cet-legacy-2.c): New.
11543 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11544 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11545 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11546 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11547 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11548 ($(objpfx)tst-cet-legacy-1): Likewise.
11549 ($(objpfx)tst-cet-legacy-2): Likewise.
11550 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11551 ($(objpfx)tst-cet-legacy-2a): Likewise.
11552 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11553 ($(objpfx)tst-cet-legacy-4): Likewise.
11554 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11555 ($(objpfx)tst-cet-legacy-4a): Likewise.
11556 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11557 (tst-cet-legacy-4a-ENV): Likewise.
11558 ($(objpfx)tst-cet-legacy-4b): Likewise.
11559 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11560 (tst-cet-legacy-4b-ENV): Likewise.
11561 ($(objpfx)tst-cet-legacy-4c): Likewise.
11562 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11563 (tst-cet-legacy-4c-ENV): Likewise.
11564 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11565 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11566 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11567 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11568 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11569 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11570 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11571 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11572 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11573 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11574 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11576 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11578 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11579 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11581 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11582 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11585 2018-07-25 Andreas Schwab <schwab@suse.de>
11588 * locale/weightwc.h (findidx): Handle the case where usrc is a
11589 prefix of cp but one character too short.
11591 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11593 * NEWS: Add ISO C threads addition.
11595 2018-07-24 Florian Weimer <fweimer@redhat.com>
11597 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11598 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11599 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11602 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11604 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11605 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11606 <sys/prctl.h> and <asm/prctl.h>.
11607 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11608 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11610 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11611 ARCH_CET_LEGACY_BITMAP.
11612 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11613 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11614 * sysdeps/x86/libc-start.c: Include <startup.h>.
11616 2018-07-24 Florian Weimer <fweimer@redhat.com>
11618 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11619 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11621 2018-07-24 Rical Jasan <rj@2c3t.io>
11622 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11623 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11626 * manual/debug.texi: Update adjacent chapter name.
11627 * manual/probes.texi: Likewise.
11628 * manual/threads.texi (ISO C Threads): New section.
11629 (POSIX Threads): Convert to a section.
11631 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11632 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11635 * nptl/Makefile (tests): Add new test files.
11636 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11637 * nptl/tst-cnd-basic.c: Likewise.
11638 * nptl/tst-cnd-broadcast.c: Likewise.
11639 * nptl/tst-cnd-timedwait.c: Likewise.
11640 * nptl/tst-mtx-basic.c: Likewise.
11641 * nptl/tst-mtx-recursive.c: Likewise.
11642 * nptl/tst-mtx-timedlock.c: Likewise.
11643 * nptl/tst-mtx-trylock.c: Likewise.
11644 * nptl/tst-thrd-basic.c: Likewise.
11645 * nptl/tst-thrd-detach.c: Likewise.
11646 * nptl/tst-thrd-sleep.c: Likewise.
11647 * nptl/tst-tss-basic.c: Likewise.
11649 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11652 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11653 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11655 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11656 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11657 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11658 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11659 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11660 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11661 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11662 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11663 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11664 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11665 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11666 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11674 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11675 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11676 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11677 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11678 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11679 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11680 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11681 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11682 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11683 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11684 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11685 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11686 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11688 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11689 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11690 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11691 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11692 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11693 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11694 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11695 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11696 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11697 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11698 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11699 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11706 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11707 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11708 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11709 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11710 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11711 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11712 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11713 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11716 * conform/data/threads.h-data (thread_local): New macro.
11717 (TSS_DTOR_ITERATIONS): Likewise.
11719 (tss_dtor_t): Likewise.
11720 (tss_create): New function.
11721 (tss_get): Likewise.
11722 (tss_set): Likewise.
11723 (tss_delete): Likewise.
11724 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11725 tss_get, and tss_set objects.
11726 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11727 * nptl/tss_create.c: New file.
11728 * nptl/tss_delete.c: Likewise.
11729 * nptl/tss_get.c: Likewise.
11730 * nptl/tss_set.c: Likewise.
11731 * sysdeps/nptl/threads.h (thread_local): New define.
11732 (TSS_DTOR_ITERATIONS): Likewise.
11733 (tss_t): New typedef.
11734 (tss_dtor_t): Likewise.
11735 (tss_create): New prototype.
11736 (tss_get): Likewise.
11737 (tss_set): Likewise.
11738 (tss_delete): Likewise.
11741 * conform/data/threads.h-data (cnd_t): New type.
11742 (cnd_init): New function.
11743 (cnd_signal): Likewise.
11744 (cnd_broadcast): Likewise.
11745 (cnd_wait): Likewise.
11746 (cnd_timedwait): Likewise.
11747 (cnd_destroy): Likewise.
11748 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11749 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11751 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11752 * nptl/cnd_broadcast.c: New file.
11753 * nptl/cnd_destroy.c: Likewise.
11754 * nptl/cnd_init.c: Likewise.
11755 * nptl/cnd_signal.c: Likewise.
11756 * nptl/cnd_timedwait.c: Likewise.
11757 * nptl/cnd_wait.c: Likewise.
11758 * sysdeps/nptl/threads.h (cnd_t): New type.
11759 (cnd_init): New prototype.
11760 (cnd_signa): Likewise.
11761 (cnd_broadcast): Likewise.
11762 (cnd_wait): Likewise.
11763 (cnd_timedwait): Likewise.
11764 (cnd_destroy): Likewise.
11767 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11768 (once_flag): New type.
11769 (call_once): New function.
11770 * nptl/Makefile (libpthread-routines): Add call_once object.
11771 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11772 * nptl/call_once.c: New file.
11773 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11774 (once_flag): New type.
11775 (call_once): New prototype.
11778 * conform/data/threads.h-data (mtx_plain): New constant.
11779 (mtx_recursive): Likewise.
11780 (mtx_timed): Likewise.
11782 (mtx_init): New function.
11783 (mtx_lock): Likewise.
11784 (mtx_timedlock): Likewise.
11785 (mtx_trylock): Likewise.
11786 (mtx_unlock): Likewise.
11787 (mtx_destroy): Likewise.
11788 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11789 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11790 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11791 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11792 * nptl/mtx_destroy.c: New file.
11793 * nptl/mtx_init.c: Likewise.
11794 * nptl/mtx_lock.c: Likewise.
11795 * nptl/mtx_timedlock.c: Likewise.
11796 * nptl/mtx_trylock.c: Likewise.
11797 * nptl/mtx_unlock.c: Likewise.
11798 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11799 (mtx_recursive): Likewise.
11800 (mtx_timed): Likewise.
11802 (mtx_init): New prototype.
11803 (mtx_lock): Likewise.
11804 (mtx_timedlock): Likewise.
11805 (mtx_trylock): Likewise.
11806 (mtx_unlock): Likewise.
11807 (mtx_destroy): Likewise.
11810 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11811 (linknamespace-libs-ISO11): Add libpthread.a.
11812 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11814 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11815 * nptl/Makefile (headers): Add threads.h.
11816 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11817 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11819 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11820 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11821 thrd_join, thrd_sleep, and thrd_yield symbols.
11822 * nptl/descr.h (struct pthread): Add c11 field.
11823 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11824 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11825 routine with expected function prototype.
11826 (__pthread_create_2_1): Add C11 threads check based on attribute
11828 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11829 * nptl/thrd_create.c: New file.
11830 * nptl/thrd_current.c: Likewise.
11831 * nptl/thrd_detach.c: Likewise.
11832 * nptl/thrd_equal.c: Likewise.
11833 * nptl/thrd_exit.c: Likewise.
11834 * nptl/thrd_join.c: Likewise.
11835 * nptl/thrd_priv.h: Likewise.
11836 * nptl/thrd_sleep.c: Likewise.
11837 * nptl/thrd_yield.c: Likewise.
11838 * include/threads.h: Likewise.
11840 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11842 * bits/indirect-return.h: New file.
11843 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11844 * sysdeps/x86/bits/indirect-return.h: Likewise.
11845 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11846 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11847 (swapcontext): Add __INDIRECT_RETURN.
11848 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11849 (prepare_test_buffer): Use it.
11851 2018-07-24 Andreas Schwab <schwab@suse.de>
11854 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11855 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11857 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11859 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11860 Redefine if shadow stack is enabled.
11861 (SYSCALL_ERROR_LABEL): Likewise.
11862 (__vfork): Pop shadow stack and jump back to to caller directly
11863 when shadow stack is in use.
11864 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11865 Redefine if shadow stack is enabled.
11866 (SYSCALL_ERROR_LABEL): Likewise.
11867 (__vfork): Pop shadow stack and jump back to to caller directly
11868 when shadow stack is in use.
11870 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11872 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11875 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11878 2018-07-20 Joseph Myers <joseph@codesourcery.com>
11880 * scripts/build-many-glibcs.py (Context.checkout): Default
11881 binutils version to 2.31 branch.
11883 2018-07-20 Zong Li <zong@andestech.com>
11885 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11886 URL of gcc's tarball.
11888 2018-07-20 Florian Weimer <fweimer@redhat.com>
11891 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11892 not compare an extra byte after the end of the weights.
11894 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11896 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11898 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11900 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11901 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
11902 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11903 list of libraries whose stack executability is expected.
11904 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11905 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11907 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11908 libc.so libpthread.so.
11910 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11912 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11914 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11916 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11918 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
11920 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11922 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11923 library to improve command line parsing.
11924 (__main__): make schema file as optional parameter (--schema),
11925 defaulting to benchtests/scripts/benchout.schema.json.
11926 (main): move out of the parsing stuff to __main_ and leave it
11927 only as caller of main comparison functions.
11929 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11931 * NEWS: Add a note for Intel CET status.
11932 * manual/install.texi: Likewise.
11933 * INSTALL: Regenerated.
11935 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11938 * localedata/locales/oc_FR (mon): Rename to...
11939 (alt_mon): This, then update October (typo fix).
11940 (mon): New content (genitive case, month names preceded by
11944 * localedata/locales/oc_FR (abday): Update all items.
11945 (day): Update Wednesday and Saturday (typo fixes).
11946 (abmon): Update all items, except May.
11947 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11948 (LC_IDENTIFICATION): Bump the revision number and date.
11949 Keep the "category" entries in alphabetic order.
11950 (LC_ADDRESS): Remove no longer needed comment.
11951 (LC_COLLATE): Use “copy "ca_ES"”.
11952 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11955 2018-07-18 Joseph Myers <joseph@codesourcery.com>
11957 * grp/tst_fgetgrent.c: Include <unistd.h>.
11958 (main): Use mkstemp instead of tmpnam.
11959 * io/test-utime.c (main): Likewise.
11960 * posix/annexc.c (macrofile): Change to modifiable array.
11961 (main): Remove macrofile here.
11962 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11964 (check_header): Do not remove macrofile here.
11965 * posix/bug-getopt1.c: Include <stdlib.h>.
11966 (do_test): Use mkstemp instead of tmpnam.
11967 * posix/bug-getopt2.c: Include <stdlib.h>.
11968 (do_test): Use mkstemp instead of tmpnam.
11969 * posix/bug-getopt3.c: Include <stdlib.h>.
11970 (do_test): Use mkstemp instead of tmpnam.
11971 * posix/bug-getopt4.c: Include <stdlib.h>.
11972 (do_test): Use mkstemp instead of tmpnam.
11973 * posix/bug-getopt5.c: Include <stdlib.h>.
11974 (do_test): Use mkstemp instead of tmpnam.
11975 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11976 (main): Use mkstemp instead of tmpnam.
11977 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11978 (main): Use mkstemp instead of tmpnam.
11979 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11980 (main): use mkstemp instead of tmpnam.
11981 * stdlib/isomac.c (macrofile): Change to modifiable array.
11982 (main): Remove macrofile here.
11983 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11985 (check_header): Do not remove macrofile here.
11987 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11989 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11990 glibc.tune.x86_shstk.
11992 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11994 * NEWS: Mention --enable-cet.
11995 * manual/install.texi: Document --enable-cet.
11996 * INSTALL: Regenerated.
11998 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12000 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
12001 Add _CET_NOTRACK before indirect jump to jump table.
12003 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12005 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
12006 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12009 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12011 * sysdeps/i386/i686/multiarch/strcat-sse2.S
12012 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12015 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12017 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
12018 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12021 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12023 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
12024 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12027 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12029 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
12030 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12032 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
12034 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12036 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
12037 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12040 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12042 * sysdeps/i386/i686/multiarch/memset-sse2.S
12043 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12046 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12048 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
12049 indirect jump to jump table.
12051 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12053 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
12054 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12056 (MEMCPY): Likewise.
12058 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12060 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
12061 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12063 (MEMCPY): Likewise.
12065 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12067 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12068 _CET_NOTRACK before indirect jump to jump table.
12070 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12072 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
12073 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12076 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12078 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
12079 indirect jump to jump table.
12081 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
12084 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
12085 (LOCALES): Likewise.
12086 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
12087 * localedata/locales/sah_RU: New file.
12088 * localedata/sah_RU.UTF-8.in: New file.
12090 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12092 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
12094 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12095 _CET_ENDBR to indirect jump targets and adjust jump destination
12097 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
12099 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12100 _CET_ENDBR to indirect jump targets and adjust jump destination
12102 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
12104 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
12105 _CET_ENDBR to indirect jump targets and adjust jump destination
12108 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12110 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12113 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12115 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
12117 (_dl_tlsdesc_undefweak): Likewise.
12118 (_dl_tlsdesc_dynamic): Likewise.
12119 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
12120 (_dl_tlsdesc_resolve_rel): Likewise.
12121 (_dl_tlsdesc_resolve_rela): Likewise.
12122 (_dl_tlsdesc_resolve_hold): Likewise.
12123 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
12124 (_dl_tlsdesc_undefweak): Likewise.
12125 (_dl_tlsdesc_dynamic): Likewise.
12126 (_dl_tlsdesc_resolve_rela): Likewise.
12127 (_dl_tlsdesc_resolve_hold): Likewise.
12129 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12131 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
12133 * sysdeps/x86_64/crti.S (_init): Likewise.
12136 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
12139 * localedata/locales/os_RU (mon): Rename to...
12141 (mon): Import from CLDR (genitive case).
12143 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12145 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
12146 cet-tunables.h> when CET is enabled.
12148 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
12151 * configure.ac: Add --enable-cet.
12152 * configure: Regenerated.
12153 * elf/Makefille (all-built-dso): Add a comment.
12154 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
12155 Include <dl-prop.h>.
12156 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
12158 * elf/dl-open.c: Include <dl-prop.h>.
12159 (dl_open_worker): Call _dl_open_check.
12160 * elf/rtld.c: Include <dl-prop.h>.
12161 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
12163 * sysdeps/generic/dl-prop.h: New file.
12164 * sysdeps/i386/dl-cet.c: Likewise.
12165 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
12166 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
12167 * sysdeps/x86/cet-tunables.h: Likewise.
12168 * sysdeps/x86/check-cet.awk: Likewise.
12169 * sysdeps/x86/configure: Likewise.
12170 * sysdeps/x86/configure.ac: Likewise.
12171 * sysdeps/x86/dl-cet.c: Likewise.
12172 * sysdeps/x86/dl-procruntime.c: Likewise.
12173 * sysdeps/x86/dl-prop.h: Likewise.
12174 * sysdeps/x86/libc-start.h: Likewise.
12175 * sysdeps/x86/link_map.h: Likewise.
12176 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
12178 (_dl_runtime_profile): Likewise.
12179 (_dl_runtime_resolve_shstk): New.
12180 (_dl_runtime_profile_shstk): Likewise.
12181 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
12183 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
12184 (CFLAGS-.os): Likewise.
12185 (CFLAGS-.op): Likewise.
12186 (CFLAGS-.oS): Likewise.
12187 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
12189 (tests-special): Add $(objpfx)check-cet.out.
12190 (cet-built-dso): New.
12191 (+$(cet-built-dso:=.note)): Likewise.
12192 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
12193 ($(objpfx)check-cet.out): New.
12194 (generated): Add check-cet.out.
12195 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
12197 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
12198 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12199 (init_cpu_features): Call get_cet_status to check CET status
12200 and update dl_x86_feature_1 with CET status. Call
12201 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
12202 (set_x86_shstk). Disable and lock CET in libc.a.
12203 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
12204 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
12205 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12206 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
12207 (_CET_ENDBR): Define if not defined.
12208 (ENTRY): Add _CET_ENDBR.
12209 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
12211 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
12213 (_dl_runtime_profile): Likewise.
12215 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
12218 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
12219 restore r2 on longjmp.
12220 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
12222 Added rules to build test tst-setjmp-bug21895-static.
12223 Added module setjmp-bug21895 and rules to build a shared object from it.
12224 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
12225 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
12227 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
12229 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
12230 * benchtests/bench-strstr.c: Likewise.
12231 * string/memmem.c (FASTSEARCH): Define.
12232 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
12233 Add support for FASTSEARCH.
12234 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
12235 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
12236 (FASTSEARCH): Define.
12237 * string/test-strcasestr.c: Rename __strnlen to strnlen.
12238 * string/test-strstr.c: Likewise.
12240 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
12242 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
12243 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
12245 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12246 H.J. Lu <hongjiu.lu@intel.com>
12248 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
12249 (__longjmp): Restore shadow stack pointer if shadow stack is
12250 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12251 isn't defined for __longjmp_cancel.
12252 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
12253 (_setjmp): Save shadow stack pointer if shadow stack is enabled
12254 and SHADOW_STACK_POINTER_OFFSET is defined.
12255 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
12256 (setjmp): Save shadow stack pointer if shadow stack is enabled
12257 and SHADOW_STACK_POINTER_OFFSET is defined.
12258 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
12259 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12260 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12261 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
12263 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12264 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12265 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
12266 Remove jmp_buf-ssp.sym.
12267 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12269 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12270 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12271 * sysdeps/x86/Makefile (gen-as-const-headers): Add
12273 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
12274 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
12275 (__longjmp): Restore shadow stack pointer if shadow stack is
12276 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12277 isn't defined for __longjmp_cancel.
12278 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
12279 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12280 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12282 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
12285 * nptl/pthread_create.c: Include <tls-setup.h>.
12286 (__pthread_create_2_1): Call tls_setup_tcbhead.
12287 * sysdeps/generic/tls-setup.h: New file.
12288 * sysdeps/x86/nptl/tls-setup.h: Likewise.
12289 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
12290 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
12292 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
12294 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12295 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
12296 (X86_FEATURE_1_SHSTK): Likewise.
12297 (CET_ENABLED): Likewise.
12298 (IBT_ENABLED): Likewise.
12299 (SHSTK_ENABLED): Likewise.
12301 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
12304 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
12305 (LOCALES): Likewise.
12306 * localedata/dsb_DE.UTF-8.in: New file.
12307 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
12309 2018-07-12 Florian Weimer <fweimer@redhat.com>
12311 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
12312 __mprotect, not mprotect.
12314 2018-07-11 Florian Weimer <fweimer@redhat.com>
12316 * io/Makefile (headers): Add bits/statx.h.
12318 2018-07-10 Mike FABIAN <mfabian@redhat.com>
12320 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
12321 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
12323 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
12324 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
12327 2018-07-10 Florian Weimer <fweimer@redhat.com>
12329 * io/Makefile (routines): Add statx.
12330 (tests-internal): Add tst-statx.
12331 * io/Versions (GLIBC_2.28): Export statx.
12332 * io/bits/statx.h: New file.
12333 * io/sys/stat.h [__USE_GNU]: Include it.
12334 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
12335 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
12337 * io/statx.c: New file.
12338 * io/statx_generic.: Likewise.
12339 * io/tst-statx.: Likewise.
12340 * include/bits/statx.h: Likewise.
12341 * sysdeps/unix/sysv/linux/kernel-features.h
12342 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
12343 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12344 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
12345 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
12347 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12348 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
12349 * sysdeps/unix/sysv/linux/statx.c: New file.
12350 * manual/filesys.texi: Note that statx is undocumented.
12351 * sysdeps/**/libc*.abilist: Update.
12353 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12355 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
12356 a kernel issue which lead to test failure in some cases.
12358 2018-07-10 Florian Weimer <fweimer@redhat.com>
12361 * posix/regexec.c (check_node_accept_bytes): When comparing
12362 weights, do not compare an extra byte after the end of the
12365 2018-07-10 Florian Weimer <fweimer@redhat.com>
12367 * libio/readline.c: Fix copyright year.
12368 * libio/tst-readline.c Likewise.
12369 * nss/tst-nss-files-hosts-getent.c: Likewise.
12371 2018-07-06 Florian Weimer <fweimer@redhat.com>
12374 * nss/nss_files/files-XXX.c (internal_getent): Use
12375 __libc_readline_unlocked. Seek back to the start of the line if
12376 parsing failes with ERANGE.
12377 (get_contents_ret, get_contents): Remove.
12378 * nss/tst-nss-files-hosts-getent.c: New file.
12379 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
12380 (tst-nss-files-hosts-getent): Link with -ldl.
12382 2018-07-06 Florian Weimer <fweimer@redhat.com>
12384 * include/stdio.h (__libc_readline_unlocked): Declare.
12385 (__ftello64, __fseeko64): Declare aliases.
12386 * libio/readline.c: New file.
12387 * libio/tst-readline.c: Likewise.
12388 (routines): Add readline.
12389 (tests-internal): Add tst-readlime.
12390 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
12391 __libc_readline_unlocked.
12392 * libio/fseeko.c (__fseeko): Rename from fseeko.
12393 (fseeko): Add alias.
12394 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
12395 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
12396 (fseeko64): Add alias.
12397 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
12398 * libio/ftello64.c (__ftello64): Rename from ftello64.
12399 (ftello64): Add alias.
12401 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12403 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12406 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12408 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12409 Use dl_hwcap without masking.
12410 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12411 Remove HWCAP_CPUID.
12413 2018-07-06 Florian Weimer <fweimer@redhat.com>
12415 * conform/conformtest.pl (checknamespace): Escape literal braces
12416 in regular expressions.
12418 2018-07-06 Amit Pawar <amit.pawar@amd.com>
12420 * sysdeps/x86/cpu-features.c (get_common_indeces):
12421 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12422 * sysdeps/x86/cpu-features.c (init_cpu_features):
12423 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12425 2018-07-05 Florian Weimer <fweimer@redhat.com>
12427 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12429 (CFLAGS-elf-init.oS): Likewise.
12431 2018-07-05 Florian Weimer <fweimer@redhat.com>
12432 Carlos O'Donell <carlos@redhat.com>
12434 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12435 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12436 with stack protector enabled because there is no risk of infinite
12439 2018-07-05 Maciej W. Rozycki <macro@mips.com>
12443 * libc-abis (ABSOLUTE): New ABI.
12444 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12445 * NEWS: Mention the new ABI.
12447 2018-07-05 Florian Weimer <fweimer@redhat.com>
12450 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12451 (RENAME_WHITEOUT): Define.
12452 [__USE_GNU] (renameat2): Declare.
12453 * stdio-common/Makefile (routines): Add renameat2.
12454 (tests): Add tst-renameat2.
12455 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12456 * stdio-common/renameat2.c: New file.
12457 * stdio-common/tst-renameat2.c: Likewise.
12458 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12459 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12461 * sysdeps/unix/sysv/linux/kernel-features.h
12462 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12463 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12464 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12465 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12466 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12467 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12468 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12469 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12470 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12471 * include/stdio.h (__renameat): Add alias for renameat.
12472 * stdio-common/renameat.c (__renameat): Rename from renameat.
12473 Add hidden definition and alias.
12474 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12475 * sysdeps/mach/hurd/renameat.c: Likewise.
12476 * sysdeps/**/libc*.abilist: Add renameat2.
12478 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12480 * posix/bug-regex33.c: Fix build after regex sync.
12482 2018-07-04 Carlos O'Donell <carlos@redhat.com>
12485 * localedata/tst-langinfo-setlocale.c: New file.
12486 * localedata/tst-langinfo-setlocale-static.c: New file.
12487 * localedata/tst-langinfo-newlocale.c: New file.
12488 * localedata/tst-langinfo-newlocale-static.c: New file.
12489 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12490 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12491 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12492 (tests-static): Remove tst-langinfo-static. Add
12493 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12494 (tests-special): Remove $(objpfx)tst-langinfo.out,
12495 $(objpfx)tst-langinfo-static.out. Add
12496 $(objpfx)tst-langinfo-setlocale.out,
12497 $(objpfx)tst-langinfo-newlocale.out,
12498 $(objpfx)tst-langinfo-setlocale-static.out,
12499 $(objpfx)tst-langinfo-newlocale-static.out.
12500 ($(objpfx)tst-langinfo.out): Remove.
12501 ($(objpfx)tst-langinfo-static.out): Remove.
12502 ($(objpfx)tst-langinfo-newlocale.out): New target.
12503 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12504 (test-xfail-tst-langinfo-newlocale-static): Add.
12505 ($(objpfx)tst-langinfo-setlocale.out): New target.
12506 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12507 * localedata/tst-langinfo.c: Call test_locale.
12508 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12511 2018-07-04 Florian Weimer <fweimer@redhat.com>
12513 testrun.sh: Implement --tool=strace, --tool=valgrind
12514 * Makefile (testrun-script): Define variable.
12515 (testrun.sh): Use variable.
12516 * manual/install.texi (Tools for Compilation): make 4.0 or later
12518 * configure.ac: Check for make 4.0 or later.
12519 * INSTALL: Regenerate.
12520 * configure: Likewise.
12522 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12528 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12529 * posix/PCRE.tests: Remove invalid test.
12530 * posix/bug-regex28.c: Fix expected values for used syntax.
12531 * posix/bug-regex37.c: New file.
12532 * posix/bug-regex38.c: Likewise.
12533 * posix/regcomp.c: Sync with gnulib.
12534 * posix/regex.c: Likewise.
12535 * posix/regex.h: Likewise.
12536 * posix/regex_internal.c: Likewise.
12537 * posix/regex_internal.h: Likewise.
12538 * posix/regexec.c: Likewise.
12540 2018-06-26 Mike FABIAN <mfabian@redhat.com>
12543 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12544 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12545 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12546 * localedata/unicode-gen/PropList.txt: likewise.
12547 * localedata/unicode-gen/UnicodeData.txt: likewise.
12548 * localedata/charmaps/UTF-8: Regenerate.
12549 * localedata/locales/i18n_ctype: likewise.
12550 * localedata/locales/tr_TR: likewise.
12551 * localedata/locales/translit_circle: likewise.
12552 * localedata/locales/translit_cjk_compat: likewise.
12553 * localedata/locales/translit_combining: likewise.
12554 * localedata/locales/translit_compat: likewise.
12555 * localedata/locales/translit_font: likewise.
12556 * localedata/locales/translit_fraction: likewise.
12558 2018-07-03 Florian Weimer <fweimer@redhat.com>
12561 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12562 * stdio-common/tst-printf.sh: Adjust expected output.
12563 * LICENSES: Update.
12565 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12567 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12570 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12572 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12573 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12574 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12575 * stdio-common/tst-printfsz-islongdouble.c: New file.
12576 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12577 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12578 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12579 [subdir == stdio-common] (tests-internal): Add
12580 test-printf-size-ieee128, and test-printf-size-ibm128.
12581 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12582 (CFLAGS-test-printf-size-ibm128.c): New variables.
12583 [subdir == stdio-common] (tests-special): Add
12584 $(objpfx)test-printf-size-ieee128.out and
12585 $(objpfx)test-printf-size-ibm128.out.
12586 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12587 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12588 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12589 __printf_sizeieee128.
12590 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12592 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12594 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12597 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12599 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12600 (exp2f_inline): Likewise.
12601 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12602 (__math_uflowf): Likewise.
12603 (__math_may_uflowf): Likewise.
12604 (__math_divzerof): Likewise.
12605 (__math_invalidf): Likewise.
12606 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12607 (__math_oflowf): Likewise.
12608 (__math_uflowf): Likewise.
12609 (__math_may_uflowf): Likewise.
12610 (__math_divzerof): Likewise.
12611 (__math_invalidf): Likewise.
12613 2018-06-29 DJ Delorie <dj@redhat.com>
12614 Carlos O'Donell <carlos@redhat.com>
12617 * include/libc-symbols.h: Comment the freeres framework.
12618 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12619 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12620 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12621 * dlfcn/dlerror.c: Include libc-symbols.h
12622 (__dlerror_main_freeres): New function.
12623 * dlfcn/dlfreeres.c: New file.
12624 * dlfcn/sdlfreeres.c: New file.
12625 * include/dlfcn.h: Declare __dlerror_main_freeres.
12626 * malloc/set-freeres.c: Declare __libdl_freeres, and
12627 __libpthread_freeres.
12628 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12629 the releavant libraries are loaded.
12630 * malloc/thread-freeres.c: Add comments.
12631 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12632 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12633 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12634 (__free_stacks): Rename to...
12635 (free_stacks): ...this. Mark static.
12636 (queue_stack): Call free_stacks.
12637 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12638 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12639 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12640 ptr_freeres element from struct.
12641 (pthread_functions): Remove .ptr_freeres from struct initializer.
12642 [SHARED] (nptl_freeres): Remove.
12643 * nptl/nptlfreeres.c: New file.
12645 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12646 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12648 (__free_stacks): Rename to...
12649 (__nptl_stacks_freeres): ...this.
12650 (__shm_directory_freeres): Declare.
12651 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12652 (__nptl_unwind_freeres): ...this.
12653 * resolv/res-close.c: Add comment.
12654 * resolv/resolv_conf.c: Include libc-symbols.h.
12655 * string/strerror_l.c: Include libc-symbols.h.
12656 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12657 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12658 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12659 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12661 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12663 * stdlib/tst-strfmon_l.c: Add tests for long double.
12665 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
12668 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12669 * localedata/locales/dsb_DE: New file.
12671 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12674 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12676 (alt_mon): New entry, import from CLDR (nominative case).
12678 2018-06-29 Sylvain Lesage <severo@rednegra.net>
12681 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12683 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12685 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12686 Use vector registers.
12688 * sysdeps/aarch64/multiarch/memmove_falkor.S
12689 (__memcpy_falkor): Use vector registers.
12691 2018-06-29 Martin Sebor <msebor@redhat.com>
12693 * manual/stdio.texi (Customizing Printf): Mention interaction
12694 with GCC built-ins.
12696 2018-06-29 Maciej W. Rozycki <macro@mips.com>
12699 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12700 `st_value' is 0 if `st_shndx' is SHN_ABS.
12701 * elf/tst-absolute-zero.c: New file.
12702 * elf/tst-absolute-zero-lib.c: New file.
12703 * elf/tst-absolute-zero-lib.lds: New file.
12704 * elf/Makefile (tests): Add `tst-absolute-zero'.
12705 (modules-names): Add `tst-absolute-zero-lib'.
12706 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12707 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12708 ($(objpfx)tst-absolute-zero: New dependency.
12710 2018-06-29 Zack Weinberg <zackw@panix.com>
12712 * configure.ac: New command-line option --disable-crypt.
12713 Force --disable-nss-crypt when --disable-crypt is given, with a
12714 warning if it was explicitly enabled.
12715 * configure: Regenerate.
12716 * config.make.in: New boolean substitution variable $(build-crypt).
12717 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12718 when $(build-crypt).
12719 * manual/install.texi: Document --disable-crypt.
12720 * INSTALL: Regenerate.
12722 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12723 which is never set.
12724 * conform/Makefile: Only include libcrypt.a in
12725 linknamespace-libs-xsi and linknamespace-libs-XPG4
12726 when $(build-crypt).
12727 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12728 USE_CRYPT to 1 when $(build-crypt).
12729 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12730 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12731 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12733 2018-06-29 Zack Weinberg <zackw@panix.com>
12735 * crypt/crypt.h, posix/unistd.h: Update comments and
12736 prototypes for crypt and crypt_r.
12738 * manual/crypt.texi (Cryptographic Functions): New initial
12740 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12741 (Unpredictable Bytes): Improve initial exposition. Clarify error
12742 behavior of getentropy and getrandom.
12743 * manual/examples/genpass.c: Generate a salt using getentropy
12744 instead of the current time. Use hash $5$ (SHA-2-256).
12745 * manual/examples/testpass.c: Demonstrate validation against
12746 hashes generated with three different one-way functions.
12748 * manual/intro.texi: crypt.texi does not need an overview
12751 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12752 * manual/terminal.texi: Consistently refer to "passphrases"
12753 * instead of "passwords", and to the "user database" instead
12754 * of the "password database".
12755 * manual/users.texi: Similarly. Add notes about how actual
12756 passphrase hashes are now stored in the shadow database.
12757 Remove 20-year-old junk todo note.
12759 2018-06-29 Zack Weinberg <zackw@panix.com>
12761 * manual/crypt.texi: Use a normal top-level @node declaration.
12762 Move most of the introductory text to the 'crypt' section.
12763 Move the example programs below the @deftypefun for 'crypt_r'.
12764 Move the 'getpass' section...
12765 * manual/terminal.texi: ...here.
12767 2018-06-29 Zack Weinberg <zackw@panix.com>
12768 Florian Weimer <fweimer@redhat.com>
12770 * posix/unistd.h: Do not declare encrypt.
12771 (_XOPEN_CRYPT): Remove macro definition.
12772 (crypt): Declare only for _USE_MISC.
12773 * stdlib/stdlib.h: Do not declare setkey.
12774 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12775 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12777 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12778 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12779 into compat symbols. Don't define initial_perm if it's not
12781 * crypt/cert.c: Link explicitly with the expected versions for
12782 setkey and encrypt. If they are not available at all, mark
12783 the test as unsupported.
12785 * sunrpc/des_crypt.c: Unconditionally block linkage with
12786 cbc_crypt and ecb_crypt for new binaries.
12787 * sunrpc/des_soft.c: Unconditionally block linkage with
12788 des_setparity for new binaries.
12790 * manual/crypt.texi: Remove the entire "DES Encryption"
12791 section. Also remove the paragraph talking about FIPS 140-2
12792 from the introduction.
12793 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12794 of libgcrypt for "real" encryption, not DES.
12795 * manual/conf.texi (Constants for Sysconf): Mention that
12796 _XOPEN_CRYPT is no longer impelemented.
12798 * conform/data/unistd.h-data: Remove crypt function declaration.
12800 2018-06-29 Florian Weimer <fweimer@redhat.com>
12803 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12804 (disallow_malloc_check): Remove variable.
12805 (__malloc_check_init): Adjust.
12806 (malloc_set_state): Update comment.
12807 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12810 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12813 * localedata/locales/ast_ES (mon): Rename to...
12815 (mon): Import from CLDR (genitive case).
12817 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12818 Jakub Sitnicki <jkbs@redhat.com>
12821 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12822 on NLM_F_DUMP_INTR.
12824 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12826 * manual/llio.texi: Remove spurious space.
12828 2018-06-28 Florian Weimer <fweimer@redhat.com>
12831 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12834 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12836 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
12837 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
12838 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12839 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12840 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12841 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12842 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12844 2018-06-27 Maciej W. Rozycki <macro@mips.com>
12847 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12848 Copy and null-terminate entries that are not terminated, in
12849 addition to empty ones.
12851 2018-06-27 Florian Weimer <fweimer@redhat.com>
12854 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12855 (extend_alloca_account): Remove.
12856 * manual/stdio.texi (Variable Arguments Output): Update comment.
12858 2018-06-27 Joseph Myers <joseph@codesourcery.com>
12860 * nptl/sockperf.c: Remove file.
12862 2018-06-27 Florian Weimer <fweimer@redhat.com>
12865 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12866 scratch_buffer instead of extend_alloca.
12868 2018-06-27 Florian Weimer <fweimer@redhat.com>
12871 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12872 scratch_buffer instead of extend_alloca. Update comments.
12874 2018-06-27 Florian Weimer <fweimer@redhat.com>
12877 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12878 instead of extend_alloca.
12880 2018-06-26 Joseph Myers <joseph@codesourcery.com>
12883 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12884 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12886 * scripts/test-installation.pl: Put temporary files in build
12887 directory, not /tmp.
12888 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12889 (CFLAGS-bug4.c): Likewise.
12890 (CFLAGS-bug5.c): Likewise.
12891 (CFLAGS-test-fseek.c): Likewise.
12892 (CFLAGS-test-popen.c): Likewise.
12893 (CFLAGS-test_rdwr.c): Likewise.
12894 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12896 * stdio-common/bug4.c (main): Likewise.
12897 * stdio-common/bug5.c (main): Likewise.
12898 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12899 * stdio-common/test-popen.c (do_test): Likewise.
12900 * stdio-common/test_rdwr.c (main): Likewise.
12902 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
12904 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12905 (sem_open): Set sem.newsem.pad to zero for valgrind.
12907 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12910 * NEWS: Mention fcntl64 addition.
12911 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12912 * login/utmp_file.c: Likewise.
12913 * sysdeps/posix/fdopendir.c: Likewise.
12914 * sysdeps/posix/opendir.c: Likewise.
12915 * sysdeps/unix/pt-fcntl.c: Likewise.
12916 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12917 __fcntl64_nocancel_adjusted): New prototype.
12918 (__fcntl_nocancel_adjusted): Remove prototype.
12919 * io/Makefile (routines): Add fcntl64.
12920 (CFLAGS-fcntl64.c): New rule.
12921 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12922 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12923 * io/fcntl.h (fcntl64): Add prototype and redirect if
12924 __USE_FILE_OFFSET64 is defined.
12925 * io/fcntl64.c: New file.
12926 * manual/llio.text: Add a note for which commands fcntl acts a
12927 cancellation point.
12928 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12929 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12930 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12932 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12933 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12935 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12936 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12937 to __fcntl64_nocancel.
12938 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12939 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12940 to __fcntl64_nocancel.
12941 * sysdeps/generic/not-cancel.h: Likewise.
12942 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12943 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12944 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12945 (fcntl64): New symbol.
12946 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12947 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12948 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12951 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12952 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12953 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12954 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12955 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12956 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12957 fcntl64): Likewise.
12958 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12959 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12960 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12961 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12962 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12963 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12964 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12965 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12966 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12971 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12972 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12973 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12975 2018-06-26 Florian Weimer <fweimer@redhat.com>
12977 Run thread shutdown functions in an explicit order.
12978 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12980 (__libc_thread_freeres): Call thread shutdown functions
12982 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12983 * include/string.h (__strerror_thread_freeres): Declare.
12984 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12985 arena_thread_freeres. No longer static. Remove thread shutdown
12987 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12989 * resolv/res-close.c (__res_thread_freeres): Renamed from
12990 res_thread_freeres. No longer static. Remove thread shutdown
12992 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12993 * resolv/resolv_conf.c (freeres): Remove incorrect section
12994 attribute and use libc_freeres_fn.
12995 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12996 strerror_thread_freeres. No longer static. Remove thread
12997 shutdown hook registration.
12998 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12999 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
13000 shutdown hook registration.
13001 * Makerules (shlib.lds): Do not provide section boundary symbols
13002 for __libc_thread_subfreeres.
13003 * manual/memory.texi (Basic Allocation): Update comment.
13005 2018-06-26 Florian Weimer <fweimer@redhat.com>
13007 Remove always-defined _RPC_THREAD_SAFE_ macro.
13008 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
13009 Do not define _RPC_THREAD_SAFE_.
13010 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
13012 * sunrpc/clnt_perr.c: Likewise.
13013 * sunrpc/clnt_raw.c: Likewise.
13014 * sunrpc/clnt_simp.c: Likewise.
13015 * sunrpc/key_call.c: Likewise.
13016 * sunrpc/rpc_common.c: Likewise.
13017 * sunrpc/rpc_main.c: Likewise.
13018 * sunrpc/rpc_thread.c: Likewise.
13019 * sunrpc/svc.c: Likewise.
13020 * sunrpc/svc_raw.c: Likewise.
13021 * sunrpc/svc_simple.c: Likewise.
13022 * sumrpc/svcauth_des.c: Likewise.
13024 2018-06-26 Florian Weimer <fweimer@redhat.com>
13026 * libio/Makefile (tests-internal): Add tst-vtables,
13027 tst-vtables-interposed.
13028 * libio/tst-vtables.c: New file.
13029 * libio/tst-vtables-common.c: Likewise.
13030 * libio/tst-vtables-interposed.c: Likewise.
13032 2018-06-26 Florian Weimer <fweimer@redhat.com>
13034 * support/support_test_main.c (support_test_main): Only call
13035 setvbuf if not disables.
13036 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
13037 * support/test-driver.h (struct test_config): Add no_setvbuf member.
13039 2018-06-26 Florian Weimer <fweimer@redhat.com>
13042 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
13044 2018-06-25 Florian Weimer <fweimer@redhat.com>
13047 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13048 Use struct scratch_buffer instead of extend_alloca.
13050 2018-06-25 Florian Weimer <fweimer@redhat.com>
13053 * nss/getent.c (initgroups_keys): Use dynarray instead of
13056 2018-06-25 Florian Weimer <fweimer@redhat.com>
13059 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
13060 Use struct scratch_buffer instead of extend_alloca.
13062 2018-06-25 Florian Weimer <fweimer@redhat.com>
13065 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
13066 back to malloc directly, without stack allocations.
13068 2018-06-25 Florian Weimer <fweimer@redhat.com>
13071 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
13074 2018-06-25 Florian Weimer <fweimer@redhat.com>
13077 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
13079 * nscd/hstcache.c (addhstbyX): Likewise.
13080 * nscd/pwdcache.c (addpwbyX): Likewise.
13081 * nscd/servicescache.c (addservbyX): Likewise.
13083 2018-06-25 Florian Weimer <fweimer@redhat.com>
13086 * nscd/connections.c (read_cmdline): New function.
13087 (restart): Use it. Update comment.
13089 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13092 * localedata/locales/csb_PL (mon): Rename to...
13094 (abmon): Rename to...
13095 (ab_alt_mon): This.
13096 (mon): Add with proper genitive forms, copy from Wikipedia.
13099 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13102 * localedata/locales/csb_PL (mon): Fix typos:
13103 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
13104 (yesstr): Add, value is "jo".
13105 (nostr): Add, value is "nié".
13107 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13109 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
13110 all log1p and significand functions on m680x0.
13111 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
13112 of s_significand.c..
13113 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13114 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
13115 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
13116 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
13117 s_log1p.c and include it..
13119 2018-06-21 Vincent Chen <vincentc@andestech.com>
13121 * elf/elf.h (R_NDS32_NONE): New define.
13122 (R_NDS32_32_RELA): Likewise.
13123 (R_NDS32_COPY): Likewise.
13124 (R_NDS32_GLOB_DAT): Likewise.
13125 (R_NDS32_JUMP_SLOT): Likewise.
13126 (R_NDS32_RELATIVE): Likewise.
13127 (R_NDS32_TLS_TPOFF): Likewise.
13128 (R_NDS32_TLS_DESC): Likewise.
13130 2018-06-21 Mark Wielaard <mark@klomp.org>
13132 * elf/elf.h (R_BPF_MAP_FD): Removed.
13133 (R_BPF_64_64, R_BPF_64_32): New.
13135 2018-06-21 Florian Weimer <fweimer@redhat.com>
13138 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
13139 Renamed from libc_feholdsetround_ctx.
13140 (default_libc_feresetround_ctx): Renamed from
13141 libc_feresetround_ctx.
13142 (default_libc_feholdsetround_noex_ctx): Renamed from
13143 libc_feholdsetround_noex_ctx.
13144 (default_libc_feresetround_noex_ctx): Renamed from
13145 libc_feresetround_noex_ctx.
13146 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
13147 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
13148 forwardning to the old implementations under the new names.
13149 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
13150 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
13151 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
13152 (libc_feresetround_ctx): Forward to default implements for i386
13153 and MATH_SET_BOTH_ROUNDING_MODES.
13154 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
13155 Add -DMATH_SET_BOTH_ROUNDING_MODES.
13157 2018-06-20 Joseph Myers <joseph@codesourcery.com>
13159 * string/tst-cmp.c: Include <libc-diag.h>.
13160 (strncmp_max): Disable -Wstringop-overflow= around call to
13162 (strncasecmp_max): Disable -Wstringop-overflow= around call to
13165 * string/bug-strpbrk1.c: Include <libc-diag.h>.
13166 (main): Disable -Wunused-value around call to strpbrk.
13167 * string/bug-strspn1.c: Include <libc-diag.h>.
13168 (main): Disable -Wunused-value around call to strspn.
13170 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13171 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13173 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
13174 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
13176 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13178 * math/Makefile (libm-calls): Move s_significandF to...
13179 (gen-libm-calls): ... here.
13180 * math/s_significand_template.c: New file.
13181 * math/s_significand.c: Removed.
13182 * math/s_significandf.c: Removed.
13183 * math/s_significandl.c: Removed.
13184 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
13185 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
13187 * math/e_exp2_template.c (declare_mgen_finite_alias,
13188 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
13189 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
13190 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
13192 2018-06-20 Florian Weimer <fweimer@redhat.com>
13194 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
13196 2018-06-19 Joseph Myers <joseph@codesourcery.com>
13199 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
13200 floating-point number to strtod functions rather than possibly
13201 negating result of those functions.
13202 * stdio-common/tst-scanf-round.c: New file.
13203 * stdio-common/Makefile (tests): Add tst-scanf-round.
13204 ($(objpfx)tst-scanf-round): Depend on $(libm).
13206 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13208 * sysdeps/mach/hurd/localplt.data: Move to...
13209 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
13210 R_386_GLOB_DAT like on Linux i386.
13212 2018-06-18 Joseph Myers <joseph@codesourcery.com>
13214 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
13215 (SHM_STAT_ANY): New macro.
13216 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
13217 (SHM_STAT_ANY): Likewise.
13218 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
13219 (SHM_STAT_ANY): Likewise.
13220 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
13221 (SHM_STAT_ANY): Likewise.
13222 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
13223 (SHM_STAT_ANY): Likewise.
13224 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
13225 (SHM_STAT_ANY): Likewise.
13226 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
13227 (SHM_STAT_ANY): Likewise.
13228 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
13229 (SHM_STAT_ANY): Likewise.
13230 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
13231 (SHM_STAT_ANY): Likewise.
13232 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
13233 (SHM_STAT_ANY): Likewise.
13234 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
13235 (SHM_STAT_ANY): Likewise.
13236 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
13237 (SHM_STAT_ANY): Likewise.
13239 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
13240 (SEM_STAT_ANY): New macro.
13241 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
13242 (SEM_STAT_ANY): Likewise.
13243 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
13244 (SEM_STAT_ANY): Likewise.
13245 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
13246 (SEM_STAT_ANY): Likewise.
13247 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
13248 (SEM_STAT_ANY): Likewise.
13249 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
13250 (SEM_STAT_ANY): Likewise.
13251 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
13252 (SEM_STAT_ANY): Likewise.
13253 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
13254 (SEM_STAT_ANY): Likewise.
13255 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
13256 (SEM_STAT_ANY): Likewise.
13257 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
13258 (SEM_STAT_ANY): Likewise.
13260 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
13261 (MSG_STAT_ANY): New macro.
13262 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
13263 (MSG_STAT_ANY): Likewise.
13264 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
13265 (MSG_STAT_ANY): Likewise.
13266 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
13267 (MSG_STAT_ANY): Likewise.
13268 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
13269 (MSG_STAT_ANY): Likewise.
13270 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
13271 (MSG_STAT_ANY): Likewise.
13272 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
13273 (MSG_STAT_ANY): Likewise.
13274 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
13275 (MSG_STAT_ANY): Likewise.
13276 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
13277 (MSG_STAT_ANY): Likewise.
13278 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
13279 (MSG_STAT_ANY): Likewise.
13281 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13282 (MAP_TYPE): Change value to 0x2b.
13284 2018-06-18 Florian Weimer <fweimer@redhat.com>
13287 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
13288 socket with SOCK_CLOEXEC.
13290 2018-06-18 Joseph Myers <joseph@codesourcery.com>
13293 * sysdeps/powerpc/powerpc64/le/Makefile
13294 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
13295 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
13296 (gnulib-tests): Also add $(f128-loader-link) for
13297 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
13299 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
13301 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
13302 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
13304 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
13305 (sendfile64): New strong alias.
13306 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
13307 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
13308 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
13309 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
13311 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
13312 ___pthread_get_cleanup_stack.
13313 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
13314 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
13315 * mach/shortcut.awk: Make syscall stubs include
13316 <mach-shortcuts-hidden.h> and add hidden definition.
13317 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
13318 (__mach_msg): Add hidden prototype.
13319 * mach/msg.c: Include <mach.h>.
13320 (__mach_msg): Add hidden definition.
13321 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
13322 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
13323 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
13324 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
13325 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
13326 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
13327 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
13328 prototype and definition.
13329 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
13330 hidden target for _hurd_self_sigstate.
13332 2018-06-15 Joseph Myers <joseph@codesourcery.com>
13335 * stdlib/tst-strtod-nan-sign-main.c: New file.
13336 * stdlib/tst-strtod-nan-sign.c: Likewise.
13337 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
13338 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
13339 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
13340 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
13341 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
13343 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
13346 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
13349 2018-06-14 Florian Weimer <fweimer@redhat.com>
13352 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
13353 that the result stays within the ISO-8859-1 range.
13354 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
13355 characters are defined in IBM273.
13357 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
13359 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
13360 __mach_task_self): Remove attribute_hidden.
13362 2018-06-14 Joseph Myers <joseph@codesourcery.com>
13364 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
13365 ignore -Wrestrict for one test.
13367 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
13368 Szabolcs Nagy <szabolcs.nagy@arm.com>
13370 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
13372 2018-06-14 Florian Weimer <fweimer@redhat.com>
13374 * scripts/update-abilist.sh: Accept empty list of files to patch.
13376 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13378 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
13379 test-xfail-check-abi-libmachuser): Add.
13380 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
13381 __libc_read and __libc_write to __read and __write.
13382 * sysdeps/hurd/include/hurd/port.h: New file.
13383 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
13384 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
13385 __thread_switch, __evc_wait): Move declarations to...
13386 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
13388 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
13389 use PLT to call _hurd_self_sigstate.
13391 2018-06-13 Joseph Myers <joseph@codesourcery.com>
13394 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
13395 MAX_EXP as overflowing.
13396 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
13398 (round_str): Output also whether result overflows in each rounding
13400 * stdlib/tst-strtod-round-data: Add more tests.
13401 * stdlib/tst-strtod-round-data.h: Regenerated.
13402 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13403 (TEST): Handle extra arguments for overflow flags.
13404 (struct test_overflow): New type.
13405 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13406 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13407 (test_in_one_mode): Take argument with overflow information.
13408 (do_test): Update calls to test_in_one_mode.
13410 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13412 * elf/dl-load (_dl_dst_substitute): Correct comment.
13413 (_dl_dst_count): Likewise.
13415 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13416 lll_futex_timed_wait.
13418 2018-06-12 Joseph Myers <joseph@codesourcery.com>
13421 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13423 * math/test-nan-const.c: New file.
13424 * math/Makefile (tests): Add test-nan-const.
13425 (CFLAGS-test-nan-const.c): New variable.
13427 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13429 * benchtests/scripts/compare_strings.py (process_results): Add
13430 funcs argument. Compare only functions which are selected.
13431 (main): Check if base function is among selected functions.
13432 Pass selected functions to process_results.
13433 (__main__): Add -f/--functions argument.
13435 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13436 Hongbo Zhang <hongbo.zhang@linaro.org>
13438 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13439 __memcpy_falkor for phecda core.
13440 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13441 __memmove_falkor for phecda core.
13442 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13443 __memset_falkor for phecda core.
13444 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13446 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13447 macro to identify phecda core.
13449 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13450 Andreas Schwab <schwab@suse.de>
13451 Dmitry V. Levin <ldv@altlinux.org>
13452 Florian Weimer <fweimer@redhat.com>
13459 * elf/dl-dst.h: Remove DL_DST_COUNT.
13460 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13461 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13462 (is_dst): Comment. Support ELF gABI.
13463 (_dl_dst_count): Comment. Simplify and count DSTs.
13464 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13465 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13468 2018-06-12 Zack Weinberg <zackw@panix.com>
13470 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13471 * sysdeps/unix/sysv/linux/dl-sysdep.c
13472 Include not-cancel.h. Use __close_nocancel instead of __close,
13473 __open64_nocancel instead of __open, __read_nocancel instead of
13474 __libc_read, and __write_nocancel instead of __libc_write.
13476 * csu/check_fds.c (check_one_fd)
13477 * sysdeps/posix/fdopendir.c (__fdopendir)
13478 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
13479 instead of __fcntl and/or __libc_fcntl.
13481 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13482 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
13483 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
13484 Use __open64_nocancel instead of __open_nocancel.
13486 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13487 hidden_proto declarations to the end and issue them if either
13488 IS_IN(libc) or IS_IN(rtld).
13489 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13490 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13491 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13492 read_nocancel, waitpid_nocancel, write_nocancel.
13494 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13495 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13496 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
13498 * nptl/pt-fcntl.c: New file.
13499 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13500 (libpthread-routines): Add pt-fcntl.
13501 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13502 (__libc_fcntl): Remove attribute_hidden.
13503 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13504 __fcntl_nocancel_adjusted, not fcntl_common.
13505 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
13506 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13507 to fcntl_nocancel.c.
13508 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13511 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13513 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13514 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13515 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13516 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13517 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13518 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13519 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13520 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13521 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13522 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13523 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13524 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13525 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13526 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13527 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13528 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13529 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13530 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13531 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13532 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13534 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13535 libpthread-routines.
13536 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13539 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13540 __libc_read, and __write instead of __libc_write. Define
13541 __open64 in addition to __open.
13543 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13547 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13548 to _private_tm[3] and add __glibc_reserved2.
13549 Add _Static_assert of offset of __private_ss == 0x30.
13550 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13551 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13553 2018-06-12 Florian Weimer <fweimer@redhat.com>
13555 x86: Make strncmp usable from rtld.
13556 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13557 __strncmp_ia32 if in libc (and not in rtld).
13558 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13559 strncmp if not in libc (and not to __strncmp_sse2).
13561 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13564 * localedata/locales/gd_GB (mon): Rename to...
13566 (mon): Import from CLDR (genitive case).
13567 * localedata/locales/hsb_DE (mon): Rename to...
13569 (mon): Import from CLDR (genitive case).
13570 * localedata/locales/wa_BE (mon): Rename to...
13572 (mon): Add, fill with the proper genitive forms, but CLDR data
13573 is incomplete; completed according to the comments in this file.
13574 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13576 * localedata/locales/wa_BE (country_name): Reword
13577 "Beljike" -> "Beldjike".
13579 2018-06-11 Joseph Myers <joseph@codesourcery.com>
13582 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13583 cases of non-finite arguments.
13584 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13586 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
13589 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13591 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13594 * include/unistd.h (__execvpex): New prototype.
13595 * posix/Makefile (tests): Add tst-spawn4.
13596 (tests-internal): Add tst-spawn4-compat.
13597 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13598 * posix/tst-spawn4-compat.c: New file.
13599 * posix/tst-spawn4.c: Likewise.
13600 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13601 binaries as shell scripts.
13602 * sysdeps/posix/spawni.c (__spawni): Likewise.
13604 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13607 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13608 ($(all-built-dso:=.dynsym): New target.
13609 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13610 ($(objpfx)check-initfini.out): New target.
13611 (generated): Add check-initfini.out.
13612 * scripts/check-initfini.awk: New file.
13613 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13615 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13617 * sysdeps/arm/crti.S (_init): Mark as hidden.
13619 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13621 * sysdeps/i386/crti.S (_init): Mark as hidden.
13623 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13625 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13627 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13629 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13631 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13633 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13635 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13637 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13639 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13641 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13643 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13645 * sysdeps/sh/crti.S (_init): Mark as hidden.
13647 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13649 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13652 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13654 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13655 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13656 and TF redirection to KFtype and KF only when the default
13657 long double type is not the IEEE 128-bit floating point type.
13659 2018-06-05 Joseph Myers <joseph@codesourcery.com>
13661 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13663 (HWCAP_USCAT): Likewise.
13664 (HWCAP_ILRCPC): Likewise.
13665 (HWCAP_FLAGM): Likewise.
13666 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13668 (_dl_aarch64_cap_flags): Add new flag names.
13670 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13671 (MAP_FIXED_NOREPLACE): New macro.
13672 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13673 (MAP_FIXED_NOREPLACE): Likewise.
13674 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13675 (MAP_FIXED_NOREPLACE): Likewise.
13676 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13677 (MAP_FIXED_NOREPLACE): Likewise.
13678 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13679 (MAP_FIXED_NOREPLACE): Likewise.
13680 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13681 (MAP_FIXED_NOREPLACE): Likewise.
13682 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13683 (MAP_FIXED_NOREPLACE): Likewise.
13684 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13685 (MAP_FIXED_NOREPLACE): Likewise.
13686 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13687 (MAP_FIXED_NOREPLACE): Likewise.
13688 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13689 (MAP_FIXED_NOREPLACE): Likewise.
13690 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13691 (MAP_FIXED_NOREPLACE): Likewise.
13692 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13693 (MAP_FIXED_NOREPLACE): Likewise.
13694 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13695 (MAP_FIXED_NOREPLACE): Likewise.
13696 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13697 (MAP_FIXED_NOREPLACE): Likewise.
13698 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13699 (MAP_FIXED_NOREPLACE): Likewise.
13701 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13704 2018-06-04 Joseph Myers <joseph@codesourcery.com>
13706 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13709 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13711 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13713 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13715 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13717 * benchtests/scripts/compare_string.py: (process_results) Catch
13718 exception in non-existent base_func and catch exception in
13719 non-existent attribute.
13720 (parse_file) Catch exception if input file does not exist.
13722 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13724 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13725 options to avoid diff calculation and omit header, respectively.
13726 (main): process --no-diff and --no-header
13728 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13729 H.J. Lu <hongjiu.lu@intel.com>
13731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13732 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13734 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13735 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13736 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13737 and __wcsncmp_sse2.
13738 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13739 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13740 AVX unaligned load is fast and vzeroupper is preferred.
13741 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13742 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13743 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13744 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13745 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13746 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13747 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13748 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13749 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13750 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13753 2018-06-01 Florian Weimer <fweimer@redhat.com>
13755 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13756 configuring with --disable-multi-arch, building with
13757 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13760 2018-06-01 Florian Weimer <fweimer@redhat.com>
13762 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13763 results from building with “-march=x86-64 -mtune=generic
13764 -mfpmath=sse” and running on a Haswell-era CPU.
13766 2018-06-01 Joseph Myers <joseph@codesourcery.com>
13769 * soft-fp/sqrttf2.c: Remove file.
13770 * soft-fp/sqrtdf2.c: Move to ....
13771 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13773 (__sqrtdf2): Make conditional on
13774 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13776 * soft-fp/sqrtsf2.c: Move to ....
13777 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13779 (__sqrtsf2): Make conditional on
13780 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13782 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13783 (gcc-double-routines): Remove sqrtdf2.
13784 (gcc-quad-routines): Remove sqrttf2.
13785 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13786 Do not filter out sqrtsf2 and sqrtdf2.
13787 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13788 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13790 2018-06-01 Florian Weimer <fweimer@redhat.com>
13792 * sysdeps/generic/libcidn.abilist: Remove file.
13794 2018-06-01 Florian Weimer <fweimer@redhat.com>
13797 * libio/strfile.h (struct _IO_str_fields): Rename members to
13798 discourage their use and add comment.
13799 (_IO_STR_DYNAMIC): Remove unused macro.
13800 * libio/strops.c (_IO_str_init_static_internal): Do not use
13801 callback pointers. Call malloc and free.
13802 (_IO_str_overflow): Do not use callback pointers. Call malloc
13804 (enlarge_userbuf): Likewise.
13805 (_IO_str_finish): Call free.
13806 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13807 _allocate_buffer_unused.
13808 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13810 (enlarge_userbuf): Likewise.
13811 (_IO_wstr_finish): Call free.
13812 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13813 _allocate_buffer_unused, _free_buffer_unused.
13814 * libio/memstream.c (__open_memstream): Likewise.
13815 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13816 * libio/wmemstream.c (open_wmemstream): Likewise.
13818 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13820 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13823 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13825 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13826 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13827 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13829 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13831 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13833 2018-05-29 Florian Weimer <fweimer@redhat.com>
13835 * support/Makefile (libsupport-routines): Add
13836 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13837 xpthread_barrierattr_setpshared.
13838 * support/xpthread_barrierattr_destroy.c: New file.
13839 * support/xpthread_barrierattr_init.c: Likewise.
13840 * support/xpthread_barrierattr_setpshared.c: Likewise.
13842 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13845 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13846 _r_debug and update DT_DEBUG for debugger.
13848 2018-05-29 Florian Weimer <fweimer@redhat.com>
13850 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13851 (tst-strtod5i.out): Likewise.
13853 2018-05-25 Joseph Myers <joseph@codesourcery.com>
13855 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13856 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13857 (sparc64-quad-routines): New variable. Moved from ....
13858 [$(subdir) = soft-fp] (sysdep_routines): Add
13859 $(sparc64-quad-routines). Moved from ....
13860 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13861 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13862 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13864 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13865 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13866 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13867 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13868 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13869 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13870 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13871 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13872 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13873 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13874 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13875 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13876 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13877 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13878 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13879 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13880 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13881 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13882 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13883 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13884 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13885 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13886 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13887 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13888 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13889 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13890 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13891 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13892 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13893 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13894 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13895 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13896 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13897 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13898 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13899 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13900 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13901 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13902 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13903 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13904 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13905 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13906 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13907 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13908 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13909 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13910 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13911 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13912 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13913 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13914 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13915 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13916 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13917 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13918 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13919 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13920 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13921 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13923 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13924 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13925 (sparc32-quad-routines): New variable. Moved from ....
13926 [$(subdir) = soft-fp] (sysdep_routines): Add
13927 $(sparc32-quad-routines). Moved from ....
13928 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13929 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13931 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13932 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13933 * sysdeps/sparc/sparc32/q_add.c: ... here.
13934 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13935 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13936 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13937 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13938 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13939 * sysdeps/sparc/sparc32/q_div.c: ... here.
13940 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13941 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13942 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13943 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13944 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13945 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13946 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13947 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13948 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13949 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13950 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13951 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13952 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13953 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13954 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13955 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13956 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13957 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13958 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13959 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13960 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13961 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13962 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13963 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13964 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13965 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13966 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13967 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13968 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13969 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13970 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13971 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13972 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13973 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13974 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13975 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13976 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13977 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13978 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13979 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13980 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13981 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13982 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13983 * sysdeps/sparc/sparc32/q_util.c: ... here.
13984 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13985 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13986 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13987 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13989 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13990 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13992 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13993 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13994 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13995 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13997 2018-05-24 Joseph Myers <joseph@codesourcery.com>
13999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
14001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14003 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
14004 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
14006 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14009 * math/math.h [C++] (iseqsig): Fix parameter type for the long
14012 2018-05-23 Joseph Myers <joseph@codesourcery.com>
14014 * sysdeps/sh/Implies: Remove sh/soft-fp.
14015 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
14016 * sysdeps/sh/sfp-machine.h: ... here.
14018 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14020 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14021 (__mempcpy_erms): Skip zero length.
14022 (__memmove_erms): Likewise.
14023 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14024 (__memset_erms): Likewise.
14026 2018-05-23 Joseph Myers <joseph@codesourcery.com>
14028 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
14029 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14030 Add functions moved from ....
14031 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
14032 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
14033 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
14035 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
14036 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
14037 * sysdeps/alpha/e_sqrtl.c: ... here.
14038 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
14039 * sysdeps/alpha/local-soft-fp.h: ... here.
14040 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
14041 * sysdeps/alpha/ots_add.c: ... here.
14042 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
14043 * sysdeps/alpha/ots_cmp.c: ... here.
14044 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
14045 * sysdeps/alpha/ots_cmpe.c: ... here.
14046 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
14047 * sysdeps/alpha/ots_cvtqux.c: ... here.
14048 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
14049 * sysdeps/alpha/ots_cvtqx.c: ... here.
14050 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
14051 * sysdeps/alpha/ots_cvttx.c: ... here.
14052 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
14053 * sysdeps/alpha/ots_cvtxq.c: ... here.
14054 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
14055 * sysdeps/alpha/ots_cvtxt.c: ... here.
14056 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
14057 * sysdeps/alpha/ots_div.c: ... here.
14058 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
14059 * sysdeps/alpha/ots_mul.c: ... here.
14060 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
14061 * sysdeps/alpha/ots_nintxq.c: ... here.
14062 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
14063 * sysdeps/alpha/ots_sub.c: ... here.
14064 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
14065 * sysdeps/alpha/sfp-machine.h: ... here.
14067 2018-05-23 Florian Weimer <fweimer@redhat.com>
14075 Switch to extern IDNA implementation (libidn2).
14076 * libidn: Remove subdirectory.
14077 * LICENSES: Do not mention licensing conditions for the removed
14079 * config.h.in (HAVE_LIBIDN): Remove.
14080 * include/dlfcn.h (__libc_dlopen): Update comment.
14081 * include/idna.h: Remove file.
14082 * inet/Makefile (routines): Add idna.
14083 (tests-static, tests-internal): Add tst-idna_name_classify.
14084 (LOCALES): Generate locales for tests.
14085 (tst-idna_name_classify.out): Depend on generated locales.
14086 * inet/idna_name_classify.c: New file.
14087 * inet/tst-idna_name_classify.c: Likewise.
14088 * inet/net-internal.h (__idna_to_dns_encoding)
14089 (__idna_from_dns_encoding): Declare.
14090 * inet/net-internal.h (enum idna_name_classification): Define.
14091 (__idna_name_classify): Declare.
14092 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
14093 __idna_from_dns_encoding.
14094 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
14095 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
14096 name as a fallback in case of encoding errors.
14097 (getnameinfo): Use DEPRECATED_NI_IDN.
14098 * inet/idna.c: New file.
14099 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
14100 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
14101 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
14102 (modules-names): Add tst-no-libidn2.
14103 (extra-test-objs): Add tst-no-libidn2.os.
14104 (LDFLAGS-tst-no-libidn2.so): Set soname.
14105 (LOCALES): Set, and generate locales.
14106 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
14107 (tst-resolv-ai_idn-latin1): Likewise.
14108 (tst-resolv-ai_idn-nolibidn2): Likewise.
14109 (tst-resolv-ai_idn.out): Depend on locales.
14110 (tst-resolv-ai_idn-latin1.out): Depend on locales.
14111 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
14113 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
14114 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
14115 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
14116 * resolv/tst-resolv-ai_idn.c: New file.
14117 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
14118 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
14119 * resolv/tst-no-libidn2.c: Likewise.
14120 * support/support_format_addrinfo.c (format_ai_flags): Do not
14121 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
14122 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
14123 (gaih_inet): Call __idna_to_dns_encoding and
14124 __idna_from_dns_encoding, and use the original (punycode) name if
14125 __idna_from_dns_encoding fails due to an encoding error.
14126 (getaddrinfo): Use DEPRECATED_AI_IDN.
14127 * sysdeps/unix/inet/Subdirs (libidn): Remove.
14128 * sysdeps/unix/inet/configure: Remove file.
14129 * sysdeps/unix/inet/configure.ac: Likewise.
14131 2018-05-23 Florian Weimer <fweimer@redhat.com>
14133 Implement allocate_once.
14134 * include/allocate_once.h: New file.
14135 * misc/allocate_once.c: Likewise.
14136 * misc/tst-allocate_once.c: Likewise.
14137 * misc/Makefile (routines): Add allocate_once.
14138 (tests-internal): Add tst-allocate_once.
14139 (generated): Add tst-allocate_once.mtrace,
14140 tst-allocate_once-mem.out.
14141 (tests-special): Add tst-allocate_once-mem.out.
14142 (tst-allocate_once-ENV): Set MALLOC_TRACE.
14143 (tst-allocate_once-mem.out): Call mtrace.
14144 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
14146 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14149 * string/test-memcpy.c (do_test1): New function.
14150 (test_main): Call it.
14152 2018-05-23 Andreas Schwab <schwab@suse.de>
14156 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
14157 (L(preloop_large)): Save initial destination pointer in %r11 and
14158 use it instead of %rax after the loop.
14159 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
14161 2018-05-22 Joseph Myers <joseph@codesourcery.com>
14163 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
14164 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
14165 -I../soft-fp. Moved from ....
14166 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
14167 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
14168 * sysdeps/aarch64/e_sqrtl.c: ... here.
14169 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
14170 * sysdeps/aarch64/sfp-machine.h: ... here.
14172 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
14173 -Wmaybe-uninitialized around access to fq[0].
14174 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14178 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
14179 aliases for non-libc case of versioned symbols.
14180 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
14181 (llseek): Define as compat symbol if
14182 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
14184 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
14185 Make into a compat symbol, disabled for minimum symbol version
14186 GLIBC_2.28 and later.
14187 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
14189 2018-05-22 Florian Weimer <fweimer@redhat.com>
14191 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
14192 not add -mpreferred-stack-boundary=4.
14193 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
14194 (stack-align-test-flags): Likewise.
14195 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
14197 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
14198 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
14199 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
14200 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
14201 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
14202 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
14203 (CFLAGS-tst-align2.c): Likewise.
14205 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14207 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
14208 (index_arch_Prefer_FSRM): Likewise.
14209 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14210 Also check Prefer_FSRM.
14211 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
14212 Also return OPTIMIZE (erms) for Prefer_FSRM.
14214 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14216 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
14217 (index_cpu_FSRM): Likewise.
14218 (reg_FSRM): Likewise.
14220 2018-05-18 Joseph Myers <joseph@codesourcery.com>
14222 * math/gen-tgmath-tests.py: Import sys.
14223 (Tests.__init__): Initialize macros_seen.
14224 (Tests.add_tests): Add macro to macros_seen. Only generate tests
14225 if requested to do so for this macro.
14226 (Tests.add_all_tests): Take argument for macro for which to
14228 (Tests.check_macro_list): New function.
14229 (main): Handle check-list argument and argument specifying macro
14230 for which to generate tests.
14231 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
14232 [PYTHON] (tgmath3-macro-tests): Likewise.
14233 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
14234 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
14235 not test-tgmath3.c.
14236 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
14237 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
14239 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
14240 [PYTHON] ($(foreach
14241 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
14243 [PYTHON] (tests-special): Add
14244 $(objpfx)test-tgmath3-macro-list.out.
14245 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
14247 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
14248 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
14252 * time/tzset.c (SECSPERDAY): Cast to time_t.
14253 * time/tst-y2039.c: New file.
14254 * time/Makefile (tests): Add tst-y2039.
14256 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14258 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14259 (PREFETCH_ONE_SET): Remove duplicate line.
14261 2018-05-17 Florian Weimer <fweimer@redhat.com>
14263 * sysdeps/generic/math-type-macros-double.h: Include
14264 <math-nan-payload-double.h> after <libm-alias-double.h>.
14265 * sysdeps/generic/math-type-macros-float.h: Include
14266 <math-nan-payload-float.h> after <libm-alias-float.h>.
14267 * sysdeps/generic/math-type-macros-float128.h: Include
14268 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
14269 * sysdeps/generic/math-type-macros-ldouble.h: Include
14270 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
14272 2018-05-17 Andreas Schwab <schwab@suse.de>
14274 * resolv/res_send.c (__res_context_send): Don't set errno when
14275 returing error after malloc failure.
14277 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
14279 * nptl/allocatestack.c (allocate_stack): Remove the
14280 !__ASSUME_PRIVATE_FUTEX paths.
14281 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
14282 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14284 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
14285 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14286 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14287 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14288 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
14289 !__ASSUME_PRIVATE_FUTEX path.
14290 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
14291 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
14292 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14293 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
14294 !__ASSUME_PRIVATE_FUTEX macros.
14295 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14296 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14297 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14298 * sysdeps/unix/sysv/linux/kernel-features.h
14299 (__ASSUME_PRIVATE_FUTEX): Removed.
14301 2018-05-17 Joseph Myers <joseph@codesourcery.com>
14303 * math/Makefile (libm-narrow-fns): Add div.
14304 (libm-test-funcs-narrow): Likewise.
14305 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
14306 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
14307 * math/gen-auto-libm-tests.c (test_functions): Add div.
14308 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
14309 (NARROW_DIV_ROUND_TO_ODD): Likewise.
14310 (NARROW_DIV_TRIVIAL): Likewise.
14311 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
14313 (__ddivl): Likewise.
14314 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
14316 (CFLAGS-nldbl-ddiv.c): New variable.
14317 (CFLAGS-nldbl-fdiv.c): Likewise.
14318 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14320 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
14322 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
14323 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
14324 * math/auto-libm-test-in: Add tests of div.
14325 * math/auto-libm-test-out-narrow-div: New generated file.
14326 * math/libm-test-narrow-div.inc: New file.
14327 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
14328 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
14329 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
14330 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
14331 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
14332 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
14333 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
14334 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
14335 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
14336 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
14337 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
14338 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
14339 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
14340 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
14341 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
14342 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
14343 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
14344 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
14345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14346 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14347 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14348 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14349 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14350 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14351 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14352 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14353 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14354 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14355 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14356 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14357 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14358 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14363 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14364 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14365 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14366 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14367 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14368 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14369 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14370 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14372 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14375 * nscd/nscd-client.h (sendfileall): Remove prototype.
14376 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
14377 (handle_request): Use writeall instead of sendfileall.
14378 * nscd/aicache.c (addhstaiX): Likewise.
14379 * nscd/grpcache.c (cache_addgr): Likewise.
14380 * nscd/hstcache.c (cache_addhst): Likewise.
14381 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14382 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
14383 * nscd/pwdcache.c (cache_addpw): Likewise.
14384 * nscd/servicescache.c (cache_addserv): Likewise.
14385 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
14386 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
14387 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
14390 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
14392 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
14393 Include <string/strncat.c>.
14394 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
14396 (__GI___strncat): New hidden alias.
14398 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14400 * sysdeps/mips/mips32/libm-test-ulps: Update.
14401 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14403 2018-05-16 Florian Weimer <fweimer@redhat.com>
14405 * support/Makefile (libsupport-routines): Add support_quote_blob,
14406 support_test_compare_blob.
14407 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14408 * support/check.h (TEST_COMPARE_BLOB): Define.
14409 (support_test_compare_blob): Declare.
14410 * support/support.h (support_quote_blob): Declare.
14411 * support/support_quote_blob.c: New file.
14412 * support/support_test_compare_blob.c: Likewise.
14413 * support/tst-support_quote_blob.c: Likewise.
14414 * support/tst-test_compare_blob.c: Likewise.
14416 2018-05-16 Florian Weimer <fweimer@redhat.com>
14418 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14419 of <strtod_nan_double.h>.
14420 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14421 instead of SET_MANTISSA.
14422 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14423 of include <strtod_nan_float.h>.
14424 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14425 instead of <strtod_nan_ldouble.h>.
14426 * stdlib/strtod_nan_double.h: Move to ...
14427 * sysdeps/generic/math-nan-payload-double.h: ... here.
14428 (FLOAT): Remove definition.
14429 (SET_MANTISSA): Rename to ...
14430 (SET_NAN_PAYLOAD): ... this.
14431 * stdlib/strtod_nan_float.h: Move to ...
14432 * sysdeps/generic/math-nan-payload-float.h: ... here.
14433 (FLOAT): Remove definition.
14434 (SET_MANTISSA): Rename to ...
14435 (SET_NAN_PAYLOAD): ... this.
14436 * sysdeps/generic/math-type-macros-double.h: Include
14437 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14438 instead of <math-svid-compat.h>.
14439 * sysdeps/generic/math-type-macros-float.h: Include
14440 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14441 instead of <math-svid-compat.h>.
14442 * sysdeps/generic/math-type-macros-float128.h: Include
14443 <math-nan-payload-float128.h>.
14444 * sysdeps/generic/math-type-macros-ldouble.h: Include
14445 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14446 instead of <math-svid-compat.h>.
14447 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14448 check for definition.
14449 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14450 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14451 Include <ieee754_float128.h>.
14452 (FLOAT): Remove definition.
14453 (SET_MANTISSA): Rename to ...
14454 (SET_NAN_PAYLOAD): ... this.
14455 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14456 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14457 Do not include <float128_private.h>.
14458 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14459 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14460 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14461 (FLOAT): Remove definition.
14462 (SET_MANTISSA): Rename to ...
14463 (SET_NAN_PAYLOAD): ... this.
14464 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14465 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14466 (FLOAT): Remove definition.
14467 (SET_MANTISSA): Rename to ...
14468 (SET_NAN_PAYLOAD): ... this.
14469 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14470 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14471 (FLOAT): Remove definition.
14472 (SET_MANTISSA): Rename to ...
14473 (SET_NAN_PAYLOAD): ... this.
14474 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14475 of "../stdlib/strtod_nan_double.h".
14476 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14477 of "../stdlib/strtod_nan_float.h".
14478 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14479 instead of "../stdlib/strtod_nan_ldouble.h".
14480 * manual/arith.texi (Parsing of Floats): Adjust comment.
14482 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14484 * math/Makefile (libm-narrow-fns): Add mul.
14485 (libm-test-funcs-narrow): Likewise.
14486 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14487 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14488 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14489 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14490 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14491 (NARROW_MUL_TRIVIAL): Likewise.
14492 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14493 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14495 (__dmull): Likewise.
14496 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14498 (CFLAGS-nldbl-dmul.c): New variable.
14499 (CFLAGS-nldbl-fmul.c): Likewise.
14500 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14502 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14504 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14505 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14506 * math/auto-libm-test-in: Add tests of mul.
14507 * math/auto-libm-test-out-narrow-mul: New generated file.
14508 * math/libm-test-narrow-mul.inc: New file.
14509 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14510 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14511 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14512 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14513 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14514 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14515 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14516 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14517 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14518 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14519 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14520 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14521 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14522 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14523 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14524 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14525 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14526 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14528 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14529 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14530 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14531 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14532 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14533 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14534 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14535 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14536 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14537 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14538 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14539 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14540 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14545 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14546 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14547 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14548 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14549 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14550 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14551 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14552 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14554 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14556 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14557 with *%eax in call.
14559 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14561 * sysdeps/i386/ldsodefs.h: Removed.
14562 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14563 * sysdeps/x86/ldsodefs.h: This.
14564 (La_i86_regs): New.
14565 (La_i86_retval): Likewise.
14566 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14567 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14569 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14571 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14574 2018-05-13 Alan Modra <amodra@gmail.com>
14576 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14577 R_PARISC_TLS_DTPOFF32 reloc addend.
14579 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14581 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14582 * math/math.h: Restrict the prototype definition for the functions
14583 issignaling(_Float128) and iszero(_Float128); and template
14584 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14585 __HAVE_FLOAT128_UNLIKE_LDBL.
14586 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14587 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14588 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14589 __f128() constants; define the type _Float128 as long double;
14590 and reuse long double in __CFLOAT128.
14592 2018-05-11 Joseph Myers <joseph@codesourcery.com>
14594 * sysdeps/generic/math_private.h: Do not include
14596 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14598 * math/fromfp.h: Include <math-barriers.h>.
14599 * math/math-narrow.h: Likewise.
14600 * math/s_nextafter.c: Likewise.
14601 * math/s_nexttowardf.c: Likewise.
14602 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14603 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14604 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14605 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14606 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14607 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14608 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14609 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14610 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14611 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14612 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14613 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14614 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14615 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14616 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14617 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14618 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14619 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14620 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14621 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14622 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14623 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14624 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14625 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14626 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14627 * sysdeps/ieee754/k_standardl.c: Likewise.
14628 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14629 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14630 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14631 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14632 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14633 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14634 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14635 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14636 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14637 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14638 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14639 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14640 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14641 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14642 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14643 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14644 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14645 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14646 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14647 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14648 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14649 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14651 2018-05-11 Florian Weimer <fweimer@redhat.com>
14653 Use 64-bit epoch values in the time zone file parser.
14654 * include/time.h (internal_time_t): Define.
14655 (__tzfile_compute): Use it.
14656 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14658 (transitions): Switch to internal_time_t.
14659 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14661 (__tzfile_compute): Use internal_time_t for timer argument. Check
14662 for truncation before calling __offtime.
14664 2018-05-11 Florian Weimer <fweimer@redhat.com>
14667 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14668 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14670 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14671 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14672 export without --enable-obsolete-rpc.
14673 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14674 symbol. This should not have been exported, ever.
14676 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14679 * localedata/locales/gd_GB (abmon): Fix typo in May:
14680 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14682 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14684 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14685 Use multiple registers to copy data in loop tail.
14687 * sysdeps/aarch64/multiarch/memmove_falkor.S
14688 (__memmove_falkor): Use multiple registers to move data in
14691 2018-05-10 Joseph Myers <joseph@codesourcery.com>
14693 * math/math-underflow.h: New file.
14694 * sysdeps/generic/math_private.h: Do not include <float.h>.
14695 (fabs_tg): Remove macro. Moved to math-underflow.h.
14696 (min_of_type_f): Likewise.
14697 (min_of_type_): Likewise.
14698 (min_of_type_l): Likewise.
14699 (min_of_type_f128): Likewise.
14700 (min_of_type): Likewise.
14701 (math_check_force_underflow): Likewise.
14702 (math_check_force_underflow_nonneg): Likewise.
14703 (math_check_force_underflow_complex): Likewise.
14704 * math/e_exp2_template.c: Include <math-underflow.h>.
14705 * math/k_casinh_template.c: Likewise.
14706 * math/s_catan_template.c: Likewise.
14707 * math/s_catanh_template.c: Likewise.
14708 * math/s_ccosh_template.c: Likewise.
14709 * math/s_cexp_template.c: Likewise.
14710 * math/s_clog10_template.c: Likewise.
14711 * math/s_clog_template.c: Likewise.
14712 * math/s_csin_template.c: Likewise.
14713 * math/s_csinh_template.c: Likewise.
14714 * math/s_csqrt_template.c: Likewise.
14715 * math/s_ctan_template.c: Likewise.
14716 * math/s_ctanh_template.c: Likewise.
14717 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14718 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14719 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14720 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14721 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14722 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14723 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14724 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14725 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14726 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14727 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14728 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14729 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14730 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14731 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14732 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14733 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14734 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14735 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14736 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14737 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14738 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14739 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14740 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14741 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14742 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14743 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14744 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14745 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14746 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14747 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14748 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14749 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14750 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14751 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14752 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14753 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14754 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14755 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14756 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14757 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14758 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14759 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14760 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14761 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14762 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14763 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14764 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14765 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14766 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14767 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14768 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14769 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14770 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14771 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14772 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14773 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14774 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14775 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14776 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14777 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14778 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14779 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14780 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14781 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14782 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14783 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14784 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14785 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14786 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14787 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14788 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14789 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14790 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14791 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14792 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14793 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14794 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14795 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14796 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14797 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14798 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14799 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14800 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14802 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14804 * sysdeps/generic/math-barriers.h: New file.
14805 * sysdeps/generic/math_private.h [!math_opt_barrier]
14806 (math_opt_barrier): Move to math-barriers.h.
14807 [!math_opt_barrier] (math_force_eval): Likewise.
14808 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14809 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14811 (math_force_eval): Likewise.
14812 * sysdeps/alpha/fpu/math-barriers.h: New file.
14813 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14815 (math_force_eval): Likewise.
14816 * sysdeps/x86/fpu/math-barriers.h: New file.
14817 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14819 (math_force_eval): Likewise.
14820 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14821 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14822 multiple-include guard for rename.
14823 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14824 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14826 (math_force_eval): Likewise.
14828 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14832 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14834 * stdlib/Makefile (test-bz22786): New test.
14835 * stdlib/test-bz22786.c: New test.
14837 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14839 * include/math-narrow-eval.h: New file. Contents moved from ....
14840 * sysdeps/generic/math_private.h: ... here.
14841 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14842 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14843 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14844 * stdlib/strtod_l.c: Likewise.
14845 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14846 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14847 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14848 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14849 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14850 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14851 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14852 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14853 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14854 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14855 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14856 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14857 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14858 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14859 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14860 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14861 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14862 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14863 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14864 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14865 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14866 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14867 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14868 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14869 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14870 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14871 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14872 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14873 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14875 2018-05-08 Andreas Schwab <schwab@suse.de>
14877 * sysdeps/nptl/internaltypes.h: Fix comment.
14879 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14881 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14882 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14885 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14887 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14888 of I into loop header.
14889 * benchtests/bench-memmove-walk.c
14890 (test_main): Likewise.
14892 2018-05-07 Alexandre Oliva <oliva@gnu.org>
14895 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14896 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14898 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14901 * elf/dl-load.c (open_verify): Fix stack overflow.
14902 * elf/Makefile (tst-big-note): New test.
14903 * elf/tst-big-note-lib.S: New.
14904 * elf/tst-big-note.c: New.
14906 2018-05-04 Joseph Myers <joseph@codesourcery.com>
14908 * scripts/abilist.awk: Ignore absolute symbols.
14909 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14910 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14911 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14912 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14913 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14914 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14915 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14916 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14917 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14918 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14919 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14920 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14921 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14922 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14923 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14924 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14925 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14926 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14927 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14928 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14929 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14930 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14931 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14932 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14933 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14934 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14935 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14936 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14937 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14938 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14939 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14940 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14941 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14942 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14943 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14944 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14945 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14946 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14947 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14948 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14949 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14950 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14951 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14952 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14953 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14954 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14955 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14956 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14957 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14958 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14959 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14960 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14961 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14962 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14963 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14964 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14965 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14966 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14967 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14968 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14969 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14970 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14971 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14972 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14973 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14974 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14975 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14976 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14977 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14978 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14979 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14980 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14981 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14982 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14983 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14984 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14985 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14986 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14987 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14988 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14989 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14990 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14991 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14992 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14993 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14994 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14995 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14996 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14997 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14998 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14999 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
15000 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15002 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
15003 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15004 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
15005 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
15006 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15007 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
15008 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15009 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
15010 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
15011 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
15012 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
15013 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
15014 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15016 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
15017 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15018 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
15019 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
15020 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15021 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
15022 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
15023 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
15024 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
15025 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
15026 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
15027 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
15028 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
15029 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
15030 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15031 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
15032 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
15033 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15034 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
15035 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15036 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
15037 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
15038 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
15039 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
15040 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15041 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
15042 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15044 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
15045 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
15046 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
15047 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
15048 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15049 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
15050 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
15051 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
15052 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
15053 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
15054 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
15055 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
15056 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
15057 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
15058 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
15059 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
15060 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
15061 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
15062 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15063 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15065 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
15066 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
15067 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
15068 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15069 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
15070 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
15071 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
15072 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
15073 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
15074 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
15075 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15076 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
15077 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
15078 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15079 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
15080 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
15081 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
15082 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
15083 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15084 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
15085 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
15086 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15087 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
15088 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
15089 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
15090 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
15091 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
15092 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
15093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
15096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
15099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
15100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
15101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
15102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
15104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
15106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
15107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
15110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
15122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
15123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
15128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
15129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
15130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
15134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
15135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
15143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
15144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
15145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
15152 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15153 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
15155 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15156 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15157 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
15158 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15159 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15160 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15161 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
15162 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
15163 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15164 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
15165 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15166 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
15167 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
15168 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15170 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15171 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
15172 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
15173 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15174 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
15175 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15176 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
15177 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
15178 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
15179 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
15180 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
15181 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15183 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15184 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
15185 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
15186 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15187 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
15188 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15189 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
15190 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
15191 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
15192 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
15193 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
15194 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
15195 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
15196 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15197 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
15198 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
15199 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15200 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
15201 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15202 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
15203 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
15204 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
15205 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
15206 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
15207 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15209 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
15210 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15211 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
15212 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
15213 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15214 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
15215 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15216 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
15217 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
15218 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
15219 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
15220 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
15221 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15223 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
15224 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15225 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
15226 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
15227 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15228 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
15229 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15230 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
15231 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
15232 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
15233 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
15234 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
15235 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
15236 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
15237 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15238 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
15239 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
15240 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15241 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
15242 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15243 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
15244 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
15245 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
15246 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
15247 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15248 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
15249 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
15250 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
15251 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15252 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
15253 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
15254 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15255 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
15256 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15257 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
15258 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
15259 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
15260 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
15262 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15265 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
15266 Use atomic_load_acquire to load __tid.
15268 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15270 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
15271 Restore the pointer into %rdx, after syscall and use %rdx,
15272 instead of %rsi, to restore context.
15274 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15276 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
15277 Pop the pointer into %rdx after syscall and use %rdx, instead
15278 of %rsi, to restore context.
15280 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15282 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
15283 handlers after setjmp.
15284 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
15286 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
15287 <libc-pointer-arith.h>.
15288 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
15289 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
15290 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
15291 _JUMP_BUF_SIGSET_BITS_PER_WORD.
15292 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
15293 * sysdeps/x86/__longjmp_cancel.S: New file.
15294 * sysdeps/x86/longjmp.c: Likewise.
15295 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
15297 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15299 * NEWS: Add ustat.h deprecation entry.
15300 * bits/ustat.h: Remove file.
15301 * misc/sys/ustat.h: Likewise.
15302 * misc/ustat.h: Likewise.
15303 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
15304 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
15305 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
15306 compatibility mode.
15307 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
15308 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
15309 generic Linux implementation.
15311 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15313 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
15314 * math/w_expl_compat.c: Likewise.
15315 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
15317 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15319 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15321 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15323 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
15324 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
15325 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
15327 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
15328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15329 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15330 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
15331 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
15334 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15336 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
15338 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
15339 * math/w_asin_template.c: Likewise.
15340 * math/w_atanh_template.c: Likewise.
15342 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15344 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
15345 to powerpc/powerpc64/be for big-endian.
15346 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
15349 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
15350 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
15351 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
15352 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
15353 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15354 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
15355 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
15356 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
15357 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
15358 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15359 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
15360 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
15361 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
15362 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
15363 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
15364 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
15365 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
15366 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
15367 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
15368 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
15369 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
15370 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15371 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
15372 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
15373 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
15374 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15375 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
15376 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
15377 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
15378 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15379 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15380 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15382 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
15383 adjusted to imply powerpc64 and older processors on powerpc64/be.
15384 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
15385 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
15386 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
15387 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
15388 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
15389 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
15390 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
15391 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
15392 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
15393 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
15394 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
15395 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
15396 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
15397 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
15398 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
15399 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
15400 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
15401 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15402 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15403 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15404 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15405 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15406 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15407 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15408 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15409 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15410 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15411 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15412 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15413 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15414 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15416 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15417 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15418 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15419 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15421 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15422 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15423 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15424 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15426 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15427 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15428 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15429 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15430 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15431 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15432 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15433 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15434 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15435 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15436 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15438 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15439 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15440 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15441 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15442 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15443 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15444 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15445 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15446 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15447 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15448 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15450 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15451 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15452 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15453 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15454 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15455 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15456 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15457 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15458 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15459 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15460 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15461 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15463 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15464 and adjusted to imply olders processors.
15465 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15466 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15467 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15468 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15469 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15470 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15471 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15472 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15473 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15474 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15475 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15477 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15479 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15480 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15494 powerpc64 and adjusted.
15495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15500 2018-04-27 Joseph Myers <joseph@codesourcery.com>
15502 * sysdeps/tile: Remove.
15503 * sysdeps/unix/sysv/linux/tile: Likewise.
15504 * README (tilegx-*-linux-gnu): Remove from list of supported
15506 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15507 contribution of support for generic Linux kernel syscall
15509 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15510 tilegx configurations.
15511 (Config.install_linux_headers): Do not handle tile.
15512 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15514 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15515 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15516 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15517 conditional undefine and redefine.
15518 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15520 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15521 conditional undefine and redefine.
15523 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15525 * signal/tst-sigaction.c: New file to test BZ #23069.
15526 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15528 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15531 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15532 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15533 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15534 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15536 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15538 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15539 _DIRENT_MATCHES_DIRENT64 is not defined.
15540 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15541 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15543 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15544 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15546 2018-04-25 Joseph Myers <joseph@codesourcery.com>
15548 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15549 version to GCC 8 branch.
15551 2018-04-24 Joseph Myers <joseph@codesourcery.com>
15553 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15554 (check_no_hidden): Use type of original function when declaring
15557 * sysdeps/unix/sysv/linux/sys/ptrace.h
15558 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15559 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15560 (struct __ptrace_seccomp_metadata): New type.
15561 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15562 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15563 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15564 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15565 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15566 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15567 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15568 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15569 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15570 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15571 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15572 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15573 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15574 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15575 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15576 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15578 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15580 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15582 * dirent/versionsort.c (versionsort): Likewise.
15583 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15584 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15585 * dirent/versionsort64.c (versionsort64): Likewise.
15586 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15587 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15588 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15589 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15590 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15591 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15592 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15593 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15594 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15595 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15598 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15599 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15601 2018-04-23 Joseph Myers <joseph@codesourcery.com>
15603 * elf/elf.h (NT_PPC_PKEY): New macro.
15605 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
15608 * localedata/locales/hr_HR: fix thousands_sep and
15611 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15613 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15614 (XTABS): Define to TAB3.
15616 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15618 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15620 * dirent/scandir-tail-common.c: New file.
15621 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15622 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15623 * dirent/scandir.c: Use scandir-tail-common.c.
15624 * dirent/scandirat.c: Likewise.
15625 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15626 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15627 if _DIRENT_MATCHES_DIRENT64 is defined.
15628 * dirent/scandirat64.c (scandirat64): Likewise.
15629 * include/dirent.h (__scandir_tail): Only define iff
15630 _DIRENT_MATCHES_DIRENT64 is not defined.
15631 (__scandir64_tail): Define regardless.
15632 (__scandirat, scandirat64): Remove libc_hidden_proto.
15633 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15634 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15636 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15637 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15638 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15639 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15641 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15643 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15645 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15647 (_dl_aarch64_cap_flags): Add asimdfhm.
15649 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15651 * sysdeps/nios2/libm-test-ulps: Update.
15653 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15655 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15656 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15658 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15660 (_DIRENT_MATCHES_DIRENT64): Undef
15661 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15662 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15663 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15664 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15665 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15666 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15667 use getdents64 syscalls as base.
15668 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15669 symbol if required.
15670 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15671 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15672 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15673 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15674 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15675 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15676 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15677 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15678 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15679 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15680 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15682 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15684 * scripts/test_printers_common.py (init_test): Disable lock elision.
15686 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15688 * math/test-tgmath.c (count_double, count_float,
15689 count_ldouble, count_cdouble, count_cfloat,
15690 count_cldouble): Use volatile int.
15692 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15694 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15695 (conformtest-xfail-conds): Add i386-gnu.
15696 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
15698 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15699 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15700 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15701 msqid_ds.msg_lrpid): Likewise.
15702 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15704 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15705 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
15706 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15707 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15709 (struct statvfs64): Likewise.
15710 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15712 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15713 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15714 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15715 instead of wait_queue.
15716 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15717 instead of vm_area_struct.
15718 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15719 struct sched_param definition to it.
15720 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15721 * bits/types/struct_sched_param.h: New file.
15722 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15723 <bits/types/struct_sched_param.h> instead of <sched.h>.
15724 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
15725 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15726 generic version but include <bits/pthreadtypes.h> to make struct
15727 sigevent's sigev_notify_attributes field a pthread_attr_t*.
15728 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15730 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15731 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15732 [__USE_XOPEN] (OFDEL): New macro.
15733 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
15734 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
15735 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15737 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15738 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
15739 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15741 * sysdeps/i386/sys/ucontext.h: Likewise.
15742 * sysdeps/m68k/sys/ucontext.h: Likewise.
15743 * sysdeps/mips/sys/ucontext.h: Likewise.
15744 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
15745 * sysdeps/mach/hurd/i386/Makefile
15746 (test-xfail-POSIX/fcntl.h/conform): Add.
15747 (test-xfail-POSIX/signal.h/conform): Add.
15748 (test-xfail-POSIX/semaphore.h/conform): Add.
15749 (test-xfail-POSIX/regex.h/conform): Add.
15750 (test-xfail-POSIX/aio.h/conform): Add.
15751 (test-xfail-POSIX/mqueue.h/conform): Add.
15752 (test-xfail-POSIX/sys/types.h/conform): Add.
15753 (test-xfail-UNIX98/fcntl.h/conform): Add.
15754 (test-xfail-UNIX98/netdb.h/conform): Add.
15755 (test-xfail-UNIX98/signal.h/conform): Add.
15756 (test-xfail-UNIX98/semaphore.h/conform): Add.
15757 (test-xfail-UNIX98/regex.h/conform): Add.
15758 (test-xfail-UNIX98/aio.h/conform): Add.
15759 (test-xfail-UNIX98/ftw.h/conform): Add.
15760 (test-xfail-UNIX98/mqueue.h/conform): Add.
15761 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15762 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15763 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15764 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15765 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15766 (test-xfail-UNIX98/sys/types.h/conform): Add.
15767 (test-xfail-UNIX98/stdlib.h/conform): Add.
15768 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15769 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15770 (test-xfail-POSIX2008/netdb.h/conform): Add.
15771 (test-xfail-POSIX2008/signal.h/conform): Add.
15772 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15773 (test-xfail-POSIX2008/regex.h/conform): Add.
15774 (test-xfail-POSIX2008/aio.h/conform): Add.
15775 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15776 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15777 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15778 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15779 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15780 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15781 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15782 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15783 (test-xfail-XOPEN2K/signal.h/conform): Add.
15784 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15785 (test-xfail-XOPEN2K/regex.h/conform): Add.
15786 (test-xfail-XOPEN2K/aio.h/conform): Add.
15787 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15788 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15789 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15790 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15791 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15792 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15793 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15794 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15795 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15796 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15797 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15798 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15799 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15800 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15801 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15802 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15803 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15804 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15805 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15806 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15807 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15808 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15809 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15810 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15811 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15812 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
15813 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15815 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15816 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
15818 2018-04-18 Joseph Myers <joseph@codesourcery.com>
15820 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15821 --enable-obsolete for powerpc-linux-gnuspe.
15823 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15825 * conform/data/sys/un.h-data: Allow sun_ prefix.
15826 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
15828 * sysdeps/mach/include/mach.h: Likewise.
15829 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15830 * sysdeps/mach/include/mach_error.h: Likewise.
15832 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15834 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15835 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15836 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15837 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15839 2018-04-16 Andreas Schwab <schwab@suse.de>
15842 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15844 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15846 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15847 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15849 2018-04-12 DJ Delorie <dj@redhat.com>
15851 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15854 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15856 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15857 (struct kernel_sigaction): Use the same definition on 31bit as is used
15860 2018-04-09 Florian Weimer <fweimer@redhat.com>
15863 * resolv/res_send.c (send_dg): Use designated initializers instead
15864 of assignment to zero-initialize other fields of struct mmsghdr.
15866 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15868 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15869 __READDIR_ALIAS): Undefine after usage.
15870 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15871 __READDIR_R_ALIAS): Likewise.
15872 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15873 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15874 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15875 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15876 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15877 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15878 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15879 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15880 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15881 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15882 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15883 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15884 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15885 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15886 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15887 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15888 * sysdeps/unix/sysv/linux/readdir.c: New file.
15889 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15890 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15891 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15893 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15895 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15897 * manual/charset.texi (Converting a Character): Fix typo.
15899 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15903 * sysdeps/arm/libm-test-ulps: Update.
15905 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15906 as base implementation.
15907 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15908 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15909 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15910 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15911 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15912 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15913 remove unrequired definitions and update comments.
15914 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15915 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15916 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15917 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15918 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15919 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15920 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15921 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15922 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15923 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15924 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15925 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15926 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15927 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15928 and RESET_SA_RESTORER hooks.
15930 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15932 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15934 2018-04-05 Florian Weimer <fweimer@redhat.com>
15936 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15937 integer overflow, memory leak on error, and indeterminate errno
15938 value. Add a null wide character to terminate the result string.
15939 * manual/charset.texi (Converting a Character): Mention embedded
15940 null bytes in the mbrtowc input string. Explain what happens in
15941 the -2 result case. Do not claim that mbrtowc is simple or
15942 obvious to use. Adjust the description of the code example. Use
15943 @code, not @var, for concrete variables.
15945 2018-04-05 Florian Weimer <fweimer@redhat.com>
15947 * manual/examples/mbstouwcs.c: New file.
15948 * manual/charset.texi (Converting a Character): Include it.
15950 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15952 * include/dirent.h (dirfd): Add hidden proto.
15953 * dirent/dirfd.c (dirfd): Add hidden def.
15954 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15955 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
15957 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15959 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15960 sin, cos and sincos to 1 ULP.
15962 2018-04-04 Maciej W. Rozycki <macro@mips.com>
15965 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15967 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15968 * elf/tst-absolute-sym.c: New file.
15969 * elf/tst-absolute-sym-lib.c: New file.
15970 * elf/tst-absolute-sym-lib.lds: New file.
15971 * elf/Makefile (tests): Add `tst-absolute-sym'.
15972 (modules-names): Add `tst-absolute-sym-lib'.
15973 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15974 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15975 ($(objpfx)tst-absolute-sym): New dependency.
15978 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15980 (SYMBOL_ADDRESS): New macro.
15981 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15982 SYMBOL_ADDRESS for symbol address calculation.
15983 * elf/dl-runtime.c (_dl_fixup): Likewise.
15984 (_dl_profile_fixup): Likewise.
15985 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15986 * elf/rtld.c (dl_main): Likewise.
15987 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15988 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15989 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15990 (elf_machine_rela): Likewise.
15991 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15992 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15993 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15994 (elf_machine_rela): Likewise.
15995 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15996 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15997 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15998 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16000 (elf_machine_reloc): Likewise.
16001 (elf_machine_got_rel): Likewise.
16002 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
16003 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
16004 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16006 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16008 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
16009 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16011 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16013 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16014 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16016 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16018 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
16019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16021 2018-04-04 Zack Weinberg <zackw@panix.com>
16023 * sysdeps/generic/internal-signals.h: Include signal.h,
16024 sigsetops.h, and stdbool.h.
16025 (__libc_signal_block_all): Actually block all signals.
16026 (__libc_signal_block_app): Likewise.
16027 (__libc_signal_restore_set): Actually restore the signal mask.
16029 2018-04-04 Florian Weimer <fweimer@redhat.com>
16031 inet: Actually build and run tst-deadline.
16032 * inet/Makefile (tests-internal): Add tst-deadline and do not
16033 overwrite the variable.
16034 (tests-static-internal): Remove variable.
16036 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
16039 * bits/uio-ext.h (RWF_APPEND): New.
16040 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
16041 * manual/llio.texi: Document RWF_APPEND.
16042 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
16043 (RWF_SUPPORTED): Add RWF_APPEND.
16045 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16048 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
16049 check for internal nptl signals.
16050 * nptl/sigaction.c (__sigaction): Likewise.
16051 * signal/sigaddset.c (sigaddset): Likewise.
16052 * signal/sigdelset.c (sigdelset): Likewise.
16053 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16054 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
16056 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
16057 to filter out internal nptl signals.
16058 * signal/tst-sigset.c (do_test): Check ech signal indidually and
16059 also check realtime signals using standard macros.
16060 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
16061 __is_internal_signal, __libc_signal_block_all,
16062 __libc_signal_block_app, __libc_signal_restore_set): New functions.
16063 * sysdeps/nptl/sigfillset.c: Remove file.
16064 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
16065 Change return to bool.
16066 (__clear_internal_signals): Remove SIGTIMER clean since it is
16067 equal to SIGCANEL on Linux.
16068 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
16069 signal set was constructed using standard functions.
16071 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16073 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
16074 ifname is too long.
16075 * hurd/hurdsig.c (interrupted_reply_port_location): Use
16076 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
16077 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
16079 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
16080 * signal/sigaddset.c: Include <sigsetopts.h>.
16081 * signal/sigdelset.c: Likewise.
16083 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16085 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
16087 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
16088 logic as sin and cos.
16090 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16092 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
16093 inputs. Return correct sign.
16094 (do_sincos): Remove small input check before do_sin, let do_sin set
16099 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16101 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
16102 (do_cos_slow): Likewise.
16103 (do_sin_slow): Likewise.
16104 (reduce_and_compute): Likewise.
16109 (sloww1): Likewise.
16110 (sloww2): Likewise.
16112 (bslow1): Likewise.
16113 (bslow2): Likewise.
16114 (cslow2): Likewise.
16116 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16118 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
16119 (do_cos): Remove corp parameter and calculations.
16120 (do_sin): Likewise.
16121 (do_sincos): Remove cor variable.
16122 (__sin): Use do_sincos for huge inputs.
16124 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16125 (reduce_and_compute_sincos): Remove unused function.
16127 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16129 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
16130 reduce_sincos, improve accuracy to 136 bits.
16131 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
16132 (__sin): Use improved reduction and simplified do_sincos calculation.
16134 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16136 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16138 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
16139 (do_sincos_2): Likewise.
16140 (__sin): Remove middle range reduction case.
16142 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
16145 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16147 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
16148 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
16151 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
16153 2018-04-03 Joseph Myers <joseph@codesourcery.com>
16155 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16158 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16160 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
16161 Remove definitions.
16162 (opendir_oflags): Use O_DIRECTORY regardless.
16163 (__opendir, __opendirat): Remove need_isdir_precheck usage.
16164 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
16166 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16168 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
16169 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
16171 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
16172 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
16173 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
16174 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
16175 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
16176 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
16178 * htl/Makefile: Bump licence to LGPL 2.1+.
16179 * htl/alloca_cutoff.c: Likewise.
16180 * htl/cthreads-compat.c: Likewise.
16181 * htl/lockfile.c: Likewise.
16182 * htl/pt-alloc.c: Likewise.
16183 * htl/pt-cancel.c: Likewise.
16184 * htl/pt-cleanup.c: Likewise.
16185 * htl/pt-create.c: Likewise.
16186 * htl/pt-dealloc.c: Likewise.
16187 * htl/pt-detach.c: Likewise.
16188 * htl/pt-exit.c: Likewise.
16189 * htl/pt-getattr.c: Likewise.
16190 * htl/pt-initialize.c: Likewise.
16191 * htl/pt-internal.h: Likewise.
16192 * htl/pt-join.c: Likewise.
16193 * htl/pt-self.c: Likewise.
16194 * htl/pt-setcancelstate.c: Likewise.
16195 * htl/pt-setcanceltype.c: Likewise.
16196 * htl/pt-sigmask.c: Likewise.
16197 * htl/pt-spin-inlines.c: Likewise.
16198 * htl/pt-testcancel.c: Likewise.
16199 * htl/pt-yield.c: Likewise.
16200 * htl/tests/test-1.c: Likewise.
16201 * htl/tests/test-10.c: Likewise.
16202 * htl/tests/test-11.c: Likewise.
16203 * htl/tests/test-12.c: Likewise.
16204 * htl/tests/test-13.c: Likewise.
16205 * htl/tests/test-14.c: Likewise.
16206 * htl/tests/test-15.c: Likewise.
16207 * htl/tests/test-16.c: Likewise.
16208 * htl/tests/test-17.c: Likewise.
16209 * htl/tests/test-2.c: Likewise.
16210 * htl/tests/test-3.c: Likewise.
16211 * htl/tests/test-4.c: Likewise.
16212 * htl/tests/test-5.c: Likewise.
16213 * htl/tests/test-6.c: Likewise.
16214 * htl/tests/test-7.c: Likewise.
16215 * htl/tests/test-8.c: Likewise.
16216 * htl/tests/test-9.c: Likewise.
16217 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
16218 * sysdeps/htl/bits/cancelation.h: Likewise.
16219 * sysdeps/htl/bits/pthread-np.h: Likewise.
16220 * sysdeps/htl/bits/pthread.h: Likewise.
16221 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
16222 * sysdeps/htl/bits/semaphore.h: Likewise.
16223 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
16224 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
16225 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
16226 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
16227 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
16228 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
16229 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
16230 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
16231 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
16232 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
16233 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
16234 * sysdeps/htl/old_pt-atfork.c: Likewise.
16235 * sysdeps/htl/pt-atfork.c: Likewise.
16236 * sysdeps/htl/pt-attr-destroy.c: Likewise.
16237 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
16238 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
16239 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
16240 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
16241 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
16242 * sysdeps/htl/pt-attr-getscope.c: Likewise.
16243 * sysdeps/htl/pt-attr-getstack.c: Likewise.
16244 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
16245 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
16246 * sysdeps/htl/pt-attr-init.c: Likewise.
16247 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
16248 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
16249 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
16250 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
16251 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
16252 * sysdeps/htl/pt-attr-setscope.c: Likewise.
16253 * sysdeps/htl/pt-attr-setstack.c: Likewise.
16254 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
16255 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
16256 * sysdeps/htl/pt-attr.c: Likewise.
16257 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
16258 * sysdeps/htl/pt-barrier-init.c: Likewise.
16259 * sysdeps/htl/pt-barrier-wait.c: Likewise.
16260 * sysdeps/htl/pt-barrier.c: Likewise.
16261 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
16262 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
16263 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
16264 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
16265 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
16266 * sysdeps/htl/pt-cond-destroy.c: Likewise.
16267 * sysdeps/htl/pt-cond-init.c: Likewise.
16268 * sysdeps/htl/pt-cond-signal.c: Likewise.
16269 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
16270 * sysdeps/htl/pt-cond-wait.c: Likewise.
16271 * sysdeps/htl/pt-cond.c: Likewise.
16272 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
16273 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
16274 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
16275 * sysdeps/htl/pt-condattr-init.c: Likewise.
16276 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
16277 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
16278 * sysdeps/htl/pt-destroy-specific.c: Likewise.
16279 * sysdeps/htl/pt-equal.c: Likewise.
16280 * sysdeps/htl/pt-getconcurrency.c: Likewise.
16281 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
16282 * sysdeps/htl/pt-getschedparam.c: Likewise.
16283 * sysdeps/htl/pt-getspecific.c: Likewise.
16284 * sysdeps/htl/pt-init-specific.c: Likewise.
16285 * sysdeps/htl/pt-key-create.c: Likewise.
16286 * sysdeps/htl/pt-key-delete.c: Likewise.
16287 * sysdeps/htl/pt-key.h: Likewise.
16288 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
16289 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
16290 * sysdeps/htl/pt-mutex-init.c: Likewise.
16291 * sysdeps/htl/pt-mutex-lock.c: Likewise.
16292 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
16293 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
16294 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
16295 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
16296 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
16297 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
16298 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
16299 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
16300 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
16301 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
16302 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
16303 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
16304 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
16305 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
16306 * sysdeps/htl/pt-mutexattr.c: Likewise.
16307 * sysdeps/htl/pt-once.c: Likewise.
16308 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
16309 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
16310 * sysdeps/htl/pt-rwlock-init.c: Likewise.
16311 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
16312 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
16313 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
16314 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
16315 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
16316 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
16317 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
16318 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
16319 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
16320 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
16321 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
16322 * sysdeps/htl/pt-setconcurrency.c: Likewise.
16323 * sysdeps/htl/pt-setschedparam.c: Likewise.
16324 * sysdeps/htl/pt-setschedprio.c: Likewise.
16325 * sysdeps/htl/pt-setspecific.c: Likewise.
16326 * sysdeps/htl/pt-spin.c: Likewise.
16327 * sysdeps/htl/pt-startup.c: Likewise.
16328 * sysdeps/htl/pthread.h: Likewise.
16329 * sysdeps/htl/sem-close.c: Likewise.
16330 * sysdeps/htl/sem-destroy.c: Likewise.
16331 * sysdeps/htl/sem-getvalue.c: Likewise.
16332 * sysdeps/htl/sem-init.c: Likewise.
16333 * sysdeps/htl/sem-open.c: Likewise.
16334 * sysdeps/htl/sem-post.c: Likewise.
16335 * sysdeps/htl/sem-timedwait.c: Likewise.
16336 * sysdeps/htl/sem-trywait.c: Likewise.
16337 * sysdeps/htl/sem-unlink.c: Likewise.
16338 * sysdeps/htl/sem-wait.c: Likewise.
16339 * sysdeps/hurd/htl/pt-kill.c: Likewise.
16340 * sysdeps/i386/htl/pt-machdep.h: Likewise.
16341 * sysdeps/mach/htl/pt-block.c: Likewise.
16342 * sysdeps/mach/htl/pt-spin.c: Likewise.
16343 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
16344 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
16345 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
16346 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
16347 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
16348 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
16349 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
16350 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
16351 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
16352 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
16353 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
16354 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
16355 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
16356 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
16357 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
16358 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
16359 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
16360 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
16361 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
16362 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
16363 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
16364 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
16365 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
16366 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
16367 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
16368 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
16369 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
16370 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
16371 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
16372 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
16373 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
16374 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
16375 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
16376 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
16377 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
16378 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
16379 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
16380 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
16381 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
16382 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
16383 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
16384 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
16385 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
16387 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
16388 * README: Remove the mention of out-of-tree patches needed for
16391 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
16392 (UTIME_NOW, UTIME_OMIT): Define macros.
16394 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
16395 instead of pthread_detach.
16396 (__cthread_fork): Call __pthread_create instead of pthread_create.
16397 (__cthread_keycreate): Call __pthread_key_create instead of
16398 pthread_key_create.
16399 (__cthread_getspecific): Call __pthread_getspecific instead of
16400 pthread_getspecific.
16401 (__cthread_setspecific): Call __pthread_setspecific instead of
16402 pthread_setspecific.
16403 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16404 __pthread_mutex_unlock instead of pthread_mutex_lock and
16405 pthread_mutex_unlock.
16406 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16407 ___pthread_get_cleanup_stack.
16408 (__pthread_get_cleanup_stack): New strong alias.
16409 * htl/pt-create.c: Include <pthreadP.h>.
16410 (entry_point): Call __pthread_exit instead of pthread_exit.
16411 (pthread_create): Rename to __pthread_create.
16412 (pthread_create): New strong alias.
16413 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16414 (pthread_detach): New strong alias.
16415 (__pthread_detach): Call __pthread_cond_broadcast instead of
16416 pthread_cond_broadcast.
16417 * htl/pt-exit.c: Include <pthreadP.h>.
16418 (__pthread_exit): Call __pthread_setcancelstate and
16419 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16420 __pthread_get_cleanup_stack.
16421 * htl/pt-testcancel.c: Include <pthreadP.h>.
16422 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16423 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16424 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16425 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16426 pthread_attr_getstacksize.
16427 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16428 Rename to __pthread_attr_getstackaddr.
16429 (pthread_attr_getstackaddr): New strong alias.
16430 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16431 Rename to __pthread_attr_getstacksize.
16432 (pthread_attr_getstacksize): New strong alias.
16433 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16434 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16435 (pthread_attr_setstack): New strong alias.
16436 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16437 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16438 pthread_attr_getstacksize, pthread_attr_setstacksize and
16439 pthread_attr_setstackaddr.
16440 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16441 Rename to __pthread_attr_setstackaddr.
16442 (pthread_attr_setstackaddr): New strong alias.
16443 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16444 Rename to __pthread_attr_setstacksize.
16445 (pthread_attr_setstacksize): New strong alias.
16446 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16447 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16449 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16450 (__pthread_key_create): New hidden def.
16451 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16452 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16453 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16454 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16455 __pthread_setspecific, __pthread_setcancelstate,
16456 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16457 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16458 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16460 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16461 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16462 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16463 (pthread_attr_setstackaddr): New strong alias.
16464 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16465 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16466 (pthread_attr_setstacksize): New strong alias.
16467 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16468 (call_exit): Call __pthread_exit instead of pthread_exit.
16469 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16470 (_pthread_mutex_init): New hidden definition.
16471 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16472 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16473 instead of pthread_attr_init and pthread_attr_setstack.
16475 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16476 __vm_deallocate instead of vm_allocate and vm_deallocate.
16477 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16479 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16481 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16483 * hurd/siginfo.c: Include <libioP.h>.
16484 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16485 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16487 * mach/devstream.c: Include <libioP.h>.
16488 (dealloc_ref): Call __mach_port_deallocate instead of
16489 mach_port_deallocate.
16490 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16491 Call __mach_port_deallocate instead of mach_port_deallocate.
16492 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16494 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16496 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16497 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16498 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16500 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16502 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16503 instead of sysconf.
16504 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16505 __clock_gettime instead of clock_gettime.
16506 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16507 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16508 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16509 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16510 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16512 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16513 __clock_gettime and __nanosleep instead of clock_gettime and
16515 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16516 __hurd_catch_signal.
16517 (hurd_catch_signal): New strong alias.
16518 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16519 __hurd_catch_signal instead of hurd_catch_signal.
16520 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16521 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16522 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16523 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16524 (_hurd_thread_sigstate): Add hidden def.
16525 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16527 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16528 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16529 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16530 __hurd_file_name_path_lookup.
16531 (hurd_file_name_path_lookup): New strong alias.
16532 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16533 hurd_file_name_path_lookup.
16534 * mach/errstring.c (mach_error_type): Add hidden def.
16535 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16536 * mach/mutex-init.c (__mutex_init): Add hidden def.
16537 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16538 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16539 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16540 * sysdeps/mach/hurd/getcwd.c
16541 (_hurd_canonicalize_directory_name_internal): Rename to
16542 __hurd_canonicalize_directory_name_internal.
16543 (_hurd_canonicalize_directory_name_internal): New strong alias.
16544 (__canonicalize_directory_name_internal, __getcwd): Call
16545 __hurd_canonicalize_directory_name_internal instead of
16546 _hurd_canonicalize_directory_name_internal.
16547 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16548 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16550 * sysdeps/hurd/include/hurd.h: New file.
16551 * sysdeps/hurd/include/hurd/fd.h: New file.
16552 * sysdeps/hurd/include/hurd/signal.h: New file.
16553 * sysdeps/mach/include/lock-intern.h: New file.
16554 * sysdeps/mach/include/mach.h: New file.
16555 * sysdeps/mach/include/mach/mig_support.h: New file.
16556 * sysdeps/mach/include/mach_error.h: New file.
16557 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16559 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16560 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16561 _HEADER_H_HIDDEN_DEF macro.
16562 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16563 _hurd_fd_error_signal): Add hidden prototype.
16564 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16566 * libio/iolibio.h (_IO_puts): New hidden prototype.
16567 * libio/ioputs.c (_IO_puts): New hidden def.
16568 * sysdeps/mach/hurd/localplt.data: New file.
16570 2018-04-02 Agustina Arzille <avarzille@riseup.net>
16571 Amos Jeffries <squid3@treenet.co.nz>
16572 David Michael <fedora.dm0@gmail.com>
16573 Marco Gerards <marco@gnu.org>
16574 Marcus Brinkmann <marcus@gnu.org>
16575 Neal H. Walfield <neal@gnu.org>
16576 Pino Toscano <toscano.pino@tiscali.it>
16577 Richard Braun <rbraun@sceen.net>
16578 Roland McGrath <roland@gnu.org>
16579 Samuel Thibault <samuel.thibault@ens-lyon.org>
16580 Thomas DiModica <ricinwich@yahoo.com>
16581 Thomas Schwinge <tschwinge@gnu.org>
16583 * htl: New directory.
16584 * sysdeps/htl: New directory.
16585 * sysdeps/hurd/htl: New directory.
16586 * sysdeps/i386/htl: New directory.
16587 * sysdeps/mach/htl: New directory.
16588 * sysdeps/mach/hurd/htl: New directory.
16589 * sysdeps/mach/hurd/i386/htl: New directory.
16590 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16591 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16592 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16594 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16596 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16597 signals in thread created for runing timers.
16599 2018-04-01 Florian Weimer <fweimer@redhat.com>
16601 * support/support_format_addrinfo.c (support_format_addrinfo):
16602 Include unknown error number in formatted result.
16604 2018-03-29 Florian Weimer <fweimer@redhat.com>
16606 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16609 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16611 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16612 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16613 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16614 (__ASSUME_CLONE_BACKWARDS): Define.
16616 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16619 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16620 early when linux sentinel value is set.
16622 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16624 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16626 2018-03-27 Andreas Schwab <schwab@suse.de>
16629 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16630 allocation of private copy of nsaddr_list fails.
16632 2018-03-26 Joseph Myers <joseph@codesourcery.com>
16635 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16636 * sysdeps/unix/sysv/linux/umount.c: ... here.
16637 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16638 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16639 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16640 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16642 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16643 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16645 2018-03-26 Andreas Schwab <schwab@suse.de>
16647 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16648 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16649 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16650 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16651 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16652 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16653 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16654 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16655 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16656 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16657 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16658 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16659 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16660 (R_RISCV_NUM): Define.
16662 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16664 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16665 TLS declaration of errno.
16666 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16668 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16669 (ARCH_SETUP_TLS): Likewise.
16670 * sysdeps/mach/hurd/libc-start.h: New file copied from
16671 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
16672 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16673 instead of __libc_setup_tls.
16674 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
16675 __libc_setup_tls before initializing libpthread and running _hurd_init
16676 which starts the signal thread.
16677 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16679 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16681 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16684 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16685 after it is defined.
16687 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16688 Max Horn <max@quendi.de>
16692 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16694 * string/test-memmove.c (do_test2): New testcase.
16696 2018-03-22 Joseph Myers <joseph@codesourcery.com>
16698 * sysdeps/generic/frame.h: Remove file.
16699 * sysdeps/arm/frame.h: Likewise.
16700 * sysdeps/hppa/frame.h: Likewise.
16701 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16703 (GET_FRAME): Likewise.
16704 (GET_STACK): Likewise.
16705 (CALL_SIGHANDLER): Likewise.
16706 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16708 (GET_FRAME): Likewise.
16709 (GET_STACK): Likewise.
16710 (CALL_SIGHANDLER): Likewise.
16711 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16712 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16713 (GET_FRAME): Likewise.
16714 (GET_STACK): Likewise.
16715 (CALL_SIGHANDLER): Likewise.
16716 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16717 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16718 (GET_FRAME): Likewise.
16719 (GET_STACK): Likewise.
16720 (ADVANCE_STACK_FRAME): Likewise.
16721 (CALL_SIGHANDLER): Likewise.
16722 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16723 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16724 (GET_FRAME): Likewise.
16725 (GET_STACK): Likewise.
16726 (CALL_SIGHANDLER): Likewise.
16727 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16728 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16729 (GET_FRAME): Likewise.
16730 (GET_STACK): Likewise.
16731 (CALL_SIGHANDLER): Likewise.
16732 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16733 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16734 (GET_FRAME): Likewise.
16735 (GET_STACK): Likewise.
16736 (CALL_SIGHANDLER): Likewise.
16737 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16738 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16739 (GET_FRAME): Likewise.
16740 (GET_STACK): Likewise.
16741 (CALL_SIGHANDLER): Likewise.
16742 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16743 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16744 (GET_FRAME): Likewise.
16745 (GET_STACK): Likewise.
16746 (CALL_SIGHANDLER): Likewise.
16747 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16748 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16749 (GET_FRAME): Likewise.
16750 (GET_STACK): Likewise.
16751 (CALL_SIGHANDLER): Likewise.
16752 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16753 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16754 (GET_FRAME): Likewise.
16755 (GET_STACK): Likewise.
16756 (CALL_SIGHANDLER): Likewise.
16757 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16758 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16759 (GET_FRAME): Likewise.
16760 (GET_STACK): Likewise.
16761 (CALL_SIGHANDLER): Likewise.
16762 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16763 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16764 (GET_FRAME): Likewise.
16765 (GET_STACK): Likewise.
16766 (CALL_SIGHANDLER): Likewise.
16767 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16768 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16769 (FIRST_FRAME_POINTER): Likewise.
16770 (ADVANCE_STACK_FRAME): Likewise.
16771 (GET_STACK): Likewise.
16772 (GET_FRAME): Likewise.
16773 (CALL_SIGHANDLER): Likewise.
16774 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16775 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16776 (ADVANCE_STACK_FRAME): Likewise.
16777 (GET_STACK): Likewise.
16778 (GET_FRAME): Likewise.
16779 (CALL_SIGHANDLER): Likewise.
16780 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16781 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16782 (GET_FRAME): Likewise.
16783 (GET_STACK): Likewise.
16784 (CALL_SIGHANDLER): Likewise.
16785 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16786 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16787 (GET_FRAME): Likewise.
16788 (GET_STACK): Likewise.
16789 (CALL_SIGHANDLER): Likewise.
16791 2018-03-21 Joseph Myers <joseph@codesourcery.com>
16793 * sysdeps/x86_64/backtrace.c: Move to ....
16794 * debug/backtrace.c: ... here.
16795 * sysdeps/aarch64/backtrace.c: Remove file.
16796 * sysdeps/alpha/backtrace.c: Likewise.
16797 * sysdeps/hppa/backtrace.c: Likewise.
16798 * sysdeps/ia64/backtrace.c: Likewise.
16799 * sysdeps/mips/backtrace.c: Likewise.
16800 * sysdeps/nios2/backtrace.c: Likewise.
16801 * sysdeps/riscv/backtrace.c: Likewise.
16802 * sysdeps/sh/backtrace.c: Likewise.
16803 * sysdeps/tile/backtrace.c: Likewise.
16805 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16808 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16811 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16814 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16815 possibly overflowing computations.
16817 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16819 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16820 values from Linux-specific section now that it is in the GNU section.
16821 * sysdeps/gnu/errlist.c: Regenerate.
16823 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16825 * math/Makefile (libm-narrow-fns): Add sub.
16826 (libm-test-funcs-narrow): Likewise.
16827 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16828 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16829 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16830 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16831 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16832 (NARROW_SUB_TRIVIAL): Likewise.
16833 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16835 (__dsubl): Likewise.
16836 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16838 (CFLAGS-nldbl-dsub.c): New variable.
16839 (CFLAGS-nldbl-fsub.c): Likewise.
16840 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16842 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16844 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16845 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16846 * math/auto-libm-test-in: Add tests of sub.
16847 * math/auto-libm-test-out-narrow-sub: New generated file.
16848 * math/libm-test-narrow-sub.inc: New file.
16849 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16850 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16851 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16852 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16853 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16854 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16855 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16857 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16858 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16859 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16860 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16861 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16862 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16863 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16864 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16865 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16866 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16868 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16869 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16870 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16871 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16872 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16873 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16874 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16875 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16876 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16877 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16878 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16879 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16880 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16885 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16886 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16887 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16888 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16889 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16890 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16891 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16892 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16893 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16894 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16896 2018-03-19 Joseph Myers <joseph@codesourcery.com>
16899 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16901 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16903 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16905 2018-03-18 Richard Braun <rbraun@sceen.net>
16907 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16910 2018-03-18 Agustina Arzille <avarzille@riseup.net>
16912 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16913 (__libc_cleanup_fct): Define function.
16914 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16915 __libc_cleanup_end): Rewrite implementation using
16916 __attribute__ ((__cleanup__)).
16917 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
16918 * hurd/Makefile (routines): Add hurdlock.
16919 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16921 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16922 * hurd/hurdpid.c: Include <lowlevellock.h>
16923 (_S_msg_proc_newids): Use lll_wait to synchronize.
16924 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16925 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16926 * mach/Makefile (lock-headers): Remove machine-lock.h.
16927 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16929 (__spin_lock_t): New type.
16930 (__SPIN_LOCK_INITIALIZER): New macro.
16931 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16932 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16933 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16934 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16935 (__mutex_init): Initialize with lll.
16936 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16937 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16939 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16940 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16941 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16942 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16943 (__setpgid): Use lll for synchronization.
16944 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16945 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16946 instead of <cthreads.h>.
16947 (_IO_lock_inexpensive): New macro
16948 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16949 (__libc_lock_self0): New declaration.
16950 (__libc_lock_owner_self): New macro.
16951 (__libc_key_t): Remove type.
16952 (_LIBC_LOCK_INITIALIZER): New macro.
16953 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16954 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16955 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16956 __libc_lock_define_initialized_recursive,
16957 __rtld_lock_define_initialized_recursive,
16958 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16959 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16960 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16961 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16962 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16963 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16964 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16966 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16967 * hurd/hurdlock.c: New file.
16968 * hurd/hurdlock.h: New file.
16969 * mach/lowlevellock.h: New file
16971 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16973 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
16974 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16975 when opening a symlink with O_NOFOLLOW.
16976 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16977 path when flags contains O_NOFOLLOW.
16978 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16979 if flags contains O_DIRECTORY and the result is a directory.
16980 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16981 oneself when the pointer given in D is nul (as set by ext2fs).
16982 * sysdeps/mach/hurd/mlockall.c: New file.
16983 * sysdeps/mach/hurd/munlockall.c: New file.
16985 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16987 * hurd/hurdsig.c: Include <pthread.h>.
16988 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16989 get the signal thread stack layout.
16990 * hurd/Makefile (headers): Remove threadvar.h.
16991 (inline-headers): Remove threadvar.h.
16992 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16993 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16994 __hurd_threadvar_max, __hurd_errno_location.
16995 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16996 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16997 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16998 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16999 unless TLS is not initialized yet, in which case we do not need a
17000 critical section yet anyway.
17001 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
17003 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
17005 (__hurd_threadvar_index): Remove enum.
17006 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
17007 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
17009 (__hurd_reply_port0): New variable declaration.
17010 (__hurd_local_reply_port): New macro.
17011 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
17012 (interrupted_reply_port_location): Add thread_t parameter. Use it
17013 with THREAD_TCB to access thread-local variables.
17014 (_hurdsig_abort_rpcs): Pass ss->thread to
17015 interrupted_reply_port_location.
17016 (_hurd_internal_post_signal): Likewise.
17017 (_hurdsig_init): Use presence of cthread_fork instead of
17018 __hurd_threadvar_stack_mask to start signal thread by hand.
17019 Remove signal thread threadvar initialization.
17020 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
17021 * hurd/sigunwind.c: Include <hurd/threadvar.h>
17022 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
17024 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
17026 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
17027 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
17028 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
17029 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
17030 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
17031 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
17032 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
17034 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
17035 <hurd/threadvar.h>.
17036 [IS_IN(rtld)] (rtld_errno): New variable.
17037 [IS_IN(rtld)] (__errno_location): New weak function.
17038 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
17039 * sysdeps/mach/hurd/errno.c: Remove file.
17040 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
17041 (__fork): Remove THREADVAR_SPACE macro and its use.
17042 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
17044 (init): Do not initialize threadvar.
17045 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
17047 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
17048 __hurd_local_reply_port instead of threadvar.
17049 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
17050 _hurd_sigstate fields.
17051 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
17052 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
17053 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
17054 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
17055 instead of threadvar.
17056 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
17057 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
17058 (use_threadvar, global_reply_port): Remove variables.
17059 (__hurd_reply_port0): New variable.
17060 (__mig_get_reply_port): Use __hurd_local_reply_port and
17061 __hurd_reply_port0 instead of threadvar.
17062 (__mig_dealloc_reply_port): Likewise.
17063 (__mig_init): Do not initialize threadvar.
17064 * sysdeps/mach/hurd/profil.c: Fix comment.
17065 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
17066 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
17067 cthread_keycreate, cthread_getspecific, cthread_setspecific to
17068 __cthread_fork, __cthread_detach, __pthread_getattr_np,
17069 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
17070 __cthread_setspecific.
17071 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
17072 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
17073 __cthread_t instead of cthread_fork, cthread_detach,
17074 pthread_getattr_np, pthread_attr_getstack.
17075 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
17076 __cthread_keycreate.
17077 (cthread_getspecific): Rename to __cthread_getspecific.
17078 (cthread_setspecific): Rename to __cthread_setspecific.
17079 (__libc_getspecific): Use __cthread_getspecific instead of
17080 cthread_getspecific.
17081 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
17082 __cthread_keycreate instead of cthread_keycreate.
17083 (__libc_setspecific): Use __cthread_setspecific instead of
17084 cthread_setspecific.
17085 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
17087 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
17088 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
17089 testing whether it is defined.
17091 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17093 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
17095 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
17096 * sysdeps/mach/i386/thread_state.h
17097 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
17099 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
17101 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
17103 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
17104 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
17106 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
17108 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
17109 descriptor instead of creating a new one.
17110 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
17112 * mach/setup-thread.c: Include <ldsodefs.h>.
17113 (__mach_setup_thread): Call _dl_allocate_tls, pass
17114 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
17115 MACHINE_THREAD_STATE_FLAVOR, before getting
17116 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
17117 MACHINE_THREAD_STATE_FLAVOR with the result.
17118 * hurd/hurdfault.c (_hurdsig_fault_init): Call
17119 MACHINE_THREAD_STATE_FIX_NEW.
17120 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
17121 too. Add original thread parameter.
17123 2018-03-16 Joseph Myers <joseph@codesourcery.com>
17125 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
17126 Remove inline function.
17128 * sysdeps/i386/fpu/libm-test-ulps: Update.
17129 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17131 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
17133 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
17136 2018-03-15 Joseph Myers <joseph@codesourcery.com>
17138 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
17139 (__sincos_code): Remove define and undefine.
17140 [__FAST_MATH__] (__sincos): Remove inline function.
17141 [__FAST_MATH__] (__sincosf): Remove inline function.
17142 [__FAST_MATH__] (__sincosl): Remove inline function.
17143 (__atan2l): Remove inline functions.
17144 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
17145 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
17147 (floor): Remove inline function.
17149 [__FAST_MATH__] (__ldexp_code): Remove macro.
17150 [__FAST_MATH__] (ldexp): Remove inline function.
17151 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
17152 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
17153 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
17154 [__USE_ISOC99] (__lrint_code): Remove macro.
17155 [__USE_ISOC99] (__llrint_code): Likewise.
17156 [__USE_ISOC99] (lrintf): Remove inline function.
17157 [__USE_ISOC99] (lrint): Likewise.
17158 [__USE_ISOC99] (lrintl): Likewise.
17159 [__USE_ISOC99] (llrint): Likewise.
17160 [__USE_ISOC99] (llrintf): Likewise.
17161 [__USE_ISOC99] (llrintl): Likewise.
17163 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17165 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
17166 (__ieee754_sqrtf): Remove.
17167 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
17168 (__ieee754_sqrtf): Remove.
17169 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
17170 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17171 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
17172 (__ieee754_sqrtf): Remove.
17173 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
17174 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
17177 (__ieee754_sqrt): Remove.
17178 (__ieee754_sqrtf): Remove.
17179 (__ieee754_sqrtl): Remove.
17180 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17181 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
17182 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
17183 (__ieee754_sqrtf): Remove.
17184 (__ieee754_sqrtl): Remove.
17186 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17188 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
17189 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17190 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17191 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
17192 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
17193 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17194 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17195 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17197 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
17198 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
17199 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17200 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17201 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
17202 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
17203 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17204 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17205 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17206 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17207 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
17208 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17209 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
17210 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
17211 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
17212 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17213 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17214 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17215 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
17216 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
17217 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17218 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17219 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
17220 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
17221 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
17222 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
17223 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17224 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17225 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
17226 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17227 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17228 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
17229 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17230 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
17231 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17232 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17233 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
17234 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
17235 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17236 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
17238 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17240 * include/math.h (sqrt): Declare with asm redirect.
17243 (sqrtf128): Likewise.
17244 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
17245 nonlib and libnldbl with -fmath-errno.
17246 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
17247 * math/w_sqrt_template.c: Likewise.
17248 * math/w_sqrtf_compat.c: Likewise.
17249 * math/w_sqrtl_compat.c: Likewise.
17250 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
17251 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
17252 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
17255 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17257 * benchtests/Makefile: Define _ISOMAC.
17258 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
17259 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
17260 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
17261 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
17262 * benchtests/bench-timing.h: Define attribute_hidden.
17264 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
17266 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
17269 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17272 * localedata/locales/cs_CZ (mon): Rename to...
17274 (mon): Import from CLDR (genitive case).
17276 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17279 * localedata/locales/el_CY (abmon): Rename to...
17280 (ab_alt_mon): This.
17281 (abmon): Import from CLDR (abbreviated genitive case).
17282 * localedata/locales/el_GR (abmon): Rename to...
17283 (ab_alt_mon): This.
17284 (abmon): Import from CLDR (abbreviated genitive case).
17286 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17289 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
17291 2018-03-15 Robert Buj <robert.buj@gmail.com>
17294 * localedata/locales/ca_ES (abmon): Rename to...
17295 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17296 (mon): Rename to...
17298 (abmon): Import from CLDR (genitive case, month names preceded by
17301 (abday): Synchronize with CLDR.
17302 (d_t_fmt): Likewise.
17306 (LC_TIME): Improve indentation.
17307 (LC_TELEPHONE): Likewise.
17308 (LC_NAME): Likewise.
17309 (LC_ADDRESS): Likewise.
17311 2018-03-14 Joseph Myers <joseph@codesourcery.com>
17313 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
17314 (lrintf): Remove definitions used only with old GCC.
17315 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
17316 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
17317 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
17318 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
17319 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
17320 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
17321 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
17322 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
17323 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
17324 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
17325 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
17326 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
17327 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
17328 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
17329 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
17330 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
17331 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
17332 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
17333 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
17334 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
17335 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
17336 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
17337 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
17338 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
17339 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
17340 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
17341 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
17342 [__FAST_MATH__] (__M_SQRT2): Remove macro.
17344 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17346 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
17347 instruction to unbreak builds with binutils 2.26 and older.
17349 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17351 * sysdeps/aarch64/strncmp.S (count): New macro.
17352 (strncmp): Store misaligned length in SRC1 in COUNT.
17353 (mutual_align): Adjust.
17354 (misaligned8): Load dword at a time when it is safe.
17356 2018-03-12 Zack Weinberg <zackw@panix.com>
17360 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
17361 if the _IO_EOF_SEEN bit is already set; update commentary.
17362 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
17363 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17365 * support/support_openpty.c, support/tty.h: New files.
17366 * support/Makefile (libsupport-routines): Add support_openpty.
17368 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
17370 * libio/Makefile (tests): Add tst-fgetc-after-eof.
17371 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
17373 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
17375 * po/pt_BR.po: Update translations.
17377 2018-03-12 David Michael <fedora.dm0@gmail.com>
17379 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
17380 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
17381 get a port to the startup server.
17383 2018-03-11 Zack Weinberg <zackw@panix.com>
17385 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
17386 before nldbl-compat.h.
17388 2018-03-10 Zack Weinberg <zackw@panix.com>
17390 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
17391 math.h or math_private.h.
17393 * sysdeps/alpha/fpu/s_isnan.c
17394 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
17395 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
17396 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
17397 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
17398 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
17399 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
17400 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
17401 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17402 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17405 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17406 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17407 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17408 Include math_private.h.
17410 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17411 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17412 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17413 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17414 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17415 * sysdeps/powerpc/power7/fpu/s_logb.c:
17416 Include math.h and math_private.h.
17418 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17419 uses of $at in .set noat / .set at.
17421 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17423 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17424 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17425 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17426 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17429 2018-03-09 Florian Weimer <fweimer@redhat.com>
17431 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17434 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17437 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17438 Add nop before __startcontext, add explaining comments.
17440 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17443 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17445 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17446 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17447 Do not build hardware transactional code for __SPE__.
17448 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17449 (__lll_trylock_elision): Likewise.
17450 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17451 (__lll_unlock_elision): Likewise.
17453 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
17454 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17455 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17456 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17457 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17458 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17459 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17460 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17461 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17462 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17463 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17464 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17465 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17466 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17467 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17468 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17469 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17470 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17471 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17472 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17473 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17474 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17475 (__ASSUME_CLONE_BACKWARDS): Define.
17476 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17477 __clone2 if __NR_clone2 is defined.
17478 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17479 (__ASSUME_CLONE_BACKWARDS): Likewise.
17480 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17481 (__ASSUME_CLONE_BACKWARDS): Likewise.
17482 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17483 (__ASSUME_CLONE2): Likewise.
17484 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17485 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17486 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17487 variants and the define architecture can use.
17488 (__ASSUME_CLONE_DEFAULT): Define as default.
17489 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17490 (__ASSUME_CLONE_BACKWARDS): Likewise.
17491 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17492 (__ASSUME_CLONE_BACKWARDS): Likewise.
17493 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17494 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17496 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17498 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17500 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17503 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17504 (do_test_limit): Likewise.
17506 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17507 for every implementation.
17508 (do_test): Likewise.
17510 * benchtests/bench-strncmp.c: Convert output to json.
17512 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17514 * io/futimens.c: Add missing start-of-file descriptive comment.
17515 * io/utime.c: Likewise.
17516 * misc/futimesat.c: Likewise.
17517 * misc/utimes.c: Likewise.
17518 * sysdeps/mach/hurd/futimesat.c: Likewise.
17519 * sysdeps/mach/hurd/utimes.c: Likewise.
17520 * sysdeps/posix/utime.c: Likewise.
17521 * sysdeps/posix/utimes.c: Likewise.
17522 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17523 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17524 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17525 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17527 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17529 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17531 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17532 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17533 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17534 (__futimens): Move implementation to...
17535 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17536 utime_tvalue_from_tspec): ... new helper functions.
17537 (hurd_futimens): New function.
17538 * sysdeps/mach/hurd/futimesat.c: New file.
17539 * sysdeps/mach/hurd/utimensat.c: New file.
17541 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17543 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17544 UTIME_OMIT): New macros.
17545 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17546 before reverting to converting time spec to time value and calling
17548 * sysdeps/mach/hurd/utime-helper.c: New file.
17549 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17550 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17551 reverting to utime_tvalue_from_tval and __file_utimes.
17552 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17553 (__lutimes): Just call hurd_futimens after lookup.
17554 * sysdeps/mach/hurd/utimes.c: Likewise.
17556 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17558 * bits/sigaction.h: Add include guard.
17559 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17560 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17561 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17562 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17563 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17564 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17565 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17566 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17567 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17569 2018-03-05 Joseph Myers <joseph@codesourcery.com>
17571 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17572 -Wmaybe-uninitialized for -Os.
17573 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17576 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17578 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17579 __INO_T_MATCHES_INO64_T is defined.
17580 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17581 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17583 * dirent/alphasort64.c: Likewise.
17584 * dirent/scandir.c: Likewise.
17585 * dirent/scandir64-tail.c: Likewise.
17586 * dirent/scandir64.c: Likewise.
17587 * dirent/scandirat.c: Likewise.
17588 * dirent/scandirat64.c: Likewise.
17589 * dirent/versionsort.c: Likewise.
17590 * dirent/versionsort64.c: Likewise.
17591 * include/dirent.h: Likewise.
17593 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17594 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17595 for socketpair endpoint.
17596 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17597 WRITE_BUFFER_SIZE as buffer size for sending socket.
17598 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17599 issue on system where send is implemented with sendto syscall.
17600 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17601 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17602 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17603 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17606 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17607 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17608 sa_restorer for vDSO case.
17609 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17611 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17613 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
17614 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17615 * hurd/hurd/ioctl.h: Include <mach/port.h>
17616 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
17617 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17618 <mach/mach_types.h> and <mach/message.h>.
17619 (headers): Move mach/param.h to bits/mach/param.h.
17620 * sysdeps/mach/i386/mach/param.h: Move file to ...
17621 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17622 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17624 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17625 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17626 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
17627 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17628 trivial, for C++ conformity.
17629 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
17630 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17631 Process mig output through $(migheadersed).
17632 * hurd/Makefile (migheadersed): Define variable.
17633 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17634 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17636 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17637 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17638 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17639 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17640 <bits/types/sigset_t.h>.
17641 [!defined __USE_GNU]: Do not #error out.
17642 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17643 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17644 Include <stddef.h> and <bits/types/sigset_t.h>
17645 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17646 instead of sighandler_t.
17647 * stdlib/errno.h (error_t): Move definition to...
17648 * bits/types/error_t.h: ... new header.
17649 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17650 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17651 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17652 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17653 * hurd/hurd.h: Include <bits/types/error_t.h>
17654 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17655 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17656 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17657 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17658 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17659 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
17660 * sysdeps/mach/hurd/futimens.c: New file.
17662 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17665 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17666 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17667 * nscd/gai.c (__nss_hosts_database): Readd definition.
17668 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17669 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17670 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17672 2018-03-02 Joseph Myers <joseph@codesourcery.com>
17674 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17675 (ifunc_one): Likewise.
17677 2018-03-01 DJ Delorie <dj@delorie.com>
17680 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17683 2018-03-01 Maciej W. Rozycki <macro@mips.com>
17685 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17686 `match_pid' parameter.
17687 (td_ta_thr_iter): Update accordingly.
17689 2018-03-01 Florian Weimer <fweimer@redhat.com>
17691 * nptl/Makefile (install-lib-ldscripts): Remove.
17692 (install): Remove rule.
17693 ($(inst_libdir)/libpthread.so): Likewise.
17695 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17698 * localedata/locales/an_ES: update month and day names,
17699 improve d_fmt, improve postal_fmt, add country_post,
17702 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17704 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17705 Ukrainian instead of Bulgarian.
17707 2018-03-01 Florian Weimer <fweimer@redhat.com>
17709 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17712 2018-03-01 Florian Weimer <fweimer@redhat.com>
17714 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17715 * nptl/Makefile (routines): Add pthread_atfork.
17716 (static-only-routines): Set to pthread_atfork.
17717 (libpthread-routines): Remove pthread_atfork.
17718 (libpthread-static-only-routines): Remove.
17719 (install): Update comment.
17720 (libpthread.so): Do not install libpthread_nonshared.a.
17721 (tests): Do not link with libpthread_nonshared.a.
17722 (generated): Remove libpthread_nonshared.a.
17723 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17724 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17725 with libpthread_nonshared.a.
17727 2018-02-28 Joseph Myers <joseph@codesourcery.com>
17730 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17731 (libc_feholdexcept_setroundf128): New macro.
17732 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17735 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17737 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17738 * include/inttypes.h: New file.
17740 2018-02-27 Joseph Myers <joseph@codesourcery.com>
17742 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17743 -Os in two more places.
17745 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17747 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17748 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17749 be sorted correctly at the moment because of a bug.
17751 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17753 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17754 treat ñ as a primary different character, sync the collation
17755 for Spanish with CLDR.
17756 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17757 * localedata/Makefile: Add new test files.
17758 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17759 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17761 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17762 * localedata/am_ET.UTF-8.in: New test file.
17763 * localedata/az_AZ.UTF-8.in: Likewise.
17764 * localedata/be_BY.UTF-8.in: Likewise.
17765 * localedata/ber_DZ.UTF-8.in: Likewise.
17766 * localedata/ber_MA.UTF-8.in: Likewise.
17767 * localedata/bg_BG.UTF-8.in: Likewise.
17768 * localedata/br_FR.UTF-8.in: Likewise.
17769 * localedata/cmn_TW.UTF-8.in: Likewise.
17770 * localedata/crh_UA.UTF-8.in: Likewise.
17771 * localedata/csb_PL.UTF-8.in: Likewise.
17772 * localedata/cv_RU.UTF-8.in: Likewise.
17773 * localedata/cy_GB.UTF-8.in: Likewise.
17774 * localedata/dz_BT.UTF-8.in: Likewise.
17775 * localedata/eo.UTF-8.in: Likewise.
17776 * localedata/es_ES.UTF-8.in: Likewise.
17777 * localedata/fa_IR.UTF-8.in: Likewise.
17778 * localedata/fi_FI.UTF-8.in: Likewise.
17779 * localedata/fil_PH.UTF-8.in: Likewise.
17780 * localedata/fur_IT.UTF-8.in: Likewise.
17781 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17782 * localedata/ha_NG.UTF-8.in: Likewise.
17783 * localedata/ig_NG.UTF-8.in: Likewise.
17784 * localedata/ik_CA.UTF-8.in: Likewise.
17785 * localedata/kk_KZ.UTF-8.in: Likewise.
17786 * localedata/ku_TR.UTF-8.in: Likewise.
17787 * localedata/ky_KG.UTF-8.in: Likewise.
17788 * localedata/ln_CD.UTF-8.in: Likewise.
17789 * localedata/mi_NZ.UTF-8.in: Likewise.
17790 * localedata/ml_IN.UTF-8.in: Likewise.
17791 * localedata/mn_MN.UTF-8.in: Likewise.
17792 * localedata/mr_IN.UTF-8.in: Likewise.
17793 * localedata/mt_MT.UTF-8.in: Likewise.
17794 * localedata/nb_NO.UTF-8.in: Likewise.
17795 * localedata/om_KE.UTF-8.in: Likewise.
17796 * localedata/os_RU.UTF-8.in: Likewise.
17797 * localedata/ps_AF.UTF-8.in: Likewise.
17798 * localedata/ro_RO.UTF-8.in: Likewise.
17799 * localedata/ru_RU.UTF-8.in: Likewise.
17800 * localedata/sc_IT.UTF-8.in: Likewise.
17801 * localedata/se_NO.UTF-8.in: Likewise.
17802 * localedata/sq_AL.UTF-8.in: Likewise.
17803 * localedata/sv_SE.UTF-8.in: Likewise.
17804 * localedata/szl_PL.UTF-8.in: Likewise.
17805 * localedata/tg_TJ.UTF-8.in: Likewise.
17806 * localedata/tk_TM.UTF-8.in: Likewise.
17807 * localedata/tt_RU.UTF-8.in: Likewise.
17808 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17809 * localedata/ug_CN.UTF-8.in: Likewise.
17810 * localedata/uz_UZ.UTF-8.in: Likewise.
17811 * localedata/vi_VN.UTF-8.in: Likewise.
17812 * localedata/yi_US.UTF-8.in: Likewise.
17813 * localedata/yo_NG.UTF-8.in: Likewise.
17814 * localedata/zh_CN.UTF-8.in: Likewise.
17815 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17816 file and fix bugs in the collation.
17817 * localedata/locales/az_AZ: Likewise.
17818 * localedata/locales/be_BY: Likewise.
17819 * localedata/locales/ber_DZ: Likewise.
17820 * localedata/locales/ber_MA: Likewise.
17821 * localedata/locales/bg_BG: Likewise.
17822 * localedata/locales/br_FR: Likewise.
17823 * localedata/locales/br_FR@euro: Likewise.
17824 * localedata/locales/ca_ES: Likewise.
17825 * localedata/locales/cns11643_stroke: Likewise.
17826 * localedata/locales/crh_UA: Likewise.
17827 * localedata/locales/cs_CZ: Likewise.
17828 * localedata/locales/csb_PL: Likewise.
17829 * localedata/locales/cv_RU: Likewise.
17830 * localedata/locales/cy_GB: Likewise.
17831 * localedata/locales/da_DK: Likewise.
17832 * localedata/locales/dz_BT: Likewise.
17833 * localedata/locales/en_CA: Likewise.
17834 * localedata/locales/eo: Likewise.
17835 * localedata/locales/es_CU: Likewise.
17836 * localedata/locales/es_EC: Likewise.
17837 * localedata/locales/es_ES: Likewise.
17838 * localedata/locales/es_US: Likewise.
17839 * localedata/locales/et_EE: Likewise.
17840 * localedata/locales/fa_IR: Likewise.
17841 * localedata/locales/fi_FI: Likewise.
17842 * localedata/locales/fil_PH: Likewise.
17843 * localedata/locales/fur_IT: Likewise.
17844 * localedata/locales/gez_ER@abegede: Likewise.
17845 * localedata/locales/ha_NG: Likewise.
17846 * localedata/locales/hr_HR: Likewise.
17847 * localedata/locales/hsb_DE: Likewise.
17848 * localedata/locales/hu_HU: Likewise.
17849 * localedata/locales/ig_NG: Likewise.
17850 * localedata/locales/ik_CA: Likewise.
17851 * localedata/locales/is_IS: Likewise.
17852 * localedata/locales/iso14651_t1_pinyin: Likewise.
17853 * localedata/locales/kk_KZ: Likewise.
17854 * localedata/locales/ku_TR: Likewise.
17855 * localedata/locales/ky_KG: Likewise.
17856 * localedata/locales/ln_CD: Likewise.
17857 * localedata/locales/lt_LT: Likewise.
17858 * localedata/locales/lv_LV: Likewise.
17859 * localedata/locales/mi_NZ: Likewise.
17860 * localedata/locales/ml_IN: Likewise.
17861 * localedata/locales/mn_MN: Likewise.
17862 * localedata/locales/mr_IN: Likewise.
17863 * localedata/locales/mt_MT: Likewise.
17864 * localedata/locales/nb_NO: Likewise.
17865 * localedata/locales/om_KE: Likewise.
17866 * localedata/locales/os_RU: Likewise.
17867 * localedata/locales/pl_PL: Likewise.
17868 * localedata/locales/ps_AF: Likewise.
17869 * localedata/locales/ro_RO: Likewise.
17870 * localedata/locales/ru_RU: Likewise.
17871 * localedata/locales/ru_UA: Likewise.
17872 * localedata/locales/sc_IT: Likewise.
17873 * localedata/locales/se_NO: Likewise.
17874 * localedata/locales/si_LK: Likewise.
17875 * localedata/locales/sq_AL: Likewise.
17876 * localedata/locales/sv_FI: Likewise.
17877 * localedata/locales/sv_FI@euro: Likewise.
17878 * localedata/locales/sv_SE: Likewise.
17879 * localedata/locales/szl_PL: Likewise.
17880 * localedata/locales/tg_TJ: Likewise.
17881 * localedata/locales/ti_ER: Likewise.
17882 * localedata/locales/tk_TM: Likewise.
17883 * localedata/locales/tl_PH: Likewise.
17884 * localedata/locales/tr_TR: Likewise.
17885 * localedata/locales/tt_RU: Likewise.
17886 * localedata/locales/tt_RU@iqtelif: Likewise.
17887 * localedata/locales/ug_CN: Likewise.
17888 * localedata/locales/uk_UA: Likewise.
17889 * localedata/locales/uz_UZ: Likewise.
17890 * localedata/locales/uz_UZ@cyrillic: Likewise.
17891 * localedata/locales/vi_VN: Likewise.
17892 * localedata/locales/yi_US: Likewise.
17893 * localedata/locales/yo_NG: Likewise.
17895 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17897 * gen-locales.mk: Make test files which contain @ modifiers in their
17899 * localedata/gen-locale.sh: Likewise.
17901 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17903 * posix/tst-fnmatch.input: Fix results for range expressions
17905 * posix/tst-regexloc.c: Do not use a range expression for
17906 de_DE.ISO-8859-1 locale.
17908 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17910 * posix/bug-regex5.c: Fix test case because with the new
17911 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17912 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17915 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17917 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17918 downloaded from ISO, the collation order of @-. and space has changed.
17919 Therefore, this test file needed to be adapted.
17920 * localedata/fr_CA.UTF-8.in: Likewise.
17921 * localedata/fr_FR.UTF-8.in: Likewise.
17922 * localedata/uk_UA.UTF-8.in: Likewise.
17924 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17926 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17927 order of ȥ in the new iso14651_t1_common file.
17928 * localedata/pl_PL.UTF-8.in: Likewise.
17930 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17932 * localedata/locales/iso14651_t1_common: Add sections for various
17933 scripts to the iso14651_t1_common file.
17935 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17937 * localedata/locales/iso14651_t1_common: Use the code point of a
17938 character in the fourth collation level instead of IGNORE for all
17939 entries which have IGNORE on all 4 levels.
17941 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17943 * localedata/locales/iso14651_t1_common: Add some convenient collation
17944 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17945 rules similar to those in CLDR.
17947 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17949 * localedata/locales/iso14651_t1_common: The new version of this
17950 file downloaded from ISO contained several syntax errors which
17951 are fixed by this patch.
17953 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17955 * localedata/locales/iso14651_t1_common: replace all <U.....>
17956 with <U000.....> because glibc understands only 4 digit or 8 digit
17958 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17960 * localedata/locales/iso14651_t1_common: Necessary changes
17961 to make the file downloaded from ISO usable by glibc.
17963 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17966 * localedata/locales/iso14651_t1_common: Update file to
17967 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17969 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17971 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17972 of <nptl/pthreadP.h>
17973 (thread_attr_compare): Move function to...
17974 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
17975 * sysdeps/nptl/timer_routines.h: ... new header.
17976 * sysdeps/mach/hurd/gai_misc.h: New file.
17978 2018-02-26 Joseph Myers <joseph@codesourcery.com>
17980 * string/strcoll_l.c: Include <libc-diag.h>.
17981 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17982 declarations of seq1 and seq2.
17985 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17986 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17988 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17992 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17993 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17994 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17995 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17996 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17997 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17999 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18001 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
18002 macros used in __ptrace_request.
18004 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
18007 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
18009 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
18010 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
18011 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
18014 2018-02-23 Joseph Myers <joseph@codesourcery.com>
18017 * ctype/ctype.c (tolower): Use libc_hidden_def.
18018 (toupper): Likewise.
18019 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
18020 [!_ISOMAC] (toupper): Likewise.
18022 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18024 * localedata/Makefile: Remove --quiet argument when
18027 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18030 * localedata/locales/pt_BR (LC_TIME): use / instead of -
18032 * localedata/locales/pt_PT (LC_TIME): likewise
18034 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18037 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
18038 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
18039 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
18041 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18045 * nptl/Makefile (routines): Remove unregister-atfork.
18046 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
18047 (fork_handler_alloc): Remove function.
18048 (fork_handlers, fork_handler_init): New variables.
18049 (__fork_lock): Rename to atfork_lock.
18050 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
18051 to use a dynamic array to add/remove atfork handlers.
18052 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18053 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
18054 Remove declaration.
18055 (fork_handler): Remove next, refcntr, and need_signal member.
18056 (__run_fork_handler_type): New enum.
18057 (__run_fork_handlers): New prototype.
18058 * nptl/register-atfork.c: Remove file.
18059 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
18061 * sysdeps/nptl/nptl-signals.h: Move to ...
18062 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
18064 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
18065 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
18066 unnecessary check for SIGTIMER.
18067 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
18068 remove unnecessary removal of SIGTIMER.
18069 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
18070 include-signals.h rename.
18071 * nptl/pthreadP.h: Likewise.
18072 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
18073 __is_internal_signal instead of __nptl_is_internal_signal.
18075 2018-02-22 Andrew Waterman <andrew@sifive.com>
18078 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
18079 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
18080 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
18081 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
18083 2018-02-22 DJ Delorie <dj@delorie.com>
18085 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
18087 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
18089 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
18090 do_misaligned, not misaligned8.
18092 2018-02-22 Steve Ellcey <sellcey@cavium.com>
18094 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
18095 Add memcpy_thunderx2.
18096 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
18098 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
18099 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
18100 and IS_THUNDERX2PA checks.
18101 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
18102 Use macro to set name appropriately.
18103 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
18104 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
18105 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
18107 (IS_THUNDERX2): New macro.
18109 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
18111 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18113 2018-02-21 Zack Weinberg <zackw@panix.com>
18115 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
18116 Define here, unconditionally.
18117 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
18118 * libio/libioP.h: Remove #if 0 blocks.
18119 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
18120 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
18121 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
18123 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
18124 Assume weak_alias is always defined.
18126 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
18127 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
18128 Remove #if 0 and #ifdef TODO blocks.
18129 Assume text_set_element is always defined.
18131 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
18132 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
18133 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
18135 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
18136 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
18137 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
18138 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
18139 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
18140 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
18141 Reformat bit flags for _flags field to make occupancy clearer.
18143 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
18144 Keep definitions consistent with those in libio/libio.h.
18146 * libio/libio.h (_IO_file_flags): Remove macro.
18147 All uses changed to _flags.
18149 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
18150 (__HAVE_COLUMN, _IO_BE): Don't define.
18151 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
18152 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
18153 * libio/libioP.h (EOF): Don't define.
18154 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
18155 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
18156 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
18157 testing _IO_UNIFIED_JUMPTABLES.
18159 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
18160 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
18161 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
18162 (_IO_size_t): Delete; all uses changed to size_t.
18163 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
18164 (_IO_off_t): Delete; all uses changed to off_t.
18165 (_IO_off64_t): Delete; all uses changed to off64_t.
18166 (_IO_pid_t): Delete; all uses changed to pid_t.
18167 (_IO_uid_t): Delete; all uses changed to uid_t.
18168 (_IO_wint_t): Delete; all uses changed to wint_t.
18169 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
18170 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
18171 (_IO_cookie_io_functions_t): Delete; all uses changed to
18172 cookie_io_functions_t.
18173 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
18174 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
18175 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
18176 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
18178 * libio/iofopncook.c: Remove unnecessary forward declarations.
18179 * libio/iolibio.h: Correct outdated commentary.
18180 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
18181 * stdio-common/fxprintf.c (__fxprintf_nocancel):
18182 Remove unnecessary casts.
18183 * stdio-common/getline.c: Use _IO_getdelim directly.
18184 Don't redefine ssize_t.
18185 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
18186 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
18187 Remove outdated comments.
18188 * stdio-common/vfscanf.c: Don't redefine va_list.
18190 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
18191 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
18192 Remove preprocessor conditionals on _LIBC and __USE_GNU,
18193 which are always true, and __cplusplus, which is always false.
18195 2018-02-21 Joseph Myers <joseph@codesourcery.com>
18199 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
18200 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
18201 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
18202 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
18204 [!_ISOMAC] (putc_unlocked): Likewise.
18205 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
18206 define inline if [__USE_EXTERN_INLINES].
18207 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
18212 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
18213 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
18214 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
18215 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
18216 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
18218 * time/tzfile.c (__tzfile_read): Likewise.
18220 2018-02-21 Mike FABIAN <mfabian@redhat.com>
18223 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
18225 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
18227 * io/fcntl.h: Fix a typo in a comment.
18229 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
18232 * include/features.h: Add _ISOC11_SOURCE to test for whether to
18233 define _DEFAULT_SOURCE.
18234 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
18236 2018-02-21 Florian Weimer <fweimer@redhat.com>
18239 * elf/cache.c (save_cache): Call fsync on temporary file before
18241 (save_aux_cache): Call fdatasync on temporary file before renaming
18244 2018-02-21 Florian Weimer <fweimer@redhat.com>
18247 * include/caller.h: Remove file.
18248 * elf/dl-caller.c: Likewise.
18249 * elf/Makefile (dl-routines): Remove dl-caller.
18250 (shared-only-routines): Do not add dl-caller.
18251 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
18253 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
18255 (dl_open_worker): Do not call __check_caller.
18256 (_dl_open): Do not set caller_dl_open member.
18257 * elf/rtld.c (_rtld_global_ro): Do not initialize
18258 _dl_check_caller member.
18259 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
18260 _dl_check_caller member.
18261 (_dl_check_caller): Remove declaration.
18262 * sysdeps/unix/sysv/linux/dl-execstack.c
18263 (_dl_make_stack_executable): Do not call __check_caller.
18265 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18267 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
18268 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
18270 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
18272 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
18275 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
18278 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
18279 of 199606L, 200112L, and 200809L.
18280 (_XOPEN_SOURCE): Document special values of 600 and 700.
18281 (_ISOC11_SOURCE): Document macro.
18282 (_ATFILE_SOURCE): Likewise.
18283 (_FORTIFY_SOURCE): Likewise.
18285 2018-02-19 Joseph Myers <joseph@codesourcery.com>
18289 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
18290 and define as weak alias of __ferror_unlocked. Use
18292 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
18294 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
18295 function if [__USE_EXTERN_INLINES].
18296 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
18299 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
18302 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
18304 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18307 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
18308 the GLIBC_2.1 version.
18310 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18313 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
18314 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
18315 intl/tst-gettext-de.po from po/de.po by removing the
18316 POT-Creation-Date line.
18317 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
18319 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
18322 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18324 * mach/Makefile (headers): Add mach/param.h.
18325 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
18326 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
18327 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
18328 (__ptsname_r): Move implementation to...
18329 (__ptsname_internal): ... new function. Add filling the STP
18332 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
18334 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
18337 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
18339 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
18342 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18344 * nptl/Makefile (tst-mutex8-ENV): Delete.
18345 * nptl/tst-mutex8.c (check_type):
18346 Add runtime check if mutex will be elided.
18348 2018-02-15 Joseph Myers <joseph@codesourcery.com>
18352 * manual/install.texi (Configuring and compiling): Describe
18353 passing CC and CFLAGS on configure command line, not as
18354 environment variables. Use @code markup on those variables.
18355 Specify what options go in CC and what go in CFLAGS. Note the
18356 requirement to compile with optimization.
18357 * INSTALL: Regenerated.
18360 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
18361 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
18362 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
18363 __sigprocmask instead of sigprocmask.
18364 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
18366 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
18367 __sigsetjmp and sigprocmask.
18370 * include/argz.h (argz_next): Use libc_hidden_proto.
18371 (__argz_next): Likewise.
18372 * string-argz-next.c (__argz_next): Use libc_hidden_def.
18373 (argz_next): Use libc_hidden_weak.
18376 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
18378 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
18382 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
18384 * libio/iofputs.c (fputs): Use libc_hidden_weak.
18388 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
18389 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
18390 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
18391 (__feof_unlocked): New declaration, and inline function if
18392 [__USE_EXTERN_INLINES].
18393 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
18394 instead of feof_unlocked.
18395 * intl/localealias.c [_LIBC] (FEOF): Likewise.
18396 * nss/nsswitch.c (nss_parse_file): Likewise.
18397 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
18399 * time/getdate.c (__getdate_r): Likewise.
18400 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
18401 Define as macro to call __feof_unlocked.
18403 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18405 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18407 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18409 * math/Makefile: Remove mpexp.c and mplog.c
18410 * sysdeps/i386/fpu/mpexp.c: Delete file.
18411 * sysdeps/i386/fpu/mplog.c: Likewise.
18412 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18413 * sysdeps/ia64/fpu/mplog.c: Likewise.
18414 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18415 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18416 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18417 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18418 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18419 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18420 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18421 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18422 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18423 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18424 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18425 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18426 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18427 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18428 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18429 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18431 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18433 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18435 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18437 * sysdeps/sh/libm-test-ulps: Update.
18439 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18441 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18444 2018-02-12 Zack Weinberg <zackw@panix.com>
18447 * posix/sys/types.h: Don't include sys/sysmacros.h.
18448 * misc/sys/sysmacros.h: Remove the conditional deprecation
18449 warnings for the macros defined by this header.
18451 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18453 * manual/probes.texi: Remove slowexp probes.
18454 * math/Makefile: Remove slowexp.
18455 * sysdeps/generic/math_private.h (__slowexp): Remove.
18456 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18457 document error bounds.
18458 * sysdeps/i386/fpu/slowexp.c: Remove.
18459 * sysdeps/ia64/fpu/slowexp.c: Remove.
18460 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18461 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18462 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18463 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18464 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18465 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18466 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18467 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18468 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18469 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18470 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18472 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18475 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18476 * benchtests/pow-inputs: Update comment for slow path cases.
18477 * manual/probes.texi (slowpow_p10): Delete removed probe.
18478 (slowpow_p10): Likewise.
18479 * math/Makefile: Remove halfulp.c and slowpow.c.
18480 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18481 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18482 (__halfulp): Remove.
18483 (__slowpow): Remove.
18484 * sysdeps/i386/fpu/halfulp.c: Delete file.
18485 * sysdeps/i386/fpu/slowpow.c: Likewise.
18486 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18487 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18488 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18489 improve comments and add error analysis.
18490 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18491 (power1): Remove function:
18492 (log1): Remove error argument, add error analysis.
18493 (my_log2): Remove function.
18494 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18495 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18496 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18497 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18498 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18499 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18500 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18501 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18502 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18503 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18504 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18505 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18506 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18507 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18509 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18511 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18512 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18514 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18517 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18518 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18519 and PTRACE_SETHBPREGS.
18521 2018-02-10 Zack Weinberg <zackw@panix.com>
18524 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18526 * malloc/tst-malloc-stats-cancellation.c: New test case.
18527 * malloc/Makefile: Add new test case.
18529 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18531 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18533 2018-02-10 Joseph Myers <joseph@codesourcery.com>
18535 * math/Makefile (libm-narrow-fns): Add add.
18536 (libm-test-funcs-narrow): Likewise.
18537 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18538 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18539 * math/gen-auto-libm-tests.c (test_functions): Add add.
18540 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18541 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18542 (NARROW_ADD_TRIVIAL): Likewise.
18543 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18545 (__daddl): Likewise.
18546 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18548 (CFLAGS-nldbl-dadd.c): New variable.
18549 (CFLAGS-nldbl-fadd.c): Likewise.
18550 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18552 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18554 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18555 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18556 * math/auto-libm-test-in: Add tests of add.
18557 * math/auto-libm-test-out-narrow-add: New generated file.
18558 * math/libm-test-narrow-add.inc: New file.
18559 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18560 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18561 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18562 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18563 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18564 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18565 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18566 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18567 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18568 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18569 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18570 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18571 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18572 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18573 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18574 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18575 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18576 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18578 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18579 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18580 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18581 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18582 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18583 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18584 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18585 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18586 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18587 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18588 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18589 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18590 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18595 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18596 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18597 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18598 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18599 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18600 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18601 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18602 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18603 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18604 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18606 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18607 (f128-pairs): New variable.
18608 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18609 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18611 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18612 Also make tests add $(f128-loader-link) to gnulib-tests.
18614 2018-02-09 DJ Delorie <dj@redhat.com>
18617 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18618 64-bit ELF type for 64-bit ELF objects.
18620 2018-02-09 Joseph Myers <joseph@codesourcery.com>
18622 * math/libm-test-driver.c (snan_tests_arg): New variable.
18623 * math/libm-test-support.h (snan_tests_arg): New declaration.
18624 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18626 * math/Makefile (test-type-pairs): New variable.
18627 (test-type-pairs-f64xf128-yes): Likewise.
18628 (tests): Add test-narrow-macros.
18629 (libm-test-funcs-narrow): New variable.
18630 (libm-test-c-narrow): Likewise.
18631 (generated): Add $(libm-test-c-narrow).
18632 (libm-tests-base-narrow): New variable.
18633 (libm-tests-narrow): Likewise.
18634 (libm-tests): Add $(libm-tests-narrow).
18635 (libm-tests-for-type): Handle $(libm-tests-narrow).
18636 (libm-test-c-narrow-obj): New variable.
18637 ($(libm-test-c-narrow-obj)): New rule.
18638 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18639 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18640 $(o-iterator) to set dependencies and CFLAGS.
18641 * math/gen-auto-libm-tests.c: Document use for narrowing
18643 (output_for_one_input_case): Take argument NARROW.
18644 (generate_output): Likewise. Update call to
18645 output_for_one_input_case.
18646 (main): Take --narrow option. Update call to generate_output.
18647 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18648 (apply_lit): Update call to _apply_lit.
18649 (apply_arglit): New function.
18650 (parse_args): Handle "a" arguments.
18651 (parse_auto_input): Handle format names using ":".
18652 * math/README.libm-test: Document "a" parameter type.
18653 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18654 (ARG_TYPE_TRUE_MIN): Likewise.
18655 (ARG_TYPE_MAX): Likwise.
18656 (ARG_MIN_EXP): Likewise.
18657 (ARG_MAX_EXP): Likewise.
18658 (ARG_MANT_DIG): Likewise.
18659 (TEST_COND_arg_ibm128): Likewise.
18660 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18661 (TEST_COND_arg_fmt): New macro.
18662 (init_max_error): Update prototype.
18663 * math/libm-test-support.c (test_ibm128): New variable.
18664 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18665 instead of using [TEST_COND_ibm128] conditional.
18666 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18667 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18668 [TEST_NARROW] (TEST_MSG): New definition.
18669 (arg_plus_zero): New macro.
18670 (arg_minus_zero): Likewise.
18671 (arg_plus_infty): Likewise.
18672 (arg_minus_infty): Likewise.
18673 (arg_qnan_value_pl): Likewise.
18674 (arg_qnan_value): Likewise.
18675 (arg_snan_value_pl): Likewise.
18676 (arg_snan_value): Likewise.
18677 (arg_max_value): Likewise.
18678 (arg_min_value): Likewise.
18679 (arg_min_subnorm_value): Likewise.
18680 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18681 (RUN_TEST_LOOP_aa_f): New macro.
18682 (TEST_SUFF): New macro.
18683 (TEST_SUFF_STR): Likewise.
18684 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18685 (TEST_COND_any_ibm128): New macro.
18686 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18687 this_func. Update call to init_max_error.
18688 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18689 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18690 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18691 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18692 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18693 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18694 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18695 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18696 * math/test-math-vector.h (TEST_NARROW): Likewise.
18697 * math/test-arg-double.h: New file.
18698 * math/test-arg-float128.h: Likewise.
18699 * math/test-arg-float32x.h: Likewise.
18700 * math/test-arg-float64.h: Likewise.
18701 * math/test-arg-float64x.h: Likewise.
18702 * math/test-arg-ldouble.h: Likewise.
18703 * math/test-math-narrow.h: Likewise.
18704 * math/test-narrow-macros.c: Likewise.
18705 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18706 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18707 test-narrow-macros-ldbl-64.
18708 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18710 * math/bits/mathcalls-narrow.h: New file.
18711 * include/bits/mathcalls-narrow.h: Likewise.
18712 * math/math-narrow.h: Likewise.
18713 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18714 (__MATHCALL_NARROW_ARGS_2): Likewise.
18715 (__MATHCALL_NARROW_ARGS_3): Likewise.
18716 (__MATHCALL_NARROW_NORMAL): Likewise.
18717 (__MATHCALL_NARROW_REDIR): Likewise.
18718 (__MATHCALL_NARROW): Likewise.
18719 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18720 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18722 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18723 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18724 (libm-narrow-fns): New variable.
18725 (libm-narrow-types-basic): Likewise.
18726 (libm-narrow-types-ldouble-yes): Likewise.
18727 (libm-narrow-types-float128-yes): Likewise.
18728 (libm-narrow-types-float128-alias-yes): Likewise.
18729 (libm-narrow-types): Likewise.
18730 (libm-routines): Add narrowing functions.
18731 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18732 (libc_feholdexcept_setroundf128): New macro.
18733 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18734 * sysdeps/ieee754/float128/float128_private.h: Include
18735 <math/math-narrow.h>.
18736 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18737 Undefine and redefine.
18738 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18739 (libm_alias_float_ldouble): Undefine and redefine.
18740 (libm_alias_double_ldouble): Likewise.
18742 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18744 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18746 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18749 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
18751 * manual/creature.texi: Convert references to gcc.info to gcc.
18752 * manual/stdio.texi: Likewise.
18753 * manual/string.texi: Likewise.
18755 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18758 * posix/bits/types.h (__int_least8_t): New typedef.
18759 (__uint_least8_t): Likewise.
18760 (__int_least16_t): Likewise.
18761 (__uint_least16_t): Likewise.
18762 (__int_least32_t): Likewise.
18763 (__uint_least32_t): Likewise.
18764 (__int_least64_t): Likewise.
18765 (__uint_least64_t): Likewise.
18766 * sysdeps/generic/stdint.h (int_least8_t): Define using
18768 (int_least16_t): Define using __int_least16_t.
18769 (int_least32_t): Define using __int_least32_t.
18770 (int_least64_t): Define using __int_least64_t.
18771 (uint_least8_t): Define using __uint_least8_t.
18772 (uint_least16_t): Define using __uint_least16_t.
18773 (uint_least32_t): Define using __uint_least32_t.
18774 (uint_least64_t): Define using __uint_least64_t.
18775 * wcsmbs/uchar.h: Include <bits/types.h>.
18776 (char16_t): Define using __uint_least16_t conditional only on
18778 (char32_t): Define using __uint_least32_t conditional only on
18780 * wcsmbs/test-char-types.c: New file.
18781 * wcsmbs/Makefile (tests): Add test-char-types.
18783 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18786 2018-02-07 Zack Weinberg <zackw@panix.com>
18788 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18789 Delete all contents except for definitions of _G_HAVE_MMAP and
18790 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18791 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18792 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18795 * libio/libio.h: Don't include bits/_G_config.h here.
18796 Include stddef.h with __need_wchar_t defined. Include
18797 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18798 Define _IO_iconv_t here, directly.
18799 Don't define _IO_HAVE_ST_BLKSIZE.
18800 * libio/libioP.h: Include _G_config.h here. Move include of
18801 shlib-compat.h up with rest of includes. Simplify conditionals
18802 controlling definition of _IO_JUMPS_OFFSET.
18804 * csu/init.c: Remove always-true #if around entire file.
18805 Don't include stdio.h. Set _IO_stdin_used to hardwired
18806 constant 0x20001, and update commentary.
18807 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18808 Replace all uses of _G_va_list with __gnuc_va_list.
18809 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18810 instead of #if _IO_HAVE_ST_BLKSIZE.
18811 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18812 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18815 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18816 multiple-include guard to match.
18817 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18819 Remove preprocessor conditionals that are always true and/or
18820 redundant to other preprocessor conditionals in the same nest.
18821 Include shlib-compat.h unconditionally.
18822 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18823 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18824 defined after including stdio.h.
18825 Use __BEGIN_DECLS/__END_DECLS.
18827 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18828 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18829 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18831 2018-02-07 Zack Weinberg <zackw@panix.com>
18833 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18834 New single-type headers split from _G_config.h.
18835 * libio/bits/types/cookie_io_functions_t.h
18836 * libio/bits/types/struct_FILE.h
18837 New single-type headers split from libio.h.
18839 * libio/Makefile: Install the above new headers. Don't install
18840 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18842 * libio/_G_config.h, libio/libio.h: Delete file.
18844 * libio/bits/libio.h: Remove improper-inclusion guard.
18845 Include stdio.h and don't repeat anything that it does.
18846 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18847 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18848 __io_read_fn as cookie_read_function_t,
18849 __io_write_fn as cookie_write_function_t,
18850 __io_seek_fn as cookie_seek_function_t,
18851 __io_close_fn as cookie_close_function_t,
18852 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18853 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18854 here, in the "compatibility defines" section. Remove an #if 0
18855 block. Use the "body" macros from bits/types/struct_FILE.h to
18856 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18857 and _IO_ferror_unlocked.
18858 Move prototypes of __uflow and __overflow...
18860 * libio/stdio.h: ...here. Don't include bits/libio.h.
18861 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
18862 directly from stdarg.h. Include bits/types/__fpos_t.h,
18863 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18864 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18865 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18866 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18867 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18868 __ssize_t, not _IO_ssize_t. Unconditionally define
18869 BUFSIZ as 8192 and EOF as (-1).
18871 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18872 macros from bits/types/struct_FILE.h instead of _IO_* macros
18873 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18874 instead of _IO_ssize_t.
18875 * libio/bits/stdio2.h: Similarly.
18877 * libio/iolibio.h: Add multiple-include guard.
18878 Include bits/libio.h after stdio.h.
18879 * libio/libioP.h: Add multiple-include guard.
18880 Include stdio.h and bits/libio.h before iolibio.h.
18882 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
18883 * include/bits/types/cookie_io_functions_t.h
18884 * include/bits/types/struct_FILE.h: New wrappers.
18886 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
18887 Get definitions of _G_fpos_t and _G_fpos64_t from
18888 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18889 respectively. Remove improper-inclusion guards.
18891 * conform/data/stdio.h-data: Update expectations of va_list.
18892 * scripts/check-installed-headers.sh: Remove special case for
18893 libio.h and _G_config.h.
18895 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18899 * include/sys/sysmacros.h [!_ISOMAC]
18900 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18901 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18902 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18903 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18905 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18906 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18908 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18909 Undefine and redefine to add use __gnu_dev_ prefix.
18910 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18912 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18913 and define as hidden inline function.
18914 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18916 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18918 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18919 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18920 (gnu_dev_minor): Likewise.
18921 (gnu_dev_makedev): Likewise.
18922 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18924 * posix/wordexp.c (exec_comm_child): Likewise.
18925 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18926 instead of minor and __gnu_dev_major instead of major.
18927 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18928 __gnu_dev_major instead of major.
18929 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18930 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18931 instead of gnu_dev_minor.
18932 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18933 (SLAVE_P): Likewise.
18934 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18935 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18939 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18941 * locale/weightwc.h (findidx): Likewise.
18943 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18945 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18946 (slowlog_inexact): Likewise
18947 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18948 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18950 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18953 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18954 missing second underscore to parameter name.
18956 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18962 * bits/byteswap.h: Update file comment. Do not include
18963 <bits/byteswap-16.h>.
18964 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18966 (__bswap_16): Define as inline function.
18967 (__bswap_constant_32): Reformat definition.
18968 (__bswap_32): Always define as inline function, not macro, using
18969 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18970 otherwise __bswap_constant_32.
18971 (__bswap_constant_64): Reformat definition. Do not use
18972 __extension__ here.
18973 (__bswap_64): Always define as inline function, not macro. Use
18974 __extension__ on function definition. Use __builtin_bswap64 if
18975 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18976 * string/test-endian-file-scope.c: New file.
18977 * string/test-endian-sign-conversion.c: Likewise.
18978 * string/Makefile (headers): Remove bits/byteswap-16.h.
18979 (tests): Add test-endian-file-scope and
18980 test-endian-sign-conversion.
18981 (CFLAGS-test-endian-sign-conversion.c): New variable.
18982 * bits/byteswap-16.h: Remove file.
18983 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18984 * sysdeps/ia64/bits/byteswap.h: Likewise.
18985 * sysdeps/m68k/bits/byteswap.h: Likewise.
18986 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18987 * sysdeps/s390/bits/byteswap.h: Likewise.
18988 * sysdeps/tile/bits/byteswap.h: Likewise.
18989 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18990 * sysdeps/x86/bits/byteswap.h: Likewise.
18993 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18994 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18995 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18996 199901L] (__restrict): Define to restrict.
18999 * string/testcopy.c: Include <support/support.h>. Do not include
19000 <malloc.h>. Use <support/test-driver.c>.
19001 (main): Rename to do_test. Make static. Use xmalloc instead of
19005 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
19006 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
19007 (SSIZE_MAX): Define to INT_MAX.
19008 * posix/test-ssize-max.c: New file.
19009 * posix/Makefile (tests): Add test-ssize-max.
19012 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
19013 <support/support.h>. Do not include <malloc.h>.
19014 (query_auxv): Use xmalloc instead of malloc.
19017 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
19018 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
19021 2018-02-06 Florian Weimer <fweimer@redhat.com>
19024 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19025 Use scratch_buffer instead of extend_alloca.
19027 2018-02-06 Zack Weinberg <zackw@panix.com>
19029 * libio/stdio.h: Don't define getc or putc as macros.
19030 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
19031 not _IO_getc and _IO_putc.
19033 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
19034 * stdio-common/tstgetln.c: Don't redefine ssize_t.
19036 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19038 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
19039 (TCP_FASTOPEN_NO_COOKIE): Likewise.
19041 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
19044 * elf/elf.h (NT_PRFPREG): New macro.
19045 (NT_S390_VXRS_LOW): Likewise.
19046 (NT_S390_VXRS_HIGH): Likewise.
19047 (NT_S390_GS_CB): Likewise.
19048 (NT_S390_GS_BC): Likewise.
19049 (NT_S390_RI_CB): Likewise.
19051 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
19052 (MAP_SYNC): New macro.
19053 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
19055 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
19056 (MAP_SYNC): Likewise.
19057 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
19058 (MAP_SYNC): Likewise.
19059 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
19060 (MAP_SYNC): Likewise.
19061 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
19062 (MAP_SYNC): Likewise.
19063 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
19064 (MAP_SYNC): Likewise.
19065 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
19066 (MAP_SYNC): Likewise.
19067 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
19069 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
19072 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
19073 (MAP_SHARED_VALIDATE): New macro.
19074 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19075 (MAP_SHARED_VALIDATE): Likewise.
19077 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19079 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
19080 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
19081 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19083 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19085 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
19086 (DT_NUM): Updated to 35.
19088 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19090 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
19091 __builtin_expect with __glibc_likely and __glibc_unlikely.
19092 (elf_machine_rela): Likewise.
19093 (elf_machine_lazy_rel): Likewise.
19095 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19097 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
19098 __builtin_expect with __glibc_likely and __glibc_unlikely.
19099 (elf_machine_lazy_rel): Likewise.
19101 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19104 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
19106 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
19108 2018-02-05 Andreas Schwab <schwab@suse.de>
19111 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
19114 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19116 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
19117 not check against PTHREAD_STACK_MIN.
19119 2018-02-02 Sean McKean <smckean83@gmail.com>
19122 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
19124 2018-02-02 Florian Weimer <fweimer@redhat.com>
19127 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
19128 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
19129 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
19130 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
19131 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
19132 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
19133 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
19134 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
19135 * manual/llio.texi (Scatter-Gather): Mention offset -1.
19136 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
19137 * misc/tst-preadvwritev2.c (do_test): Call it.
19138 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
19140 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
19142 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
19144 * benchtests/bench-memcmp.c: Print json instead of plain text.
19146 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
19149 2018-02-01 Joseph Myers <joseph@codesourcery.com>
19151 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19153 (s390_sthyi): New syscall.
19155 * sysdeps/generic/ldbl-classify-compat.h: New file.
19156 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
19157 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
19158 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
19159 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
19160 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
19161 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
19162 * sysdeps/ieee754/dbl-64/s_finite.c: Include
19163 <ldbl-classify-compat.h>.
19164 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19165 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
19166 <ldbl-classify-compat.h>.
19167 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19168 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
19169 <ldbl-classify-compat.h>.
19170 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19171 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
19172 <ldbl-classify-compat.h>.
19173 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
19175 <ldbl-classify-compat.h>.
19176 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19177 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
19178 <ldbl-classify-compat.h>.
19179 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19180 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
19181 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19182 * sysdeps/m68k/coldfire/math_private.h: Remove file.
19183 * sysdeps/microblaze/math_private.h: Likewise.
19184 * sysdeps/nios2/math_private.h: Likewise.
19185 * sysdeps/sh/math_private.h: Likewise.
19187 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
19188 * sysdeps/m68k/coldfire/math_private.h: ... here.
19189 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
19190 * sysdeps/tile/math_private.h: Likewise.
19191 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
19193 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
19196 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
19198 (libc_fetestexcept): Likewise.
19199 (libc_feupdateenv_test): Likewise.
19200 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
19201 (libc_fetestexcept): Likewise.
19202 (libc_feupdateenv_test): Likewise.
19203 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
19204 (libc_fetestexcept): Likewise.
19205 (libc_feupdateenv_test): Likewise.
19206 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
19207 (libc_fetestexcept): Likewise.
19208 (libc_feupdateenv_test): Likewise.
19210 * sysdeps/generic/math_private.h
19211 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
19212 New inline function.
19213 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
19216 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
19217 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
19218 * sysdeps/generic/math_private.h
19219 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
19221 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
19223 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
19225 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
19227 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
19229 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
19231 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
19232 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
19233 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
19234 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
19235 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
19236 (__fegetenv): Likewise.
19237 (fesetenv): Likewise.
19238 (__fesetenv): Likewise.
19239 (feupdateenv): Likewise.
19240 (__feupdateenv): Likewise.
19241 (fegetround): Likewise.
19242 (__fegetround): Likewise.
19243 (fesetround): Likewise.
19244 (__fesetround): Likewise.
19246 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
19247 (feraiseexcept): New macro.
19248 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
19249 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
19251 (__feraiseexcept): Likewise.
19252 (feclearexcept): Likewise.
19253 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
19254 (__feraiseexcept): Likewise.
19255 (feclearexcept): Likewise.
19256 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
19257 (__feraiseexcept): Likewise.
19258 (feclearexcept): Likewise.
19259 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
19260 (__feraiseexcept): Likewise.
19261 (feclearexcept): Likewise.
19262 (fetestexcept): Likewise.
19264 * sysdeps/m68k/coldfire/math-tests.h: New file.
19266 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
19267 * sysdeps/m68k/bits/fenv.h: ... here.
19268 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
19270 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
19272 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
19274 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
19276 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
19278 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
19280 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
19281 (__FE_UNDEFINED): New enum constant.
19282 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
19284 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
19286 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
19288 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
19289 to match generic bits/fenv.h.
19290 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
19293 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
19295 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
19296 * soft-fp/half.h (union _FP_UNION_H): Likewise.
19297 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
19298 * soft-fp/single.h (union _FP_UNION_S): Likewise.
19300 2018-02-01 Carlos O'Donell <carlos@redhat.com>
19301 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
19302 Joseph Myers <joseph@codesourcery.com>
19305 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
19306 (__log1p): Disable -Wmaybe-uninitialized for -Os around
19307 computation using c.
19308 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
19309 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
19310 computation using c.
19312 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19314 * version.h (RELEASE): Set to "development".
19315 (VERSION): Set to "2.27.9000".
19316 * NEWS (2.28): New section.
19318 * version.h (RELEASE): Set to "stable".
19319 (VERSION): Set to "2.27".
19320 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
19322 * NEWS: Add the list of bugs fixed in 2.27.
19324 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19326 * stdlib/test-atexit-race-common.c (do_test): Check stack size
19327 against PTHREAD_STACK_MIN.
19329 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19331 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
19333 (Rafal Luzynski, Andreas Schwab): Update.
19335 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
19338 * NEWS: List the languages which actually use the alternative
19339 months feature in this release. Also explain that "alt_mon" and
19340 "ab_alt_mon" are optional.
19342 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
19345 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
19347 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
19349 * manual/install.texi (Tools for Compilation): Update the newest
19350 versions of gcc, binutils, texinfo, gawk, bison, and sed.
19351 * INSTALL: Regenerated.
19353 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19355 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
19356 instead of __builtin_expect.
19358 2018-01-30 Florian Weimer <fweimer@redhat.com>
19360 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
19362 * nss/tst-nss-getpwent.c (do_test): Likewise.
19364 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
19367 * localedata/locales/hr_HR (mon): Rename to...
19369 (mon): Import from CLDR (genitive case).
19370 (d_t_fmt): Update the comment.
19372 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
19374 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
19375 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
19376 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
19378 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19380 * mach/Versions: Fix version when __mach_host_self_ was added.
19381 * hurd/Versions: Fix version when _hurd_exec_paths was added.
19382 * sysdeps/mach/hurd/i386/ld.abilist: New file.
19383 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
19384 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
19385 * sysdeps/mach/hurd/i386/libc.abilist: New file.
19386 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
19387 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
19388 * sysdeps/mach/hurd/i386/libm.abilist: New file.
19389 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
19390 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
19391 * sysdeps/mach/hurd/i386/librt.abilist: New file.
19392 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
19393 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
19394 || to respect codestyle.
19395 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
19396 (do_test_bz20181): Rename accordingly.
19397 * malloc/malloc.c: Include <assert.h>.
19398 (assert): Do not define.
19399 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
19400 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
19401 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
19402 * sysdeps/mach/hurd/hp-timing.h: New file.
19403 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
19405 2018-01-29 Darius Rad <darius@bluespec.com>
19407 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19409 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
19411 * sysdeps/init_array/crti.S (.section .init_array): Add
19412 PREINIT_FUNCTION when defined.
19413 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
19414 * config.h.in: Regenerate.
19415 * manual/platform.texi: Add RISC-V documenation for
19416 __riscv_flush_icache.
19417 * sysdeps/riscv/__longjmp.S: New file.
19418 * sysdeps/riscv/backtrace.c: Likewise.
19419 * sysdeps/riscv/bits/endian.h: Likewise.
19420 * sysdeps/riscv/bits/setjmp.h: Likewise.
19421 * sysdeps/riscv/bits/wordsize.h: Likewise.
19422 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19423 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19424 * sysdeps/riscv/dl-trampoline.S: Likewise.
19425 * sysdeps/riscv/gccframe.h: Likewise.
19426 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19427 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19428 * sysdeps/riscv/machine-gmon.h: Likewise.
19429 * sysdeps/riscv/memusage.h: Likewise.
19430 * sysdeps/riscv/setjmp.S: Likewise.
19431 * sysdeps/riscv/sys/asm.h: Likewise.
19432 * sysdeps/riscv/tls-macros.h: Likewise.
19433 * sysdeps/riscv/dl-tls.h: New file.
19434 * sysdeps/riscv/libc-tls.c: Likewise.
19435 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19436 * sysdeps/riscv/nptl/tls.h: Likewise.
19437 * sysdeps/riscv/stackinfo.h: Likewise.
19438 * sysdeps/riscv/bits/fenv.h: New file.
19439 * sysdeps/riscv/e_sqrtl.c: Likewise.
19440 * sysdeps/riscv/fpu_control.h: Likewise.
19441 * sysdeps/riscv/math-tests.h: Likewise.
19442 * sysdeps/riscv/nofpu/Implies: Likewise.
19443 * sysdeps/riscv/sfp-machine.h: Likewise.
19444 * sysdeps/riscv/tininess.h: Likewise.
19445 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19446 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19447 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19448 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19449 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19450 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19451 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19452 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19453 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19454 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19455 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19456 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19457 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19458 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19459 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19460 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19461 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19462 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19463 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19464 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19465 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19466 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19467 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19468 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19469 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19470 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19471 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19472 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19473 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19474 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19475 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19476 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19477 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19478 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19479 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19480 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19481 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19482 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19483 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19484 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19485 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19486 * sysdeps/riscv/rvf/math_private.h: Likewise.
19487 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19488 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19489 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19490 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19491 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19492 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19493 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19494 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19495 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19496 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19497 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19498 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19499 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19500 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19501 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19502 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
19503 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19504 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19505 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19506 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
19507 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19508 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19509 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19510 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19511 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19512 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19513 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19514 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19515 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
19516 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19517 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19518 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19519 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19520 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19521 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19522 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19523 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19524 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19525 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19526 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19527 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19528 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19529 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19530 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19531 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19532 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19533 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19534 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19535 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19536 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19537 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
19538 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19539 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19540 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
19541 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19542 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19543 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19544 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19545 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19546 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19547 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19548 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19549 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19550 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19551 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19552 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19553 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19554 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
19555 * sysdeps/riscv/Implies: New file.
19556 * sysdeps/riscv/Makefile: Likewise.
19557 * sysdeps/riscv/configure: Likewise.
19558 * sysdeps/riscv/configure.ac: Likewise.
19559 * sysdeps/riscv/nptl/Makefile: Likewise.
19560 * sysdeps/riscv/preconfigure: Likewise.
19561 * sysdeps/riscv/rv64/Implies-after: Likewise.
19562 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19563 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19564 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19565 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19566 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19567 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19568 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19569 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19570 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19571 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19572 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
19573 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19574 (Config): Likewise.
19576 2018-01-29 Florian Weimer <fweimer@redhat.com>
19579 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19580 libnsl_hidden_proto.
19581 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19582 libnsl_hidden_proto.
19583 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19584 * nis/Makefile (libnsl-routines): Add nss-default only for
19585 build-obsolete-nsl.
19586 * nis/nis_defaults.c (__nis_default_ttl): Add
19587 libnsl_hidden_nolink_def.
19588 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19590 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19591 * nis/ypclnt.c (yp_maplist): Likewise.
19593 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19595 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19596 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19598 2018-01-29 Joseph Myers <joseph@codesourcery.com>
19600 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19601 clean -dxfq for git updates when replacing sources.
19603 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19604 --disable-libcilkrts unconditionally, not just for the final GCC
19607 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19610 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19613 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19616 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19619 * localedata/locales/be_BY (mon): Rename to...
19620 (alt_mon): This, then synchronize with CLDR (nominative case).
19621 (abmon): Rename to...
19622 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19623 (mon): Import from CLDR (genitive case).
19625 * localedata/locales/be_BY@latin (mon): Rename to...
19627 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19629 * localedata/locales/be_BY@latin (lang_name): Reworded to
19630 "biełaruskaja mova".
19632 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19635 * localedata/locales/el_CY (mon): Renamed to...
19637 (mon): Import from CLDR (genitive case).
19638 * localedata/locales/el_GR: Likewise.
19640 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19643 * localedata/locales/ru_RU (mon): Rename to...
19645 (abmon): Rename to...
19646 (ab_alt_mon): This.
19647 (mon): Import from CLDR (genitive case).
19648 (abmon): Copy from the old content except the 5th month which is
19649 now in the genitive case, even when abbreviated.
19650 * localedata/locales/ru_UA: Likewise.
19651 * time/tst-strptime.c (day_tests): Add an actual example of
19652 a difference between %b and %Ob in Russian.
19654 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19656 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
19657 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19659 * resolv/res-close.c: Include <stdlib.h>.
19660 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19661 <sys/wait.h>, <time.h>, <sys/uio.h>.
19662 (NOT_CANCEL_H): Add inclusion guard.
19663 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
19664 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19665 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19667 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19668 vm_address_t * to ElfW(Addr) * for dl_main parameter.
19669 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19671 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19672 timer_ptr2id to cast struct timer_node * to void *.
19673 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19674 --disable-libcilkrts to gcc configure.
19675 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19676 and make them the default for now.
19677 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19678 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
19679 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19680 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19681 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19683 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19684 __task_terminate would ever return successfully.
19685 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19687 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19688 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
19689 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19690 critical section to make code simpler and avoid warning.
19691 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19692 critical section to make code simpler and avoid warning.
19693 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19694 const char * instead of char *.
19695 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19696 __hurd_file_name_split, hurd_file_name_split,
19697 __hurd_directory_name_split, hurd_directory_name_split,
19698 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19699 hurd_file_name_path_lookup): Make lookup function parameter take a
19700 const char *name instead of char *name.
19701 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19702 __hurd_directory_name_split): Likewise.
19703 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19704 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
19705 * sysdeps/mach/hurd/check_native.c: New file.
19706 * sysdeps/mach/hurd/check_pf.c: New file.
19707 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19708 (__freeifaddrs): Define macro to freeifaddrs.
19709 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19710 * sysdeps/mach/libmachuser.abilist: New file.
19711 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19712 (do_test_bz20181): Rename accordingly.
19713 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
19714 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19716 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19717 version only if __USE_EXTERN_INLINES is defined.
19718 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19719 __hurd_sockfail): Likewise.
19720 (_hurd_fd_get): Always declare functions, and provide inline versions
19721 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19722 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19723 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19724 _hurd_port_set): Always declare functions, and provide inline versions
19725 only if __USE_EXTERN_INLINES and _LIBC are defined and
19727 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19728 _hurd_critical_section_unlock): Likewise.
19729 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19730 * __hurd_threadvar_location): Likewise.
19731 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19732 _hurd_userlink_clear): Likewise.
19733 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19734 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19735 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19736 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19737 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19738 __spin_lock_locked): Likewise.
19739 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19740 __spin_lock_locked): Likewise.
19741 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19742 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19743 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19744 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19745 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
19746 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19747 _POSIX_NO_TRUNC): Define to 0.
19748 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19749 check size against PTHREAD_STACK_MIN.
19750 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19751 IS_IN(libpthread)]: Include <sigsetops.h>.
19752 * mach/Makefile (user-interfaces): Add mach/gnumach.
19753 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19754 * sysdeps/mach/configure (mach_interface_list): Regenerate.
19755 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19756 instead of invalid -1.
19757 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19758 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19759 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19762 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
19764 * hurd/fcntl-internal.h: New file.
19766 2018-01-27 James Clarke <jrtc27@jrtc27.com>
19768 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19770 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19772 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19775 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19776 Build only shared objects.
19778 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19780 * README: Update for hppa.
19782 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19784 * sysdeps/sparc/fpu/libm-test-ulps: Update
19785 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
19787 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19791 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19794 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19795 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19796 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19797 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19800 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19803 * bits/types/__cancel_jmp_buf_tag.h: New file.
19804 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19805 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19806 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19807 * nptl/Makefile (headers): Add
19808 bits/types/__cancel_jmp_buf_tag.h.
19809 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19810 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19811 * sysdeps/nptl/pthread.h: Include
19812 <bits/types/__cancel_jmp_buf_tag.h>.
19813 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19815 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19817 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19820 * localedata/locales/uk_UA (mon): Renamed to...
19822 (alt_digits): "0" removed and then renamed to...
19824 (date_fmt): Definition changed not to use the alternative
19827 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
19829 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19830 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19831 * elf/elf.h (EF_RISCV_RVC): New define.
19832 (EF_RISCV_FLOAT_ABI): Likewise.
19833 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19834 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19835 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19836 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19837 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19839 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19841 2018-01-25 Andreas Schwab <schwab@suse.de>
19843 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19845 * sysdeps/gnu/configure: Regenerate.
19846 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19847 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19849 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19850 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19851 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19852 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19853 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19855 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19857 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
19858 URL, and run autoconf, make it the default for now.
19860 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19862 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19863 soft-float ColdFire configuration.
19865 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19866 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19867 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19869 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19872 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19874 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19876 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19879 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19880 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19881 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19884 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19887 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19888 Rename to __reserved and add comment.
19889 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19890 Rename to __reserved.
19892 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19894 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19895 i686-gnu configurations.
19896 (Context.run_builds): Include mig, gnumach and hurd in components
19898 (Context.checkout): Add mig, gnumach and hurd to components.
19899 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19901 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19902 (Config.build): Install gnumach headers, build mig and install
19903 hurd headers for 'gnu' OS.
19904 (Config.install_gnumach_headers): New function.
19905 (Config.install_hurd_headers): Likewise.
19906 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19907 when building for 'gnu' OS.
19909 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
19911 * manual/tunables.texi (Hardware Capability Tunables): Fix
19914 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
19916 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19917 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19918 (ALTMON_11, ALTMON_12): Improve documentation.
19919 * manual/time.texi (strftime): Likewise.
19921 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19924 * localedata/locales/pl_PL: Alternative month names added,
19925 primary month names are genitive now.
19926 * time/tst-strptime.c (day_tests): Actually use a genitive case
19927 of a month name in Polish language.
19929 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19932 * manual/locale.texi: Document ALTMON_1..12 constants for
19933 nl_langinfo. Specify when to use ALTMON instead of MON.
19934 * manual/time.texi (strftime, strptime): Document GNU extension
19935 permitting O modifier with %B and %b. Specify when to use
19938 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19941 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19942 names, define them as the same as abbreviated month names explicitly.
19943 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19944 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19945 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19946 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19947 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19948 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19949 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19950 _NL_WABALTMON_12): New enum constants.
19951 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19952 wab_alt_mon, and ab_alt_mon_defined members.
19953 (time_output): Output ab_alt_mon and wab_alt_mon members.
19954 (time_read): Read them, initialize them as copies of abmon and wabmon
19955 respectively if they are missing, initialize ab_alt_mon_defined.
19956 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19957 * locale/programs/locfile-kw.h: Regenerate.
19958 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19959 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19961 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19962 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19963 (__strftime_internal): Handle %Ob and %Oh formats.
19964 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19965 (__strptime_internal): Handle %Ob and %Oh formats.
19966 * time/tst-strptime.c (day_tests): Add more tests to parse different
19967 forms of month names including the new %Ob format specifier.
19969 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19972 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19973 define them as the same as primary full month names explicitly.
19974 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19975 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19976 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19977 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19978 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19979 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19980 _NL_WALTMON_12): New enum constants.
19981 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19982 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19984 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19985 walt_mon, and alt_mon_defined members.
19986 (time_output): Output alt_mon and walt_mon members.
19987 (time_read): Read them, initialize them as copies of mon and wmon
19988 respectively if they are missing, initialize alt_mon_defined.
19989 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19990 * locale/programs/locfile-kw.h: Regenerate.
19991 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19992 * localedata/tst-langinfo.c (map): Add tests for the new constants
19993 ALTMON_1 .. ALTMON_12.
19994 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19996 * time/strftime_l.c (f_altmonth): New macro.
19997 (__strftime_internal): Handle %OB format.
19998 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19999 (__strptime_internal): Handle %OB format.
20000 * time/tst-strptime.c (day_tests): Add tests to parse different forms
20001 of month names including the new %OB format specifier.
20003 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20006 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
20007 from ABORT_TRANSACTION.
20008 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
20009 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
20010 ABORT_TRANSACTION_IMPL): Likewise.
20011 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
20012 Linux code, but remove the code that aborts transactions.
20014 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20016 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
20018 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
20020 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
20021 in date: "2004-14-09" should be "2004-09-14".
20022 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
20023 "2003-15-09" should be "2003-09-15".
20025 2018-01-18 Arjun Shankar <arjun@redhat.com>
20031 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
20033 (_int_memalign): check for integer overflow before calling
20035 * malloc/tst-malloc-too-large.c: New test.
20036 * malloc/Makefile: Add tst-malloc-too-large.
20038 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
20040 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
20041 in date: "2017-24-07" should be "2017-07-24".
20042 * localedata/locales/mai_IN: Likewise.
20043 * localedata/locales/mai_NP: Likewise.
20045 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
20047 * po/ru.po: Update translations.
20049 2018-01-17 Joseph Myers <joseph@codesourcery.com>
20052 * sysdeps/hppa/backtrace.c: New file.
20054 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
20057 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
20058 align La_x86_64_retval to VEC_SIZE.
20060 2018-01-16 Joseph Myers <joseph@codesourcery.com>
20062 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
20063 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
20065 2018-01-16 Florian Weimer <fweimer@redhat.com>
20067 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
20068 Move tst-thread-exit-clobber ...
20069 [$(CXX)] (tests-unsupported): ... to here.
20071 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20073 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
20074 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
20075 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20076 (_dl_aarch64_cap_flags): Update.
20077 (_DL_HWCAP_COUNT): Update.
20079 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20081 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
20082 (_DL_HWCAP_LAST): Remove.
20083 (_DL_HWCAP_COUNT): Move to ...
20084 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20085 (_DL_HWCAP_COUNT): ... here.
20087 2018-01-16 Florian Weimer <fweimer@redhat.com>
20089 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
20090 mode with GNU extensions.
20092 2018-01-15 Alan Hayward <alan.hayward@arm.com>
20094 * elf/elf.h (NT_ARM_SVE): Define.
20096 2018-01-15 Florian Weimer <fweimer@redhat.com>
20099 * nptl/tst-minstack-throw.cc: New file.
20100 * nptl/Makefile (tests): Add tst-minstack-throw.
20101 (LDLIBS-tst-minstack-throw): Link with libstdc++.
20102 [!CXX] (tests-unsupported): Add tst-minstack-throw.
20104 2018-01-15 Joseph Myers <joseph@codesourcery.com>
20106 * scripts/build-many-glibcs.py (Context.checkout): Default
20107 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
20110 2018-01-13 Carlos O'Donell <carlos@redhat.com>
20113 * elf/elf.h (DF_1_STUB): Define.
20114 (DF_1_PIE): Define.
20116 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20119 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
20120 Do not add 0.5 to integer or out-of-range arguments.
20122 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20124 * po/bg.po: Update translations.
20125 * po/cs.po: Likewise.
20126 * po/de.po: Likewise.
20127 * po/ko.po: Likewise.
20128 * po/pl.po: Likewise.
20129 * po/sv.po: Likewise.
20130 * po/uk.po: Likewise.
20131 * po/vi.po: Likewise.
20133 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20135 * aarch64/start.S (_start): Use __wrap_main.
20136 (__wrap_main): New local symbol.
20138 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20142 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
20143 generic_getcwd if the path returned by getcwd syscall is not absolute.
20144 * io/tst-getcwd-abspath.c: New test.
20145 * io/Makefile (tests): Add tst-getcwd-abspath.
20147 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
20149 * malloc/malloc.c (malloc_consolidate): Add size check.
20151 2018-01-12 Florian Weimer <fweimer@redhat.com>
20153 * support/write_message.c (write_message): Preserve errno.
20154 * support/check.c (print_failure): Likewise.
20155 * support/support_test_verify_impl.c (support_test_verify_impl):
20157 * support/support_test_compare_failure.c
20158 (support_test_compare_failure): Likewise.
20160 2018-01-12 Florian Weimer <fweimer@redhat.com>
20163 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
20164 Prevent installation of libnsl.so.
20165 (libnsl-inhibit-o): Do not build (or install) static libraries.
20167 2018-01-12 Egmont Koblinger <egmont@gmail.com>
20170 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
20171 before the day number which may produce a double space.
20172 (date_fmt): Likewise.
20174 2018-01-12 Joseph Myers <joseph@codesourcery.com>
20176 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
20177 instead of fegetenv.
20179 2018-01-11 Joseph Myers <joseph@codesourcery.com>
20182 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
20183 comment to say exceptions are discarded.
20184 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
20186 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
20189 2018-01-11 Florian Weimer <fweimer@redhat.com>
20191 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
20194 2018-01-11 Florian Weimer <fweimer@redhat.com>
20197 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
20198 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
20200 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20203 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
20204 negative arguments in test for NaN or infinity argument.
20206 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
20208 * po/libc.pot: Regenerate.
20210 2018-01-10 Florian Weimer <fweimer@redhat.com>
20213 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
20214 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
20216 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20218 * hurd/hurd/fd.h: Include <fcntl.h>
20219 (__hurd_at_flags): New function.
20220 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
20221 with call to __hurd_at_flags.
20222 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
20223 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
20225 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
20226 (__access_noerrno): Use __faccessat_common instead of access_common.
20227 (__access): Likewise.
20228 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
20229 with a call to __faccessat.
20230 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
20231 (__faccessat_common): ... this. Move implementation of __access into it when
20232 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
20233 reauthenticate_cwdir_at helper to implement AT mechanism.
20234 (__faccessat_noerrno): New function, just calls __faccessat_common.
20235 (__faccessat): New function, just calls __faccessat_common.
20236 (faccessat): Define weak alias.
20238 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20241 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20242 (CFLAGS-s_fmaxmagl.c): New variable.
20243 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
20246 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
20247 long int for arguments of possibly overflowing addition or
20249 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20251 2018-01-09 Joseph Myers <joseph@codesourcery.com>
20254 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20255 (CFLAGS-e_remainderl.c): New variable.
20258 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
20260 (CFLAGS-s_cacoshl.c): Likewise.
20261 (CFLAGS-s_casinhl.c): Likewise.
20262 (CFLAGS-s_catanl.c): Likewise.
20263 (CFLAGS-s_catanhl.c): Likewise.
20264 (CFLAGS-s_cexpl.c): Likewise.
20265 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
20266 (CFLAGS-s_csinhl.c): Likewise.
20267 (CFLAGS-s_clogl.c): Likewise.
20268 (CFLAGS-s_clog10l.c): Likewise.
20269 (CFLAGS-s_csinl.c): Likewise.
20270 (CFLAGS-s_csqrtl.c): Likewise.
20272 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
20273 2017-01-09 Svante Signell <svante.signell@gmail.com>
20275 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
20276 (_hurd_exec_paths): New function.
20277 * hurd/hurd.h (_hurd_exec): Deprecate function.
20278 (_hurd_exec_paths): Declare function.
20279 * hurd/Versions: Export _hurd_exec_paths.
20280 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
20281 (__execve): Use __getcwd to build absolute path, and use
20282 _hurd_exec_paths instead of _hurd_exec.
20283 * sysdeps/mach/hurd/spawni.c: Likewise.
20284 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
20287 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
20289 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
20290 test instead of failing in case of ENOENT returned by posix_openpt.
20292 2018-01-08 Florian Weimer <fweimer@redhat.com>
20294 resolv: Support binary labels in test framework.
20295 * support/resolv_test.c (struct to_be_freed): Remove.
20296 (struct compressed_name): New.
20297 (allocate_compressed_name, ascii_tolower)
20298 (compare_compressed_name): New functions.
20299 (struct resolv_response_builder): Update type of
20300 compression_offsets for use with tsearch. Rempve to_be_freed.
20301 (response_push_pointer_to_free): Remove function.
20302 (resolv_response_add_name): Rewrite using struct compressed_name
20303 and tsearch instead of hsearch_r.
20304 (response_builder_allocate): Remove initialization of
20305 compression_offsets.
20306 (response_builder_free): Update for removal of to_be_freed. Use
20307 tdestroy instead of hdestroy_r.
20308 * resolv/Makefile (tests): Add tst-resolv-binary.
20309 (tst-resolv-binary): Link with -lresolv -lpthread.
20311 2018-01-08 Florian Weimer <fweimer@redhat.com>
20313 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
20314 time. Pass positive flag instead of negative flag to
20315 support_test_compare_failure.
20316 (support_test_compare_failure): Change negative parameter to
20318 * support/support_test_compare_failure.c (report)
20319 (support_test_compare_failure): Likewise.
20320 * support/tst-test_compare.c (return_ssize_t, return_int): New.
20321 (do_test): Check int/size_t, ssize_t/size_t comparisons.
20323 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
20326 * nptl/descr.h (stackblock, stackblock_size): Update comments.
20327 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
20328 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
20330 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20332 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
20334 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20335 Add s_sincosf-sse2 and s_sincosf-fma.
20336 (CFLAGS-s_sincosf-fma.c): New.
20337 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
20338 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
20339 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
20340 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
20341 __sincosf is defined.
20343 2018-01-08 Florian Weimer <fweimer@redhat.com>
20345 * nptl/tst-thread-exit-clobber.cc: New file.
20346 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
20348 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
20349 (tests): Add tst-thread-exit-clobber.
20350 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
20352 2018-01-08 Florian Weimer <fweimer@redhat.com>
20354 * support/check.h (support_static_assert): Define.
20355 (TEST_COMPARE): Use it.
20357 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
20359 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
20360 [!__RLIM_T_MATCHES_RLIM64_T]
20361 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
20362 __getrlimit64. Add libc_hidden_weak.
20364 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
20366 * elf/elf.h (R_RISCV_NONE): New define.
20367 (R_RISCV_32): Likewise.
20368 (R_RISCV_64): Likewise.
20369 (R_RISCV_RELATIVE): Likewise.
20370 (R_RISCV_COPY): Likewise.
20371 (R_RISCV_JUMP_SLOT): Likewise.
20372 (R_RISCV_TLS_DTPMOD32): Likewise.
20373 (R_RISCV_TLS_DTPMOD64): Likewise.
20374 (R_RISCV_TLS_DTPREL32): Likewise.
20375 (R_RISCV_TLS_DTPREL64): Likewise.
20376 (R_RISCV_TLS_TPREL32): Likewise.
20377 (R_RISCV_TLS_TPREL64): Likewise.
20378 * Makerules (make-link-multidir): Make directories before linking into
20380 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
20382 (VDSO_HASH_LINUX_4_15): Likewise.
20383 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
20384 in subdirectories of lib.
20385 * nptl/Makefile (/librt.so): Always depend on
20386 "$(shared-thread-library)".
20388 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20390 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
20391 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
20392 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
20394 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
20395 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20397 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
20398 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
20399 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
20400 * sysdeps/gnu/glob-lstat-compat.c: New file.
20401 * sysdeps/gnu/glob64-lstat-compat.c: New file.
20402 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
20404 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20406 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20407 Reserve 16 chars to reloc_addr before calling _itoa_word.
20409 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20412 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20413 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20415 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20416 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20418 * resource/tst-getrlimit.c: Add copyright header.
20420 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20421 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20423 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20424 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20425 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20426 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20428 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20429 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20430 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20431 RLIM64_INFINITY): Fix values to match the kernel ones.
20432 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20433 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20434 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20435 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20436 getrlimit64@@GLIBC_2_27.
20437 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20439 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20440 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20441 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20442 setrlimit, getrlimit64 and setrlimit64.
20444 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20447 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20448 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20450 2018-01-04 Joseph Myers <joseph@codesourcery.com>
20452 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20453 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20454 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20456 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20460 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20461 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20465 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20466 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20467 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20468 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20470 2018-01-04 Florian Weimer <fweimer@redhat.com>
20473 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20474 Align the stack before calling exit.
20475 * stdlib/tst-makecontext-align.c: New file.
20476 * stdlib/Makefile (tests): Add tst-makecontext-align.
20478 2018-01-04 Florian Weimer <fweimer@redhat.com>
20480 Add support for calling dlvsym from libc.so.
20481 * include/dlfcn.h (__libc_dlvsym): Declare.
20482 * elf/Makefile (tests-static-internal): Add
20483 tst-libc_dlvsym-static.
20484 (tests-internal): Add tst-libc_dlvsym.
20485 (modules-names): Add tst-libc_dlvsym-dso.
20486 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20487 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20488 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20489 object tst-libc_dlvsym-dso.so needs to be built before running
20491 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20492 * elf/Versions: Export __libc_dlvsym.
20493 * elf/dl-libc.c (struct do_dlvsym_args): New.
20494 (do_dlvsym, __libc_dlvsym): New functions.
20495 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20496 (_dl_open_hook2): New variable.
20497 (__libc_register_dl_open_hook): Set it.
20498 * elf/tst-libc_dlvsym-dso.c: New file.
20499 * elf/tst-libc_dlvsym-static.c: Likewise.
20500 * elf/tst-libc_dlvsym.c: Likewise.
20501 * elf/tst-libc_dlvsym.h: Likewise.
20503 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20505 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20506 include <sys/mount.h>.
20508 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20510 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20511 Add __NO_MATH_ERRNO__ check.
20513 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20515 * sysdeps/mips/mips32/libm-test-ulps: Update.
20516 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20518 2018-01-02 Florian Weimer <fweimer@redhat.com>
20520 * misc/tst-pselect.c: Add copyright header.
20522 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20524 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20526 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20528 (settrlimit): Rename into setrlimit.
20529 (__sttrlimit): Rename into __setrlimit.
20531 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20532 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20533 never defined in that case.
20535 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20537 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20539 * sysdeps/arm/libm-test-ulps: Update.
20541 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20542 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20544 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20546 * NEWS: Add cosf and sincosf to list of optimized functions.
20548 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20551 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20552 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20553 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20554 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20556 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20559 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20561 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20562 making a copy of it.
20564 2018-01-01 Joseph Myers <joseph@codesourcery.com>
20566 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20567 trailing whitespace removed.
20568 * scripts/config.guess: Update to version 2018-01-01.
20569 * scripts/config.sub: Update to version 2018-01-01.
20570 * scripts/move-if-change: Update from gnulib.
20572 * NEWS: Update copyright dates.
20573 * catgets/gencat.c (print_version): Likewise.
20574 * csu/version.c (banner): Likewise.
20575 * debug/catchsegv.sh: Likewise.
20576 * debug/pcprofiledump.c (print_version): Likewise.
20577 * debug/xtrace.sh (do_version): Likewise.
20578 * elf/ldconfig.c (print_version): Likewise.
20579 * elf/ldd.bash.in: Likewise.
20580 * elf/pldd.c (print_version): Likewise.
20581 * elf/sotruss.sh: Likewise.
20582 * elf/sprof.c (print_version): Likewise.
20583 * iconv/iconv_prog.c (print_version): Likewise.
20584 * iconv/iconvconfig.c (print_version): Likewise.
20585 * locale/programs/locale.c (print_version): Likewise.
20586 * locale/programs/localedef.c (print_version): Likewise.
20587 * login/programs/pt_chown.c (print_version): Likewise.
20588 * malloc/memusage.sh (do_version): Likewise.
20589 * malloc/memusagestat.c (print_version): Likewise.
20590 * malloc/mtrace.pl: Likewise.
20591 * manual/libc.texinfo: Likewise.
20592 * nptl/version.c (banner): Likewise.
20593 * nscd/nscd.c (print_version): Likewise.
20594 * nss/getent.c (print_version): Likewise.
20595 * nss/makedb.c (print_version): Likewise.
20596 * posix/getconf.c (main): Likewise.
20597 * scripts/test-installation.pl: Likewise.
20598 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20600 * All files with FSF copyright notices: Update copyright dates
20601 using scripts/update-copyrights.
20602 * locale/programs/charmap-kw.h: Regenerated.
20603 * locale/programs/locfile-kw.h: Likewise.
20605 2017-12-31 Zack Weinberg <zackw@panix.com>
20607 * libio/bits/libio-ldbl.h: Correct check for improper
20608 inclusion. Add own multiple include guard.
20610 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20611 Dmitry V. Levin <ldv@altlinux.org>
20615 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20616 string token expansion. Check for NULL pointer or empty string possibly
20617 returned by expand_dynamic_string_token.
20618 (decompose_rpath): Check for empty path after dynamic string
20621 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20624 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20626 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20627 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20628 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20629 and PTRACE_SYSCALL.
20630 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20631 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20632 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20633 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20634 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20635 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20637 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20638 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20639 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20640 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20642 bits/ptrace-shared.h.
20643 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20644 <bits/ptrace-shared.h>.
20645 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20646 __ptrace_peeksiginfo_flags, ptrace): Remove.
20647 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20648 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20649 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20650 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20651 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20653 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20656 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20657 end of the loop. Improve comments.
20659 2017-12-29 Zack Weinberg <zackw@panix.com>
20662 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20663 might be set on success.
20665 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20668 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20669 is unchanged on success.
20671 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20673 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20675 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20676 expand_dynamic_string_token): Likewise.
20677 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20680 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20683 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20684 is set and name contains ':', and all code depending on these checks.
20686 2017-12-24 Zack Weinberg <zackw@panix.com>
20688 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20689 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20691 * libio/libio.h: Rename the original version of this file to
20692 libio/bits/libio.h. Error out if not included by stdio.h or the
20694 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20695 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20696 if not included by bits/libio.h or the stub _G_config.h.
20697 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20698 sysdeps/unix/sysv/linux/bits. Error out if not included by
20699 bits/libio.h or the stub _G_config.h.
20700 * libio/stdio.h: Include bits/libio.h, not libio.h.
20701 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20702 well as libio.h and _G_config.h.
20704 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20705 * libio/strfile.h, stdio-common/vfscanf.c
20706 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20707 Include stdio.h, not _G_config.h nor libio.h.
20708 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20709 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20711 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20713 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20716 * stdlib/getrandom.c (getrandom): Fix comment.
20717 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20719 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
20722 * manual/arith.texi (strtoul): Fix a typo.
20725 * manual/arith.texi (finite): Fix the description of the return
20728 2017-12-22 Eric Blake <ebb9@byu.net>
20730 Avoid gcc warnings on cygwin
20731 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20732 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20733 Avoid unused variable.
20735 2017-12-22 Florian Weimer <fweimer@redhat.com>
20737 * io/Makefile (routines): Add copy_file_range.
20738 (tests): Add tst-copy_file_range.
20739 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20740 * io/Versions (GLIBC_2.27): Export copy_file_range.
20741 * io/copy_file_range-compat.c: New file.
20742 * io/copy_file_range.c: Likewise.
20743 * io/tst-copy_file_range-compat.c: Likewise.
20744 * io/tst-copy_file_range.c: Likewise.
20745 * manual/llio.texi (Copying File Data): New section.
20746 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20747 * support/Makefile (libsupport-routines): Add support-xfstat,
20748 xftruncate, xlseek.
20749 * support/support-xfstat.c: New file.
20750 * support/xftruncate.c: Likewise.
20751 * support/xlseek.c: Likewise.
20752 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20753 * sysdeps/unix/sysv/linux/**.abilist: Update.
20754 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20756 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20758 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20759 disable-multi-arch variant to aarch64-linux-gnu.
20761 2017-12-20 Joseph Myers <joseph@codesourcery.com>
20763 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20764 trailing whitespace removed.
20765 * scripts/config.guess: Update to version 2017-12-17.
20766 * scripts/config.sub: Update to version 2017-11-23.
20767 * scripts/install-sh: Update to version 2017-09-23.17.
20768 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20770 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20772 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20773 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20774 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20775 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20776 * sysdeps/tile/crtn.S: Likewise.
20777 * sysdeps/tile/dl-start.S (_start): Likewise.
20778 * sysdeps/tile/dl-trampoline.S: Likewise.
20779 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20780 * sysdeps/tile/start.S (_start): Likewise.
20781 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20782 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20783 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20784 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20785 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20786 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20787 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20789 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20791 * sysdeps/tile/preconfigure: Remove tilegx folder.
20792 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20793 * sysdeps/tile/Implies: ... here.
20794 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20795 * sysdeps/tile/Makefile: ... here.
20796 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20797 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20798 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20799 * sysdeps/tile/bits/wordsize.h: ... here.
20800 * sysdeps/tile/tilegx/*: Move to ...
20801 * sysdeps/tile/*: ... here.
20802 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20803 * sysdeps/tile/tilegx32/Implies: ... here.
20804 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20805 * sysdeps/tile/tilegx64/Implies: ... here.
20806 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20808 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20809 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20810 * sysdeps/unix/sysv/linux/tile/*: ... here.
20811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20812 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20814 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20816 * README: Remove tilepro-*-linux-gnu from supported architecture.
20817 * scripts/build-many-glibcs.py: Likewise.
20818 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20819 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20820 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20821 elf_machine_matches_host, elf_machine_dynamic,
20822 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20823 howto, elf_machine_rela): Likewise.
20824 * sysdeps/tile/dl-start.S (_start): Likewise.
20825 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20826 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20827 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20828 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20829 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20830 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20832 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20833 * sysdeps/tile/preconfigure: Likewise.
20834 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20835 POINTER_CHK_GUARD): Likewise.
20836 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20837 * sysdeps/tile/start.S (_start): Likewise.
20838 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20840 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20841 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20843 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20844 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20845 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20847 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20848 * sysdeps/tile/tilepro/Implies: Remove file.
20849 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20850 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20851 * sysdeps/tile/tilepro/memchr.c: Likewise.
20852 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20853 * sysdeps/tile/tilepro/memset.c: Likewise.
20854 * sysdeps/tile/tilepro/memusage.h: Likewise.
20855 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20856 * sysdeps/tile/tilepro/strchr.c: Likewise.
20857 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20858 * sysdeps/tile/tilepro/strlen.c: Likewise.
20859 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20860 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20861 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20862 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20863 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20864 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20865 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20867 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20868 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20869 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20870 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20871 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20872 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20873 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20874 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20875 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20876 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20877 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20878 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20879 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20880 tilepro mention in comment.
20882 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20883 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20884 * nptl/pthread_join_common.c: New file: common function used on
20885 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20886 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20887 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20888 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20889 (cleanup): Move definition to pthread_join_common.c.
20890 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20891 Remove superflous checks.
20892 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20895 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20897 * sysdeps/aarch64/libm-test-ulps: Update.
20899 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20901 * sysdeps/aarch64/memset.S (MEMSET): Define.
20903 2017-12-20 Florian Weimer <fweimer@redhat.com>
20906 nptl: Provide full implementation of pthread_self in libc.so.
20907 * nptl/Makefile (routines): Add pthread_self.
20908 (libpthread-routines): Replace pthread_self with
20909 compat-pthread_self.
20910 * nptl/forward.c (pthread_self): Remove.
20911 * nptl/nptl-init.c (pthread_functions): Do not initialize
20913 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20914 * nptl/compat-pthread_self.c: New file.
20915 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20916 Remove ptr_pthread_self.
20918 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20920 * posix/regcomp.c: Fix spelling in comments.
20921 * posix/regex.h: Likewise.
20922 * posix/regex_internal.c: Likewise.
20923 * posix/regexec.c: Likewise.
20925 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20928 * math/Makefile [C++] (tests): Add test for iseqsig.
20929 * math/math.h [C++] (iseqsig): New implementation, which does
20930 not rely on __MATH_TG/__builtin_types_compatible_p.
20931 * math/test-math-iseqsig.cc: New file.
20932 * sysdeps/powerpc/powerpc64le/Makefile
20933 (CFLAGS-test-math-iseqsig.cc): New variable.
20935 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20937 * elf/dl-load.c (is_trusted_path): Remove.
20938 (fillin_rpath): Remove check_trusted argument and its use,
20939 all callers changed.
20941 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20944 * Makeconfig (link-pie-before-libc): Replace -pie with
20945 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20946 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20947 (tst-dlopen-aout-no-pie): New.
20948 (LDFLAGS-tst-prelink): Removed.
20949 (tst-prelink-no-pie): New.
20950 (LDFLAGS-tst-main1): Removed.
20951 (tst-main1-no-pie): New.
20952 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20953 (tst-gmon-no-pie): New.
20955 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20957 * manual/install.texi: Document that --enable-static-pie
20959 * INSTALL: Regenerated.
20961 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20964 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20967 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20971 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20975 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20977 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20978 <errno.h>. Include "eexp.tbl".
20979 (half): New constant.
20981 (__ieee754_exp): Rewrite.
20982 (__slowexp): Remove prototype.
20983 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20984 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20985 * sysdeps/i386/fpu/slowexp.c: Likewise.
20986 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20987 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20988 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20989 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20990 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20991 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20992 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20994 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20995 (CPPFLAGS-slowexp.c): Remove variable.
20996 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20997 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20998 (CFLAGS-slowexp-fma.c): Remove variable.
20999 (CFLAGS-slowexp-fma4.c): Likewise.
21000 (CFLAGS-slowexp-avx.c): Likewise.
21001 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21003 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21004 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21005 * math/Makefile (type-double-routines): Remove slowexp.
21006 * manual/probes.texi (slowexp_p6): Remove.
21007 (slowexp_p32): Likewise.
21009 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21011 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
21014 * lib/glob.c (glob): Do not pass NULL to mempcpy.
21016 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21020 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21022 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21023 <errno.h>. Include "eexp.tbl".
21024 (half): New constant.
21026 (__ieee754_exp): Rewrite.
21027 (__slowexp): Remove prototype.
21028 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21029 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21030 * sysdeps/i386/fpu/slowexp.c: Likewise.
21031 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21032 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21033 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21034 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21035 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21036 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21037 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21039 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21040 (CPPFLAGS-slowexp.c): Remove variable.
21041 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21042 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21043 (CFLAGS-slowexp-fma.c): Remove variable.
21044 (CFLAGS-slowexp-fma4.c): Likewise.
21045 (CFLAGS-slowexp-avx.c): Likewise.
21046 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21048 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21049 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21050 * math/Makefile (type-double-routines): Remove slowexp.
21051 * manual/probes.texi (slowexp_p6): Remove.
21052 (slowexp_p32): Likewise.
21054 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21055 James Clarke <jrtc27@jrtc27.com>
21058 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
21061 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21064 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
21067 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21070 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21071 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21072 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21073 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21076 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21079 * bits/types/__cancel_jmp_buf_tag.h: New file.
21080 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21081 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21082 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21083 * nptl/Makefile (headers): Add
21084 bits/types/__cancel_jmp_buf_tag.h.
21085 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21086 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21087 * sysdeps/nptl/pthread.h: Include
21088 <bits/types/__cancel_jmp_buf_tag.h>.
21089 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21091 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21093 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21095 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21096 --enable-static-pie variants to x86_64, x32 and i686.
21098 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21101 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
21102 argument for attrubutes. All callers changed.
21103 (__inline_mathop1): Likewise. All callers changed.
21104 (__inline_mathop): Likewise. All callers changed.
21105 [__USE_MISC] (scalbn): Use __inline_forward instead of
21106 __inline_forward_c.
21107 [__USE_ISOC99] (scalbln): Likewise.
21108 [__USE_ISOC99] (nearbyint): Likewise.
21109 [__USE_ISOC99] (lrint): Likewise.
21110 [__USE_MISC] (scalbnf): Likewise.
21111 [__USE_ISOC99] (scalblnf): Likewise.
21112 [__USE_ISOC99] (nearbyintf): Likewise.
21113 [__USE_ISOC99] (lrintf): Likewise.
21114 [__USE_MISC] (scalbnl): Likewise.
21115 [__USE_ISOC99] (scalblnl): Likewise.
21116 [__USE_ISOC99] (nearbyintl): Likewise.
21117 [__USE_ISOC99] (lrintl): Likewise.
21118 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
21119 __inline_mathop and __m81_defun changed.
21121 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
21122 CPU or FPU for ARM hard-float configurations.
21124 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21126 * nptl/tst-attr3.c: Include <libc-diag.h>.
21127 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
21129 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
21131 * string/tester.c (test_strncat): Also disable -Warray-bounds
21132 warnings for two tests.
21134 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21137 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
21138 $(cc-pie-default) == yes.
21139 * config.make.in (cc-pie-default): New.
21140 * configure.ac (libc_cv_pie_default): Renamed to ...
21141 (libc_cv_cc_pie_default): This.
21142 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
21143 * configure: Regenerated.
21145 2017-12-18 Florian Weimer <fweimer@redhat.com>
21148 ld.so: Harden dl-libc/libdl hooks.
21149 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
21150 (rtld_active): New function.
21151 * dlfcn/dladdr.c (__dladdr): Call it.
21152 * dlfcn/dladdr1.c (__dladdr1): Likewise.
21153 * dlfcn/dlclose.c (__dlcose): Likewise.
21154 * dlfcn/dlerror.c (__dlerror): Likewise.
21155 * dlfcn/dlinfo.c (__dlinfo): Likewise.
21156 * dlfcn/dlmopen.c (__dlmopen): Likewise.
21157 * dlfcn/dlopen.c (__dlopen): Likewise.
21158 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21159 * dlfcn/dlsym.c (__dlsym): Likewise.
21160 * dlfcn/dlvsym.c (__dlvsym): Likewise.
21161 * libio/vtables.c (_IO_vtable_check): Likewise.
21162 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
21163 (__libc_dlclose): Likewise.
21164 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
21167 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21170 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
21171 buffers for readlink input and output.
21173 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
21176 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
21177 inhibit_stack_protector.
21180 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
21181 inhibit_stack_protector.
21183 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
21186 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
21187 code and invocation.
21189 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
21191 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
21193 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
21196 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
21198 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21200 * sysdeps/s390/fpu/libm-test-ulps: Update.
21202 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21206 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21208 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
21209 constants to s_sincosf.h file.
21210 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21211 * sysdeps/ieee754/flt-32/s_sincosf.c: New
21213 * sysdeps/ieee754/flt-32/s_sincosf.h:
21216 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21219 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
21222 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
21225 * INSTALL: Regenerated.
21226 * Makeconfig (real-static-start-installed-name): New.
21227 (pic-default): Updated for --enable-static-pie.
21228 (pie-default): New for --enable-static-pie.
21229 (default-pie-ldflag): Likewise.
21230 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
21231 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
21232 Replace $(static-start-installed-name) with
21233 $(real-static-start-installed-name).
21234 (+prectorT): Updated for --enable-static-pie.
21235 (+postctorT): Likewise.
21236 (CFLAGS-.o): Add $(pie-default).
21237 (CFLAGS-.op): Likewise.
21238 * NEWS: Mention --enable-static-pie.
21239 * config.h.in (ENABLE_STATIC_PIE): New.
21240 * configure.ac (--enable-static-pie): New configure option.
21241 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
21242 (have-static-pie): Likewise.
21243 Enable static PIE if linker supports --no-dynamic-linker.
21244 (ENABLE_STATIC_PIE): New AC_DEFINE.
21245 (enable-static-pie): New LIBC_CONFIG_VAR.
21246 * configure: Regenerated.
21247 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
21248 gr$(start-installed-name) for --enable-static-pie.
21249 (extra-objs): Likewise.
21250 (install-lib): Likewise.
21251 (extra-objs): Add static-reloc.o and static-reloc.os
21252 ($(objpfx)$(start-installed-name)): Also depend on
21253 $(objpfx)static-reloc.o.
21254 ($(objpfx)r$(start-installed-name)): New.
21255 ($(objpfx)g$(start-installed-name)): Also depend on
21256 $(objpfx)static-reloc.os.
21257 ($(objpfx)gr$(start-installed-name)): New.
21258 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
21260 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
21262 * csu/static-reloc.c: New file.
21263 * elf/Makefile (routines): Add dl-reloc-static-pie.
21264 (elide-routines.os): Likewise.
21265 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
21266 (tst-tls1-static-non-pie-no-pie): New.
21267 * elf/dl-reloc-static-pie.c: New file.
21268 * elf/dl-support.c (_dl_get_dl_main_map): New function.
21269 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
21270 STATIC_PIE_BOOTSTRAP.
21271 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21272 * gmon/Makefile (tests): Add tst-gmon-static-pie.
21273 (tests-static): Likewise.
21274 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
21275 (tst-gmon-static-no-pie): New.
21276 (CFLAGS-tst-gmon-static-pie.c): Likewise.
21277 (CRT-tst-gmon-static-pie): Likewise.
21278 (tst-gmon-static-pie-ENV): Likewise.
21279 (tests-special): Likewise.
21280 ($(objpfx)tst-gmon-static-pie.out): Likewise.
21281 (clean-tst-gmon-static-pie-data): Likewise.
21282 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
21283 * gmon/tst-gmon-static-pie.c: New file.
21284 * manual/install.texi: Document --enable-static-pie.
21285 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
21286 (_dl_get_dl_main_map): Likewise.
21287 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
21288 * sysdeps/x86_64/configure.ac: Likewise.
21289 * sysdeps/i386/configure: Regenerated.
21290 * sysdeps/x86_64/configure: Likewise.
21291 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
21292 (ASFLAGS-.op): Likewise.
21294 2017-12-15 Joseph Myers <joseph@codesourcery.com>
21296 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
21297 * posix/tst-mmap-offset.c (fname): Use /tmp.
21298 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
21300 2017-12-15 Steve Ellcey <sellcey@cavium.com>
21302 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
21304 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
21306 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
21309 2017-12-15 Joseph Myers <joseph@codesourcery.com>
21311 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
21312 --with-float=hard for arm-linux-gnueabihf configurations.
21315 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
21316 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
21317 ($(mo-installed)): Use $(objpfx)%.mo.
21318 (realclean): Remove rule.
21320 * po/Makefile (linguas): Remove rule and dependencies.
21321 (linguas.mo): Likewise.
21322 (.PHONY): Do not depend on linguas and linguas.mo.
21323 (podir): Remove variable.
21324 (pofiles): Likewise.
21325 [$(pofiles)] (%.po): Remove rule.
21327 * sysdeps/sparc/sparc32/Makefile
21328 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
21329 start-of-line whitespace in argument of echo.
21330 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
21331 with whitespace. Generate __wrap_.udiv alias.
21332 * sysdeps/sparc/sparc32/rem.S: Regenerated.
21333 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21334 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21335 * sysdeps/sparc/sparc32/urem.S: Likewise.
21337 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21339 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
21340 for aligned inputs.
21342 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
21344 * benchtests/bench-strcmp.c: Print output in JSON format.
21346 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
21348 2017-12-14 Florian Weimer <fweimer@redhat.com>
21352 * elf/dl-load.c (_dl_init_paths): Compute number of components in
21353 the expanded path string.
21355 2017-12-14 Florian Weimer <fweimer@redhat.com>
21359 * elf/dl-load.c (system_dirs): Update comment.
21360 (nsystem_dirs_len): Use array_length.
21361 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
21363 2017-12-14 Florian Weimer <fweimer@redhat.com>
21365 Simplify compiling most of support/ outside of glibc.
21366 * support/check_addrinfo.c: Include <string.h>.
21367 * support/check_dns_packet.c: Likewise.
21368 * support/check_hostent.c: Likewise.
21369 * support/support_can_chroot.c: Include <support/xunistd.h>.
21370 * support/support_format_addrinfo.c: Include <stdlib.h>
21371 * support/support_format_dns_packet.c: Include <stdbool.h>.
21372 * support/support_format_hostent.c: Include <stdlib.h>.
21373 * support/support_format_netent.c: Likewise.
21374 * support/support_write_string.c: Include <support/xunistd.h>.
21375 * support/xdlfcn.c: Include <stddef.h>.
21377 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
21379 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
21381 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21382 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21384 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21385 (sysdeps_routines): Add memset-niagara7.
21386 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
21388 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
21390 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
21391 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21392 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
21393 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
21394 Add niagara7 option.
21395 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
21398 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21399 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
21400 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21402 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21404 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21405 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21406 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21407 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21408 and __memmove_niagara7.
21409 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21410 Add niagara7 option.
21411 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21412 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21413 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21414 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21415 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21417 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21419 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21420 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21421 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21422 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21424 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21425 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21426 _dl_sparc_cap_flags array.
21427 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21429 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21431 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21432 time whenever possible.
21434 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21436 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21437 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21439 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21441 * soft-fp/fmadf4.c: Move to ....
21442 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21443 * soft-fp/fmasf4.c: Move to ....
21444 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21445 * soft-fp/fmatf4.c: Move to ....
21446 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21447 * sysdeps/ieee754/soft-fp/Makefile: New file.
21448 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21449 * sysdeps/arm/preconfigure: Regenerated.
21450 * sysdeps/arm/nofpu/Implies: New file.
21451 * sysdeps/arm/s_fma.c: Remove file.
21452 * sysdeps/arm/s_fmaf.c: Likewise.
21453 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21454 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21455 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21456 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21457 * sysdeps/microblaze/s_fma.c: Remove file.
21458 * sysdeps/microblaze/s_fmaf.c: Likewise.
21459 * sysdeps/mips/mips32/nofpu/Implies: New file.
21460 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21461 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21462 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21463 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21464 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21465 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21466 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21468 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21469 * sysdeps/nios2/s_fma.c: Remove file.
21470 * sysdeps/nios2/s_fmaf.c: Likewise.
21471 * sysdeps/sh/nofpu/Implies: New file.
21472 * sysdeps/sh/s_fma.c: Remove file.
21473 * sysdeps/sh/s_fmaf.c: Likewise.
21474 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21475 * sysdeps/tile/s_fma.c: Remove file.
21476 * sysdeps/tile/s_fmaf.c: Likewise.
21478 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21480 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21481 Add s_cosf-sse2 and s_cosf-fma.
21482 (CFLAGS-s_cosf-fma.c): New.
21483 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21484 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21485 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21487 2017-12-12 Steve Ellcey <sellcey@cavium.com>
21489 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21491 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21493 * libio/Makefile (tests): Add tst-bz22415.
21494 (tst-bz22415-ENV): New rule.
21495 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21496 (tests-special): Add tst-bz22415-mem.out.
21497 ($(objpfx)tst-bz22415-mem.out): New rule.
21498 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21499 in case of a successful seek operation.
21500 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21501 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21502 buffer is required.
21503 * libio/tst-bz22415.c: New test.
21505 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21507 2017-12-12 James Clarke <jrtc27@jrtc27.com>
21509 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21510 __IPC_64 to 0 to avoid IPC_64 being set.
21512 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21515 * math/bits/mathcalls.h (nextafter): Remove const.
21516 (nexttoward): Likewise.
21518 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21520 * configure.ac (--with-fp): Remove configure option.
21521 (with_fp_cond): New variable.
21522 (libc_cv_with_fp): New configure test. Use this variable instead
21524 * configure: Regenerated.
21525 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21526 * manual/install.texi (Configuring and compiling): Remove
21528 * INSTALL: Regenerated.
21529 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21530 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21531 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21532 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21533 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21534 use --without-fp to configure glibc.
21536 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
21538 * manual/locale.texi (nl_langinfo): Fix a typo.
21540 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
21543 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21545 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21547 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21548 (CFLAGS-argp-parse.c): Likewise.
21549 (CFLAGS-argp-fmtstream.c): Likewise.
21550 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21551 (CPPFLAGS-sha512-crypt.c): Likewise.
21552 (CPPFLAGS-md5-crypt.c): Likewise.
21553 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21554 (CFLAGS-stack_chk_fail_local.c): Likewise.
21555 (CFLAGS-backtrace.c): Likewise.
21556 (CFLAGS-sprintf_chk.c): Likewise.
21557 (CFLAGS-snprintf_chk.c): Likewise.
21558 (CFLAGS-vsprintf_chk.c): Likewise.
21559 (CFLAGS-vsnprintf_chk.c): Likewise.
21560 (CFLAGS-asprintf_chk.c): Likewise.
21561 (CFLAGS-vasprintf_chk.c): Likewise.
21562 (CFLAGS-obprintf_chk.c): Likewise.
21563 (CFLAGS-dprintf_chk.c): Likewise.
21564 (CFLAGS-vdprintf_chk.c): Likewise.
21565 (CFLAGS-printf_chk.c): Likewise.
21566 (CFLAGS-fprintf_chk.c): Likewise.
21567 (CFLAGS-vprintf_chk.c): Likewise.
21568 (CFLAGS-vfprintf_chk.c): Likewise.
21569 (CFLAGS-gets_chk.c): Likewise.
21570 (CFLAGS-fgets_chk.c): Likewise.
21571 (CFLAGS-fgets_u_chk.c): Likewise.
21572 (CFLAGS-fread_chk.c): Likewise.
21573 (CFLAGS-fread_u_chk.c): Likewise.
21574 (CFLAGS-swprintf_chk.c): Likewise.
21575 (CFLAGS-vswprintf_chk.c): Likewise.
21576 (CFLAGS-wprintf_chk.c): Likewise.
21577 (CFLAGS-fwprintf_chk.c): Likewise.
21578 (CFLAGS-vwprintf_chk.c): Likewise.
21579 (CFLAGS-vfwprintf_chk.c): Likewise.
21580 (CFLAGS-fgetws_chk.c): Likewise.
21581 (CFLAGS-fgetws_u_chk.c): Likewise.
21582 (CFLAGS-read_chk.c): Likewise.
21583 (CFLAGS-pread_chk.c): Likewise.
21584 (CFLAGS-pread64_chk.c): Likewise.
21585 (CFLAGS-recv_chk.c): Likewise.
21586 (CFLAGS-recvfrom_chk.c): Likewise.
21587 (CFLAGS-tst-longjmp_chk.c): Likewise.
21588 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21589 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21590 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21591 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21592 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21593 (CFLAGS-tst-chk1.c): Likewise.
21594 (CFLAGS-tst-chk2.c): Likewise.
21595 (CFLAGS-tst-chk3.c): Likewise.
21596 (CFLAGS-tst-chk4.cc): Likewise.
21597 (CFLAGS-tst-chk5.cc): Likewise.
21598 (CFLAGS-tst-chk6.cc): Likewise.
21599 (CFLAGS-tst-lfschk1.c): Likewise.
21600 (CFLAGS-tst-lfschk2.c): Likewise.
21601 (CFLAGS-tst-lfschk3.c): Likewise.
21602 (CFLAGS-tst-lfschk4.cc): Likewise.
21603 (CFLAGS-tst-lfschk5.cc): Likewise.
21604 (CFLAGS-tst-lfschk6.cc): Likewise.
21605 (CFLAGS-tst-ssp-1.c): Likewise.
21606 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21607 (CFLAGS-scandir64.c): Likewise.
21608 (CFLAGS-scandir-tail.c): Likewise.
21609 (CFLAGS-scandir64-tail.c): Likewise.
21610 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21611 (CFLAGS-dl-tunables.c): Likewise.
21612 (CFLAGS-dl-runtime.c): Likewise.
21613 (CFLAGS-dl-lookup.c): Likewise.
21614 (CFLAGS-dl-iterate-phdr.c): Likewise.
21615 (CFLAGS-vismain.c): Likewise.
21616 (CFLAGS-tst-linkall-static.c): Likewise.
21617 (CFLAGS-tst-linkall-static.c): Likewise.
21618 (CPPFLAGS-dl-load.c): Likewise.
21619 (CFLAGS-ldconfig.c): Likewise.
21620 (CFLAGS-dl-cache.c): Likewise.
21621 (CFLAGS-cache.c): Likewise.
21622 (CFLAGS-rtld.c): Likewise.
21623 (CFLAGS-multiload.c): Likewise.
21624 (CFLAGS-filtmod1.c): Likewise.
21625 (CFLAGS-tst-align.c): Likewise.
21626 (CFLAGS-tst-align2.c): Likewise.
21627 (CFLAGS-tst-alignmod.c): Likewise.
21628 (CFLAGS-tst-alignmod2.c): Likewise.
21629 (CPPFLAGS-tst-execstack.c): Likewise.
21630 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21631 (CFLAGS-tst-latepthreadmod.c): Likewise.
21632 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21633 (CFLAGS-getgrnam_r.c): Likewise.
21634 (CFLAGS-getgrent_r.c): Likewise.
21635 (CFLAGS-getgrent.c): Likewise.
21636 (CFLAGS-fgetgrent.c): Likewise.
21637 (CFLAGS-fgetgrent_r.c): Likewise.
21638 (CFLAGS-putgrent.c): Likewise.
21639 (CFLAGS-initgroups.c): Likewise.
21640 (CFLAGS-getgrgid.c): Likewise.
21641 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21642 (CFLAGS-getsgent.c): Likewise.
21643 (CFLAGS-fgetsgent.c): Likewise.
21644 (CFLAGS-fgetsgent_r.c): Likewise.
21645 (CFLAGS-putsgent.c): Likewise.
21646 (CFLAGS-getsgnam.c): Likewise.
21647 (CFLAGS-getsgnam_r.c): Likewise.
21648 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21649 (CFLAGS-iconv_charmap.c): Likewise.
21650 (CFLAGS-dummy-repertoire.c): Likewise.
21651 (CFLAGS-charmap.c): Likewise.
21652 (CFLAGS-linereader.c): Likewise.
21653 (CFLAGS-simple-hash.c): Likewise.
21654 (CFLAGS-gconv_conf.c): Likewise.
21655 (CFLAGS-iconvconfig.c): Likewise.
21656 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21657 (CFLAGS-gethstbyad.c): Likewise.
21658 (CFLAGS-gethstbynm_r.c): Likewise.
21659 (CFLAGS-gethstbynm.c): Likewise.
21660 (CFLAGS-gethstbynm2_r.c): Likewise.
21661 (CFLAGS-gethstbynm2.c): Likewise.
21662 (CFLAGS-gethstent_r.c): Likewise.
21663 (CFLAGS-gethstent.c): Likewise.
21664 (CFLAGS-rcmd.c): Likewise.
21665 (CFLAGS-getnetbynm_r.c): Likewise.
21666 (CFLAGS-getnetbynm.c): Likewise.
21667 (CFLAGS-getnetbyad_r.c): Likewise.
21668 (CFLAGS-getnetbyad.c): Likewise.
21669 (CFLAGS-getnetent_r.c): Likewise.
21670 (CFLAGS-getnetent.c): Likewise.
21671 (CFLAGS-getaliasent_r.c): Likewise.
21672 (CFLAGS-getaliasent.c): Likewise.
21673 (CFLAGS-getrpcent_r.c): Likewise.
21674 (CFLAGS-getrpcent.c): Likewise.
21675 (CFLAGS-getservent_r.c): Likewise.
21676 (CFLAGS-getservent.c): Likewise.
21677 (CFLAGS-getprtent_r.c): Likewise.
21678 (CFLAGS-getprtent.c): Likewise.
21679 (CFLAGS-either_ntoh.c): Likewise.
21680 (CFLAGS-either_hton.c): Likewise.
21681 (CFLAGS-getnetgrent.c): Likewise.
21682 (CFLAGS-getnetgrent_r.c): Likewise.
21683 (CFLAGS-tst-checks-posix.c): Likewise.
21684 (CFLAGS-tst-sockaddr.c): Likewise.
21685 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21686 (CFLAGS-tst-translit.c): Likewise.
21687 (CFLAGS-tst-gettext2.c): Likewise.
21688 (CFLAGS-tst-codeset.c): Likewise.
21689 (CFLAGS-tst-gettext3.c): Likewise.
21690 (CFLAGS-tst-gettext4.c): Likewise.
21691 (CFLAGS-tst-gettext5.c): Likewise.
21692 (CFLAGS-tst-gettext6.c): Likewise.
21693 * io/Makefile (CFLAGS-open.c): Likewise.
21694 (CFLAGS-open64.c): Likewise.
21695 (CFLAGS-creat.c): Likewise.
21696 (CFLAGS-creat64.c): Likewise.
21697 (CFLAGS-fcntl.c): Likewise.
21698 (CFLAGS-poll.c): Likewise.
21699 (CFLAGS-ppoll.c): Likewise.
21700 (CFLAGS-lockf.c): Likewise.
21701 (CFLAGS-statfs.c): Likewise.
21702 (CFLAGS-fstatfs.c): Likewise.
21703 (CFLAGS-statvfs.c): Likewise.
21704 (CFLAGS-fstatvfs.c): Likewise.
21705 (CFLAGS-fts.c): Likewise.
21706 (CFLAGS-fts64.c): Likewise.
21707 (CFLAGS-ftw.c): Likewise.
21708 (CFLAGS-ftw64.c): Likewise.
21709 (CFLAGS-lockf.c): Likewise.
21710 (CFLAGS-posix_fallocate.c): Likewise.
21711 (CFLAGS-posix_fallocate64.c): Likewise.
21712 (CFLAGS-fallocate.c): Likewise.
21713 (CFLAGS-fallocate64.c): Likewise.
21714 (CFLAGS-read.c): Likewise.
21715 (CFLAGS-write.c): Likewise.
21716 (CFLAGS-test-stat.c): Likewise.
21717 (CFLAGS-test-lfs.c): Likewise.
21718 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21719 (CFLAGS-fputc.c): Likewise.
21720 (CFLAGS-fputwc.c): Likewise.
21721 (CFLAGS-freopen64.c): Likewise.
21722 (CFLAGS-freopen.c): Likewise.
21723 (CFLAGS-fseek.c): Likewise.
21724 (CFLAGS-fseeko64.c): Likewise.
21725 (CFLAGS-fseeko.c): Likewise.
21726 (CFLAGS-ftello64.c): Likewise.
21727 (CFLAGS-ftello.c): Likewise.
21728 (CFLAGS-fwide.c): Likewise.
21729 (CFLAGS-genops.c): Likewise.
21730 (CFLAGS-getc.c): Likewise.
21731 (CFLAGS-getchar.c): Likewise.
21732 (CFLAGS-getwc.c): Likewise.
21733 (CFLAGS-getwchar.c): Likewise.
21734 (CFLAGS-iofclose.c): Likewise.
21735 (CFLAGS-iofflush.c): Likewise.
21736 (CFLAGS-iofgetpos64.c): Likewise.
21737 (CFLAGS-iofgetpos.c): Likewise.
21738 (CFLAGS-iofgets.c): Likewise.
21739 (CFLAGS-iofgetws.c): Likewise.
21740 (CFLAGS-iofputs.c): Likewise.
21741 (CFLAGS-iofputws.c): Likewise.
21742 (CFLAGS-iofread.c): Likewise.
21743 (CFLAGS-iofsetpos64.c): Likewise.
21744 (CFLAGS-iofsetpos.c): Likewise.
21745 (CFLAGS-ioftell.c): Likewise.
21746 (CFLAGS-iofwrite.c): Likewise.
21747 (CFLAGS-iogetdelim.c): Likewise.
21748 (CFLAGS-iogetline.c): Likewise.
21749 (CFLAGS-iogets.c): Likewise.
21750 (CFLAGS-iogetwline.c): Likewise.
21751 (CFLAGS-ioputs.c): Likewise.
21752 (CFLAGS-ioseekoff.c): Likewise.
21753 (CFLAGS-ioseekpos.c): Likewise.
21754 (CFLAGS-iosetbuffer.c): Likewise.
21755 (CFLAGS-iosetvbuf.c): Likewise.
21756 (CFLAGS-ioungetc.c): Likewise.
21757 (CFLAGS-ioungetwc.c): Likewise.
21758 (CFLAGS-oldfileops.c): Likewise.
21759 (CFLAGS-oldiofclose.c): Likewise.
21760 (CFLAGS-oldiofgetpos64.c): Likewise.
21761 (CFLAGS-oldiofgetpos.c): Likewise.
21762 (CFLAGS-oldiofsetpos64.c): Likewise.
21763 (CFLAGS-oldiofsetpos.c): Likewise.
21764 (CFLAGS-peekc.c): Likewise.
21765 (CFLAGS-putc.c): Likewise.
21766 (CFLAGS-putchar.c): Likewise.
21767 (CFLAGS-putwc.c): Likewise.
21768 (CFLAGS-putwchar.c): Likewise.
21769 (CFLAGS-rewind.c): Likewise.
21770 (CFLAGS-wfileops.c): Likewise.
21771 (CFLAGS-wgenops.c): Likewise.
21772 (CFLAGS-oldiofopen.c): Likewise.
21773 (CFLAGS-iofopen.c): Likewise.
21774 (CFLAGS-iofopen64.c): Likewise.
21775 (CFLAGS-oldtmpfile.c): Likewise.
21776 (CFLAGS-tst_putwc.c): Likewise.
21777 * locale/Makefile (CFLAGS-md5.c): Likewise.
21778 (CFLAGS-charmap.c): Likewise.
21779 (CFLAGS-locfile.c): Likewise.
21780 (CFLAGS-charmap-dir.c): Likewise.
21781 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21782 (CFLAGS-getpt.c): Likewise.
21783 (CFLAGS-pt_chown.c): Likewise.
21784 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21785 (CFLAGS-obstack.c): Likewise.
21786 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21787 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21788 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21789 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21790 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21791 (CFLAGS-test-tgmath.c): Likewise.
21792 (CFLAGS-test-tgmath2.c): Likewise.
21793 (CFLAGS-test-tgmath-ret.c): Likewise.
21794 (CFLAGS-test-powl.c): Likewise.
21795 (CFLAGS-test-snan.c): Likewise.
21796 (CFLAGS-test-signgam-finite.c): Likewise.
21797 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21798 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21799 (CFLAGS-test-signgam-uchar.c): Likewise.
21800 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21801 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21802 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21803 (CFLAGS-test-signgam-uint.c): Likewise.
21804 (CFLAGS-test-signgam-uint-init.c): Likewise.
21805 (CFLAGS-test-signgam-uint-static.c): Likewise.
21806 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21807 (CFLAGS-test-signgam-ullong.c): Likewise.
21808 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21809 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21810 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21811 (CFLAGS-test-math-cxx11.cc): Likewise.
21812 (CFLAGS-test-math-isinff.cc): Likewise.
21813 (CFLAGS-test-math-iszero.cc): Likewise.
21814 (CFLAGS-test-math-issignaling.cc): Likewise.
21815 (CFLAGS-test-math-iscanonical.cc): Likewise.
21816 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21817 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21818 (CFLAGS-test-flt-eval-method.c): Likewise.
21819 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21820 (CFLAGS-test-finite-macros.c): Likewise.
21821 * misc/Makefile (CFLAGS-select.c): Likewise.
21822 (CFLAGS-tsearch.c): Likewise.
21823 (CFLAGS-lsearch.c): Likewise.
21824 (CFLAGS-pselect.c): Likewise.
21825 (CFLAGS-readv.c): Likewise.
21826 (CFLAGS-writev.c): Likewise.
21827 (CFLAGS-preadv.c): Likewise.
21828 (CFLAGS-preadv64.c): Likewise.
21829 (CFLAGS-pwritev.c): Likewise.
21830 (CFLAGS-pwritev64.c): Likewise.
21831 (CFLAGS-preadv2.c): Likewise.
21832 (CFLAGS-preadv64v2.c): Likewise.
21833 (CFLAGS-pwritev2.c): Likewise.
21834 (CFLAGS-pwritev64v2.c): Likewise.
21835 (CFLAGS-usleep.c): Likewise.
21836 (CFLAGS-syslog.c): Likewise.
21837 (CFLAGS-error.c): Likewise.
21838 (CFLAGS-getpass.c): Likewise.
21839 (CFLAGS-mkstemp.c): Likewise.
21840 (CFLAGS-mkstemp64.c): Likewise.
21841 (CFLAGS-getsysstats.c): Likewise.
21842 (CFLAGS-getusershell.c): Likewise.
21843 (CFLAGS-err.c): Likewise.
21844 (CFLAGS-tst-tsearch.c): Likewise.
21845 (CFLAGS-msync.c): Likewise.
21846 (CFLAGS-fdatasync.c): Likewise.
21847 (CFLAGS-fsync.c): Likewise.
21848 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21849 (CFLAGS-unwind.c): Likewise.
21850 (CFLAGS-unwind-forcedunwind.c): Likewise.
21851 (CFLAGS-pthread_cancel.c): Likewise.
21852 (CFLAGS-pthread_setcancelstate.c): Likewise.
21853 (CFLAGS-pthread_setcanceltype.c): Likewise.
21854 (CFLAGS-cancellation.c): Likewise.
21855 (CFLAGS-libc-cancellation.c): Likewise.
21856 (CFLAGS-pthread_exit.c): Likewise.
21857 (CFLAGS-forward.c): Likewise.
21858 (CFLAGS-pthread_testcancel.c): Likewise.
21859 (CFLAGS-pthread_join.c): Likewise.
21860 (CFLAGS-pthread_timedjoin.c): Likewise.
21861 (CFLAGS-pthread_once.c): Likewise.
21862 (CFLAGS-pthread_cond_wait.c): Likewise.
21863 (CFLAGS-sem_wait.c): Likewise.
21864 (CFLAGS-sem_timedwait.c): Likewise.
21865 (CFLAGS-fcntl.c): Likewise.
21866 (CFLAGS-lockf.c): Likewise.
21867 (CFLAGS-pread.c): Likewise.
21868 (CFLAGS-pread64.c): Likewise.
21869 (CFLAGS-pwrite.c): Likewise.
21870 (CFLAGS-pwrite64.c): Likewise.
21871 (CFLAGS-wait.c): Likewise.
21872 (CFLAGS-waitpid.c): Likewise.
21873 (CFLAGS-sigwait.c): Likewise.
21874 (CFLAGS-msgrcv.c): Likewise.
21875 (CFLAGS-msgsnd.c): Likewise.
21876 (CFLAGS-tcdrain.c): Likewise.
21877 (CFLAGS-open.c): Likewise.
21878 (CFLAGS-open64.c): Likewise.
21879 (CFLAGS-pause.c): Likewise.
21880 (CFLAGS-recv.c): Likewise.
21881 (CFLAGS-send.c): Likewise.
21882 (CFLAGS-accept.c): Likewise.
21883 (CFLAGS-sendto.c): Likewise.
21884 (CFLAGS-connect.c): Likewise.
21885 (CFLAGS-recvfrom.c): Likewise.
21886 (CFLAGS-recvmsg.c): Likewise.
21887 (CFLAGS-sendmsg.c): Likewise.
21888 (CFLAGS-close.c): Likewise.
21889 (CFLAGS-read.c): Likewise.
21890 (CFLAGS-write.c): Likewise.
21891 (CFLAGS-nanosleep.c): Likewise.
21892 (CFLAGS-sigsuspend.c): Likewise.
21893 (CFLAGS-msync.c): Likewise.
21894 (CFLAGS-fdatasync.c): Likewise.
21895 (CFLAGS-fsync.c): Likewise.
21896 (CFLAGS-pt-system.c): Likewise.
21897 (CFLAGS-tst-cleanup2.c): Likewise.
21898 (CFLAGS-tst-cleanupx2.c): Likewise.
21899 (CFLAGS-flockfile.c): Likewise.
21900 (CFLAGS-ftrylockfile.c): Likewise.
21901 (CFLAGS-funlockfile.c): Likewise.
21902 (CFLAGS-tst-initializers1.c): Likewise.
21903 (CFLAGS-tst-initializers1-c89.c): Likewise.
21904 (CFLAGS-tst-initializers1-c99.c): Likewise.
21905 (CFLAGS-tst-initializers1-c11.c): Likewise.
21906 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21907 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21908 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21909 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21910 (CFLAGS-nscd_getgr_r.c): Likewise.
21911 (CFLAGS-nscd_gethst_r.c): Likewise.
21912 (CFLAGS-nscd_getai.c): Likewise.
21913 (CFLAGS-nscd_initgroups.c): Likewise.
21914 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21915 (CFLAGS-pause.c): Likewise.
21916 (CFLAGS-pread.c): Likewise.
21917 (CFLAGS-pread64.c): Likewise.
21918 (CFLAGS-pwrite.c): Likewise.
21919 (CFLAGS-pwrite64.c): Likewise.
21920 (CFLAGS-sleep.c): Likewise.
21921 (CFLAGS-wait.c): Likewise.
21922 (CFLAGS-waitid.c): Likewise.
21923 (CFLAGS-waitpid.c): Likewise.
21924 (CFLAGS-getopt.c): Likewise.
21925 (CFLAGS-wordexp.c): Likewise.
21926 (CFLAGS-sysconf.c): Likewise.
21927 (CFLAGS-pathconf.c): Likewise.
21928 (CFLAGS-fpathconf.c): Likewise.
21929 (CFLAGS-spawn.c): Likewise.
21930 (CFLAGS-spawnp.c): Likewise.
21931 (CFLAGS-spawni.c): Likewise.
21932 (CFLAGS-glob.c): Likewise.
21933 (CFLAGS-glob64.c): Likewise.
21934 (CFLAGS-getconf.c): Likewise.
21935 (CFLAGS-nanosleep.c): Likewise.
21936 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21937 (CFLAGS-getpwent.c): Likewise.
21938 (CFLAGS-getpw.c): Likewise.
21939 (CFLAGS-fgetpwent_r.c): Likewise.
21940 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21941 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21942 (CFLAGS-mq_timedreceive.c): Likewise.
21943 (CFLAGS-mq_timedsend.c): Likewise.
21944 (CFLAGS-clock_nanosleep.c): Likewise.
21945 (CFLAGS-librt-cancellation.c): Likewise.
21946 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21947 (CFLAGS-getspent.c): Likewise.
21948 (CFLAGS-fgetspent.c): Likewise.
21949 (CFLAGS-fgetspent_r.c): Likewise.
21950 (CFLAGS-putspent.c): Likewise.
21951 (CFLAGS-getspnam.c): Likewise.
21952 (CFLAGS-getspnam_r.c): Likewise.
21953 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21954 (CFLAGS-sigsuspend.c): Likewise.
21955 (CFLAGS-sigtimedwait.c): Likewise.
21956 (CFLAGS-sigwait.c): Likewise.
21957 (CFLAGS-sigwaitinfo.c): Likewise.
21958 (CFLAGS-sigreturn.c): Likewise.
21959 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21960 (CFLAGS-vfwprintf.c): Likewise.
21961 (CFLAGS-tmpfile.c): Likewise.
21962 (CFLAGS-tmpfile64.c): Likewise.
21963 (CFLAGS-tempname.c): Likewise.
21964 (CFLAGS-psignal.c): Likewise.
21965 (CFLAGS-vprintf.c): Likewise.
21966 (CFLAGS-cuserid.c): Likewise.
21967 (CFLAGS-errlist.c): Likewise.
21968 (CFLAGS-siglist.c): Likewise.
21969 (CFLAGS-scanf15.c): Likewise.
21970 (CFLAGS-scanf17.c): Likewise.
21971 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21972 (CFLAGS-msort.c): Likewise.
21973 (CFLAGS-qsort.c): Likewise.
21974 (CFLAGS-system.c): Likewise.
21975 (CFLAGS-fmtmsg.c): Likewise.
21976 (CFLAGS-strfmon.c): Likewise.
21977 (CFLAGS-strfmon_l.c): Likewise.
21978 (CFLAGS-strfromd.c): Likewise.
21979 (CFLAGS-strfromf.c): Likewise.
21980 (CFLAGS-strfroml.c): Likewise.
21981 (CFLAGS-tst-bsearch.c): Likewise.
21982 (CFLAGS-tst-qsort.c): Likewise.
21983 (CFLAGS-tst-makecontext2.c): Likewise.
21984 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21985 (CFLAGS-xnlm_prot.c): Likewise.
21986 (CFLAGS-xrstat.c): Likewise.
21987 (CFLAGS-xyppasswd.c): Likewise.
21988 (CFLAGS-xklm_prot.c): Likewise.
21989 (CFLAGS-xrex.c): Likewise.
21990 (CFLAGS-xsm_inter.c): Likewise.
21991 (CFLAGS-xmount.c): Likewise.
21992 (CFLAGS-xrusers.c): Likewise.
21993 (CFLAGS-xspray.c): Likewise.
21994 (CFLAGS-xnfs_prot.c): Likewise.
21995 (CFLAGS-xrquota.c): Likewise.
21996 (CFLAGS-xkey_prot.c): Likewise.
21997 (CFLAGS-auth_unix.c): Likewise.
21998 (CFLAGS-key_call.c): Likewise.
21999 (CFLAGS-pmap_rmt.c): Likewise.
22000 (CFLAGS-clnt_perr.c): Likewise.
22001 (CFLAGS-openchild.c): Likewise.
22002 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
22003 (CFLAGS-msgsnd.c): Likewise.
22004 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
22005 * time/Makefile (CFLAGS-tzfile.c): Likewise.
22006 (CFLAGS-tzset.c): Likewise.
22007 (CFLAGS-getdate.c): Likewise.
22008 (CFLAGS-test_time.c): Likewise.
22009 (CPPFLAGS-tst-tzname.c): Likewise.
22010 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
22011 (CFLAGS-zic.c): Likewise.
22012 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
22013 (CFLAGS-wcswidth.c): Likewise.
22014 (CFLAGS-wcstol.c): Likewise.
22015 (CFLAGS-wcstoul.c): Likewise.
22016 (CFLAGS-wcstoll.c): Likewise.
22017 (CFLAGS-wcstoull.c): Likewise.
22018 (CFLAGS-wcstod.c): Likewise.
22019 (CFLAGS-wcstold.c): Likewise.
22020 (CFLAGS-wcstof128.c): Likewise.
22021 (CFLAGS-wcstof.c): Likewise.
22022 (CFLAGS-wcstol_l.c): Likewise.
22023 (CFLAGS-wcstoul_l.c): Likewise.
22024 (CFLAGS-wcstoll_l.c): Likewise.
22025 (CFLAGS-wcstoull_l.c): Likewise.
22026 (CFLAGS-wcstod_l.c): Likewise.
22027 (CFLAGS-wcstold_l.c): Likewise.
22028 (CFLAGS-wcstof128_l.c): Likewise.
22029 (CFLAGS-wcstof_l.c): Likewise.
22030 (CPPFLAGS-tst-wchar-h.c): Likewise.
22031 (CPPFLAGS-wcstold_l.c): Likewise.
22033 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
22035 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
22037 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22038 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22040 * manual/tunables.texi (Hardware Capability Tunables): Document
22041 glibc.tune.cached_memopt.
22042 * sysdeps/powerpc/cpu-features.c: New file.
22043 * sysdeps/powerpc/cpu-features.h: New file.
22044 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
22045 _dl_powerpc_cpu_features.
22046 * sysdeps/powerpc/dl-tunables.list: New file.
22047 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
22048 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22049 (INIT_ARCH): Initialize use_aligned_memopt.
22050 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
22051 IS_IN(rtld))]: Restrict dl_platform_init availability and
22052 initialize CPU features used by tunables.
22053 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
22054 Add memcpy-power8-cached.
22055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
22056 __memcpy_power8_cached.
22057 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22058 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
22061 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22063 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
22064 (CFLAGS-noinl-tester.c): Likewise.
22065 (CFLAGS-tst-strlen.c): Likewise.
22066 (CFLAGS-stratcliff.c): Likewise.
22067 (CFLAGS-test-ffs.c): Likewise.
22068 (CFLAGS-tst-inlcall.c): Likewise.
22069 (CFLAGS-tst-xbzero-opt.c): Likewise.
22070 (CFLAGS-memcpy.c): Likewise.
22071 (CFLAGS-wordcopy.c): Likewise.
22073 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22075 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
22076 Store r15 on stack and add cfi rule.
22077 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22080 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
22083 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
22086 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22088 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22089 Add s_sinf-sse2 and s_sinf-fma.
22090 (CFLAGS-s_sinf-fma.c): New.
22091 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
22092 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
22093 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
22095 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22097 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
22099 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22102 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
22103 part of result to imaginary part of argument if it is zero and the
22104 real part of the argument is not finite.
22105 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
22106 of result to real part of argument if it is zero and the imaginary
22107 part of the argument is not finite.
22109 2017-12-07 Mike FABIAN <mfabian@redhat.com>
22112 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
22113 and to the list of locales to be built for testing.
22114 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
22115 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
22116 and build the collation rules upon that.
22118 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22120 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
22121 * manual/math.texi (Mathematics): Document support for _Float32.
22122 * math/Makefile (test-types): Add float32.
22123 * math/Versions (GLIBC_2.27): Add _Float32 functions.
22124 * stdlib/Versions (GLIBC_2.27): Likewise.
22125 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22126 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22127 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22128 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22129 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22130 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22131 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22132 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22133 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22134 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22135 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22136 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22137 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22138 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22139 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22140 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22141 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22142 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22143 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22144 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22145 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22146 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22148 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22149 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22150 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22151 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22152 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22170 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22171 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22172 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22173 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22174 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22175 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22176 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22177 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22178 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22179 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22188 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22189 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22190 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22191 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22192 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22193 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22194 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22195 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22197 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22199 * stdlib/strtof.c: Include <bits/floatn.h>
22200 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
22201 and later undefine as macro. Define as weak alias if
22203 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
22204 and later undefine as macro. Define as weak alias if
22206 * stdlib/strtof_l.c: Include <bits/floatn.h>
22207 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
22208 and later undefine as macro. Define as weak alias if
22210 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
22211 and later undefine as macro. Define as weak alias if
22214 * stdlib/strfromf.c: Include <bits/floatn.h>.
22215 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
22216 and later undefine as macro and define as weak alias.
22218 * math/test-float32.h: New file.
22220 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
22221 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
22222 (libm_alias_float_other_r): Create f32 alias.
22223 (libm_alias_float_r): Use semicolon before call to
22224 libm_alias_float_other_r.
22226 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
22227 second argument to libm_alias_float_other.
22228 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
22229 second argument to libm_alias_float_other.
22230 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
22231 argument to libm_alias_float_other.
22234 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
22235 real part of result for argument 0 + i * NaN.
22236 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
22237 results for tests of 0 + i * NaN.
22239 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22241 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22243 2017-12-06 David S. Miller <davem@davemloft.net>
22245 * sysdeps/sparc/fpu/libm-test-ulps: Update
22246 exp_{downward,towardzero,upward} ulps.
22248 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22250 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
22253 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
22255 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
22257 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
22259 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
22262 2017-12-06 Mike FABIAN <mfabian@redhat.com>
22265 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
22266 and to the list of locales to be built for testing.
22267 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
22268 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
22269 and build the collation rules upon that.
22271 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22273 * NEWS: Add sinf to list of optimized functions.
22275 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22277 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
22278 (__HAVE_FLOAT32X): Likewise.
22279 * manual/math.texi (Mathematics): Document support for _Float64
22281 * math/Makefile (test-types): Add float64 and float32x.
22282 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
22284 * stdlib/Versions (GLIBC_2.27): Likewise.
22285 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22286 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22287 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22288 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22289 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22290 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22291 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22292 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22293 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22294 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22295 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22296 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22297 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22298 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22299 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22300 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22301 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22302 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22303 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22304 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22305 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22306 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22308 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22309 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22310 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22311 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22312 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22329 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22330 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22331 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22332 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22333 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22334 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22335 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22336 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22337 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22338 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22347 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22348 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22349 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22350 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22351 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22352 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22353 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22354 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22356 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22358 * bits/floatn-common.h: Include <bits/long-double.h>.
22359 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22360 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
22361 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22362 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
22363 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22364 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
22365 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22366 (__builtin_huge_valf64): Use __builtin_huge_vall.
22367 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22368 (__builtin_inff64): Use __builtin_infl.
22369 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22370 (__builtin_nanf64): Use __builtin_nanl.
22371 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22372 (__builtin_nansf64): Use __builtin_nansl.
22374 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
22375 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22376 Carlos O'Donnell <carlos@redhat.com>
22378 * elf/dl-tunables.list: Add elision parameters.
22379 * manual/tunables.texi: Add entries about elision tunable.
22380 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
22381 Add callback functions to dynamically enable/disable elision.
22382 Add multiple callbacks functions to set elision parameters.
22383 Deleted __libc_enable_secure check.
22384 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
22385 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
22386 * configure: Regenerated.
22387 * configure.ac: Option enable_lock_elision was deleted.
22388 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
22389 * config.make.in: Remove references to enable_lock_elision.
22390 * manual/install.texi: Elision configure option was removed.
22391 * INSTALL: Regenerated to remove enable_lock_elision.
22393 Disable elision so it can verify error case for destroying a mutex.
22394 * sysdeps/powerpc/nptl/elide.h:
22395 Cleanup ENABLE_LOCK_ELISION check.
22396 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
22397 * sysdeps/s390/configure: Regenerated.
22398 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
22399 * nptl/tst-mutex8.c:
22400 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
22401 * sysdeps/powerpc/powerpc32/sysdep.h:
22402 Deleted all ENABLE_LOCK_ELISION checks.
22403 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22404 * sysdeps/powerpc/sysdep.h: Likewise.
22405 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22406 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22407 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22408 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22409 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22410 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22411 enable-lock-elision.
22413 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22415 * stdlib/strtod.c: Include <bits/floatn.h>.
22416 (BUILD_DOUBLE): New macro.
22417 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22418 (strtof64): Define and later undefine as macro. Define as weak
22419 alias if [!USE_WIDE_CHAR].
22420 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22421 (wcstof64): Define and later undefine as macro. Define as weak
22422 alias if [USE_WIDE_CHAR].
22423 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22424 (strtof32x): Define and later undefine as macro. Define as weak
22425 alias if [!USE_WIDE_CHAR].
22426 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22427 (wcstof32x): Define and later undefine as macro. Define as weak
22428 alias if [USE_WIDE_CHAR].
22429 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22430 (BUILD_DOUBLE): New macro.
22431 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22432 (strtof64_l): Define and later undefine as macro. Define as weak
22433 alias if [!USE_WIDE_CHAR].
22434 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22435 (wcstof64_l): Define and later undefine as macro. Define as weak
22436 alias if [USE_WIDE_CHAR].
22437 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22438 (strtof32x_l): Define and later undefine as macro. Define as weak
22439 alias if [!USE_WIDE_CHAR].
22440 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22441 (wcstof32x_l): Define and later undefine as macro. Define as weak
22442 alias if [USE_WIDE_CHAR].
22444 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22446 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22447 (reduced): Use ones as double instead of integer.
22449 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22451 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22453 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22455 * stdlib/strfromd.c: Include <bits/floatn.h>.
22456 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22457 and later undefine as macro and define as weak alias.
22458 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22461 * math/test-float32x.h: New file.
22462 * math/test-float64.h: Likewise.
22464 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22465 (libm_alias_double_other_r_f64): New macro.
22466 (libm_alias_double_other_r_f32x): Likewise.
22467 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22468 libm_alias_double_other_r_f32x.
22469 (libm_alias_double_r): Use semicolon before call to
22470 libm_alias_double_other_r.
22471 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22473 (libm_alias_double_other_r_f64): New macro.
22474 (libm_alias_double_other_r_f32x): Likewise.
22475 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22476 libm_alias_double_other_r_f32x.
22478 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22480 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22482 (SINF_FUNC): Likewise. Replace floor with simple casts.
22484 2017-12-05 Mike FABIAN <mfabian@redhat.com>
22487 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22488 and to the list of locales to be built for testing.
22489 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22490 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22491 and build the collation rules upon that.
22493 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22495 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22496 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22497 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22498 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22499 instead of __insn__xxx.
22500 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22501 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22502 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22503 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22504 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22505 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22507 2017-12-05 Florian Weimer <fweimer@redhat.com>
22509 Linux: Implement interfaces for memory protection keys
22510 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22512 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22513 * support/xunistd.h (xsysconf): Declare.
22514 * support/xraise.c: New file.
22515 * support/xsigaction.c: Likewise.
22516 * support/xsignal.c: Likewise.
22517 * support/xsysconf.c: Likewise.
22518 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22519 pkey_set, pkey_get, pkey_mprotect.
22520 [misc] (tests): Add tst-pkey.
22521 (tst-pkey): Link with -lpthread.
22522 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22523 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22524 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22525 (PKEY_DISABLE_WRITE): Define.
22526 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22528 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22529 (SEGV_PKUERR): Add.
22530 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22531 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22532 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22533 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22535 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22536 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22537 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22538 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22539 * sysdeps/unix/sysv/linux/**.abilist: Update.
22541 2017-12-05 Florian Weimer <fweimer@redhat.com>
22543 * support/tst-test_compare.c (subprocess): Use long long instead
22544 of long argument for consistent type width across 32-bit and
22545 64-bit architectures.
22546 (do_test): Adjust expected output.
22548 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22550 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22551 (cosf): Define using libm_alias_float.
22552 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22553 (fabsf): Define using libm_alias_float.
22554 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22555 (fmaf): Define using libm_alias_float.
22556 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22557 (rintf): Define using libm_alias_float.
22558 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22559 (sinf): Define using libm_alias_float.
22560 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22561 <libm-alias-float.h>.
22562 (modff): Define using libm_alias_float.
22563 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22564 <libm-alias-float.h>.
22565 (logbf): Define using libm_alias_float.
22566 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22567 <libm-alias-float.h>.
22568 (ceilf): Define using libm_alias_float.
22569 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22570 <libm-alias-float.h>.
22571 (copysignf): Define using libm_alias_float.
22572 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22573 <libm-alias-float.h>.
22574 (floorf): Define using libm_alias_float.
22575 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22576 <libm-alias-float.h>.
22577 (llrintf): Define using libm_alias_float.
22578 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22579 <libm-alias-float.h>.
22580 (llroundf): Define using libm_alias_float.
22581 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22582 <libm-alias-float.h>.
22583 (lrintf): Define using libm_alias_float.
22584 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22585 <libm-alias-float.h>.
22586 (lroundf): Define using libm_alias_float.
22587 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22588 <libm-alias-float.h>.
22589 (nearbyintf): Define using libm_alias_float.
22590 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22591 <libm-alias-float.h>.
22592 (rintf): Define using libm_alias_float.
22593 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22594 <libm-alias-float.h>.
22595 (roundf): Define using libm_alias_float.
22596 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22597 <libm-alias-float.h>.
22598 (truncf): Define using libm_alias_float.
22599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22600 Include <libm-alias-float.h>.
22601 (ceilf): Define using libm_alias_float.
22602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22603 Include <libm-alias-float.h>.
22604 (copysignf): Define using libm_alias_float.
22605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22606 Include <libm-alias-float.h>.
22607 (floorf): Define using libm_alias_float.
22608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22609 Include <libm-alias-float.h>.
22610 (llrintf): Define using libm_alias_float.
22611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22612 Include <libm-alias-float.h>.
22613 (llroundf): Define using libm_alias_float.
22614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22615 Include <libm-alias-float.h>.
22616 (logbf): Define using libm_alias_float.
22617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22618 Include <libm-alias-float.h>.
22619 (lrintf): Define using libm_alias_float.
22620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22621 Include <libm-alias-float.h>.
22622 (lroundf): Define using libm_alias_float.
22623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22624 Include <libm-alias-float.h>.
22625 (modff): Define using libm_alias_float.
22626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22627 Include <libm-alias-float.h>.
22628 (roundf): Define using libm_alias_float.
22629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22630 Include <libm-alias-float.h>.
22631 (truncf): Define using libm_alias_float.
22632 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22633 <libm-alias-float.h>.
22634 (llrintf): Define using libm_alias_float.
22635 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22636 <libm-alias-float.h>.
22637 (llroundf): Define using libm_alias_float.
22638 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22639 <libm-alias-float.h>.
22640 (ceilf): Define using libm_alias_float.
22641 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22642 <libm-alias-float.h>.
22643 (floorf): Define using libm_alias_float.
22644 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22645 <libm-alias-float.h>.
22646 (llroundf): Define using libm_alias_float.
22647 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22648 <libm-alias-float.h>.
22649 (lroundf): Define using libm_alias_float.
22650 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22651 <libm-alias-float.h>.
22652 (roundf): Define using libm_alias_float.
22653 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22654 <libm-alias-float.h>.
22655 (truncf): Define using libm_alias_float.
22656 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22657 <libm-alias-float.h>.
22658 (copysignf): Define using libm_alias_float.
22659 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22660 <libm-alias-float.h>.
22661 (llrintf): Define using libm_alias_float.
22662 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22663 <libm-alias-float.h>.
22664 (llroundf): Define using libm_alias_float.
22665 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22666 <libm-alias-float.h>.
22667 (lrintf): Define using libm_alias_float.
22668 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22669 <libm-alias-float.h>.
22670 (lroundf): Define using libm_alias_float.
22671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22672 <libm-alias-float.h>.
22673 (ceilf): Define using libm_alias_float.
22674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22675 <libm-alias-float.h>.
22676 (copysignf): Define using libm_alias_float.
22677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22678 <libm-alias-float.h>.
22679 (cosf): Define using libm_alias_float.
22680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22681 <libm-alias-float.h>.
22682 (floorf): Define using libm_alias_float.
22683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22684 <libm-alias-float.h>.
22685 (llrintf): Define using libm_alias_float.
22686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22687 <libm-alias-float.h>.
22688 (llroundf): Define using libm_alias_float.
22689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22690 <libm-alias-float.h>.
22691 (logbf): Define using libm_alias_float.
22692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22693 <libm-alias-float.h>.
22694 (modff): Define using libm_alias_float.
22695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22696 <libm-alias-float.h>.
22697 (roundf): Define using libm_alias_float.
22698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22699 <libm-alias-float.h>.
22700 (sinf): Define using libm_alias_float.
22701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22702 <libm-alias-float.h>.
22703 (truncf): Define using libm_alias_float.
22704 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22705 <libm-alias-float.h>.
22706 (ceilf): Define using libm_alias_float.
22707 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22708 <libm-alias-float.h>.
22709 (copysignf): Define using libm_alias_float.
22710 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22711 <libm-alias-float.h>.
22712 (floorf): Define using libm_alias_float.
22713 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22714 <libm-alias-float.h>.
22715 (llrintf): Define using libm_alias_float.
22716 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22717 <libm-alias-float.h>.
22718 (llroundf): Define using libm_alias_float.
22719 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22720 <libm-alias-float.h>.
22721 (nearbyintf): Define using libm_alias_float.
22722 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22723 <libm-alias-float.h>.
22724 (rintf): Define using libm_alias_float.
22725 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22726 <libm-alias-float.h>.
22727 (roundf): Define using libm_alias_float.
22728 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22729 <libm-alias-float.h>.
22730 (truncf): Define using libm_alias_float.
22731 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22732 <libm-alias-float.h>.
22733 (ceilf): Define using libm_alias_float.
22734 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22735 <libm-alias-float.h>.
22736 (floorf): Define using libm_alias_float.
22737 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22738 <libm-alias-float.h>.
22739 (llroundf): Define using libm_alias_float.
22740 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22741 <libm-alias-float.h>.
22742 (roundf): Define using libm_alias_float.
22743 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22744 <libm-alias-float.h>.
22745 (truncf): Define using libm_alias_float.
22746 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22747 <libm-alias-float.h>.
22748 (copysignf): Define using libm_alias_float.
22749 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22750 <libm-alias-float.h>.
22751 (llrintf): Define using libm_alias_float.
22752 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22753 <libm-alias-float.h>.
22754 (llroundf): Define using libm_alias_float.
22755 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22756 <libm-alias-float.h>.
22757 (cosf): Define using libm_alias_float.
22758 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22759 <libm-alias-float.h>.
22760 (llrintf): Define using libm_alias_float.
22761 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22762 <libm-alias-float.h>.
22763 (llroundf): Define using libm_alias_float.
22764 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22765 <libm-alias-float.h>.
22766 (sinf): Define using libm_alias_float.
22768 2017-12-04 Florian Weimer <fweimer@redhat.com>
22770 * support/check.h (TEST_COMPARE): Define.
22771 (support_test_compare_failure): Declare.
22772 * support/Makefile (libsupport-routines): Add
22773 support_test_compare_failure.
22774 (tests): Add tst-test_compare.
22775 * support /support_test_compare_failure.c: New file.
22776 * support/tst-test_compare.c: Likewise.
22778 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22781 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22782 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22783 available, this rewrite of the collation rules does reproduce
22784 the test file in the same order.
22786 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22789 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22790 digraphs in the month and day names. Using single code points for
22791 digraphs is deprecated. While there are dedicated Unicode
22792 codepoints, for the digraphs, these are included for backwards
22793 compatibility and modern texts use a sequence of Basic Latin
22794 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22795 This makes the month and day names agree exactly with CLDR now,
22796 CLDR does not use the single code points for the digraphs either.
22798 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22800 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22802 2017-12-04 Joseph Myers <joseph@codesourcery.com>
22804 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22807 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22809 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22810 Define only for libc.so.
22812 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22814 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22815 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
22816 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
22817 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22818 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22820 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22823 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22825 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
22828 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22829 PREINIT_FUNCTION_WEAK is nonzero.
22830 (gmon_initializer): New function. Put procedure label for it in
22831 .init_array section.
22832 (_init): Don't call PREINIT_FUNCTION.
22833 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22834 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22835 value when map argument is null.
22837 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22838 depi instruction from PIC pc-relative sequence.
22839 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22840 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22841 (elf_machine_load_address): Likewise.
22842 (elf_machine_runtime_setup): Likewise.
22844 2017-12-02 Joseph Myers <joseph@codesourcery.com>
22846 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22847 <libm-alias-double.h>.
22848 (logb): Define using libm_alias_double.
22849 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22850 <libm-alias-double.h>.
22851 (copysign): Define using libm_alias_double.
22852 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22853 <libm-alias-double.h>.
22854 (llrint): Define using libm_alias_double.
22855 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22856 <libm-alias-double.h>.
22857 (llround): Define using libm_alias_double.
22858 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22859 <libm-alias-double.h>.
22860 (lrint): Define using libm_alias_double.
22861 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22862 <libm-alias-double.h>.
22863 (lround): Define using libm_alias_double.
22864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22865 Include <libm-alias-double.h>.
22866 (copysign): Define using libm_alias_double.
22867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22868 Include <libm-alias-double.h>.
22869 (llrint): Define using libm_alias_double.
22870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22871 Include <libm-alias-double.h>.
22872 (llround): Define using libm_alias_double.
22873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22874 <libm-alias-double.h>.
22875 (logb): Define using libm_alias_double.
22876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22877 Include <libm-alias-double.h>.
22878 (lrint): Define using libm_alias_double.
22879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22880 Include <libm-alias-double.h>.
22881 (lround): Define using libm_alias_double.
22882 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22883 <libm-alias-double.h>.
22884 (llrint): Define using libm_alias_double.
22885 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22886 <libm-alias-double.h>.
22887 (llround): Define using libm_alias_double.
22888 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22889 <libm-alias-double.h>.
22890 (llround): Define using libm_alias_double.
22891 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22892 <libm-alias-double.h>.
22893 (lround): Define using libm_alias_double.
22894 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22895 <libm-alias-double.h>.
22896 (copysign): Define using libm_alias_double.
22897 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22898 <libm-alias-double.h>.
22899 (llrint): Define using libm_alias_double.
22900 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22901 <libm-alias-double.h>.
22902 (llround): Define using libm_alias_double.
22903 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22904 <libm-alias-double.h>.
22905 (lrint): Define using libm_alias_double.
22906 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22907 <libm-alias-double.h>.
22908 (lround): Define using libm_alias_double.
22909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22910 <libm-alias-double.h>.
22911 (copysign): Define using libm_alias_double.
22912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22913 <libm-alias-double.h>.
22914 (llrint): Define using libm_alias_double.
22916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22917 <libm-alias-double.h>.
22918 (llround): Define using libm_alias_double.
22919 (lround): Likewise.
22920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22921 <libm-alias-double.h>.
22922 (logb): Define using libm_alias_double.
22923 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22924 <libm-alias-double.h>.
22925 (copysign): Define using libm_alias_double.
22926 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22927 <libm-alias-double.h>.
22928 (llrint): Define using libm_alias_double.
22930 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22931 <libm-alias-double.h>.
22932 (llround): Define using libm_alias_double.
22933 (lround): Likewise.
22934 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22935 <libm-alias-double.h>.
22936 (llround): Define using libm_alias_double.
22937 (lround): Likewise.
22938 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22939 <libm-alias-double.h>.
22940 (copysign): Define using libm_alias_double.
22941 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22942 <libm-alias-double.h>.
22943 (llrint): Define using libm_alias_double.
22945 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22946 <libm-alias-double.h>.
22947 (llround): Define using libm_alias_double.
22948 (lround): Likewise.
22949 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22950 <libm-alias-double.h>.
22951 (llrint): Define using libm_alias_double.
22953 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22954 <libm-alias-double.h>.
22955 (llround): Define using libm_alias_double.
22956 (lround): Likewise.
22958 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22961 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22962 compat symbol based on llround.
22964 * sysdeps/powerpc/power7/fpu/s_logb.c
22965 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22966 symbol based on __logb, not on logb.
22967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22968 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22970 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22972 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22973 (rint): Define using libm_alias_double.
22974 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22975 <libm-alias-double.h>.
22976 (modf): Define using libm_alias_double.
22977 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22978 <libm-alias-double.h>.
22979 (ceil): Define using libm_alias_double.
22980 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22981 <libm-alias-double.h>.
22982 (floor): Define using libm_alias_double.
22983 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22984 <libm-alias-double.h>.
22985 (nearbyint): Define using libm_alias_double.
22986 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22987 <libm-alias-double.h>.
22988 (rint): Define using libm_alias_double.
22989 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22990 <libm-alias-double.h>.
22991 (round): Define using libm_alias_double.
22992 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22993 <libm-alias-double.h>.
22994 (trunc): Define using libm_alias_double.
22995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22996 <libm-alias-double.h>.
22997 (ceil): Define using libm_alias_double.
22998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22999 Include <libm-alias-double.h>.
23000 (floor): Define using libm_alias_double.
23001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
23002 <libm-alias-double.h>.
23003 (modf): Define using libm_alias_double.
23004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
23005 Include <libm-alias-double.h>.
23006 (round): Define using libm_alias_double.
23007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
23008 Include <libm-alias-double.h>.
23009 (trunc): Define using libm_alias_double.
23010 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
23011 <libm-alias-double.h>.
23012 (ceil): Define using libm_alias_double.
23013 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
23014 <libm-alias-double.h>.
23015 (floor): Define using libm_alias_double.
23016 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
23017 <libm-alias-double.h>.
23018 (round): Define using libm_alias_double.
23019 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
23020 <libm-alias-double.h>.
23021 (trunc): Define using libm_alias_double.
23022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
23023 <libm-alias-double.h>.
23024 (ceil): Define using libm_alias_double.
23025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
23026 <libm-alias-double.h>.
23027 (floor): Define using libm_alias_double.
23028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
23029 <libm-alias-double.h>.
23030 (modf): Define using libm_alias_double.
23031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
23032 <libm-alias-double.h>.
23033 (round): Define using libm_alias_double.
23034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
23035 <libm-alias-double.h>.
23036 (trunc): Define using libm_alias_double.
23037 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
23038 <libm-alias-double.h>.
23039 (ceil): Define using libm_alias_double.
23040 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
23041 <libm-alias-double.h>.
23042 (floor): Define using libm_alias_double.
23043 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
23044 <libm-alias-double.h>.
23045 (nearbyint): Define using libm_alias_double.
23046 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
23047 <libm-alias-double.h>.
23048 (rint): Define using libm_alias_double.
23049 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
23050 <libm-alias-double.h>.
23051 (round): Define using libm_alias_double.
23052 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
23053 <libm-alias-double.h>.
23054 (trunc): Define using libm_alias_double.
23055 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
23056 <libm-alias-double.h>.
23057 (ceil): Define using libm_alias_double.
23058 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
23059 <libm-alias-double.h>.
23060 (floor): Define using libm_alias_double.
23061 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
23062 <libm-alias-double.h>.
23063 (round): Define using libm_alias_double.
23064 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
23065 <libm-alias-double.h>.
23066 (trunc): Define using libm_alias_double.
23068 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
23069 (fabs): Define using libm_alias_double.
23070 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
23071 (fma): Define using libm_alias_double.
23072 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
23073 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
23074 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
23075 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
23077 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23079 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
23081 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
23082 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
23083 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
23086 due redirect macro.
23088 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
23090 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
23092 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23094 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
23095 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
23096 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
23097 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
23099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23100 (libm-sysdep_routines): Add s_nearbyintf-generic and
23101 s_nearbyint-generic.
23102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
23104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
23105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
23107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
23109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
23111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23115 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
23116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
23118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
23119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
23121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
23122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
23123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23126 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
23127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
23129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
23130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
23132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
23133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
23134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
23136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23137 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
23138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
23140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
23141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
23143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
23144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
23145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23148 (sysdep_calls): New rule.
23149 (sysdep_routines): Use sysdep_calls as base.
23150 (libm-sysdep_routines): Add generic rule for symbols shared with
23151 libc. Add s_copysign-generic and s_copysign-generic objects.
23152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
23154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
23155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
23157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
23158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
23159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
23161 2017-12-01 Mike FABIAN <mfabian@redhat.com>
23164 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
23165 the list of locales to be built for testing.
23166 * localedata/is_IS.UTF-8.in: New file.
23167 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
23170 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23172 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
23173 <libm-alias-float.h>.
23174 (fabsf): Define using libm_alias_float.
23176 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23178 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
23180 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23182 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
23183 <libm-alias-float.h>.
23184 (fabsf): Define using libm_alias_float.
23185 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
23186 <libm-alias-float.h>.
23187 (lrintf): Define using libm_alias_float.
23188 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
23189 <libm-alias-float.h>.
23190 (rintf): Define using libm_alias_float.
23192 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
23193 <libm-alias-double.h>.
23194 (fabs): Define using libm_alias_double.
23195 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
23196 <libm-alias-double.h>.
23197 (lrint): Define using libm_alias_double.
23198 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
23199 <libm-alias-double.h>.
23200 (rint): Define using libm_alias_double.
23202 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
23203 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
23204 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
23205 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
23206 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
23207 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
23208 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
23209 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
23210 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
23211 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
23212 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
23213 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
23214 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
23215 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
23216 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
23217 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
23218 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
23219 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
23221 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
23222 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
23223 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
23225 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
23226 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
23227 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
23229 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
23230 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
23231 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
23232 s_expm1_template.c.
23233 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
23234 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
23235 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
23237 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
23238 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
23239 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
23240 s_floor_template.c.
23241 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
23242 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
23243 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
23244 s_frexp_template.c.
23245 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
23246 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
23247 s_lrint_template.c.
23248 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
23249 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
23250 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
23252 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
23253 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
23254 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
23255 s_nearbyint_template.c.
23256 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
23257 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
23258 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
23259 s_remquo_template.c.
23260 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
23261 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
23262 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
23264 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
23265 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
23266 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
23268 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
23269 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
23270 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
23271 s_sincos_template.c.
23272 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
23273 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
23274 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
23276 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
23277 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
23278 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
23280 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
23281 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
23282 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
23283 s_trunc_template.c.
23284 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
23285 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
23286 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
23287 s_atan.c instead of including s_atan.c.
23288 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
23289 s_atanf.c instead of including s_atanf.c.
23290 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
23291 s_atanl.c instead of including s_atanl.c.
23292 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
23293 instead of s_atan.c.
23294 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
23295 instead of s_atanf.c.
23296 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
23297 instead of s_atanl.c.
23299 * scripts/update-copyrights: Do not handle intl/plural.c
23302 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
23305 * configure.ac (BISON): Require to be present.
23306 * configure: Regenerated.
23307 * intl/Makefile (generated): Add plural.c.
23308 [$(BISON) != no]: Make code unconditional.
23309 (plural.c): Change rule to $(objpfx)plural.c.
23310 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
23311 * intl/plural.c: Remove.
23312 * manual/install.texi (Tools for Compilation): Document bison as
23314 * INSTALL: Regenerated.
23316 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23318 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
23319 <libm-alias-double.h>.
23320 (llrint): Define using libm_alias_double.
23321 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
23322 <libm-alias-float.h>.
23323 (llrintf): Define using libm_alias_float.
23324 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
23325 <libm-alias-ldouble.h>.
23326 (llrintl): Define using libm_alias_ldouble.
23328 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
23329 declare_mgen_alias instead of weak_alias.
23330 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
23331 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
23332 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
23334 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23336 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23338 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
23339 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
23340 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
23342 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23343 Add submul_1-generic.
23344 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
23345 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
23346 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
23348 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23349 Add addmul_1-generic.
23350 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
23351 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
23352 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
23354 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23356 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
23357 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
23358 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
23360 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23362 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
23363 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
23364 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
23366 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23368 According to CLDR, collation rules for Serbian and Bosnian
23369 should be the same as for Croatian.
23372 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
23373 and to the list of locales to be built for testing.
23374 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23375 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23376 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
23377 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
23379 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23381 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
23382 to make test case pass.
23383 * localedata/hr_HR.UTF-8.in: Add more test strings.
23385 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23387 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
23389 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23391 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
23392 the list of locales to built for testing.
23393 * localedata/hr_HR.UTF-8.in: New file.
23395 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23398 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
23400 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
23401 CLDR (except use ligatures for the digraphs, CLDR does not use
23402 the ligatures), add first_workday, some fixes in the date and time
23404 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23406 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23407 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23408 Add int_p_cs_precedes and int_n_cs_precedes.
23409 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23410 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23412 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23413 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23415 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23416 and lang_lib. Change postal_fmt.
23418 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23420 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23422 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23423 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23424 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23425 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23426 * sysdeps/generic/setjmpP.h: New file.
23427 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23428 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23429 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23430 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23431 Add jmp_buf-ssp.sym.
23432 (tests): Add tst-saved_mask-1.
23434 2017-11-30 Arjun Shankar <arjun@redhat.com>
23438 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23439 instead of request2size.
23441 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23444 (__lllrint): Remove alias.
23445 (lllrint): Likewise.
23446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23447 (__lllrintf): Likewise.
23448 (lllrintf): Likewise.
23450 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23451 <libm-alias-float.h>.
23452 (copysignf): Define using libm_alias_float.
23453 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23454 <libm-alias-float.h>.
23455 (fabsf): Define using libm_alias_float.
23456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23457 Include <libm-alias-float.h>.
23458 (copysignf): Define using libm_alias_float.
23459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23460 <libm-alias-float.h>.
23461 (fabsf): Define using libm_alias_float.
23462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23463 <libm-alias-float.h>.
23464 (fdimf): Define using libm_alias_float.
23465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23466 <libm-alias-float.h>.
23467 (fmaf): Define using libm_alias_float.
23468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23469 <libm-alias-float.h>.
23470 (llrintf): Define using libm_alias_float.
23471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23472 Include <libm-alias-float.h>.
23473 (nearbyintf): Define using libm_alias_float.
23474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23475 <libm-alias-float.h>.
23476 (rintf): Define using libm_alias_float.
23477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23478 <libm-alias-float.h>.
23479 (llrintf): Define using libm_alias_float.
23480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23481 <libm-alias-float.h>.
23482 (lrintf): Define using libm_alias_float.
23483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23484 <libm-alias-float.h>.
23485 (nearbyintf): Define using libm_alias_float.
23486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23487 <libm-alias-float.h>.
23488 (rintf): Define using libm_alias_float.
23489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23490 <libm-alias-float.h>.
23491 (ceilf): Define using libm_alias_float.
23492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23493 <libm-alias-float.h>.
23494 (floorf): Define using libm_alias_float.
23495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23496 <libm-alias-float.h>.
23497 (fmaf): Define using libm_alias_float.
23498 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23499 <libm-alias-float.h>.
23500 (lrintf): Define using libm_alias_float.
23501 (llrintf): Likewise.
23502 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23503 <libm-alias-float.h>.
23504 (nearbyintf): Define using libm_alias_float.
23505 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23506 <libm-alias-float.h>.
23507 (rintf): Define using libm_alias_float.
23508 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23509 <libm-alias-float.h>.
23510 (truncf): Define using libm_alias_float.
23511 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23512 <libm-alias-float.h>.
23513 (copysignf): Define using libm_alias_float.
23514 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23515 <libm-alias-float.h>.
23516 (fabsf): Define using libm_alias_float.
23517 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23518 <libm-alias-float.h>.
23519 (lrintf): Define using libm_alias_float.
23520 (llrintf): Likewise.
23521 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23522 <libm-alias-float.h>.
23523 (nearbyintf): Define using libm_alias_float.
23524 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23525 <libm-alias-float.h>.
23526 (rintf): Define using libm_alias_float.
23528 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23530 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23531 <libm-alias-double.h>.
23532 (copysign): Define using libm_alias_double.
23533 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23534 <libm-alias-double.h>.
23535 (fabs): Define using libm_alias_double.
23536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23537 Include <libm-alias-double.h>.
23538 (copysign): Define using libm_alias_double.
23539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23540 <libm-alias-double.h>.
23541 (fabs): Define using libm_alias_double.
23542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23543 <libm-alias-double.h>.
23544 (fdim): Define using libm_alias_double.
23545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23546 <libm-alias-double.h>.
23547 (fma): Define using libm_alias_double.
23548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23549 <libm-alias-double.h>.
23550 (llrint): Define using libm_alias_double.
23551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23552 Include <libm-alias-double.h>.
23553 (nearbyint): Define using libm_alias_double.
23554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23555 <libm-alias-double.h>.
23556 (rint): Define using libm_alias_double.
23557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23558 <libm-alias-double.h>.
23559 (fabs): Define using libm_alias_double.
23560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23561 <libm-alias-double.h>.
23562 (llrint): Define using libm_alias_double.
23563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23564 <libm-alias-double.h>.
23565 (nearbyint): Define using libm_alias_double.
23566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23567 <libm-alias-double.h>.
23568 (rint): Define using libm_alias_double.
23569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23570 <libm-alias-double.h>.
23571 (ceil): Define using libm_alias_double.
23572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23573 <libm-alias-double.h>.
23574 (floor): Define using libm_alias_double.
23575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23576 <libm-alias-double.h>.
23577 (fma): Define using libm_alias_double.
23578 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23579 <libm-alias-double.h>.
23580 (lrint): Define using libm_alias_double.
23581 (llrint): Likewise.
23582 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23583 <libm-alias-double.h>.
23584 (nearbyint): Define using libm_alias_double.
23585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23586 <libm-alias-double.h>.
23587 (rint): Define using libm_alias_double.
23588 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23589 <libm-alias-double.h>.
23590 (trunc): Define using libm_alias_double.
23591 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23592 <libm-alias-double.h>.
23593 (copysign): Define using libm_alias_double.
23594 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23595 <libm-alias-double.h>.
23596 (fabs): Define using libm_alias_double.
23597 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23598 <libm-alias-double.h>.
23599 (lrint): Define using libm_alias_double.
23600 (llrint): Likewise.
23601 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23602 <libm-alias-double.h>.
23603 (nearbyint): Define using libm_alias_double.
23604 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23605 <libm-alias-double.h>.
23606 (rint): Define using libm_alias_double.
23609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23611 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23613 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23614 SPARC --disable-multi-arch glibc variants.
23616 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23617 <libm-alias-float.h>.
23618 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23620 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23621 <libm-alias-float.h>.
23622 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23624 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23625 <libm-alias-float.h>.
23626 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23628 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23629 <libm-alias-float.h>.
23630 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23632 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23633 <libm-alias-float.h>.
23634 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23636 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23637 <libm-alias-float.h>.
23638 (ceilf): Define using libm_alias_float.
23639 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23640 <libm-alias-float.h>.
23641 (floorf): Define using libm_alias_float.
23642 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23643 <libm-alias-float.h>.
23644 (fmaf): Define using libm_alias_float.
23645 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23646 <libm-alias-float.h>.
23647 (nearbyintf): Define using libm_alias_float.
23648 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23649 <libm-alias-float.h>.
23650 (rintf): Define using libm_alias_float.
23651 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23652 <libm-alias-float.h>.
23653 (truncf): Define using libm_alias_float.
23654 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23655 (copysignf): Define using libm_alias_float.
23656 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23657 (cosf): Define using libm_alias_float.
23658 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23659 (fabsf): Define using libm_alias_float.
23660 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23661 (fmaxf): Define using libm_alias_float.
23662 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23663 (fminf): Define using libm_alias_float.
23664 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23665 (llrintf): Define using libm_alias_float.
23666 [!__ILP32__] (lrintf): Likewise.
23667 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23668 (sincosf): Define using libm_alias_float.
23669 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23670 (sinf): Define using libm_alias_float.
23671 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23672 (lrintf): Define using libm_alias_float.
23674 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23675 <libm-alias-double.h>.
23676 (atan): Define using libm_alias_double.
23677 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23678 <libm-alias-double.h>.
23679 (ceil): Define using libm_alias_double.
23680 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23681 <libm-alias-double.h>.
23682 (floor): Define using libm_alias_double.
23683 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23684 <libm-alias-double.h>.
23685 (fma): Define using libm_alias_double.
23686 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23687 <libm-alias-double.h>.
23688 (nearbyint): Define using libm_alias_double.
23689 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23690 <libm-alias-double.h>.
23691 (rint): Define using libm_alias_double.
23692 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23693 <libm-alias-double.h>.
23694 (sin): Define using libm_alias_double.
23696 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23697 <libm-alias-double.h>.
23698 (tan): Define using libm_alias_double.
23699 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23700 <libm-alias-double.h>.
23701 (trunc): Define using libm_alias_double.
23702 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23703 (copysign): Define using libm_alias_double.
23704 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23705 (fabs): Define using libm_alias_double.
23706 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23707 (fmax): Define using libm_alias_double.
23708 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23709 (fmin): Define using libm_alias_double.
23710 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23711 (llrint): Define using libm_alias_double.
23712 [!__ILP32__] (lrint): Likewise.
23713 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23714 (lrint): Define using libm_alias_double.
23716 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23718 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23719 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23723 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23724 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23725 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23726 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23728 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23729 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23731 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23732 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23738 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23739 (libm-sysdep_routines): Add s_nearbyint-generic and
23740 s_nearbyintf-generic objects.
23741 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23742 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23743 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23744 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23745 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23746 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23748 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23749 Add s_finitef-generic and s_finite-generic objects.
23750 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23754 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23755 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23757 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23758 Add s_isinff-generic and s_isinf-generic objects.
23759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23766 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23767 Add s_isnanf-generic and s_isnan-generic objects.
23768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23775 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23777 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23779 (sysdep_routines): Use sysdep_calls as base.
23780 (libm-sysdep_routines): Add generic rule for symbols shared with
23781 libc. Add s_signbit-generic and s_signbitf-generic objects.
23782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23784 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23785 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23786 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23787 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23789 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23791 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23792 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23793 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23794 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23795 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23796 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23797 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23798 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23799 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23800 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23801 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23802 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23803 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23804 libm_alias_float_r.
23805 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23806 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23808 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23809 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23810 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23811 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23812 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23813 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23814 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23815 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23816 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23817 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23819 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23821 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23822 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23823 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23824 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23825 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23826 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23827 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23828 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23829 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23830 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23831 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23832 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23833 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23834 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23835 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23836 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23837 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23838 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23839 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23841 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23842 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23843 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23844 * sysdeps/ia64/fpu/w_lgammaf_main.c
23845 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23846 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23848 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23849 Alexandre Oliva <aoliva@redhat.com>
23852 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23853 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23855 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23857 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23858 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23859 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23860 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23861 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23862 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23863 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23864 instead of “ifdef DIACRIT_BACKWARD”.
23866 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23868 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23869 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23870 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23871 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23872 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23873 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23880 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23881 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23882 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23883 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23884 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23885 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23887 ($(have-as-vis3) == yes): Remove conditional.
23888 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23899 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23900 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23901 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23904 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23905 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23907 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23909 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23910 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23911 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23912 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23913 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23914 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23915 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23916 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23917 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23918 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23919 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23920 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23921 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23922 libm_alias_double_r.
23923 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23925 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23926 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23927 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23928 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23929 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23930 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23931 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23932 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23933 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23934 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23935 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23937 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23939 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23940 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23941 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23942 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23943 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23944 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23945 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23946 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23947 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23948 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23949 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23950 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23951 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23952 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23953 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23954 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23955 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23956 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23958 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23959 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23960 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23961 * sysdeps/ia64/fpu/w_lgamma_main.c
23962 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23963 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23965 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
23967 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23968 address of $global$ into %dp register earlier. Use pc-relative
23969 instruction sequence for PIC case.
23971 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23973 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23974 (asinhf): Define using libm_alias_float.
23975 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23976 (atanf): Define using libm_alias_float.
23977 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23978 (cbrtf): Define using libm_alias_float.
23979 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23980 (ceilf): Define using libm_alias_float.
23981 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23982 (copysignf): Define using libm_alias_float.
23983 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23984 (expm1f): Define using libm_alias_float.
23985 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23986 (fabsf): Define using libm_alias_float.
23987 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23988 (floorf): Define using libm_alias_float.
23989 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23990 (fmaxf): Define using libm_alias_float.
23991 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23992 (fminf): Define using libm_alias_float.
23993 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23994 (frexpf): Define using libm_alias_float.
23995 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23996 (llrintf): Define using libm_alias_float.
23997 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23998 (logbf): Define using libm_alias_float.
23999 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24000 (lrintf): Define using libm_alias_float.
24001 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
24002 (nearbyintf): Define using libm_alias_float.
24003 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
24004 (remquof): Define using libm_alias_float.
24005 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
24006 (rintf): Define using libm_alias_float.
24007 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
24008 (truncf): Define using libm_alias_float.
24009 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
24010 <libm-alias-float.h>.
24011 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24013 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
24014 <libm-alias-float.h>.
24015 (expf): Define using libm_alias_float, or libm_alias_float_other
24017 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
24018 <libm-alias-float.h>.
24019 (log2f): Define using libm_alias_float, or libm_alias_float_other
24021 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
24022 <libm-alias-float.h>.
24023 (logf): Define using libm_alias_float, or libm_alias_float_other
24025 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
24026 <libm-alias-float.h>.
24027 (powf): Define using libm_alias_float, or libm_alias_float_other
24029 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
24030 <libm-alias-float.h>.
24031 (cosf): Define using libm_alias_float.
24032 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
24033 <libm-alias-float.h>.
24034 (sincosf): Define using libm_alias_float.
24035 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
24036 <libm-alias-float.h>.
24037 (sinf): Define using libm_alias_float.
24038 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24039 (fmaxf): Define using libm_alias_float.
24040 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
24041 (fminf): Define using libm_alias_float.
24042 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24043 <libm-alias-float.h>.
24044 (fmaf): Define using libm_alias_float.
24046 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
24047 (asinh): Define using libm_alias_double.
24048 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
24049 (atan): Define using libm_alias_double.
24050 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
24051 (cbrt): Define using libm_alias_double.
24052 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
24053 (ceil): Define using libm_alias_double.
24054 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
24055 (copysign): Define using libm_alias_double.
24056 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
24057 (expm1): Define using libm_alias_double.
24058 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
24059 (fabs): Define using libm_alias_double.
24060 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
24061 (fdim): Define using libm_alias_double.
24062 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
24063 (floor): Define using libm_alias_double.
24064 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
24065 (fmax): Define using libm_alias_double.
24066 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
24067 (fmin): Define using libm_alias_double.
24068 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
24069 (frexp): Define using libm_alias_double.
24070 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
24071 (llrint): Define using libm_alias_double.
24072 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
24073 (logb): Define using libm_alias_double.
24074 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
24075 (lrint): Define using libm_alias_double.
24076 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
24077 (nearbyint): Define using libm_alias_double.
24078 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
24079 (remquo): Define using libm_alias_double.
24080 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
24081 (rint): Define using libm_alias_double.
24082 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
24083 (trunc): Define using libm_alias_double.
24084 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
24085 (fmax): Define using libm_alias_double.
24086 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
24087 (fmin): Define using libm_alias_double.
24088 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
24089 (fma): Define using libm_alias_double.
24091 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
24094 * elf/dl-hwcaps.c (ROUND): Removed.
24095 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
24096 and ELF_NOTE_NEXT_OFFSET.
24097 * elf/dl-load.c (ROUND): Removed.
24098 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24099 * elf/readelflib.c (ROUND): Removed.
24100 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24101 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
24102 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
24103 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
24105 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24107 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24108 [!__fmaf] (fmaf): Define using libm_alias_float.
24110 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
24111 [!__fma] (fma): Define using libm_alias_double.
24112 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
24114 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24117 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
24118 and implement the collation rules for cs from CLDR on top of that.
24119 * Makefile: Add cs_CZ.UTF-8 to test-input.
24120 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
24122 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
24124 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
24126 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24127 Icarus Sparry <icarus.w.sparry@intel.com>
24129 * benchtests/Makefile:Add BENCHSET to allow subsets of
24130 benchmarks to be run.
24131 * benchtests/README: Add documentation for: Running subsets of
24134 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24136 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
24137 range of tests names.
24139 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
24140 result from property and remove "max", min" and "mean" from
24141 required properties based on benchtests/bench-skeleton.c.
24143 2017-11-28 Florian Weimer <fweimer@redhat.com>
24146 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
24147 due to Internet requirement.
24148 * posix/Makefile (tests): Remove tst-getaddrinfo4,
24150 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
24152 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24154 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24155 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
24156 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24157 (sysdep_routines): Add memset-ultra1.
24158 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
24160 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
24161 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
24162 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
24163 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
24164 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
24165 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
24166 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
24167 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24169 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
24171 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
24172 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
24173 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
24174 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
24175 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
24176 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
24177 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
24179 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24180 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
24181 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24182 (sysdep_routines): Add memcpy-ultra1.
24183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
24184 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
24186 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24188 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
24189 (cfloat_versions): Take function argument without trailing 'f'.
24190 Call libm_alias_float_other.
24191 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
24192 * sysdeps/alpha/fpu/cargf.c: Likewise.
24193 * sysdeps/alpha/fpu/cimagf.c: Likewise.
24194 * sysdeps/alpha/fpu/conjf.c: Likewise.
24195 * sysdeps/alpha/fpu/crealf.c: Likewise.
24196 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
24197 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
24198 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
24199 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
24200 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
24201 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
24202 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
24203 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
24204 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
24205 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
24206 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
24207 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
24208 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
24209 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
24210 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
24211 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
24212 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
24213 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
24214 (clog10f): Use libm_alias_float_other.
24215 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24216 (ceilf): Define using libm_alias_float.
24217 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
24218 (copysignf): Define using libm_alias_float.
24219 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24220 (fabsf): Define using libm_alias_float.
24221 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
24222 (floorf): Define using libm_alias_float.
24223 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
24224 (fmaxf): Define using libm_alias_float.
24225 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
24226 (fminf): Define using libm_alias_float.
24227 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24228 (lrintf): Define using libm_alias_float.
24229 (llrintf): Likewise.
24230 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24231 (lroundf): Define using libm_alias_float.
24232 (llroundf): Likewise.
24233 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
24234 (rintf): Define using libm_alias_float.
24235 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
24236 (truncf): Define using libm_alias_float.
24238 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24239 (ceilf): Define using libm_alias_float.
24240 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
24241 (floorf): Define using libm_alias_float.
24242 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24243 (fmaf): Define using libm_alias_float.
24244 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
24245 (fmaxf): Define using libm_alias_float.
24246 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
24247 (fminf): Define using libm_alias_float.
24248 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
24249 (llrintf): Define using libm_alias_float.
24250 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
24251 (llroundf): Define using libm_alias_float.
24252 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24253 (lrintf): Define using libm_alias_float.
24254 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24255 (lroundf): Define using libm_alias_float.
24256 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
24257 <libm-alias-float.h>.
24258 (nearbyintf): Define using libm_alias_float.
24259 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
24260 (rintf): Define using libm_alias_float.
24261 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
24262 (roundf): Define using libm_alias_float.
24263 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
24264 (truncf): Define using libm_alias_float.
24266 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
24267 (ceil): Define using libm_alias_double.
24268 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
24269 (copysign): Define using libm_alias_double.
24270 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
24271 (fabs): Define using libm_alias_double.
24272 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
24273 (floor): Define using libm_alias_double.
24274 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
24275 (fmax): Define using libm_alias_double.
24276 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
24277 (fmin): Define using libm_alias_double.
24278 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
24279 (lrint): Define using libm_alias_double.
24280 (llrint): Likewise.
24281 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
24282 (lround): Define using libm_alias_double.
24283 (llround): Likewise.
24284 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
24285 (rint): Define using libm_alias_double.
24286 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
24287 (trunc): Define using libm_alias_double.
24289 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24290 (libm_alias_double_r): Add semicolon after weak_alias call.
24292 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24294 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
24295 (ceil): Define using libm_alias_double.
24296 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
24297 (floor): Define using libm_alias_double.
24298 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
24299 (fma): Define using libm_alias_double.
24300 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
24301 (fmax): Define using libm_alias_double.
24302 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
24303 (fmin): Define using libm_alias_double.
24304 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
24305 (llrint): Define using libm_alias_double.
24306 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
24307 (llround): Define using libm_alias_double.
24308 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
24309 (lrint): Define using libm_alias_double.
24310 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
24311 (lround): Define using libm_alias_double.
24312 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
24313 (nearbyint): Define using libm_alias_double.
24314 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
24315 (rint): Define using libm_alias_double.
24316 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
24317 (round): Define using libm_alias_double.
24318 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
24319 (trunc): Define using libm_alias_double.
24321 2017-11-27 Florian Weimer <fweimer@redhat.com>
24323 * sysdeps/unix/sysv/linux/mlock2.c: New file.
24324 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
24325 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
24326 (tests): Add tst-mlock2.
24327 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
24328 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
24329 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
24330 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
24331 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
24332 for mlock. Document mlock2.
24334 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24336 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
24337 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
24339 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
24341 * sysdeps/x86/Makeconfig: New file.
24342 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
24343 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24344 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
24345 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24346 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24347 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24348 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
24350 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24351 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24352 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24353 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24354 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24355 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24356 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24357 * manual/math.texi (Mathematics): Document support for _Float64x.
24358 * math/Versions (GLIBC_2.27): Add _Float64x functions.
24359 * stdlib/Versions (GLIBC_2.27): Likewise.
24360 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24361 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24362 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24363 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24364 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24365 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24366 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24367 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24368 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24369 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24370 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24371 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24376 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24377 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24378 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24379 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24380 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24381 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24382 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24383 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24384 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24385 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24386 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24387 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24388 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24389 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24391 2017-11-27 Andreas Schwab <schwab@suse.de>
24393 * elf/Makefile (dl-routines): Add dl-sort-maps.
24394 * elf/dl-sort-maps.c: New file.
24395 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
24396 (_dl_sort_maps): Declare.
24397 * elf/dl-fini.c (_dl_sort_fini): Remove.
24398 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
24399 * elf/dl-close.c (_dl_close_worker): Likewise.
24400 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24402 * elf/dl-open.c (dl_open_worker): Likewise.
24404 2017-11-24 Joseph Myers <joseph@codesourcery.com>
24406 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24407 using libm_alias_float128.
24408 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24410 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24412 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24413 (setpayloadsigf128): Likewise.
24414 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24416 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24419 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24420 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24421 -mfloat128 to CFLAGS.
24423 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24425 (CFLAGS-libm-test-support-float64x.c): New variable.
24426 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24427 $(f128-loader-link) to gnulib-tests.
24429 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24430 (libm_alias_float128_other_r): If
24431 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24433 (libm_alias_float128_r): Add semicolon after weak_alias call.
24434 * sysdeps/generic/libm-alias-ldouble.h
24435 (libm_alias_ldouble_other_r_f128): New macro.
24436 (libm_alias_ldouble_other_r_f64x): Likewise.
24437 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24438 and libm_alias_ldouble_other_r_f64x.
24439 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24440 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24441 (libm_alias_ldouble_other_r_f128): New macro.
24442 (libm_alias_ldouble_other_r_f64x): Likewise.
24443 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24444 and libm_alias_ldouble_other_r_f64x.
24446 * stdlib/strfroml.c: Always include <stdlib.h>.
24447 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24448 undefine as macro and define as weak alias.
24449 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24450 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24452 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24453 Define and later undefine as macro and define as weak alias.
24455 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24456 Define and later undefine as macro. Define as weak alias if
24458 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24459 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24460 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24461 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24462 Define and later undefine as macro. Define as weak alias if
24464 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24465 Define and later undefine as macro. Define as weak alias if
24467 * sysdeps/ieee754/float128/strtof128_l.c
24468 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24469 Define and later undefine as macro. Define as weak alias if
24471 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24472 Define and later undefine as macro. Define as weak alias if
24474 * sysdeps/ieee754/ldbl-128/strtold_l.c
24475 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24476 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24477 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24478 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24479 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24480 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24481 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24482 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24483 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24484 * sysdeps/ieee754/ldbl-96/strtold_l.c
24485 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24486 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24487 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24488 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24490 * math/test-float64x.h: New file.
24491 * math/Makefile (type-float64x-yes): New variable.
24492 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24494 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24495 function-like macro.
24496 (min_of_type_): Likewise.
24497 (min_of_type_l): Likewise.
24498 (min_of_type_f128): Likewise.
24499 (min_of_type): Pass () as last argument of __MATH_TG.
24501 * stdlib/tst-strtod-round-skeleton.c
24502 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24505 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24506 for combinations of long double with _Float64 and _Float64x.
24508 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24509 (__DECL_SIMD_cosf32): Likewise.
24510 (__DECL_SIMD_cosf64): Likewise.
24511 (__DECL_SIMD_cosf32x): Likewise.
24512 (__DECL_SIMD_cosf64x): Likewise.
24513 (__DECL_SIMD_cosf128x): Likewise.
24514 (__DECL_SIMD_sinf16): Likewise.
24515 (__DECL_SIMD_sinf32): Likewise.
24516 (__DECL_SIMD_sinf64): Likewise.
24517 (__DECL_SIMD_sinf32x): Likewise.
24518 (__DECL_SIMD_sinf64x): Likewise.
24519 (__DECL_SIMD_sinf128x): Likewise.
24520 (__DECL_SIMD_sincosf16): Likewise.
24521 (__DECL_SIMD_sincosf32): Likewise.
24522 (__DECL_SIMD_sincosf64): Likewise.
24523 (__DECL_SIMD_sincosf32x): Likewise.
24524 (__DECL_SIMD_sincosf64x): Likewise.
24525 (__DECL_SIMD_sincosf128x): Likewise.
24526 (__DECL_SIMD_logf16): Likewise.
24527 (__DECL_SIMD_logf32): Likewise.
24528 (__DECL_SIMD_logf64): Likewise.
24529 (__DECL_SIMD_logf32x): Likewise.
24530 (__DECL_SIMD_logf64x): Likewise.
24531 (__DECL_SIMD_logf128x): Likewise.
24532 (__DECL_SIMD_expf16): Likewise.
24533 (__DECL_SIMD_expf32): Likewise.
24534 (__DECL_SIMD_expf64): Likewise.
24535 (__DECL_SIMD_expf32x): Likewise.
24536 (__DECL_SIMD_expf64x): Likewise.
24537 (__DECL_SIMD_expf128x): Likewise.
24538 (__DECL_SIMD_powf16): Likewise.
24539 (__DECL_SIMD_powf32): Likewise.
24540 (__DECL_SIMD_powf64): Likewise.
24541 (__DECL_SIMD_powf32x): Likewise.
24542 (__DECL_SIMD_powf64x): Likewise.
24543 (__DECL_SIMD_powf128x): Likewise.
24545 * stdlib/Versions (libc): Move entries for wcstof128 and
24546 wcstof128_l to ....
24547 * wcsmbs/Versions (libc): ... here.
24548 Include <float128-abi.h>.
24550 2017-11-24 Florian Weimer <fweimer@redhat.com>
24552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24553 bits/mman-shared.h.
24554 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24555 <bits/mman-shared.h>.
24556 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24558 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24559 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24560 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24561 <bits/mman-shared.h>.
24563 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24566 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24567 posix_memalign/free.
24568 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24570 2017-11-22 Mike FABIAN <mfabian@redhat.com>
24573 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24574 and implement the collation rules for pl from CLDR on top of that.
24575 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24576 of locales to be built for testing.
24577 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24579 2017-11-23 Joseph Myers <joseph@codesourcery.com>
24581 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24582 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24583 libm_alias_ldouble_other.
24584 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24585 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24586 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24587 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24588 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24589 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24590 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24591 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24592 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24593 libm_alias_ldouble_r.
24594 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24595 libm_alias_ldouble_other.
24596 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24597 (log10l): Likewise.
24598 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24599 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24600 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24601 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24602 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24603 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24604 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24605 (atan2l): Likewise.
24606 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24607 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24608 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24609 libm_alias_ldouble.
24610 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24612 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24613 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24614 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24616 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24617 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24618 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24619 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24620 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24621 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24622 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24623 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24624 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24625 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24626 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24627 libm_alias_ldouble.
24628 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24629 libm_alias_ldouble_other.
24630 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24631 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24632 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24633 libm_alias_ldouble.
24634 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24635 libm_alias_ldouble_other.
24636 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24637 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24638 * sysdeps/ia64/fpu/w_lgammal_main.c
24639 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24640 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24642 2017-11-23 Florian Weimer <fweimer@redhat.com>
24644 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24645 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24646 alike. Remove freeres marker.
24647 * malloc/arena.c (arena_thread_freeres): Call
24648 tcache_thread_shutdown.
24650 2017-11-23 Florian Weimer <fweimer@redhat.com>
24653 Export nscd hash function as __nss_hash.
24654 * include/nss.h (__nss_hash): Declare.
24655 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24657 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24658 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24660 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24661 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24662 * nss/Makefiles (routines): Add nss_hash.
24663 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24664 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24665 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24666 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24668 2017-11-23 Florian Weimer <fweimer@redhat.com>
24671 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24672 Return error code, not -1.
24673 * signal/tst-sigwait-eintr.c: New file.
24674 * signal/Makefile (tests): Add tst-sigwait-eintr.
24676 2017-11-23 Florian Weimer <fweimer@redhat.com>
24678 Linux: Add memfd_create system call wrapper
24679 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24681 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24682 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24683 [__USE_GNU] (memfd_create): Declare.
24684 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24685 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24686 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24687 * sysdeps/unix/sysv/linux/**.abilist: Update.
24688 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24690 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24692 * localedata/gen-locale.sh: Fix typo in variable name.
24694 * resolv/res_debug.c (p_secstodate): Condition definition on
24695 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24696 directly as __p_secstodate, and as a compat symbol. Do not use
24697 libresolv_hidden_def.
24698 * resolv/resolv.h (p_secstodate): Remove macro and function
24700 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24701 using p_secstodate.
24702 * include/resolv.h (__p_secstodate): Do not use
24703 libresolv_hidden_proto.
24704 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24705 (tests-internal): ... here.
24706 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24707 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24708 and declare and use __p_secstodate and use compat_symbol_reference
24710 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24711 implementation returning 77.
24714 * resolv/res_debug.c: Include <libc-diag.h>.
24715 (p_secstodate): Assert time_t at least as wide as u_long. On
24716 overflow, use integer seconds since the epoch as output, or use
24717 "<overflow>" as output and set errno to EOVERFLOW if integer
24718 seconds since the epoch would be 14 or more characters.
24719 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24721 * resolv/tst-p_secstodate.c: New file.
24722 * resolv/Makefile (tests): Add tst-p_secstodate.
24723 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24725 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24726 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24727 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24729 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24731 * posix/regcomp.c (init_word_char): Add comments.
24733 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24736 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24737 strlen to compute length of ut_user and set trailing NUL byte of
24740 2017-11-21 Mike FABIAN <mfabian@redhat.com>
24743 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24744 using “copy "iso14651_t1"” and then implementing the
24745 collation rules for lv from CLDR on top of that.
24746 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24747 of locales to be built for testing.
24748 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24751 2017-11-21 Joseph Myers <joseph@codesourcery.com>
24753 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24754 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24755 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24756 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24757 [__USE_MISC] (MADV_HWPOISON): New macro.
24758 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24760 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24762 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24763 -Wmissing-braces on GCC 4.9.
24765 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24767 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24768 * sysdeps/s390/s390-32/start.S (_start): Likewise
24769 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24770 (thread_start): Likewise.
24771 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24772 (thread_start): Likewise.
24773 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24774 (__makecontext_ret): Likewise.
24775 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24776 (__makecontext_ret): Likewise.
24778 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24780 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24781 __wcschrnul): Remove attribute_hidden.
24783 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24785 regex: don't assume uint64_t or uint32_t
24786 This avoids -Werror=overflow errors for 32-bit systems in
24787 the 64-bit case. Problem reported by Joseph Myers in:
24788 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24789 Also, when this code is used in Gnulib it ports to platforms
24790 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24791 them, and on some 32-bit compilers there is no uint64_t.
24792 Problem reported by Gianluigi Tiesi in:
24793 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24794 * posix/regcomp.c (init_word_char): Don't assume that the types
24795 uint64_t and uint32_t exist. Adapted from Gnulib patch
24796 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24797 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24799 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24801 * sysdeps/aarch64/memset-reg.h: New file.
24802 * sysdeps/aarch64/memset.S: Use it.
24803 (__memset): Rename to MEMSET macro.
24804 [ZVA_MACRO]: Use zva_macro.
24805 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24806 Add memset_generic and memset_falkor.
24807 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24808 (__libc_ifunc_impl_list): Add memset ifuncs.
24809 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24810 local variable zva_size.
24811 * sysdeps/aarch64/multiarch/memset.c: New file.
24812 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24813 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24814 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24815 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24816 (DCZID_DZP_MASK): New macro.
24817 (DCZID_BS_MASK): Likewise.
24818 (init_cpu_features): Read and set zva_size.
24819 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24820 (struct cpu_features): New member zva_size.
24822 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24823 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24824 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24826 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24827 backwards. Fix timing computation.
24828 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24829 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24830 on memset by N at a time. Fix timing computation.
24832 2017-11-20 Florian Weimer <fweimer@redhat.com>
24834 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24835 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24837 2017-11-19 Florian Weimer <fweimer@redhat.com>
24839 manual: Document mprotect
24840 * manual/memory.texi (Memory Protection): New section.
24841 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24842 documentation of PROT_* flags and reference the Memory Protection
24845 2017-11-19 Florian Weimer <fweimer@redhat.com>
24847 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24848 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24849 (Scatter-Gather): ... to here. Remove misleading comment.
24851 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
24853 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24856 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24857 when /proc/<pid>/setgroups does not exist.
24859 2017-11-18 Florian Weimer <fweimer@redhat.com>
24861 * sysdeps/unix/sysv/linux/tst-ttyname.c
24862 (become_root_in_mount_ns): Remove.
24863 (do_in_chroot_1): Call support_enter_mount_namespace.
24864 (do_in_chroot_2): Likewise.
24865 (do_test): Call support_become_root early.
24867 2017-11-18 Florian Weimer <fweimer@redhat.com>
24869 * support/namespace.h (support_enter_mount_namespace): Declare.
24870 * support/support_enter_mount_namespace.c: New file.
24871 * support/Makefile (libsupport-routines): Add
24872 support_enter_mount_namespace.
24874 2017-11-18 Florian Weimer <fweimer@redhat.com>
24876 * support/temp_file.c (support_create_temp_directory): Use
24877 test_dir and do not rely on the presence of the XXXXXX suffix.
24878 * support/temp_file.h (support_create_temp_directory): Update
24880 * support/tst-xreadlink.c (do_test): Adjust.
24881 * support/support_chroot.c (support_chroot_create): Likewise.
24883 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24885 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24887 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24890 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24892 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24893 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24894 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24895 (ceill): Define using libm_alias_ldouble.
24896 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24897 <libm-alias-ldouble.h>.
24898 (copysignl): Define using libm_alias_ldouble.
24899 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24900 (fabsl): Define using libm_alias_ldouble.
24901 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24902 (floorl): Define using libm_alias_ldouble.
24903 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24904 (fmaxl): Define using libm_alias_ldouble.
24905 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24906 (fminl): Define using libm_alias_ldouble.
24907 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24908 (llrintl): Define using libm_alias_ldouble.
24909 (lrintl): Likewise.
24910 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24911 <libm-alias-ldouble.h>.
24912 (nearbyintl): Define using libm_alias_ldouble.
24913 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24914 (truncl): Define using libm_alias_ldouble.
24915 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24916 <libm-alias-ldouble.h>.
24917 (lrintl): Define using libm_alias_ldouble.
24919 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24920 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24921 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24922 (asinhl): Define using libm_alias_ldouble.
24923 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24924 (atanl): Define using libm_alias_ldouble.
24925 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24926 (cbrtl): Define using libm_alias_ldouble.
24927 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24928 (ceill): Define using libm_alias_ldouble.
24929 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24930 (copysignl): Define using libm_alias_ldouble.
24931 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24932 (fabsl): Define using libm_alias_ldouble.
24933 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24934 (floorl): Define using libm_alias_ldouble.
24935 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24936 (fmaxl): Define using libm_alias_ldouble.
24937 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24938 (fminl): Define using libm_alias_ldouble.
24939 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24940 (frexpl): Define using libm_alias_ldouble.
24941 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24942 (llrintl): Define using libm_alias_ldouble.
24943 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24944 (logbl): Define using libm_alias_ldouble.
24945 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24946 (lrintl): Define using libm_alias_ldouble.
24947 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24948 (nearbyintl): Define using libm_alias_ldouble.
24949 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24950 (nextafterl): Define using libm_alias_ldouble.
24951 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24952 (remquol): Define using libm_alias_ldouble.
24953 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24954 (rintl): Define using libm_alias_ldouble.
24955 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24956 (truncl): Define using libm_alias_ldouble.
24957 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24958 (fmaxl): Define using libm_alias_ldouble.
24959 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24960 (fminl): Define using libm_alias_ldouble.
24962 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24963 to C syntax instead of availability and properties of types.
24964 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24965 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24966 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24967 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24968 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24969 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24971 2017-11-17 Florian Weimer <fweimer@redhat.com>
24973 support_become_root: Enable file creation in namespaces.
24974 * support/support_become_root.c (setup_mapping): New function.
24975 (support_become_root): Call it.
24977 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24979 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24982 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24984 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24985 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24987 2017-11-16 Joseph Myers <joseph@codesourcery.com>
24989 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24991 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24994 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24996 * INSTALL: Fix botched up regeneration.
24998 * NEWS: Update sourceare link to https.
24999 * configure.ac: Likewise.
25000 * crypt/md5test-giant.c: Likewise.
25001 * dlfcn/bug-atexit1.c: Likewise.
25002 * dlfcn/bug-atexit2.c: Likewise.
25003 * localedata/README: Likewise.
25004 * malloc/tst-mallocfork.c: Likewise.
25005 * manual/install.texi: Likewise.
25006 * nptl/tst-pthread-getattr.c: Likewise.
25007 * stdio-common/tst-fgets.c: Likewise.
25008 * stdio-common/tst-fwrite.c: Likewise.
25009 * sunrpc/Makefile: Likewise.
25010 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
25011 * wcsmbs/tst-mbrtowc2.c: Likewise.
25012 * configure: Regenerate.
25013 * INSTALL: Regenerate.
25015 2017-11-15 Martin Sebor <msebor@redhat.com>
25017 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
25018 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
25019 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
25021 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25024 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
25025 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
25028 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
25029 Defer is_pty check until end of the function.
25030 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25033 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
25034 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
25035 (ttyname): Likewise.
25036 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25037 (__ttyname_r): Likewise.
25039 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
25042 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
25044 * manual/terminal.texi (Is It a Terminal):
25045 Mention ENODEV for ttyname and ttyname_r.
25047 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25049 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
25050 constant and macro.
25052 * sysdeps/unix/sysv/linux/bits/mman-linux.h
25053 [__USE_MISC] (MADV_WIPEONFORK): New macro.
25054 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25055 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25056 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
25057 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25059 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25061 * signal/sigrelse.c (sigrelse): Optimize implementation.
25063 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
25064 (__sigpause): Rely on __sigsuspend to implement single thread
25065 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
25067 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25069 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
25070 kernel version to 4.14.
25072 2017-11-15 Steve Ellcey <sellcey@cavium.com>
25075 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
25076 Check if ifname is too long.
25078 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25080 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
25082 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25084 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
25085 was accidentally lost.
25087 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25089 * localedata/locales/az_IR: Add standard copyright header.
25091 2017-11-15 Florian Weimer <fweimer@redhat.com>
25094 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
25095 not just the top one. Output a new "subheaps" statistic.
25097 2017-11-15 Florian Weimer <fweimer@redhat.com>
25100 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
25101 under the per-arena lock.
25102 * malloc/Makefile (tests): Add tst-malloc_info.
25103 (tst-malloc_info): Link with libpthread.
25104 * malloc/tst-malloc_info.c: New file.
25106 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25109 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
25110 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
25111 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
25112 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
25113 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
25114 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
25115 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
25116 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
25117 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
25118 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
25119 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
25120 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
25121 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
25122 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
25123 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
25124 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
25125 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
25126 (__floating_type): Likewise.
25127 (__real_integer_type): Likewise.
25128 (__complex_integer_type): Likewise.
25129 (__expr_is_real): Likewise.
25130 (__tgmath_real_type_sub): Likewise.
25131 (__tgmath_real_type): Likewise.
25132 (__tgmath_complex_type_sub): Likewise.
25133 (__tgmath_complex_type): Likewise.
25134 (__TGMATH_F128): Likewise.
25135 (__TGMATH_CF128): Likewise.
25136 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
25138 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
25139 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
25141 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
25143 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
25144 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
25145 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
25146 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
25148 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
25149 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
25151 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
25152 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
25153 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
25155 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
25156 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
25157 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
25161 2017-11-14 Joseph Myers <joseph@codesourcery.com>
25163 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
25164 for stpncpy calls for GCC 8.
25165 (test_strncat): Disable -Wstringop-truncation warning for strncat
25166 calls for GCC 8. Disable -Wstringop-overflow= warning for one
25167 strncat call for GCC 7.
25168 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
25170 (test_memcmp): Use memcpy instead of strncpy for calls not copying
25173 * string/bug-strncat1.c: Include <libc-diag.h>.
25174 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
25176 2017-11-13 Claude Paroz <claude@2xlibre.net>
25179 * localedata/locales/aa_DJ: Improved readibility by replacing
25180 <Uxxxx> sequences in the ASCII printable range by their ASCII
25181 character equivalents.
25182 * localedata/locales/aa_ER: Likewise.
25183 * localedata/locales/aa_ER@saaho: Likewise.
25184 * localedata/locales/aa_ET: Likewise.
25185 * localedata/locales/af_ZA: Likewise.
25186 * localedata/locales/agr_PE: Likewise.
25187 * localedata/locales/ak_GH: Likewise.
25188 * localedata/locales/am_ET: Likewise.
25189 * localedata/locales/anp_IN: Likewise.
25190 * localedata/locales/ar_AE: Likewise.
25191 * localedata/locales/ar_BH: Likewise.
25192 * localedata/locales/ar_DZ: Likewise.
25193 * localedata/locales/ar_EG: Likewise.
25194 * localedata/locales/ar_IN: Likewise.
25195 * localedata/locales/ar_IQ: Likewise.
25196 * localedata/locales/ar_JO: Likewise.
25197 * localedata/locales/ar_KW: Likewise.
25198 * localedata/locales/ar_LB: Likewise.
25199 * localedata/locales/ar_LY: Likewise.
25200 * localedata/locales/ar_MA: Likewise.
25201 * localedata/locales/ar_OM: Likewise.
25202 * localedata/locales/ar_QA: Likewise.
25203 * localedata/locales/ar_SA: Likewise.
25204 * localedata/locales/ar_SD: Likewise.
25205 * localedata/locales/ar_SS: Likewise.
25206 * localedata/locales/ar_SY: Likewise.
25207 * localedata/locales/ar_TN: Likewise.
25208 * localedata/locales/ar_YE: Likewise.
25209 * localedata/locales/as_IN: Likewise.
25210 * localedata/locales/ast_ES: Likewise.
25211 * localedata/locales/ayc_PE: Likewise.
25212 * localedata/locales/az_AZ: Likewise.
25213 * localedata/locales/az_IR: Likewise.
25214 * localedata/locales/be_BY: Likewise.
25215 * localedata/locales/be_BY@latin: Likewise.
25216 * localedata/locales/bem_ZM: Likewise.
25217 * localedata/locales/ber_DZ: Likewise.
25218 * localedata/locales/ber_MA: Likewise.
25219 * localedata/locales/bg_BG: Likewise.
25220 * localedata/locales/bhb_IN: Likewise.
25221 * localedata/locales/bho_IN: Likewise.
25222 * localedata/locales/bi_VU: Likewise.
25223 * localedata/locales/bn_BD: Likewise.
25224 * localedata/locales/bn_IN: Likewise.
25225 * localedata/locales/bo_CN: Likewise.
25226 * localedata/locales/bo_IN: Likewise.
25227 * localedata/locales/br_FR: Likewise.
25228 * localedata/locales/brx_IN: Likewise.
25229 * localedata/locales/bs_BA: Likewise.
25230 * localedata/locales/byn_ER: Likewise.
25231 * localedata/locales/ca_AD: Likewise.
25232 * localedata/locales/ca_ES: Likewise.
25233 * localedata/locales/ca_FR: Likewise.
25234 * localedata/locales/ca_IT: Likewise.
25235 * localedata/locales/ce_RU: Likewise.
25236 * localedata/locales/chr_US: Likewise.
25237 * localedata/locales/cmn_TW: Likewise.
25238 * localedata/locales/crh_UA: Likewise.
25239 * localedata/locales/cs_CZ: Likewise.
25240 * localedata/locales/csb_PL: Likewise.
25241 * localedata/locales/cv_RU: Likewise.
25242 * localedata/locales/cy_GB: Likewise.
25243 * localedata/locales/da_DK: Likewise.
25244 * localedata/locales/de_AT: Likewise.
25245 * localedata/locales/de_BE: Likewise.
25246 * localedata/locales/de_CH: Likewise.
25247 * localedata/locales/de_DE: Likewise.
25248 * localedata/locales/de_IT: Likewise.
25249 * localedata/locales/de_LI: Likewise.
25250 * localedata/locales/de_LU: Likewise.
25251 * localedata/locales/doi_IN: Likewise.
25252 * localedata/locales/dv_MV: Likewise.
25253 * localedata/locales/dz_BT: Likewise.
25254 * localedata/locales/el_CY: Likewise.
25255 * localedata/locales/el_GR: Likewise.
25256 * localedata/locales/en_AG: Likewise.
25257 * localedata/locales/en_AU: Likewise.
25258 * localedata/locales/en_BW: Likewise.
25259 * localedata/locales/en_CA: Likewise.
25260 * localedata/locales/en_DK: Likewise.
25261 * localedata/locales/en_GB: Likewise.
25262 * localedata/locales/en_HK: Likewise.
25263 * localedata/locales/en_IE: Likewise.
25264 * localedata/locales/en_IL: Likewise.
25265 * localedata/locales/en_IN: Likewise.
25266 * localedata/locales/en_NG: Likewise.
25267 * localedata/locales/en_NZ: Likewise.
25268 * localedata/locales/en_PH: Likewise.
25269 * localedata/locales/en_SG: Likewise.
25270 * localedata/locales/en_US: Likewise.
25271 * localedata/locales/en_ZA: Likewise.
25272 * localedata/locales/en_ZM: Likewise.
25273 * localedata/locales/en_ZW: Likewise.
25274 * localedata/locales/eo: Likewise.
25275 * localedata/locales/es_AR: Likewise.
25276 * localedata/locales/es_BO: Likewise.
25277 * localedata/locales/es_CL: Likewise.
25278 * localedata/locales/es_CO: Likewise.
25279 * localedata/locales/es_CR: Likewise.
25280 * localedata/locales/es_CU: Likewise.
25281 * localedata/locales/es_DO: Likewise.
25282 * localedata/locales/es_EC: Likewise.
25283 * localedata/locales/es_ES: Likewise.
25284 * localedata/locales/es_GT: Likewise.
25285 * localedata/locales/es_HN: Likewise.
25286 * localedata/locales/es_MX: Likewise.
25287 * localedata/locales/es_NI: Likewise.
25288 * localedata/locales/es_PA: Likewise.
25289 * localedata/locales/es_PE: Likewise.
25290 * localedata/locales/es_PR: Likewise.
25291 * localedata/locales/es_PY: Likewise.
25292 * localedata/locales/es_SV: Likewise.
25293 * localedata/locales/es_US: Likewise.
25294 * localedata/locales/es_UY: Likewise.
25295 * localedata/locales/es_VE: Likewise.
25296 * localedata/locales/et_EE: Likewise.
25297 * localedata/locales/eu_ES: Likewise.
25298 * localedata/locales/eu_ES@euro: Likewise.
25299 * localedata/locales/fa_IR: Likewise.
25300 * localedata/locales/ff_SN: Likewise.
25301 * localedata/locales/fi_FI: Likewise.
25302 * localedata/locales/fil_PH: Likewise.
25303 * localedata/locales/fo_FO: Likewise.
25304 * localedata/locales/fr_BE: Likewise.
25305 * localedata/locales/fr_CA: Likewise.
25306 * localedata/locales/fr_CH: Likewise.
25307 * localedata/locales/fr_FR: Likewise.
25308 * localedata/locales/fr_LU: Likewise.
25309 * localedata/locales/fur_IT: Likewise.
25310 * localedata/locales/fy_DE: Likewise.
25311 * localedata/locales/fy_NL: Likewise.
25312 * localedata/locales/ga_IE: Likewise.
25313 * localedata/locales/gd_GB: Likewise.
25314 * localedata/locales/gez_ER: Likewise.
25315 * localedata/locales/gez_ET: Likewise.
25316 * localedata/locales/gl_ES: Likewise.
25317 * localedata/locales/gu_IN: Likewise.
25318 * localedata/locales/gv_GB: Likewise.
25319 * localedata/locales/ha_NG: Likewise.
25320 * localedata/locales/hak_TW: Likewise.
25321 * localedata/locales/he_IL: Likewise.
25322 * localedata/locales/hi_IN: Likewise.
25323 * localedata/locales/hif_FJ: Likewise.
25324 * localedata/locales/hne_IN: Likewise.
25325 * localedata/locales/hr_HR: Likewise.
25326 * localedata/locales/hsb_DE: Likewise.
25327 * localedata/locales/ht_HT: Likewise.
25328 * localedata/locales/hu_HU: Likewise.
25329 * localedata/locales/hy_AM: Likewise.
25330 * localedata/locales/i18n: Likewise.
25331 * localedata/locales/ia_FR: Likewise.
25332 * localedata/locales/id_ID: Likewise.
25333 * localedata/locales/ig_NG: Likewise.
25334 * localedata/locales/ik_CA: Likewise.
25335 * localedata/locales/is_IS: Likewise.
25336 * localedata/locales/it_CH: Likewise.
25337 * localedata/locales/it_IT: Likewise.
25338 * localedata/locales/iu_CA: Likewise.
25339 * localedata/locales/ja_JP: Likewise.
25340 * localedata/locales/ka_GE: Likewise.
25341 * localedata/locales/kk_KZ: Likewise.
25342 * localedata/locales/kl_GL: Likewise.
25343 * localedata/locales/kn_IN: Likewise.
25344 * localedata/locales/ko_KR: Likewise.
25345 * localedata/locales/kok_IN: Likewise.
25346 * localedata/locales/ks_IN: Likewise.
25347 * localedata/locales/ks_IN@devanagari: Likewise.
25348 * localedata/locales/ku_TR: Likewise.
25349 * localedata/locales/kw_GB: Likewise.
25350 * localedata/locales/ky_KG: Likewise.
25351 * localedata/locales/lb_LU: Likewise.
25352 * localedata/locales/lg_UG: Likewise.
25353 * localedata/locales/li_BE: Likewise.
25354 * localedata/locales/li_NL: Likewise.
25355 * localedata/locales/lij_IT: Likewise.
25356 * localedata/locales/ln_CD: Likewise.
25357 * localedata/locales/lo_LA: Likewise.
25358 * localedata/locales/lt_LT: Likewise.
25359 * localedata/locales/lv_LV: Likewise.
25360 * localedata/locales/lzh_TW: Likewise.
25361 * localedata/locales/mag_IN: Likewise.
25362 * localedata/locales/mai_IN: Likewise.
25363 * localedata/locales/mg_MG: Likewise.
25364 * localedata/locales/mhr_RU: Likewise.
25365 * localedata/locales/mi_NZ: Likewise.
25366 * localedata/locales/mk_MK: Likewise.
25367 * localedata/locales/ml_IN: Likewise.
25368 * localedata/locales/mn_MN: Likewise.
25369 * localedata/locales/mni_IN: Likewise.
25370 * localedata/locales/mr_IN: Likewise.
25371 * localedata/locales/ms_MY: Likewise.
25372 * localedata/locales/mt_MT: Likewise.
25373 * localedata/locales/my_MM: Likewise.
25374 * localedata/locales/nan_TW: Likewise.
25375 * localedata/locales/nan_TW@latin: Likewise.
25376 * localedata/locales/nb_NO: Likewise.
25377 * localedata/locales/nds_DE: Likewise.
25378 * localedata/locales/nds_NL: Likewise.
25379 * localedata/locales/ne_NP: Likewise.
25380 * localedata/locales/nhn_MX: Likewise.
25381 * localedata/locales/niu_NU: Likewise.
25382 * localedata/locales/niu_NZ: Likewise.
25383 * localedata/locales/nl_AW: Likewise.
25384 * localedata/locales/nl_BE: Likewise.
25385 * localedata/locales/nl_NL: Likewise.
25386 * localedata/locales/nn_NO: Likewise.
25387 * localedata/locales/nr_ZA: Likewise.
25388 * localedata/locales/nso_ZA: Likewise.
25389 * localedata/locales/oc_FR: Likewise.
25390 * localedata/locales/om_ET: Likewise.
25391 * localedata/locales/om_KE: Likewise.
25392 * localedata/locales/or_IN: Likewise.
25393 * localedata/locales/os_RU: Likewise.
25394 * localedata/locales/pa_IN: Likewise.
25395 * localedata/locales/pa_PK: Likewise.
25396 * localedata/locales/pap_AW: Likewise.
25397 * localedata/locales/pap_CW: Likewise.
25398 * localedata/locales/pl_PL: Likewise.
25399 * localedata/locales/ps_AF: Likewise.
25400 * localedata/locales/pt_BR: Likewise.
25401 * localedata/locales/pt_PT: Likewise.
25402 * localedata/locales/quz_PE: Likewise.
25403 * localedata/locales/raj_IN: Likewise.
25404 * localedata/locales/ro_RO: Likewise.
25405 * localedata/locales/ru_RU: Likewise.
25406 * localedata/locales/ru_UA: Likewise.
25407 * localedata/locales/rw_RW: Likewise.
25408 * localedata/locales/sa_IN: Likewise.
25409 * localedata/locales/sat_IN: Likewise.
25410 * localedata/locales/sc_IT: Likewise.
25411 * localedata/locales/sd_IN: Likewise.
25412 * localedata/locales/sd_IN@devanagari: Likewise.
25413 * localedata/locales/se_NO: Likewise.
25414 * localedata/locales/sgs_LT: Likewise.
25415 * localedata/locales/shs_CA: Likewise.
25416 * localedata/locales/si_LK: Likewise.
25417 * localedata/locales/sid_ET: Likewise.
25418 * localedata/locales/sk_SK: Likewise.
25419 * localedata/locales/sl_SI: Likewise.
25420 * localedata/locales/sm_WS: Likewise.
25421 * localedata/locales/so_DJ: Likewise.
25422 * localedata/locales/so_ET: Likewise.
25423 * localedata/locales/so_KE: Likewise.
25424 * localedata/locales/so_SO: Likewise.
25425 * localedata/locales/sq_AL: Likewise.
25426 * localedata/locales/sq_MK: Likewise.
25427 * localedata/locales/sr_ME: Likewise.
25428 * localedata/locales/sr_RS: Likewise.
25429 * localedata/locales/sr_RS@latin: Likewise.
25430 * localedata/locales/ss_ZA: Likewise.
25431 * localedata/locales/st_ZA: Likewise.
25432 * localedata/locales/sv_FI: Likewise.
25433 * localedata/locales/sv_SE: Likewise.
25434 * localedata/locales/sw_KE: Likewise.
25435 * localedata/locales/sw_TZ: Likewise.
25436 * localedata/locales/szl_PL: Likewise.
25437 * localedata/locales/ta_IN: Likewise.
25438 * localedata/locales/ta_LK: Likewise.
25439 * localedata/locales/tcy_IN: Likewise.
25440 * localedata/locales/te_IN: Likewise.
25441 * localedata/locales/tg_TJ: Likewise.
25442 * localedata/locales/th_TH: Likewise.
25443 * localedata/locales/the_NP: Likewise.
25444 * localedata/locales/ti_ER: Likewise.
25445 * localedata/locales/ti_ET: Likewise.
25446 * localedata/locales/tig_ER: Likewise.
25447 * localedata/locales/tk_TM: Likewise.
25448 * localedata/locales/tl_PH: Likewise.
25449 * localedata/locales/tn_ZA: Likewise.
25450 * localedata/locales/to_TO: Likewise.
25451 * localedata/locales/tpi_PG: Likewise.
25452 * localedata/locales/tr_CY: Likewise.
25453 * localedata/locales/tr_TR: Likewise.
25454 * localedata/locales/ts_ZA: Likewise.
25455 * localedata/locales/tt_RU: Likewise.
25456 * localedata/locales/tt_RU@iqtelif: Likewise.
25457 * localedata/locales/ug_CN: Likewise.
25458 * localedata/locales/uk_UA: Likewise.
25459 * localedata/locales/unm_US: Likewise.
25460 * localedata/locales/ur_IN: Likewise.
25461 * localedata/locales/ur_PK: Likewise.
25462 * localedata/locales/uz_UZ: Likewise.
25463 * localedata/locales/uz_UZ@cyrillic: Likewise.
25464 * localedata/locales/ve_ZA: Likewise.
25465 * localedata/locales/vi_VN: Likewise.
25466 * localedata/locales/wa_BE: Likewise.
25467 * localedata/locales/wae_CH: Likewise.
25468 * localedata/locales/wal_ET: Likewise.
25469 * localedata/locales/wo_SN: Likewise.
25470 * localedata/locales/xh_ZA: Likewise.
25471 * localedata/locales/yi_US: Likewise.
25472 * localedata/locales/yo_NG: Likewise.
25473 * localedata/locales/yue_HK: Likewise.
25474 * localedata/locales/yuw_PG: Likewise.
25475 * localedata/locales/zh_CN: Likewise.
25476 * localedata/locales/zh_HK: Likewise.
25477 * localedata/locales/zh_SG: Likewise.
25478 * localedata/locales/zh_TW: Likewise.
25479 * localedata/locales/zu_ZA: Likewise.
25481 2017-11-13 Florian Weimer <fweimer@redhat.com>
25483 * support/next_to_fault.h, support/next_to_fault.c: New files.
25484 * support/Makefile (libsupport-routines): Add next_to_fault.
25485 * resolv/tst-inet_pton.c (struct next_to_fault)
25486 (next_to_fault_allocate, next_to_fault_free): Remove.
25487 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25489 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25491 * elf/dl-support.c: Include <dl-procruntime.c>.
25492 * include/link.h: Include <link_map.h>.
25493 * sysdeps/generic/dl-procruntime.c: New file.
25494 * sysdeps/generic/link_map.h: Likewise.
25495 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25496 the writable ld.so namespace.
25498 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25500 timezone: pacify GCC -Wstringop-truncation
25501 Problem reported by Martin Sebor in:
25502 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25503 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25505 2017-11-12 Florian Weimer <fweimer@redhat.com>
25507 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25509 (tests): Add tst-xreadlink.
25510 * support/support.h (xstrndup): Declare.
25511 * support/xunistd.h (xunlink, xreadlink): Declare.
25512 * support/temp_file.h (support_create_temp_directory): Declare.
25513 * support/temp_file.c (support_create_temp_directory): New function.
25514 * support/support_chroot.c (support_chroot_create): Use it.
25515 * support/xreadlink.c: New file.
25516 * support/xstrndup.c: Likewise.
25517 * support/xunlink.c: Likewise.
25518 * support/tst-xreadlink.c: Likewise.
25520 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
25522 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25524 2017-11-11 Florian Weimer <fweimer@redhat.com>
25528 * resolv/res_comp.c (printable_string, binary_hnok)
25529 (binary_leading_dash): New functions.
25530 (res_hnok): Reimplement using these functions and ns_name_pton.
25531 (res_ownok): Likewise.
25532 (res_mailok): Reimplement using printable_string, ns_name_pton and
25534 (res_dnok): Reimplement using printable_string and ns_name_pton.
25535 * resolv/tst-res_hnok.c (tests): Add additional tests.
25536 (LETTERDIGITS, PRINTABLE): Define.
25537 (do_test): Adjust one_char results.
25539 2017-11-11 Florian Weimer <fweimer@redhat.com>
25542 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25543 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25545 2017-11-11 Florian Weimer <fweimer@redhat.com>
25547 * resolv/tst-ns_name_pton.c: New file.
25548 * resolv/Makefile (tests): Add tst-ns_name_pton.
25549 (tst-ns_name_pton): Link against libresolv.
25551 2017-11-11 Florian Weimer <fweimer@redhat.com>
25553 * resolv/tst-res_hnok.c: New file.
25554 * resolv/Makefile (tests): Add tst-res_hnok.
25555 (tst-res_hnok): Link against libresolv.
25557 2017-11-11 Florian Weimer <fweimer@redhat.com>
25559 * resolv/tst-resolv-network.c: Use test framework instead explicit
25562 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25564 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25565 <jmp_buf-macros.h>.
25566 [!_ISOMAC] (STR_HELPER): New.
25567 [!_ISOMAC] (STR): Likewise.
25568 [!_ISOMAC] (TEST_SIZE): Likewise.
25569 [!_ISOMAC] (TEST_ALIGN): Likewise.
25570 [!_ISOMAC] (TEST_OFFSET): Likewise.
25571 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25572 field offsets of jmp_buf as well as sigjmp_buf.
25573 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25574 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25575 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25576 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25577 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25578 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25579 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25580 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25581 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25582 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25584 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25586 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25591 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25592 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25593 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25594 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25595 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25600 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25601 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25602 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25604 2017-11-07 Joseph Myers <joseph@codesourcery.com>
25607 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25608 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25609 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25610 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25611 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25612 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25613 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25614 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25615 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25616 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25617 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25618 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25619 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25620 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25621 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25622 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25623 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25624 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25625 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25626 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25627 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25628 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25629 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25630 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25631 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25632 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25633 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25634 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25635 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25636 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25637 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25638 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25639 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25640 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25641 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25642 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25643 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25644 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25645 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25646 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25647 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25648 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25649 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25650 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25651 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25652 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25653 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25654 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25655 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25656 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25657 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25658 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25659 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25660 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25661 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25662 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25663 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25664 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25665 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25666 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25667 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25668 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25669 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25670 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25671 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25672 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25673 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25674 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25675 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25676 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25677 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25678 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25679 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25680 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25681 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25682 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25683 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25684 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25685 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25686 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25687 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25688 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25689 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25690 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25691 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25692 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25693 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25694 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25696 * stdlib/tst-strtod.h (F16): New macro.
25702 (IF_FLOAT16): Likewise.
25703 (IF_FLOAT32): Likewise.
25704 (IF_FLOAT64): Likewise.
25705 (IF_FLOAT32X): Likewise.
25706 (IF_FLOAT64X): Likewise.
25707 (IF_FLOAT128X): Likewise.
25708 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25709 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25710 (STRTOD_TEST_FOREACH): Likewise.
25711 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25712 (CHOOSE_f64): Likewise.
25713 (CHOOSE_f32x): Likewise.
25714 (CHOOSE_f64x): Likewise.
25716 2017-11-07 Andreas Schwab <schwab@suse.de>
25718 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25720 2017-11-07 Mike FABIAN <mfabian@redhat.com>
25723 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25725 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25728 2017-11-07 Claude Paroz <claude@2xlibre.net>
25731 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25733 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25735 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25738 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25741 * nptl/allocatestack.c (allocate_stack): Check if
25742 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25743 __PTHREAD_MUTEX_HAVE_PREV is defined.
25744 * nptl/descr.h (pthread): Likewise.
25745 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25747 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25748 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25749 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25750 * sysdeps/nptl/bits/thread-shared-types.h
25751 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25753 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25754 of __WORDSIZE for internal layout.
25755 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25756 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25757 instead of __WORDSIZE whether to use an union for __spins and __list
25759 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25761 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25762 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25764 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25765 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25767 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25768 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25770 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25771 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25773 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25774 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25776 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25777 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25779 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25780 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25782 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25783 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25785 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25786 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25788 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25789 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25791 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25792 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25794 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25795 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25797 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25798 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25800 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25801 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25803 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25804 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25807 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25809 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25810 checks for expected input type size.
25811 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25812 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25814 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25815 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25816 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25817 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25818 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25819 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25820 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25821 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25822 superflous runtime assert check.
25823 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25825 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25827 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25829 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25831 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25833 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25835 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25836 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25837 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25839 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25841 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25843 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25845 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25847 * nptl/pthread_attr_setinheritsched.c
25848 (__pthread_attr_setinheritsched): Likewise.
25849 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25851 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25853 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25854 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25855 __old_pthread_attr_setstack): Likewise.
25856 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25858 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25860 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25862 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25863 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25865 * nptl/tst-typesizes.c: Remove file.
25867 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25868 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25869 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25870 checks for internal pthread_mutex_t offsets.
25871 * sysdeps/aarch64/nptl/pthread-offsets.h
25872 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25873 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25874 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25875 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25876 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25877 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25878 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25879 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25880 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25881 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25882 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25883 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25884 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25885 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25886 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25887 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25888 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25889 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25891 2017-11-07 Florian Weimer <fweimer@redhat.com>
25893 * bits/mman-linux.h: Move ...
25894 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25896 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25899 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25901 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25902 Redefine STRNLEN as __strnlen_power8.
25904 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25906 * signal/sighold.c (sighold): Optimize implementation.
25908 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25909 __NR_rt_sigqueueinfo.
25911 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25913 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25914 assume __NR_rt_sigtimedwait.
25915 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25916 and add LIBC_CANCEL_HANDLED for cancellation marking.
25917 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25919 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25920 (sysdeps_routines): Add memchr_noneon.
25921 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25922 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25923 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25924 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25925 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25926 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25927 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25929 * sysdeps/arm/arm-ifunc.h: New file.
25930 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25931 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25932 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25933 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25934 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25935 (__memcpy_neon): Avoid create hidden alias.
25936 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25937 (__memcpy_vfp): Likewise.
25938 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25939 (sysdep_routines): Add memcpy_arm.
25940 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25942 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25945 * Makerules (make-link-multidir): New.
25946 * config.make.in (multidir): New.
25947 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25948 * configure: Regenerated.
25949 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25950 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25951 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25954 2017-11-06 Joseph Myers <joseph@codesourcery.com>
25957 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25958 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25960 2017-11-04 Mike FABIAN <mfabian@redhat.com>
25962 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25965 2017-11-04 Florian Weimer <fweimer@redhat.com>
25967 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25969 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25971 * math/math.h [__HAVE_DISTINCT_FLOAT16
25972 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25973 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25974 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25975 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25976 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25977 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25978 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25979 (__MATH_TG_F32): New macro.
25980 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25981 (__MATH_TG_F64X): Likewise.
25982 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25983 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25985 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25987 * po/de.po: Update translations.
25988 * po/ru.po: Likewise.
25990 2017-11-03 Florian Weimer <fweimer@redhat.com>
25992 * manual/filesys.texi (Hard Links): Document linkat.
25994 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25996 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25997 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25998 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25999 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26000 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26001 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26002 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
26003 the same as _Float128.
26004 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26005 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26006 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
26009 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
26011 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
26013 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
26015 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26016 (strtof32x): Likewise.
26017 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26018 (strtof64x): Likewise.
26019 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26020 (strtof128x): Likewise.
26021 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26022 (strfromf16): Likewise.
26023 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26024 (strfromf32): Likewise.
26025 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26026 (strfromf64): Likewise.
26027 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26028 (strfromf32x): Likewise.
26029 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26030 (strfromf64x): Likewise.
26031 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26032 (strfromf128x): Likewise.
26033 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
26034 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
26035 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
26036 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
26037 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
26038 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
26040 2017-11-03 Richard Henderson <rth@twiddle.net>
26042 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
26044 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26046 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
26048 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26050 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
26051 DT_TLSDESC_GOT initialization.
26052 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
26053 (_dl_tlsdesc_resolve_hold): Likewise.
26054 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
26055 (_dl_tlsdesc_resolve_hold): Likewise.
26056 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
26057 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26059 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26061 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
26063 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26066 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
26067 non-lazily for R_ARM_TLS_DESC.
26069 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26072 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
26073 R_ARM_TLS_DESC case.
26074 (elf_machine_lazy_rel): Remove the prelink check.
26076 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26078 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
26079 DT_TLSDESC_GOT initialization.
26080 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
26081 (_dl_tlsdesc_resolve_rela): Likewise.
26082 (_dl_tlsdesc_resolve_hold): Likewise.
26083 (_dl_tlsdesc_undefweak): Remove ldar.
26084 (_dl_tlsdesc_dynamic): Likewise.
26085 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
26086 (_dl_tlsdesc_resolve_rela): Likewise.
26087 (_dl_tlsdesc_resolve_hold): Likewise.
26088 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
26089 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26090 (_dl_tlsdesc_resolve_rela): Likewise.
26091 (_dl_tlsdesc_resolve_hold): Likewise.
26093 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26095 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
26096 binding and initialization non-lazily for R_AARCH64_TLSDESC.
26098 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26100 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
26101 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26103 2017-11-02 Joseph Myers <joseph@codesourcery.com>
26105 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
26107 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
26108 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
26109 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
26110 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
26111 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
26112 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
26113 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
26114 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
26115 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
26116 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
26117 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
26119 2017-11-02 Mike FABIAN <mfabian@redhat.com>
26122 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
26123 * localedata/locales/tpi_PG: Add standard header.
26125 2017-11-02 Florian Weimer <fweimer@redhat.com>
26127 test-errno-linux: quotactl can fail with EPERM in containers.
26128 * sysdeps/unix/sysv/linux/test-errno-linux.c
26129 (LIST, LIST_FORWARD): New macros.
26130 (check_error_in_list): New function.
26131 (test_wrp_rv): Accept list of permitted error codes.
26132 (test_wrp_rv2): Remove.
26133 (test_wrp): Call test_wrp_rv with list of error codes.
26134 (test_wrp2): Accept list of error codes.
26135 (do_test): Adjust. Allow EPERM for quotactl.
26137 2017-11-02 Florian Weimer <fweimer@redhat.com>
26139 * stdio-common/bug16.c (do_test): Use array_length.
26140 * stdio-common/errlist.c (_sys_nerr): Likewise.
26141 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
26142 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
26143 * stdio-common/psiginfo.c (psiginfo): Use array_length.
26144 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
26145 (do_test): Use array_length.
26146 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
26147 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
26148 * stdio-common/tst-printf-round.c (do_test): Likewise.
26149 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
26150 (CHECK): Use array_length.
26151 * stdio-common/tstdiomisc.c (t3, F): Likewise.
26152 * stdio-common/tstscanf.c (main): Likewise.
26153 * stdio-common/vfprintf.c (process_string_arg): Likewise.
26155 2017-11-02 Florian Weimer <fweimer@redhat.com>
26157 Add array_length and array_end macros.
26158 * include/array_length.h: New file.
26160 2017-11-02 Florian Weimer <fweimer@redhat.com>
26163 * posix/tst-glob-tilde.c (do_noescape): New variable.
26164 (one_test): Process it.
26165 (do_test): Set do_noescape. Add unescaping test case.
26167 2017-11-01 Joseph Myers <joseph@codesourcery.com>
26170 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
26171 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
26172 with appropriate macros defined and undefined.
26173 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
26174 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26175 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
26176 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26177 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
26178 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26179 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
26180 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26181 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
26182 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26185 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
26186 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
26187 that for long double. Do not condition define and undefine of
26188 _Mdouble_complex_ on [__CFLOAT128].
26190 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
26192 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26193 of <sysdeps/generic/sysdep.h>.
26194 (ALIGNARG): Removed.
26195 (ASM_SIZE_DIRECTIVE): Likewise.
26198 (ENTRY_CHK): Likewise.
26199 (END_CHK): Likewise.
26200 (syscall_error): Likewise.
26201 (mcount): Likewise.
26202 (PSEUDO_END): Likewise.
26204 (atom_text_section): Likewise.
26205 * sysdeps/x86/sysdep.h: New file.
26206 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26207 of <sysdeps/generic/sysdep.h>.
26208 (ALIGNARG): Removed.
26209 (ASM_SIZE_DIRECTIVE): Likewise.
26212 (ENTRY_CHK): Likewise.
26213 (END_CHK): Likewise.
26214 (syscall_error): Likewise.
26215 (mcount): Likewise.
26216 (PSEUDO_END): Likewise.
26218 (atom_text_section): Likewise.
26220 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
26222 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
26223 category of LC_CTYPE set to "i18n:2012".
26224 * localedata/locales/i18n_ctype: Regenerate.
26226 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
26228 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
26229 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
26230 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26231 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26233 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
26234 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
26235 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
26236 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
26238 2017-10-31 Joseph Myers <joseph@codesourcery.com>
26241 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
26243 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
26245 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
26247 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26248 (CMPLXF32X): Likewise.
26249 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26250 (CMPLXF64X): Likewise.
26251 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26252 (CMPLXF128X): Likewise.
26255 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
26256 (__MATH_EVAL_FMT2): Define to add 0.0f.
26258 2017-10-31 Alan Modra <amodra@gmail.com>
26260 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
26262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
26263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
26264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
26265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
26266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
26267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
26268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
26269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
26270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
26271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
26272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
26273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
26274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
26275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
26276 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
26277 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
26278 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
26279 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
26280 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
26281 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
26282 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
26283 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
26284 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
26285 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
26286 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26287 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
26288 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
26289 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
26290 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
26291 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
26292 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26293 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26294 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
26295 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
26296 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
26297 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
26298 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
26299 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
26300 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
26301 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26302 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
26303 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
26304 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
26305 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
26306 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
26307 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
26308 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
26309 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
26310 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26311 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26312 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
26313 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
26314 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
26315 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
26316 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26317 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
26318 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
26319 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
26320 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26321 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26322 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26323 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
26324 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
26325 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26326 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
26327 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
26328 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
26329 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
26330 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
26332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
26333 include sysdep.h and math_ldbl_opt.h.
26335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
26336 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
26337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
26338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
26339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
26340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
26341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
26342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
26343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
26344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
26345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
26346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
26347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
26348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
26349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
26350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
26351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
26352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
26353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
26354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
26355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
26356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
26357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
26358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
26359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
26360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
26362 2017-10-31 Alan Modra <amodra@gmail.com>
26364 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
26365 string/strncase_l.c, not string/strncase.c.
26366 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
26367 (libc_hidden_def): Redefine.
26369 2017-10-31 Alan Modra <amodra@gmail.com>
26371 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
26372 (__STRCMP, STRCMP, __strcasecmp_l): Define.
26373 (__strcasecmp): Don't define.
26375 2017-10-31 Alan Modra <amodra@gmail.com>
26377 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
26379 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26380 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26381 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26383 2017-10-31 Alan Modra <amodra@gmail.com>
26385 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
26388 2017-10-31 Alan Modra <amodra@gmail.com>
26390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
26391 Redefine only when SHARED.
26393 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26395 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26396 Include <bits/math-finite.h> with appropriate macros defined and
26398 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26399 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26400 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26401 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26402 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26404 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26405 [!_Mlong_double_] (_Mlong_double_): Likewise.
26406 [!_Mfloat16_] (_Mfloat16_): Likewise.
26407 [!_Mfloat32_] (_Mfloat32_): Likewise.
26408 [!_Mfloat64_] (_Mfloat64_): Likewise.
26409 [!_Mfloat128_] (_Mfloat128_): Likewise.
26410 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26411 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26412 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26413 (_Mdouble_): Define without indirection through those macros.
26414 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26415 [!_Mfloat128_] (_Mfloat128_): Likewise.
26416 [_Mlong_double_] (_Mlong_double_): Likewise.
26417 (_Mdouble_): Define without indirection through those macros.
26418 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26419 not add -D_Mlong_double_=double.
26420 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26421 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26423 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26425 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26427 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26429 * sysdeps/x86/libc-start.c: Reformat.
26431 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26434 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26435 (1): Renamed to ...
26438 (L(Src2)): Likewise.
26439 (L(1)): Renamed to ...
26442 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26444 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26445 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26446 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26447 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26448 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26449 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26450 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26451 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26452 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26453 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26454 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26455 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26456 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26457 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26458 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26459 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26460 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26461 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26462 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26463 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26464 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26465 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26466 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26467 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26468 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26469 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26470 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26471 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26472 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26473 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26474 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26475 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26476 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26477 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26478 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26479 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26480 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26481 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26482 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26483 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26484 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26485 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26486 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26487 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26488 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26489 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26490 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26491 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26492 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26493 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26494 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26495 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26496 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26497 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26498 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26499 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26500 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26501 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26502 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26503 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26504 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26505 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26506 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26507 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26508 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26509 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26511 2017-10-30 Florian Weimer <fweimer@redhat.com>
26513 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26515 * io/tst-mkdirat.c (do_test): Likewise.
26516 * io/tst-mkfifoat.c (do_test): Likewise.
26517 * io/tst-mknodat.c (do_test): Likewise.
26518 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26519 * locale/programs/locale.c (select_dirs): Likewise.
26520 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26521 * posix/bug-glob2.c (my_readdir): Likewise.
26522 * posix/tst-dir.c (main): Likewise.
26523 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26524 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26526 2017-10-30 Florian Weimer <fweimer@redhat.com>
26528 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26531 2017-10-30 Florian Weimer <fweimer@redhat.com>
26533 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26534 Convert to support/test-driver.c.
26535 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26536 New macro parameters.
26537 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26538 * posix/tst-gnuglob.c: New file.
26539 * posix/tst-gnuglob64.c: Likewise.
26540 * posix/Makefile (tests): Add tst-gnuglob64.
26542 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
26545 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26546 and use a better translation for March in “mon”.
26547 * localedata/locales/csb_PL: Use more ASCII to improve the
26548 readability of the source.
26550 2017-10-30 Mike FABIAN <mfabian@redhat.com>
26553 * localedata/locales/km_KH: Use ASCII as much
26554 as possible for better readability of the source and
26555 remove useless comments.
26556 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26557 was commented out and apparently wrong anyway because it was
26558 using Lao characters. If Buddhist era should be used
26559 for km_KH, a native speaker should write the correct formaat
26561 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26562 (According to CLDR, the first weekday for Cambodia is Sunday).
26563 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26564 (These were using Lao characters which must be wrong. If we get
26565 the correct data from a native speaker, we could add it back, until
26566 then it is better not to have name_mr and name_mrs at all than
26569 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26571 * locale/loadlocale.c: Correct size of
26572 _nl_value_type_LC_<category> arrays.
26574 2017-10-27 Joseph Myers <joseph@codesourcery.com>
26576 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26577 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26578 with appropriate macros defined and undefined.
26579 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26580 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26581 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26582 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26583 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26585 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26587 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26590 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26592 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26593 with lowercase letters to make it agree with CLDR.
26595 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26598 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26599 first letters of yesstr and nostr in yesexpr and noexpr,
26600 not for the full words.
26601 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26602 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26603 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26604 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26605 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26606 first letters of yesstr and nostr in yesexpr and noexpr,
26607 until now only English was matched in yesexpr and noexpr.
26608 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26609 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26610 fil but not for tl. As tl and fil are very similar, using fil
26611 is probably better than using English.
26613 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
26616 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26617 in yesstr and nostr.
26619 2017-10-26 Joseph Myers <joseph@codesourcery.com>
26621 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26622 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26623 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26625 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26627 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26629 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26631 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26632 (SNANF128X): Likewise.
26634 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26635 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26636 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26637 (HUGE_VAL_F32): Likewise.
26638 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26639 (HUGE_VAL_F64): Likewise.
26640 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26641 (HUGE_VAL_F32X): Likewise.
26642 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26643 (HUGE_VAL_F64X): Likewise.
26644 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26645 (HUGE_VAL_F128X): Likewise.
26647 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26649 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26650 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26651 for the br_FR locale.
26653 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26656 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26658 2017-10-25 Carlos O'Donell <carlos@redhat.com>
26660 * locale/programs/record-status.h: Define globals, and function
26661 prototypes. Move function bodies...
26662 * locale/programs/record-status.c: ... to here. New file.
26663 * iconv/Makefile (iconv_prog-modules): Add record-status.
26664 * locale/Makefile (lib-modules): Likewise.
26665 * iconv/iconv_prog.c: Remove verbose.
26666 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26667 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26668 record a warning about ASCII compatibility.
26669 * locale/programs/ld-monetary.c (monetary_finish): If
26670 warn_int_curr_symbol is true then record a warning about the symbol
26671 not being in our ISO 4217 list.
26672 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26673 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26674 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26675 (OPT_NO_WARN): Define.
26676 (OPT_WARN): Define.
26677 (options): Add entry for --no-warnings, and --warnings.
26678 (set_warnings): New function to enable/disable warnings.
26679 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26680 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26681 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26682 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26683 Pass flags to generate_locale.
26684 (generate_locale): Accept new flag argument and pass it to localedef
26686 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26687 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26689 * localedata/Makefile (test-input-data): Use full file name.
26690 * localedata/da_DK.in: Rename to...
26691 * localedata/da_DK.ISO-8859-1.in: ...this.
26692 * localedata/de_DE.in: Rename to...
26693 * localedata/de_DE.ISO-8859-1.in: ...this.
26694 * localedata/en_US.in: Rename to...
26695 * localedata/en_US.ISO-8859-1.in: ...this.
26696 * localedata/fr_FR.in: Rename to...
26697 * localedata/fr_FR.UTF-8.in: ... this.
26698 * localedata/hr_HR.in: Rename to...
26699 * localedata/hr_HR.ISO-8859-2.in: ...this.
26700 * localedata/hu_HU.in: Rename to...
26701 * localedata/hu_HU.UTF-8.in: ...this.
26702 * localedata/si_LK.in: Rename to...
26703 * localedata/si_LK.UTF-8.in: ...this.
26704 * localedata/sv_SE.in: Rename to...
26705 * localedata/sv_SE.ISO-8859-1.in: ...this.
26706 * localedata/tr_TR.in: Rename to...
26707 * localedata/tr_TR.UTF-8.in: ...this.
26708 * localedata/uk_UA.in: Rename to...
26709 * localedata/uk_UA.UTF-8.in: ...this.
26710 * localedata/sort-test.sh: Test file is locale name with the
26713 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26714 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26716 * localedata/locales/i18n_ctype: Regenerate.
26717 * localedata/locales/tr_TR: Likewise.
26718 * localedata/locales/translit_circle: Likewise.
26719 * localedata/locales/translit_cjk_compat: Likewise.
26720 * localedata/locales/translit_combining: Likewise.
26721 * localedata/locales/translit_compat: Likewise.
26722 * localedata/locales/translit_font: Likewise.
26723 * localedata/locales/translit_fraction: Likewise.
26725 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26727 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26728 lxvd2x/stxvd2x with lvx/stvx.
26729 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26731 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26733 * include/alloc_buffer.h: Replace "if if " with "if " in
26735 * sysdeps/mips/memcpy.S: Likkewise.
26736 * sysdeps/mips/memset.S: Likewise.
26737 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26739 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26741 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26744 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26747 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26748 yesexpr and noexpr.
26749 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26750 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26751 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26752 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26753 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26754 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26755 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26757 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26759 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26760 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26761 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26762 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26763 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26764 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26765 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26766 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26767 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26768 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26769 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26770 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26772 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26774 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26775 as possible for better readability of the source.
26776 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26777 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26778 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26779 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26780 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26781 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26782 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26783 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26784 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26785 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26786 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26787 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26788 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26789 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26790 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26791 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26792 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26793 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26794 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26795 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26796 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26797 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26798 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26799 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26800 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26801 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26802 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26803 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26804 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26805 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26806 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26807 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26808 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26809 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26810 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26811 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26812 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26813 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26814 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26815 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26816 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26817 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26818 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26819 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26820 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26821 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26822 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26823 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26824 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26825 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26826 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26827 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26828 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26829 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26830 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26831 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26832 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26833 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26834 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26835 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26836 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26837 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26838 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26839 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26840 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26841 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26842 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26843 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26844 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26845 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26846 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26847 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26848 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26849 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26850 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26851 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26852 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26853 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26854 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26855 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26856 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26857 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26858 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26859 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26860 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26861 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26862 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26863 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26864 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26865 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26866 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26867 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26868 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26869 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26870 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26871 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26872 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26873 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26874 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26875 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26876 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26877 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26878 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26879 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26880 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26881 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26882 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26883 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26884 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26885 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26886 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26887 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26888 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26889 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26890 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26891 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26892 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26893 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26894 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26895 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26896 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26897 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26898 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26899 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26900 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26901 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26902 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26903 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26904 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26905 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26906 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26907 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26908 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26909 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26910 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26911 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26912 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26913 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26914 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26915 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26916 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26917 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26918 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26919 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26920 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26921 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26922 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26923 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26924 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26925 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26926 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26927 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26928 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26929 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26930 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26931 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26932 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26933 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26934 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26935 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26936 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26937 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26938 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26939 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26940 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26941 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26942 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26943 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26944 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26945 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26946 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26947 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26948 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26949 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26951 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26953 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26954 (Use first letters of yesstr and nostr correctly instead of using
26957 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26959 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26960 (Use first letters of yesstr and nostr correctly).
26962 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26964 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26965 also check for the first characters of yesstr and nostr.
26966 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26967 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26969 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26971 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26972 also check for Chinese characters.
26974 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26976 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26977 match also for the contents of yesstr and nostr. As the first letter
26978 of yesstr and nostr is equal, checking only for the first letter
26981 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26983 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26984 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26986 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26988 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26989 of main contributor.
26991 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26993 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26994 instead of using English.
26996 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26998 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26999 by including the first letters of nostr and yesexpr in the regexp.
27000 Also make it more readable by using ASCII where possible.
27002 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27004 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
27005 the first letter of nostr in the regexp. It agrees with CLDR now.
27006 Also make it more readable by using ASCII where possible.
27008 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27010 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
27011 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
27012 these strings contain a U+17D6 (which somewhat looks like a colon)
27013 instead of a real colon to separate the full words for “yes”
27014 and “no” from the single letter responses.
27016 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27018 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
27019 it agree with CLDR (include the first letter of yesstr).
27020 Also make it more readable by using ASCII where possible.
27022 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27024 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
27025 and improve yesexpr and noexpr. The yesstr and nostr apparently
27026 came from CLDR. And CLDR has a bug there: these strings contain
27027 a U+0903 (which looks like a colon) instead of a real colon
27028 to separate the full words for “yes” and “no” from the single
27031 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27033 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
27034 letters of the full yesstr and nostr in yesexpr and noexpr.
27036 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27038 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
27039 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
27040 * localedata/locales/an_ES: Make source more readable by using ASCII
27043 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27046 * localedata/locales/yuw_PG: New file.
27047 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
27048 * locale/iso-639.def: Add Yau (Uruwa).
27050 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27052 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
27054 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27056 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
27057 (__libc_realloc): Likewise.
27058 (_mid_memalign): Likewise.
27059 (__libc_calloc): Likewise.
27061 2017-10-23 Mike FABIAN <mfabian@redhat.com>
27063 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
27064 by adding the generic +1 and -0 as in all other locales.
27065 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
27066 day names and make it more readable by using ASCII where possible.
27068 2017-10-24 Joseph Myers <joseph@codesourcery.com>
27070 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
27071 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
27073 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27075 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
27076 WNOHANG in waitpid call.
27078 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
27080 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
27081 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
27083 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
27084 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
27085 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
27086 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
27087 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
27088 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
27089 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
27090 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
27093 2017-10-23 Michael Collison <michael.collison@arm.com>
27095 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
27096 with __builtin_sqrt.
27097 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
27098 with __builtin_sqrtf.
27099 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
27100 with __builtin_ceil.
27101 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
27102 with __builtin_ceilf.
27103 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
27104 with __builtin_floor.
27105 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
27106 with __builtin_floorf.
27107 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
27108 with __builtin_fma.
27109 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
27110 with __builtin_fmaf.
27111 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
27112 with __builtin_fmax.
27113 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
27114 with __builtin_fmaxf.
27115 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
27116 with __builtin_fmin.
27117 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
27118 with __builtin_fminf.
27119 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
27120 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
27121 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
27122 with builtin_rint and conversion to int.
27123 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
27124 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
27125 with builtin_llround.
27126 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
27127 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
27128 with builtin_rint and conversion to long int.
27129 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
27130 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
27131 with builtin_lround.
27132 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
27133 with builtin_lroundf.
27134 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
27135 statements with __builtin_nearbyint.
27136 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
27137 statements with __builtin_nearbyintf.
27138 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
27139 with __builtin_rint.
27140 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
27141 with __builtin_rintf.
27142 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
27143 with __builtin_round.
27144 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
27145 with __builtin_roundf.
27146 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
27147 with __builtin_trunc.
27148 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
27149 with __builtin_truncf.
27150 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
27151 and s_l[l]round[f].c too.
27153 2017-10-23 Alan Modra <amodra@gmail.com>
27155 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
27156 Adjust stack after restoring regs. Add missing LR cfi_restore.
27158 2017-10-23 Alan Modra <amodra@gmail.com>
27160 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
27161 Move LR save and frame setup/teardown and LR restore to
27162 immediately around memset call. Provide cfi.
27164 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27166 * sysdeps/i386/fpu/e_powf.S: Removed.
27167 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
27168 * sysdeps/i386/fpu/w_powf.c: Likewise.
27169 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
27170 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27171 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27173 (CFLAGS-e_powf-sse2.c): New.
27174 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
27175 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
27177 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27179 * sysdeps/i386/fpu/e_log2f.S: Removed.
27180 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
27181 * sysdeps/i386/fpu/w_log2f.c: Likewise.
27182 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
27183 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27184 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27186 (CFLAGS-e_log2f-sse2.c): New.
27187 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
27188 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
27190 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27192 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27194 (CFLAGS-e_powf-fma.c): New.
27195 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
27196 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
27198 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27200 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27202 (CFLAGS-e_log2f-fma.c): New.
27203 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
27204 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
27206 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27208 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27210 (CFLAGS-e_logf-fma.c): New.
27211 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
27212 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
27214 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27216 * sysdeps/i386/fpu/e_logf.S: Removed.
27217 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
27218 * sysdeps/i386/fpu/w_logf.c: Likewise.
27219 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
27220 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
27221 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27222 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27224 (CFLAGS-e_logf-sse2.c): New.
27225 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
27226 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
27228 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27230 * sysdeps/i386/fpu/e_exp2f.S: Removed.
27231 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
27232 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
27233 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27234 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27236 (CFLAGS-e_exp2f-sse2.c): New.
27237 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
27238 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
27240 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27242 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27244 (CFLAGS-e_exp2f-fma.c): New.
27245 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
27246 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
27248 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27250 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
27251 * sysdeps/i386/fpu/e_expf.S: Likewise.
27252 * sysdeps/i386/fpu/math_errf.c: Likewise.
27253 * sysdeps/i386/fpu/w_expf.c: Likewise.
27254 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
27255 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27256 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
27257 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
27258 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27259 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27260 Remove e_expf-ia32.
27261 (CFLAGS-e_expf-sse2.c): New.
27262 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
27263 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
27265 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27267 * sysdeps/x86_64/fpu/e_expf.S: Removed.
27268 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
27269 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
27270 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
27272 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
27274 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
27275 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27277 (__redirect_expf): This.
27278 (SYMBOL_NAME): Changed to expf.
27279 (__ieee754_expf): Renamed to ...
27281 (__GI___expf): This.
27282 (__ieee754_expf): Add strong_alias.
27283 (__expf_finite): Likewise.
27285 Include <sysdeps/ieee754/flt-32/e_expf.c>.
27287 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
27290 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
27293 2017-10-21 Florian Weimer <fweimer@redhat.com>
27295 * posix/Makefile (tests): Add tst-glob-tilde.
27296 (tests-special): Add tst-glob-tilde-mem.out
27297 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
27298 (tst-glob-tilde-mem.out): Add mtrace check.
27299 * posix/tst-glob-tilde.c: New file.
27301 2017-10-20 Joseph Myers <joseph@codesourcery.com>
27303 * bits/floatn-common.h: New file.
27304 * math/Makefile (headers): Add bits/floatn-common.h.
27305 * bits/floatn.h: Include <bits/floatn-common.h>.
27306 * sysdeps/ia64/bits/floatn.h: Likewise.
27307 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27308 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
27309 * sysdeps/powerpc/bits/floatn.h: Likewise.
27310 * sysdeps/x86/bits/floatn.h: Likewise.
27312 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27314 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
27315 indicates whether compiler emits an warning for alias for
27316 functions with incompatible types.
27319 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
27320 the auxiliary process is terminated by a signal before calling _exit
27323 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27326 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
27328 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
27329 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
27330 and bit_arch_XSAVEC_Usable if needed.
27331 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
27332 and bit_arch_Use_dl_runtime_resolve_opt.
27333 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
27335 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
27336 (bit_arch_Prefer_No_AVX512): Updated.
27337 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
27338 (bit_arch_XSAVEC_Usable): New.
27339 (STATE_SAVE_OFFSET): Likewise.
27340 (STATE_SAVE_MASK): Likewise.
27341 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
27342 (cpu_features): Add xsave_state_size and xsave_state_full_size.
27343 (index_arch_Use_dl_runtime_resolve_opt): Removed.
27344 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
27345 (index_arch_XSAVEC_Usable): New.
27346 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27347 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
27348 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
27350 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
27351 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
27352 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
27353 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
27354 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
27355 _dl_runtime_resolve_xsavec.
27356 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
27358 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
27359 instead of VEC_SIZE.
27360 (REGISTER_SAVE_BND0): Removed.
27361 (REGISTER_SAVE_BND1): Likewise.
27362 (REGISTER_SAVE_BND3): Likewise.
27363 (REGISTER_SAVE_RAX): Always defined to 0.
27365 (_dl_runtime_resolve_avx): Likewise.
27366 (_dl_runtime_resolve_avx_slow): Likewise.
27367 (_dl_runtime_resolve_avx_opt): Likewise.
27368 (_dl_runtime_resolve_avx512): Likewise.
27369 (_dl_runtime_resolve_avx512_opt): Likewise.
27370 (_dl_runtime_resolve_sse): Likewise.
27371 (_dl_runtime_resolve_sse_vex): Likewise.
27373 (_dl_runtime_resolve_fxsave): Likewise.
27374 (USE_XSAVE): Likewise.
27375 (_dl_runtime_resolve_xsave): Likewise.
27376 (USE_XSAVEC): Likewise.
27377 (_dl_runtime_resolve_xsavec): Likewise.
27378 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
27380 (_dl_runtime_resolve_avx512_opt): Likewise.
27381 (_dl_runtime_resolve_avx): Likewise.
27382 (_dl_runtime_resolve_avx_opt): Likewise.
27383 (_dl_runtime_resolve_sse): Likewise.
27384 (_dl_runtime_resolve_sse_vex): Likewise.
27385 (_dl_runtime_resolve_fxsave): New.
27386 (_dl_runtime_resolve_xsave): Likewise.
27387 (_dl_runtime_resolve_xsavec): Likewise.
27389 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
27393 * posix/glob.c (__glob): Fix one-byte overflow.
27395 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27397 * malloc/malloc.c (sysdep-cancel.h): Add include.
27399 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27401 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27403 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27405 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27406 (tests): Remove $(objpfx)ga_test depdendency.
27407 * resolv/ga_test.c: Remove file.
27409 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27412 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27413 * localedata/locales/kab_DZ: New file.
27415 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27417 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27418 _dl_relocate_static_pie instead of _dl_start to compute load
27419 address in static PIE.
27421 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27423 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27425 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27428 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27429 * localedata/locales/shn_MM: New file.
27431 2017-10-20 Florian Weimer <fweimer@redhat.com>
27434 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27435 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27436 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27437 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27438 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27439 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27441 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27443 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27445 2017-10-19 Joseph Myers <joseph@codesourcery.com>
27447 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27450 * sysdeps/mips/bits/long-double.h: Move to ....
27451 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27453 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27455 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27457 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
27458 H.J. Lu <hongjiu.lu@intel.com>
27461 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27462 GLRO(dl_platform) to NULL.
27463 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27464 (modules-names): Add tst-platformmod-1 and
27465 x86_64/tst-platformmod-2.
27466 (CFLAGS-tst-platform-1.c): New.
27467 (CFLAGS-tst-platformmod-1.c): Likewise.
27468 (CFLAGS-tst-platformmod-2.c): Likewise.
27469 (LDFLAGS-tst-platformmod-2.so): Likewise.
27470 ($(objpfx)tst-platform-1): Likewise.
27471 ($(objpfx)tst-platform-1.out): Likewise.
27472 (tst-platform-1-ENV): Likewise.
27473 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27474 * sysdeps/x86_64/tst-platform-1.c: New file.
27475 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27476 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27478 2017-10-19 Mike FABIAN <mfabian@redhat.com>
27481 * locale/iso-639.def: Add Karbi.
27482 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27483 * localedata/locales/mjw_IN: New file.
27485 2017-10-18 Joseph Myers <joseph@codesourcery.com>
27487 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27488 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27489 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27490 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27491 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27492 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27493 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27495 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27496 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27497 * manual/math.texi (Mathematics): Document additional architecture
27498 support for _Float128.
27499 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27500 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27501 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27502 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27503 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27504 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27505 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27506 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27507 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27508 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27509 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27510 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27511 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27512 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27513 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27515 2017-10-18 Renlin Li <renlin.li@arm.com>
27517 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27518 _DYNAMIC symbol to calculate load address.
27520 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
27522 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27523 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27525 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27526 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27528 2017-10-18 Mike FABIAN <mfabian@redhat.com>
27531 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27532 and improve readability by using more ASCII.
27533 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27534 and improve readability by using more ASCII.
27536 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27538 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27539 not all targets support atomics on bool.
27541 2017-10-17 Joseph Myers <joseph@codesourcery.com>
27543 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27544 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27546 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27547 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27548 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27549 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27550 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27551 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27553 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27555 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27558 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27561 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27562 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27563 (do_check_remalloced_chunk): Fix build bug.
27564 (do_check_malloc_state): Add assert that checks arena->top.
27565 (malloc_consolidate): Remove initialization.
27566 (int_mallinfo): Remove call to malloc_consolidate.
27567 (__libc_mallopt): Clarify why malloc_consolidate is needed.
27569 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27571 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27572 (have_fastchunks): Remove.
27573 (clear_fastchunks): Remove.
27574 (set_fastchunks): Remove.
27575 (malloc_state): Add have_fastchunks.
27576 (malloc_init_state): Use have_fastchunks.
27577 (do_check_malloc_state): Remove incorrect invariant checks.
27578 (_int_malloc): Use have_fastchunks.
27579 (_int_free): Likewise.
27580 (malloc_consolidate): Likewise.
27582 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27584 * malloc/malloc.c (tcache_put): Inline.
27585 (tcache_get): Inline.
27587 2017-10-17 Jordi Mallach <jordi@gnu.org>
27589 Aurelien Jarno <aurelien@aurel32.net>
27591 * localedata/locales/ca_ES@valencia: New file.
27592 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27594 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27597 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27600 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27602 * scripts/build-many-glibcs.py (Context.add_all_configs):
27603 Add arm-linux-gnueabihf multiarch extra_glibcs.
27605 * sysdeps/generic/ifunc-init.h: New file.
27606 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27608 2017-10-17 Mike FABIAN <mfabian@redhat.com>
27611 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27612 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27613 * stdlib/tst-strfmon_l.c: adapt test case.
27615 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27617 * sysdeps/generic/float128-abi.h: New file.
27618 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27619 non-__prefixed symbols to ....
27620 * math/Versions: ... here. Include <float128-abi.h>.
27621 * stdlib/Versions ... and here. Include <float128-abi.h>
27623 2017-10-16 Florian Weimer <fweimer@redhat.com>
27625 * version.h (VERSION): Switch to ".9000" as the development
27628 2017-10-16 Florian Weimer <fweimer@redhat.com>
27631 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27632 compat_symbol_reference to access non-default version.
27634 2017-10-16 Florian Weimer <fweimer@redhat.com>
27636 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27638 2017-10-16 Carlos O'Donell <carlos@redhat.com>
27640 * include/shlib-compat.h (compat_symbol_reference): Update
27643 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27645 * math/Makefile (test-types): Add
27646 $(type-float128-$(float128-alias-fcts)).
27647 * math/test-float128.h (TYPE_STR): Define conditional on
27648 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27649 (ULP_IDX): Likewise.
27650 (ULP_I_IDX): Likewise.
27652 * stdlib/strtold.c: Include <bits/floatn.h>
27653 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27654 and later undefine as macro. Define as weak alias if
27656 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27657 and later undefine as macro. Define as weak alias if
27659 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27660 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27661 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27662 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27663 Define and later undefine as macro. Define as weak alias if
27665 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27667 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27668 Define and later undefine as macro. Define as weak alias if
27670 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27671 Define and later undefine as macro. Define as weak alias if
27674 2017-10-15 Carlos O'Donell <carlos@redhat.com>
27676 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27677 record_verbose messages.
27679 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27682 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27683 to silence -O3 -Wall warning with GCC 7.
27685 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27687 * Makeconfig (+link-static-before-libc): Use the first of
27688 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27689 * gmon/Makefile (tests): Add tst-gmon-static.
27690 (tests-static): Likewise.
27691 (CFLAGS-tst-gmon-static.c): New.
27692 (CRT-tst-gmon-static): Likewise.
27693 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27694 (tst-gmon-static-ENV): Likewise.
27695 (tests-special): Likewise.
27696 ($(objpfx)tst-gmon-static.out): Likewise.
27697 (clean-tst-gmon-static-data): Likewise.
27698 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27699 * gmon/tst-gmon-static-gprof.sh: New file.
27700 * gmon/tst-gmon-static.c: Likewise.
27702 2017-10-13 Carlos O'Donell <carlos@redhat.com>
27705 * locale/programs/linereader.c (get_string): Don't warn on
27706 non-symbolic character.
27709 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27713 * locale/programs/record-status.h: New file
27714 * locale/programs/locale.c: Add comment.
27715 * locale/programs/charmap-dir.c: Don't include error.h.
27716 (charmap_opendir): Use record_error.
27717 * locale/programs/charmap.c: Don't include error.h.
27718 (charmap_read): Use record_error, and record_warning.
27719 (parse_charmap): Likewise.
27720 * locale/programs/ld-address.c: Don't include error.h.
27721 (address_finish): Use record_error, and record_warning.
27722 * locale/programs/ld-collate.c: Don't include error.h.
27723 (collate_finish): Use record_error, and record_error_at_line.
27724 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27725 (ctype_class_new): Likewise.
27726 (ctype_map_new): Likewise.
27727 (set_one_default): Likewise.
27728 (set_class_defaults): Likewise.
27729 (translit_flatten): Likewise.
27730 (allocate_arrays): Use record_error, and record_verbose.
27731 * locale/programs/ld-identification.c: Don't include error.h.
27732 (indentation_finish): Use record_error and record_warning.
27733 * locale/programs/ld-measurement.c: Don't include error.h.
27734 (measurement_finish): Use record_error.
27735 * locale/programs/ld-messages.c
27736 (message_finish): Likewise.
27737 * locale/programs/ld-monetary.c
27738 (monetary_finish): Likewise.
27739 * locale/programs/ld-name.c (name_finish): Use record_error
27740 and record_warning.
27741 * locale/programs/ld-numeric.c
27742 (numeric_finish): Use record_error.
27743 * locale/programs/ld-paper.c: Don't include error.h.
27744 (paper_finish): Use record_error.
27745 * locale/programs/ld-telephone.c: Don't include error.h.
27746 (telephone_finish): Use record_error.
27747 * locale/programs/ld-time.c (time_finish): Likewise.
27748 * locale/programs/linereader.h (lr_error): Make inline func.
27749 * locale/programs/localedef.c: Define recorded_warning_count,
27750 and recorded_error_count.
27751 (main): Use record_error. Use recorded_error_count and
27752 recorded_warning_count to issue correct error returns.
27753 (add_to_readlist): Use record_error.
27754 (find_locale): Likewise.
27755 (load_locale): Likewise.
27756 * locale/programs/localedef.h: Remove be_quiet
27757 and WITH_CUR_LOCALE.
27758 * locale/programs/locarchive.c (compare_from_file): Use
27760 * locale/programs/locfile.c (write_locale_data): Use
27762 * locale/programs/repertoire.c: Dont include error.h.
27763 (repertoire_complain): Use record_error.
27764 * localedata/tst-fmon.sh: Expect failures from localedef.
27765 * localedata/tst-locale.sh: Likewise.
27766 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27768 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27769 (REPORTS): Likewise.
27771 (i18n): Rename to...
27772 (i18n_ctype): ...this.
27773 (i18n-report): Rename to...
27774 (i18n_ctype-report): ...this.
27775 * localedata/locales/i18n_ctype: Regenerate.
27776 * localedata/locales/i18n: copy i18n_ctype.
27778 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27780 * stdlib/strfroml.c: Include <bits/floatn.h>.
27781 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27782 Define before include of <stdlib.h> and undefine afterwards, then
27783 define as weak alias.
27785 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27786 Undefine and restore default definition. Use
27787 libm_alias_ldouble_other.
27789 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27792 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27795 2017-10-13 James Clarke <jrtc27@jrtc27.com>
27797 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27798 Assign sym_map to be map for local symbols, as TLS relocations
27799 use sym_map to determine whether the symbol is defined and to
27800 extract the TLS information.
27801 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27802 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27804 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27807 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27808 (math_force_eval): Add powerpc version.
27811 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27813 (do_test): Likewise.
27814 * stdio-common/tst-printf.sh: Likewise.
27815 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27816 ifdef clause in order to set the carry bit right. Replace r0 by
27817 0 without changing the behavior.
27819 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27821 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27822 <libm-alias-ldouble.h>.
27823 (fabsl): Define using libm_alias_ldouble.
27824 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27825 <libm-alias-ldouble.h>.
27826 (fabsl): Define using libm_alias_ldouble.
27828 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27829 Remove conditional code.
27831 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27832 Rename to __clog10_internal_l.
27833 (__clog10_internal_l): Define aliases using
27834 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27837 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27839 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27840 * benchtests/sincosf-inputs: New file.
27841 * benchtests/cosf-inputs: New file.
27842 * benchtests/sinf-inputs: New file.
27844 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27846 * posix/tst-spawn.c (do_test): Wait for both children.
27848 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27851 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27852 tests-pie): Add tst-gmon-pie.
27853 (CFLAGS-tst-gmon-pie.c): New.
27854 (CRT-tst-gmon-pie): Likewise.
27855 (tst-gmon-pie-ENV): Likewise.
27856 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27857 ($(objpfx)tst-gmon-pie.out): Likewise.
27858 (clean-tst-gmon-pie-data): Likewise.
27859 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27860 * gmon/gmon.c [PIC]: Include <link.h>.
27861 [PIC] (callback): New function.
27862 (write_hist): Add an argument for load address. Subtract load
27864 (write_call_graph): Likewise.
27865 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27866 it to write_hist and write_call_graph.
27867 * gmon/tst-gmon-pie.c: New file.
27869 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27871 * math/Makefile (test-types-basic): New variable.
27872 (test-types): Likewise.
27873 (libm-test-support): Use $(test-types) instead of $(types).
27874 (libm-tests-base-normal): Likewise.
27875 (libm-tests-base-finite): Likewise.
27876 (libm-tests-base-inline): Likewise.
27877 (generated): Likewise.
27878 ($(objpfx)libm-test-support-$(t).c): Likewise.
27879 (libm-tests-for-type iterator): Likewise.
27880 (libm-test-support iterator): Likewise.
27881 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27882 (ulp_idx): Use ULP_IDX.
27883 * math/test-ldouble.h: Include <float.h>.
27884 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27885 (ULP_IDX): New macro.
27886 (ULP_I_IDX): Likewise.
27887 * math/test-double.h (ULP_IDX): Likewise.
27888 (ULP_I_IDX): Likewise.
27889 * math/test-float.h (ULP_IDX): Likewise.
27890 (ULP_I_IDX): Likewise.
27891 * math/test-float128.h (ULP_IDX): Likewise.
27892 (ULP_I_IDX): Likewise.
27894 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27896 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27897 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27898 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27899 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27900 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27901 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27902 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27903 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27904 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27905 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27906 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27907 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27908 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27909 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27910 (SINGLE_THREAD_BY_GLOBAL): Define.
27911 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27913 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27915 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27917 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27919 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27920 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27924 2017-10-11 Andreas Schwab <schwab@suse.de>
27926 * nis/Makefile (aux): Remove.
27927 * nscd/Makefile (aux): Add nscd_hash.
27928 (nscd-modules): Likewise.
27929 ($(objpfx)nscd): Don't depend on libnsl.
27930 * nscd/nscd_hash.c: New file.
27931 * nscd/nscd_hash.h: Likewise.
27932 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27933 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27934 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27935 instead of <nis/rpcsvc/nis.h>.
27936 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27938 2017-10-11 Florian Weimer <fweimer@redhat.com>
27941 Avoid large NSS buffers with many addresses, aliases.
27942 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27943 using dynarrays and struct alloc_buffer.
27944 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27945 (tst-nss-files-hosts-multi): Link with -ldl.
27946 * nss/tst-nss-files-hosts-multi.c: New file.
27948 2017-10-11 Florian Weimer <fweimer@redhat.com>
27951 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27952 scratch_buffer. Eliminate gotos.
27954 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27956 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27957 libm_alias_ldouble_other.
27958 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27959 undefine and redefine.
27960 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27961 (exp10l): Do not define here.
27962 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27963 (weak_alias): Undefine and redefine.
27964 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27965 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27966 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27967 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27969 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27970 [!__fma] (fma): Define using libm_alias_double.
27971 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27972 [!__fmaf] (fmaf): Define using libm_alias_float.
27973 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27974 (fmal): Define using libm_alias_ldouble.
27976 2017-10-10 Joseph Myers <joseph@codesourcery.com>
27978 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27980 (libm_alias_double_other): Likewise.
27981 (libm_alias_double_r): Use libm_alias_double_other_r.
27982 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27984 (libm_alias_float_other): Likewise.
27985 (libm_alias_float_r): Use libm_alias_float_other_r.
27986 * sysdeps/generic/libm-alias-float128.h
27987 (libm_alias_float128_other_r): New macro.
27988 (libm_alias_float128_other): Likewise.
27989 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27990 * sysdeps/generic/libm-alias-ldouble.h
27991 (libm_alias_ldouble_other_r): New macro.
27992 (libm_alias_ldouble_other): Likewise.
27993 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27994 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27995 (libm_alias_double_other_r): New macro.
27996 (libm_alias_double_other): Likewise.
27997 (libm_alias_double_r): Use libm_alias_double_other_r.
27998 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27999 (libm_alias_ldouble_other_r): New macro.
28000 (libm_alias_ldouble_other): Likewise.
28001 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28002 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
28003 [!USE_AS_COMPAT]: Use libm_alias_double_other.
28004 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
28005 [!USE_AS_COMPAT]: Use libm_alias_float_other.
28006 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
28007 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
28008 * math/w_exp2f.c: Use libm_alias_float_other.
28009 * math/w_expf.c: Likewise.
28010 * math/w_log2f.c: Likewise.
28011 * math/w_logf.c: Likewise.
28012 * math/w_powf.c: Likewise.
28013 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
28014 [!__exp2f]: Use libm_alias_float_other.
28015 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
28016 [!__expf]: Use libm_alias_float_other.
28017 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
28018 [!__log2f]: Use libm_alias_float_other.
28019 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
28020 [!__logf]: Use libm_alias_float_other.
28021 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
28022 [!__powf]: Use libm_alias_float_other.
28024 2017-10-10 Florian Weimer <fweimer@redhat.com>
28026 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
28028 (_nss_files_gethostbyname3_r): Call it.
28030 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28032 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
28033 error. Remove default definition of declare_mgen_alias.
28034 [!declare_mgen_alias_r]: Likewise.
28035 * sysdeps/generic/math-type-macros-double.h
28036 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
28037 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
28038 (declare_mgen_alias_r): Likewise.
28039 * sysdeps/generic/math-type-macros-float128.h
28040 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28041 * sysdeps/generic/math-type-macros-ldouble.h
28042 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28043 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
28045 (declare_mgen_alias_r_s): Likewise.
28046 (declare_mgen_alias_r): Likewise.
28047 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
28048 (lgamma_r): Define using libm_alias_double_r.
28049 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
28050 (lgammaf_r): Define using libm_alias_float_r.
28051 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
28052 (lgammal_r): Define using libm_alias_ldouble_r.
28053 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
28054 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28056 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28058 * lib/glob.c (__glob_pattern_type): Remove now-spurious
28059 extern declaration.
28061 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28063 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
28065 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
28068 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
28069 [__cplusplus >= 201103] (__USE_ISOC99): Define.
28070 * math/Makefile (test-math-cxx11): New test.
28071 * math/test-math-cxx11.cc: New file.
28073 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
28075 * login/openpty.c (openpty): Close slave pty file descriptor on error.
28077 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
28078 call to allocate the slave pty file descriptor.
28080 2017-10-06 Joseph Myers <joseph@codesourcery.com>
28082 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
28083 [!__fma] (fma): Define using libm_alias_double.
28084 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
28085 [!__fma] (fma): Define using libm_alias_double.
28087 * sysdeps/ieee754/float128/float128_private.h: Include
28088 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
28089 (libm_alias_ldouble_r): Undefine and redefine.
28090 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
28091 <libm-alias-ldouble.h>.
28092 (asinhl): Define using libm_alias_ldouble.
28093 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
28094 <libm-alias-ldouble.h>.
28095 (atanl): Define using libm_alias_ldouble.
28096 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
28097 <libm-alias-ldouble.h>.
28098 (cbrtl): Define using libm_alias_ldouble.
28099 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
28100 <libm-alias-ldouble.h>.
28101 (ceill): Define using libm_alias_ldouble.
28102 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
28103 <libm-alias-ldouble.h>.
28104 (copysignl): Define using libm_alias_ldouble.
28105 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
28106 <libm-alias-ldouble.h>.
28107 (cosl): Define using libm_alias_ldouble.
28108 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
28109 <libm-alias-ldouble.h>.
28110 (erfl): Define using libm_alias_ldouble.
28112 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
28113 <libm-alias-ldouble.h>.
28114 (expm1l): Define using libm_alias_ldouble.
28115 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
28116 <libm-alias-ldouble.h>.
28117 (fabsl): Define using libm_alias_ldouble.
28118 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
28119 <libm-alias-ldouble.h>.
28120 (floorl): Define using libm_alias_ldouble.
28121 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
28122 <libm-alias-ldouble.h>.
28123 (fmal): Define using libm_alias_ldouble.
28124 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
28125 <libm-alias-ldouble.h>.
28126 (frexpl): Define using libm_alias_ldouble.
28127 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
28128 libm_alias_ldouble.
28129 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
28130 <libm-alias-ldouble.h>.
28131 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
28132 libm_alias_ldouble.
28133 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
28134 <libm-alias-ldouble.h>.
28135 (getpayloadl): Define using libm_alias_ldouble.
28136 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
28137 <libm-alias-ldouble.h>.
28138 (llrintl): Define using libm_alias_ldouble.
28139 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
28140 <libm-alias-ldouble.h>.
28141 (llroundl): Define using libm_alias_ldouble.
28142 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
28143 <libm-alias-ldouble.h>.
28144 (logbl): Define using libm_alias_ldouble.
28145 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
28146 <libm-alias-ldouble.h>.
28147 (lrintl): Define using libm_alias_ldouble.
28148 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
28149 <libm-alias-ldouble.h>.
28150 (lroundl): Define using libm_alias_ldouble.
28151 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
28152 <libm-alias-ldouble.h>.
28153 (modfl): Define using libm_alias_ldouble.
28154 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
28155 <libm-alias-ldouble.h>.
28156 (nearbyintl): Define using libm_alias_ldouble.
28157 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
28158 <libm-alias-ldouble.h>.
28159 (nextafterl): Define using libm_alias_ldouble.
28160 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
28161 <libm-alias-ldouble.h>.
28162 (nextupl): Define using libm_alias_ldouble.
28163 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
28164 <libm-alias-ldouble.h>.
28165 (remquol): Define using libm_alias_ldouble.
28166 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
28167 <libm-alias-ldouble.h>.
28168 (rintl): Define using libm_alias_ldouble.
28169 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
28170 <libm-alias-ldouble.h>.
28171 (roundevenl): Define using libm_alias_ldouble.
28172 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
28173 <libm-alias-ldouble.h>.
28174 (roundl): Define using libm_alias_ldouble.
28175 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
28176 using libm_alias_ldouble.
28177 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
28178 <libm-alias-ldouble.h>.
28179 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
28180 Define using libm_alias_ldouble.
28181 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
28182 <libm-alias-ldouble.h>.
28183 (sincosl): Define using libm_alias_ldouble.
28184 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
28185 <libm-alias-ldouble.h>.
28186 (sinl): Define using libm_alias_ldouble.
28187 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
28188 <libm-alias-ldouble.h>.
28189 (tanhl): Define using libm_alias_ldouble.
28190 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
28191 <libm-alias-ldouble.h>.
28192 (tanl): Define using libm_alias_ldouble.
28193 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
28194 <libm-alias-ldouble.h>.
28195 (totalorderl): Define using libm_alias_ldouble.
28196 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
28197 <libm-alias-ldouble.h>.
28198 (totalordermagl): Define using libm_alias_ldouble.
28199 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
28200 <libm-alias-ldouble.h>.
28201 (truncl): Define using libm_alias_ldouble.
28202 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
28203 libm_alias_ldouble.
28204 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
28205 libm_alias_ldouble.
28206 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
28207 <libm-alias-ldouble.h>.
28208 (weak_alias): Do not undefine and redefine.
28209 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28210 (copysignl): Define with long_double_symbol only if [IS_IN
28212 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
28213 <libm-alias-ldouble.h>.
28214 (weak_alias): Do not undefine and redefine.
28215 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28216 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
28217 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
28218 <libm-alias-ldouble.h>.
28219 (weak_alias): Do not undefine and redefine.
28220 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28221 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
28222 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
28223 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
28224 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
28225 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
28226 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
28227 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
28228 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
28229 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
28230 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
28231 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
28232 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
28233 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
28234 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
28235 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
28236 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
28237 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
28238 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
28239 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
28240 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
28241 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
28242 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
28243 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
28244 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
28245 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
28247 2017-10-06 Carlos O'Donell <carlos@redhat.com>
28250 * malloc/malloc.c (tcache_shutting_down): Use bool type.
28251 (tcache_thread_freeres): Set tcache_shutting_down before
28252 freeing the tcache.
28253 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
28254 * malloc/tst-malloc-tcache-leak.c: New file.
28256 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28258 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
28259 back to powerpc32 file.
28260 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28261 (memrchr): Add __memrchr_power8 to ifunc list.
28262 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
28263 extra bytes for unaligned inputs.
28265 2017-10-06 Joseph Myers <joseph@codesourcery.com>
28267 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
28268 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
28269 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
28270 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28271 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28273 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28275 * sysdeps/arm/libm-test-ulps: Update.
28277 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
28278 <libm-alias-ldouble.h>.
28279 (asinhl): Define using libm_alias_ldouble.
28280 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
28281 <libm-alias-ldouble.h>.
28282 (cbrtl): Define using libm_alias_ldouble.
28283 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
28284 <libm-alias-ldouble.h>.
28285 (copysignl): Define using libm_alias_ldouble.
28286 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
28287 <libm-alias-ldouble.h>.
28288 (cosl): Define using libm_alias_ldouble.
28289 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
28290 <libm-alias-ldouble.h>.
28291 (erfl): Define using libm_alias_ldouble.
28293 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
28294 <libm-alias-ldouble.h>.
28295 (fmal): Define using libm_alias_ldouble.
28296 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
28297 <libm-alias-ldouble.h>.
28298 (frexpl): Define using libm_alias_ldouble.
28299 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
28300 libm_alias_ldouble.
28301 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
28302 <libm-alias-ldouble.h>.
28303 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
28304 libm_alias_ldouble.
28305 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
28306 <libm-alias-ldouble.h>.
28307 (getpayloadl): Define using libm_alias_ldouble.
28308 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
28309 <libm-alias-ldouble.h>.
28310 (llrintl): Define using libm_alias_ldouble.
28311 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
28312 <libm-alias-ldouble.h>.
28313 (llroundl): Define using libm_alias_ldouble.
28314 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
28315 <libm-alias-ldouble.h>.
28316 (lrintl): Define using libm_alias_ldouble.
28317 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
28318 <libm-alias-ldouble.h>.
28319 (lroundl): Define using libm_alias_ldouble.
28320 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
28321 <libm-alias-ldouble.h>.
28322 (modfl): Define using libm_alias_ldouble.
28323 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
28324 <libm-alias-ldouble.h>.
28325 (nextupl): Define using libm_alias_ldouble.
28326 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
28327 <libm-alias-ldouble.h>.
28328 (remquol): Define using libm_alias_ldouble.
28329 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
28330 <libm-alias-ldouble.h>.
28331 (roundevenl): Define using libm_alias_ldouble.
28332 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
28333 <libm-alias-ldouble.h>.
28334 (roundl): Define using libm_alias_ldouble.
28335 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
28336 using libm_alias_ldouble.
28337 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
28338 <libm-alias-ldouble.h>.
28339 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
28340 <libm-alias-ldouble.h>.
28341 (setpayloadsigl): Define using libm_alias_ldouble.
28342 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
28343 <libm-alias-ldouble.h>.
28344 (sincosl): Define using libm_alias_ldouble.
28345 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
28346 <libm-alias-ldouble.h>.
28347 (sinl): Define using libm_alias_ldouble.
28348 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
28349 <libm-alias-ldouble.h>.
28350 (tanhl): Define using libm_alias_ldouble.
28351 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
28352 <libm-alias-ldouble.h>.
28353 (tanl): Define using libm_alias_ldouble.
28354 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
28355 <libm-alias-ldouble.h>.
28356 (totalorderl): Define using libm_alias_ldouble.
28357 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
28358 <libm-alias-ldouble.h>.
28359 (totalordermagl): Define using libm_alias_ldouble.
28360 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
28361 libm_alias_ldouble.
28362 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
28363 libm_alias_ldouble.
28365 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
28367 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28369 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28370 (__libc_ifunc_impl_list): Likewise.
28371 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
28372 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
28374 * benchtests/bench-memmove-walk.c: New file.
28375 * benchtests/Makefile (string-benchset): Add it.
28377 * benchtests/bench-memset-walk.c: New file.
28378 * benchtests/Makefile (string-benchset): Add it.
28380 * benchtests/bench-memcpy-walk.c: New file.
28381 * benchtests/Makefile (string-benchset): Add it.
28383 2017-10-05 Florian Weimer <fweimer@redhat.com>
28385 nscd: Eliminate compilation time dependency in the build output.
28386 * nscd/nscd_stat.c (STATDATA_VERSION)
28387 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
28388 (STATDATA_VERSION_FULL): New macro definitions.
28389 (compilation): Remove.
28390 (struct statdata): Adjust version member.
28391 (send_stats): Set version from STATDATA_VERSION_FULL.
28392 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
28394 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28396 * configure.ac (--enable-add-ons): Remove option.
28397 (machine): Do not mention add-ons in comment.
28398 (LIBC_PRECONFIGURE): Likewise.
28399 (add_ons): Remove variable and sanity checks and logic to locate
28401 (add_ons_automatic): Remove variable.
28402 (configured_add_ons): Likewise.
28403 (add_ons_sfx): Likewise.
28404 (add_ons_pfx): Likewise.
28405 (add_on_subdirs): Likewise.
28406 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28407 consideration of add-ons in Implies handling.
28408 (sysdeps_add_ons): Likewise.
28409 * configure: Regenerated.
28410 * libidn/configure.ac: Remove.
28411 * libidn/configure: Likewise.
28412 * sysdeps/unix/inet/configure.ac: New file.
28413 * sysdeps/unix/inet/configure: New generated file.
28414 * sysdeps/unix/inet/Subdirs: Add libidn.
28415 * Makeconfig (sysdeps-srcdirs): Remove variable.
28416 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28417 ($(common-objpfx)config.status): Do not depend on add-on files.
28418 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28420 (all-subdirs): Do not include $(add-on-subdirs).
28421 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28422 * config.make.in (add-ons): Remove variable.
28423 (add-on-subdirs): Likewise.
28424 (sysdeps-add-ons): Likewise.
28425 * manual/Makefile (add-chapters): Remove.
28426 ($(objpfx)texis): Do not depend on $(add-chapters).
28427 (nonexamples): Do not handle $(add-chapters).
28428 (examples): Do not handle $(add-ons).
28429 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28431 * manual/install.texi (Installation): Do not mention add-ons.
28432 (--enable-add-ons): Do not document configure option.
28433 * INSTALL: Regenerated.
28434 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28435 * manual/maint.texi (Hierarchy Conventions): Do not mention
28437 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28439 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28441 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28442 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28444 2017-10-05 Andreas Schwab <schwab@suse.de>
28447 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28448 (_IO_flush_all_lockp): Always lock list_all_lock.
28449 (_IO_flush_all_linebuffered): Likewise.
28450 (_IO_unbuffer_all): Likewise.
28452 2017-10-05 Florian Weimer <fweimer@redhat.com>
28455 Do not flush stdio streams on abort.
28456 * stdlib/abort.c (fflush): Remove macro definition.
28457 (abort): Remove stages related to stdio flushing.
28459 2017-10-05 Florian Weimer <fweimer@redhat.com>
28461 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28463 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28465 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28467 2017-10-05 Florian Weimer <fweimer@redhat.com>
28469 * support/support_format_hostent.c (support_format_hostent): Add
28470 more error information for NETDB_INTERNAL.
28472 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28474 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28475 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28476 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28477 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28478 AC_DEFINE if multi-arch is enabled.
28479 * sysdeps/i386/configure: Regenerated.
28481 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28483 * Makeconfig (+link-static-before-libc): Use
28484 $(DEFAULT-LDFLAGS-$(@F)).
28485 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28486 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28487 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28489 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28491 * elf/Makefile (tests): Add tst-main1.
28492 (modules-names): Add tst-main1mod.
28493 ($(objpfx)tst-main1): New.
28494 (CRT-tst-main1): Likewise.
28495 (LDFLAGS-tst-main1): Likewise.
28496 (LDLIBS-tst-main1): Likewise.
28497 (tst-main1mod.so-no-z-defs): Likewise.
28498 * elf/tst-main1.c: New file.
28499 * elf/tst-main1mod.c: Likewise.
28501 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28503 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28505 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28507 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28508 (fma): Define using libm_alias_double.
28509 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28510 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28512 (fmal): Do not define as compat symbol here.
28513 * sysdeps/alpha/fpu/s_fma.c: New file.
28515 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28517 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28519 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28522 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28524 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28526 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28527 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28528 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28529 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28531 Include <math_ldbl_opt.h>
28532 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28534 (compat_symbol): Undefine and redefine.
28535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28537 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28538 (compat_symbol): Undefine and redefine.
28539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28540 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28541 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28542 GLIBC_2_1 for libm.
28543 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28544 GLIBC_2.0 copysignl symbol.
28545 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28546 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28548 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28550 2017-10-04 Florian Weimer <fweimer@redhat.com>
28552 * scripts/check-local-headers.sh: Ignore nspr4 header file
28553 directory in addition to nspr.
28555 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
28558 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28559 * configure: Regenerate.
28560 * crypt/Makefile (nss-cpp-flags): New variable.
28561 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28562 (CPPFLAGS-md5-crypt.c): Use it.
28563 * scripts/check-local-headers.sh: Ignore nspr header file
28566 2017-10-04 Andreas Schwab <schwab@suse.de>
28568 * nis/Makefile (services): Remove compat.
28569 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28570 ($(objpfx)libnss_compat.so): Remove rule.
28571 * nis/Versions (libnss_compat): Remove.
28572 * nss/Makefile (services): Add compat.
28573 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28574 * nss/Versions (libnss_compat): Define.
28575 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28576 Don't include <rpc/types.h>. Replace bool_t by bool.
28577 * nss/nss_compat/compat-initgroups.c: Likewise.
28578 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28579 instead of <rpcsrv/ypclnt.h>.
28580 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28581 yp_get_default_domain.
28582 * nss/nss_compat/compat-pwd.c: Likewise.
28583 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28584 yp_get_default_domain.
28585 * nss/nss_compat/nisdomain.c: New file.
28586 * nss/nss_compat/nisdomain.h: Likewise.
28588 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28591 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28592 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28594 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28597 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28598 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28600 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28602 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28603 "movl main@GOTOFF(%ebx), %eax".
28605 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28607 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28608 allow undefined _DYNAMIC in PIE libc.a.
28609 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28612 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28614 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28617 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28619 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28622 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28624 * math/test-math-iscanonical.cc (error): Replace bool with int.
28626 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28628 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28629 (modf): Define using libm_alias_double, only if [!__modf].
28630 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28631 <libm-alias-double.h>.
28632 (modf): Define using libm_alias_double, only if [!__modf].
28633 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28634 compat symbol here.
28635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28636 (weak_alias): Do not undefine and redefine.
28637 (strong_alias): Likewise.
28638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28639 (weak_alias): Likewise.
28640 (strong_alias): Likewise.
28642 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28643 (logb): Define using libm_alias_double, only if [!__logb].
28644 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28645 <libm-alias-double.h>.
28646 (logb): Define using libm_alias_double, only if [!__logb].
28647 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28649 (weak_alias): Do not undefine and redefine.
28650 (strong_alias): Likewise.
28651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28652 (weak_alias): Likewise.
28653 (strong_alias): Likewise.
28655 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28657 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28658 Check SHARED instead PIC.
28660 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28662 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28663 [!__fmaf] (fmaf): Define using libm_alias_float.
28665 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28666 (frexp): Define using libm_alias_double.
28667 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28668 <libm-alias-double.h>.
28669 (frexp): Define using libm_alias_double.
28670 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28671 compat symbol here.
28673 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28676 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28677 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28678 (CFLAGS-test-math-iscanonical.cc): New variable.
28679 * math/test-math-iscanonical.cc: New file.
28680 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28681 Provide a C++ implementation based on function overloading,
28682 rather than using __MATH_TG, which uses C-only builtins.
28683 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28685 * sysdeps/powerpc/powerpc64le/Makefile
28686 (CFLAGS-test-math-iscanonical.cc): New variable.
28688 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28690 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28691 (ceil): Define using libm_alias_double.
28692 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28693 (floor): Define using libm_alias_double.
28694 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28695 <libm-alias-double.h>.
28696 (llround): Define using libm_alias_double.
28697 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28698 <libm-alias-double.h>.
28699 (lround): Define using libm_alias_double.
28700 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28701 <libm-alias-double.h>.
28702 (nearbyint): Define using libm_alias_double.
28703 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28704 <libm-alias-double.h>.
28705 (remquo): Define using libm_alias_double.
28706 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28707 (rint): Define using libm_alias_double.
28708 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28709 (round): Define using libm_alias_double.
28710 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28711 (trunc): Define using libm_alias_double.
28712 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28713 <libm-alias-double.h>.
28714 (ceil): Define using libm_alias_double.
28715 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28716 <libm-alias-double.h>.
28717 (floor): Define using libm_alias_double.
28718 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28719 <libm-alias-double.h>.
28720 (llround): Define using libm_alias_double.
28721 [_LP64] (lround): Likewise.
28722 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28723 <libm-alias-double.h>.
28724 [!_LP64] (lround): Define using libm_alias_double.
28725 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28726 <libm-alias-double.h>.
28727 (nearbyint): Define using libm_alias_double.
28728 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28729 <libm-alias-double.h>.
28730 (remquo): Define using libm_alias_double.
28731 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28732 <libm-alias-double.h>.
28733 (rint): Define using libm_alias_double.
28734 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28735 <libm-alias-double.h>.
28736 (round): Define using libm_alias_double.
28737 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28738 <libm-alias-double.h>.
28739 (trunc): Define using libm_alias_double.
28740 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28741 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28742 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28743 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28744 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28745 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28746 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28747 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28748 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28750 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28752 * math/w_remainder.c: New file.
28753 * math/w_remainderf.c: New file.
28754 * math/w_remainderl.c: New file.
28756 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28758 * elf/rtld.c (BOOTSTRAP_MAP): New.
28759 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28760 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28762 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28764 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28767 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28769 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28770 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28771 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28772 rtld_hidden_data_ver): Define to empty.
28773 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28774 __assert_perror_fail): Likewise.
28775 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28776 (__rewinddir): Likewise.
28777 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28778 (__profile_frequency): Likewise.
28779 * include/setjmp.h (__sigsetjmp): Likewise.
28780 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28781 __libc_sigaction): Likewise.
28782 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28783 not set hidden attribute.
28784 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28785 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28786 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28787 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28788 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28789 __fxstatat64): Likewise.
28790 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28791 (__uname): Likewise.
28792 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28793 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28794 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28795 (NO_RTLD_HIDDEN): Set.
28796 * sysdeps/mach/hurd/configure: Refresh.
28797 * config.h.in: Refresh.
28799 2017-10-02 Joseph Myers <joseph@codesourcery.com>
28801 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28802 (atan): Define using libm_alias_double.
28803 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28804 (tan): Define using libm_alias_double.
28805 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28806 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28808 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28809 define as weak alias of __atan. Do not define any aliases if
28811 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28812 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28813 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28814 as weak alias of __tan. Do not define any aliases if [__tan].
28815 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28816 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28817 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28819 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28820 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28821 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28822 and define as weak alias of __atan.
28823 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28825 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28826 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28827 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28828 define as weak alias of __tan.
28830 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28832 * math/w_lgamma.c: New file.
28833 * math/w_lgammaf.c: New file.
28834 * math/w_lgammal.c: New file.
28836 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28838 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28839 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28840 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28841 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28842 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28843 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28844 * sysdeps/i386/fpu/w_log2f.c: New file.
28845 * sysdeps/i386/fpu/w_logf.c: New file.
28846 * sysdeps/i386/fpu/w_powf.c: New file.
28847 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28848 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28849 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28851 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28852 H.J. Lu <hongjiu.lu@intel.com>
28854 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28855 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28856 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28857 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28858 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28860 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28861 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28862 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28863 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28864 * sysdeps/i386/fpu/w_exp2f.c: New file.
28865 * sysdeps/i386/fpu/w_expf.c: New file.
28866 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28867 * sysdeps/x86_64/fpu/w_expf.c: New file.
28869 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28871 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28874 * math/w_log2f.c: New file.
28875 * math/w_logf.c: New file.
28876 * math/w_powf.c: New file.
28877 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28878 * math/w_logf_compat.c (__logf_compat): Likewise.
28879 * math/w_powf_compat.c (__powf_compat): Likewise.
28880 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28881 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28882 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28883 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28884 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28885 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28886 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28887 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28888 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28889 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28890 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28891 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28892 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28893 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28894 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28903 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28904 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28905 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28906 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28907 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28912 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28913 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28914 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28916 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28918 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28919 (sysdep_routines): Add memrchr_power8.
28920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28921 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28922 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28924 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28925 (memrchr): Add __memrchr_power8 to ifunc list.
28926 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28928 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28931 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28932 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28934 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28935 (__posix_fallocate64_l64): Likewise.
28937 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28940 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28941 (__sched_setaffinity_new): Add libc_hidden_proto and
28944 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28947 * include/glob.h (__glob64): Add libc_hidden_proto.
28948 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28951 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28954 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28957 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28960 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28962 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28965 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28971 * csu/version.c (__libc_print_version): Add attribute_hidden.
28973 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28976 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28978 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28981 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28983 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28986 * nscd/nscd_helper.c (__nis_hash): New prototype.
28988 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28991 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28992 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28994 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28995 * termios/tcgetattr.c (__tcgetattr): Likewise.
28997 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29000 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
29001 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
29002 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
29003 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
29004 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
29006 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29009 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
29011 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29014 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
29015 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
29017 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29020 * intl/hash-string.h (__hash_string): Add attribute_hidden.
29022 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29025 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
29026 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
29028 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29031 * include/ifreq.h: New file.
29032 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
29033 (__ifreq): Likewise.
29034 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
29035 (__ifreq): Likewise.
29037 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29040 * include/idna.h: New file.
29041 * inet/getnameinfo.c: Include <idna.h> instead of
29043 (__idna_to_unicode_lzlz): Removed.
29044 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
29046 (__idna_to_ascii_lz): Removed.
29047 (__idna_to_unicode_lzlz): Likewise.
29049 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29052 * include/plural-exp.h: New file.
29053 * intl/plural-exp.c: Include <plural-exp.h> instead of
29056 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29059 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
29060 "getsourcefilter.h".
29061 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
29062 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
29063 "getsourcefilter.h".
29064 (__get_sol): Removed.
29066 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29069 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
29071 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
29073 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29076 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
29079 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29082 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
29084 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29087 * include/search.h (__tdestroy): Add libc_hidden_proto.
29088 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
29090 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29093 * include/assert.h (__assert_fail_base): Add attribute_hidden.
29095 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29098 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
29101 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29104 * include/signal.h (__kill): Add libc_hidden_proto.
29105 (__sigblock): Likewise.
29106 (__sigprocmask): Likewise.
29107 (__sigaltstack): Likewise.
29108 * signal/kill.c (__kill): Add libc_hidden_def.
29109 * signal/sigblock.c (__sigblock): Likewise.
29110 * signal/sigprocmask.c (__sigprocmask): Likewise.
29111 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
29112 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
29113 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
29114 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
29115 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
29117 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
29119 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
29120 (__sigprocmask): Likewise.
29121 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
29123 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
29124 (__sigprocmask): Likewise.
29125 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
29128 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29131 * include/string.h (__strsep): Add libc_hidden_proto.
29132 * string/strsep.c (__strsep): Add libc_hidden_def.
29134 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29137 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
29139 (__spawni): Likewise.
29141 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29144 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
29145 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
29148 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29151 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
29153 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29156 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
29157 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
29158 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
29159 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
29160 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
29162 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
29163 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
29165 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29168 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
29169 (__dcigettext): Likewise.
29171 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29174 * include/sys/sysinfo.h (__get_nprocs_conf): Add
29176 (__get_nprocs): Likewise.
29177 (__get_phys_pages): Likewise.
29178 (__get_avphys_pages): Likewise.
29179 (__get_child_max): Add attribute_hidden.
29180 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
29181 (__get_nprocs): Likewise.
29182 (__get_phys_pages): Likewise.
29183 (__get_avphys_pages): Likewise.
29184 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
29186 (__get_nprocs): Likewise.
29187 (__get_phys_pages): Likewise.
29188 (__get_avphys_pages): Likewise.
29189 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
29191 (__get_nprocs_conf): Likewise.
29192 (__get_phys_pages): Likewise.
29193 (__get_avphys_pages): Likewise.
29195 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29198 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
29200 (__netlink_close): Likewise.
29201 (__netlink_free_handle): Likewise.
29202 (__netlink_request): Likewise.
29204 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29207 * include/rpc/rpc.h (__rpc_thread_variables): Add
29209 (__rpc_thread_svc_cleanup): Likewise.
29210 (__rpc_thread_clnt_cleanup): Likewise.
29211 (__rpc_thread_key_cleanup): Likewise.
29213 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29216 * include/sys/uio.h (__readv): Add libc_hidden_proto.
29217 (__writev): Likewise.
29218 * misc/readv.c (__readv): Add libc_hidden_def.
29219 * misc/writev.c (__writev): Likewise.
29220 * sysdeps/posix/readv.c (__readv): Likewise.
29221 * sysdeps/posix/writev.c (__writev): Likewise.
29222 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
29223 (__readv): Likewise.
29224 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
29225 (__writev): Likewise.
29227 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29230 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
29231 (__regcomp): Add libc_hidden_proto.
29232 (__regexec): Likewise.
29233 (__regfree): Likewise.
29234 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
29235 (__regfree): Likewise.
29236 * posix/regexec.c (__regexec): Likewise.
29238 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29241 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
29242 (__getutent): Likewise.
29243 (__getutid): Likewise.
29244 (__getutline): Likewise.
29245 (__pututline): Likewise.
29246 (__getutent_r): Likewise.
29247 (__getutid_r): Likewise.
29248 (__getutline_r): Likewise.
29249 (__utmpname): Add attribute_hidden.
29250 (__setutent): Likewise.
29251 (__endutent): Likewise.
29252 * login/getutent.c (__getutent): Add libc_hidden_def.
29253 * login/getutent_r.c (__getutent_r): Likewise.
29254 (__pututline): Likewise.
29255 * login/getutid.c (__getutid): Likewise.
29256 * login/getutid_r.c (__getutid_r): Likewise.
29257 * login/getutline.c (__getutline): Likewise.
29258 * login/getutline_r.c (__getutline_r): Likewise.
29259 * login/updwtmp.c (__updwtmp): Likewise.
29261 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29264 * include/dirent.h (__opendir): Always add attribute_hidden.
29265 (__fdopendir): Likewise.
29266 (__closedir): Likewise.
29267 (__readdir): Likewise.
29268 (__readdir64): Add libc_hidden_proto.
29269 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
29270 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
29271 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
29272 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
29275 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29278 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
29279 * include/netdb.h (__gethostbyaddr_r): Likewise.
29280 (__gethostbyname_r): Likewise.
29281 (__gethostbyname2_r): Likewise.
29282 (__getnetbyaddr_r): Likewise.
29283 (__getnetbyname_r): Likewise.
29284 (__getservbyname_r): Likewise.
29285 (__getservbyport_r): Likewise.
29286 (__getprotobyname_r): Likewise.
29287 (__getprotobynumber_r): Likewise.
29288 (__getnetgrent_r): Likewise.
29289 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
29290 (__getrpcbynumber_r): Likewise.
29291 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
29293 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29296 * include/stdio.h (__fcloseall): Add attribute_hidden.
29297 (__getline): Likewise.
29298 (__path_search): Likewise.
29299 (__gen_tempname): Likewise.
29300 (__libc_message): Likewise.
29301 (__flockfile): Likewise.
29302 (__funlockfile): Likewise.
29303 (__fxprintf): Likewise.
29304 (__fxprintf_nocancel): Likewise.
29306 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29309 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
29310 (__sgetsgent_r): Likewise.
29312 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29315 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
29316 (__statfs64): Likewise.
29317 (__fstatfs64): Likewise.
29318 * include/sys/statvfs.h (__statvfs64): Likewise.
29319 (__fstatvfs64): Likewise.
29320 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
29321 (__statfs_filesize_max): Likewise.
29322 (__statfs_symlinks): Likewise.
29323 (__statfs_chown_restricted): Likewise.
29325 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29328 * include/time.h (__tzstring): Add attribute_hidden.
29329 (__tzfile_read): Likewise.
29330 (__tzfile_compute): Likewise.
29331 (__tzfile_default): Likewise.
29332 (__tzset_parse_tz): Likewise.
29333 (__offtime): Likewise.
29334 (__asctime_r): Likewise.
29335 (__tzset): Likewise.
29336 (__tz_convert): Likewise.
29337 (__getdate_r): Likewise.
29338 (__getclktck): Likewise.
29340 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29343 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
29344 (__nscd_unmap): Likewise.
29345 (__nscd_cache_search): Likewise.
29346 (__nscd_get_nl_timestamp): Likewise.
29347 (__nscd_getpwnam_r): Likewise.
29348 (__nscd_getpwuid_r): Likewise.
29349 (__nscd_getgrnam_r): Likewise.
29350 (__nscd_getgrgid_r): Likewise.
29351 (__nscd_gethostbyname_r): Likewise.
29352 (__nscd_gethostbyname2_r): Likewise.
29353 (__nscd_gethostbyaddr_r): Likewise.
29354 (__nscd_getai): Likewise.
29355 (__nscd_getgrouplist): Likewise.
29356 (__nscd_getservbyname_r): Likewise.
29357 (__nscd_getservbyport_r): Likewise.
29358 (__nscd_innetgr): Likewise.
29359 (__nscd_setnetgrent): Likewise.
29361 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29364 * include/gmp.h: Declare internal functions only if _ISOMAC is
29366 (__mpn_extract_double): Add attribute_hidden.
29367 (__mpn_extract_long_double): Likewise.
29368 (__mpn_extract_float128): Likewise.
29369 (__mpn_construct_float): Likewise.
29370 (__mpn_construct_double): Likewise.
29371 (__mpn_construct_long_double): Likewise.
29372 (__mpn_construct_float128): Likewise.
29373 (mpn_add_1): Likewise.
29374 (mpn_addmul_1): Likewise.
29375 (mpn_add_n): Likewise.
29376 (mpn_cmp): Likewise.
29377 (mpn_divrem): Likewise.
29378 (mpn_lshift): Likewise.
29379 (mpn_mul): Likewise.
29380 (mpn_mul_1): Likewise.
29381 (mpn_rshift): Likewise.
29382 (mpn_sub_1): Likewise.
29383 (mpn_submul_1): Likewise.
29384 (mpn_sub_n): Likewise.
29386 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29389 * include/wchar.h (__wcsnlen): Add attribute_hidden.
29390 (__wcscat): Likewise.
29391 (__btowc): Likewise.
29392 (__wcrtomb): Likewise.
29393 (__mbsrtowcs): Likewise.
29394 (__wcsrtombs): Likewise.
29395 (__mbsnrtowcs): Likewise.
29396 (__wcsnrtombs): Likewise.
29397 (__wcsncpy): Likewise.
29398 (__wcpncpy): Likewise.
29399 (__wmemcpy): Likewise.
29400 (__wmempcpy): Likewise.
29401 (__wmemmove): Likewise.
29402 (__wcschrnul): Likewise.
29403 (__vfwscanf): Likewise.
29404 (__vswprintf): Likewise.
29405 (__fwprintf): Likewise.
29406 (__vfwprintf): Likewise.
29408 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29411 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29412 (__getgrgid_r): Likewise.
29413 (__getgrnam_r): Likewise.
29414 * include/pwd.h (__getpwuid_r): Likewise.
29415 (__getpwnam_r): Likewise.
29416 (__fgetpwent_r): Likewise.
29417 * include/shadow.h (__getspnam_r): Likewise.
29418 (__sgetspent_r): Likewise.
29419 (__fgetspent_r): Likewise.
29421 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29424 * include/unistd.h (__access): Add attribute_hidden.
29425 (__lseek64): Likewise.
29426 (__libc_pread64): Likewise.
29427 (__pipe2): Likewise.
29428 (__sleep): Likewise.
29429 (__chdir): Likewise.
29430 (__fchdir): Likewise.
29431 (__getcwd): Likewise.
29432 (__rmdir): Likewise.
29433 (__execvpe): Likewise.
29434 (__execve): Likewise.
29435 (__setsid): Likewise.
29436 (__getuid): Likewise.
29437 (__geteuid): Likewise.
29438 (__getgid): Likewise.
29439 (__getegid): Likewise.
29440 (__getgroups): Likewise.
29441 (__group_member): Likewise.
29442 (__ttyname_r): Likewise.
29443 (__isatty): Likewise.
29444 (__readlink): Likewise.
29445 (__unlink): Likewise.
29446 (__gethostname): Likewise.
29447 (__profil): Likewise.
29448 (__getdtablesize): Likewise.
29450 (__ftruncate): Likewise.
29451 (__ftruncate64): Likewise.
29453 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29456 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29457 * argp/argp-fs-xinl.c: Likewise.
29458 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29459 * argp/argp-parse.c: Include <argp.h>.
29460 * argp/argp-xinl.c: Likewise.
29461 * include/argp-fmtstream.h: New file.
29462 * include/argp.h (__argp_error): Add attribute_hidden.
29463 (__argp_failure): Likewise.
29464 (__argp_input): Likewise.
29465 (__argp_state_help): Likewise.
29467 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29470 * include/wchar.h (____wcstof_l_internal): New prototype.
29471 (____wcstod_l_internal): Likewise.
29472 (____wcstold_l_internal): Likewise.
29473 (____wcstol_l_internal): Likewise.
29474 (____wcstoul_l_internal): Likewise.
29475 (____wcstoll_l_internal): Likewise.
29476 (____wcstoull_l_internal): Likewise.
29477 (____wcstof128_l_internal): Likewise.
29478 * sysdeps/ieee754/float128/wcstof128.c
29479 (____wcstof128_l_internal): Removed.
29480 * sysdeps/ieee754/float128/wcstof128_l.c
29481 (____wcstof128_l_internal): Likewise.
29482 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29483 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29484 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29485 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29486 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29487 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29488 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29489 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29490 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29491 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29493 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29496 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29497 instead of <sys/statvfs.h>.
29498 (__internal_statvfs): Removed.
29499 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29500 instead of <sys/statvfs.h>.
29501 (__internal_statvfs64): Removed.
29502 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29503 "internal_statvfs.h" instead of <sys/statvfs.h>.
29504 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29505 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29506 instead of <sys/statvfs.h>.
29507 (__internal_statvfs): Removed.
29508 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29509 instead of <sys/statvfs.h>.
29510 (__internal_statvfs64): Removed.
29512 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29515 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29516 (__gconv_close): Likewise.
29517 (__gconv): Likewise.
29518 (__gconv_find_transform): Likewise.
29519 (__gconv_lookup_cache): Likewise.
29520 (__gconv_compare_alias_cache): Likewise.
29521 (__gconv_load_cache): Likewise.
29522 (__gconv_get_path): Likewise.
29523 (__gconv_close_transform): Likewise.
29524 (__gconv_release_cache): Likewise.
29525 (__gconv_find_shlib): Likewise.
29526 (__gconv_release_shlib): Likewise.
29527 (__gconv_get_builtin_trans): Likewise.
29528 (__gconv_compare_alias): Likewise.
29529 * include/dlfcn.h (_dlerror_run): Likewise.
29530 * include/stdio.h (__fortify_fail_abort): Likewise.
29531 * include/time.h (__tz_compute): Likewise.
29532 (__strptime_internal): Likewise.
29533 * intl/gettextP.h (_nl_find_domain): Likewise.
29534 (_nl_load_domain): Likewise.
29535 (_nl_find_msg): Likewise.
29536 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29537 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29538 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29539 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29540 (__gai_find_request): Likewise.
29541 (__gai_remove_request): Likewise.
29542 (__gai_notify): Likewise.
29543 (__gai_notify_only): Likewise.
29544 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29545 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29546 (_dl_non_dynamic_init): Likewise.
29547 (_dl_aux_init): Likewise.
29548 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29549 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29551 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29552 (__wcsmbs_clone_conv): Likewise.
29553 (__wcsmbs_named_conv): Likewise.
29555 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29558 * include/stdlib.h (__random): Add attribute_hidden.
29559 (__random_r): Likewise.
29560 (__srandom_r): Likewise.
29561 (__initstate_r): Likewise.
29562 (__setstate_r): Likewise.
29563 (__erand48_r): Likewise.
29564 (__nrand48_r): Likewise.
29565 (__jrand48_r): Likewise.
29566 (__srand48_r): Likewise.
29567 (__seed48_r): Likewise.
29568 (__lcong48_r): Likewise.
29569 (__drand48_iterate): Likewise.
29570 (__setenv): Likewise.
29571 (__unsetenv): Likewise.
29572 (__clearenv): Likewise.
29573 (__ptsname_r): Likewise.
29574 (__posix_openpt): Likewise.
29575 (__add_to_environ): Likewise.
29576 (__realpath): Add libc_hidden_proto.
29577 (__ecvt_r): Likewise.
29578 (__fcvt_r): Likewise.
29579 (__qecvt_r): Likewise.
29580 (__qfcvt_r): Likewise.
29581 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29582 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29584 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29587 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29588 * include/time.h (__mktime_internal): Likewise.
29589 * libio/iolibio.h (__fopen_internal): Likewise.
29591 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
29593 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29595 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29596 Correct offset used to restore PIC register.
29598 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
29601 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29602 code to load address of __getcontext_ret when generating PIC code.
29604 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29606 * elf/Makefile (tests-static-internal): Add
29607 tst-tls1-static-non-pie.
29608 (LDFLAGS-tst-tls1-static-non-pie): New.
29609 * elf/tst-tls1-static-non-pie.c: New file.
29611 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29613 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29614 (asinh): Define using libm_alias_double.
29615 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29616 (cbrt): Define using libm_alias_double.
29617 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29618 <libm-alias-double.h>.
29619 (copysign): Define using libm_alias_double.
29620 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29621 (erf): Define using libm_alias_double.
29623 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29624 (expm1): Define using libm_alias_double.
29625 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29626 (fabs): Define using libm_alias_double.
29627 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29629 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29630 <libm-alias-double.h>.
29631 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29633 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29634 <libm-alias-double.h>.
29635 (getpayload): Define using libm_alias_double.
29636 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29637 <libm-alias-double.h>.
29638 (llrint): Define using libm_alias_double.
29639 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29640 (lrint): Define using libm_alias_double.
29641 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29642 <libm-alias-double.h>.
29643 (nextup): Define using libm_alias_double.
29644 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29645 <libm-alias-double.h>.
29646 (roundeven): Define using libm_alias_double.
29647 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29649 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29650 <libm-alias-double.h>.
29651 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29652 using libm_alias_double.
29653 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29654 (cos): Define using libm_alias_double.
29656 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29657 <libm-alias-double.h>.
29658 (sincos): Define using libm_alias_double.
29659 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29660 (tanh): Define using libm_alias_double.
29661 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29662 <libm-alias-double.h>.
29663 (totalorder): Define using libm_alias_double.
29664 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29665 <libm-alias-double.h>.
29666 (totalordermag): Define using libm_alias_double.
29667 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29669 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29671 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29672 <libm-alias-double.h>.
29673 (getpayload): Define using libm_alias_double.
29674 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29675 <libm-alias-double.h>.
29676 (roundeven): Define using libm_alias_double.
29677 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29678 <libm-alias-double.h>.
29679 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29680 <libm-alias-double.h>.
29681 (totalorder): Define using libm_alias_double.
29682 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29683 <libm-alias-double.h>.
29684 (totalordermag): Define using libm_alias_double.
29685 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29686 libc compat symbol here.
29687 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29688 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29689 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29690 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29691 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29692 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29693 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29694 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29695 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29696 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29698 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29700 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29701 _dl_relocate_static_pie instead of _dl_start to compute load
29702 address in static PIE. Return 0 if _DYNAMIC is undefined for
29705 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29707 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29708 _DYNAMIC is undefined for static executable.
29710 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29712 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29714 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29718 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29720 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29721 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29722 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29723 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29724 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29725 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29726 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29727 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29728 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29729 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29730 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29731 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29732 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29733 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29734 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29735 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29736 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29738 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29740 * math/bits/cmathcalls.h (cimag): Remove inline.
29741 (creal): Remove inline.
29742 (conj): Remove inline.
29744 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29746 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29747 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29748 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29749 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29750 (issignalingf_inline): Likewise.
29751 (POWF_LOG2_TABLE_BITS): Likewise.
29752 (POWF_LOG2_POLY_ORDER): Likewise.
29753 (POWF_SCALE_BITS): Likewise.
29754 (POWF_SCALE): Likewise.
29755 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29756 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29757 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29759 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29761 * math/Makefile (type-float-routines): Add e_log2f_data.
29762 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29763 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29764 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29765 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29766 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29767 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29768 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29770 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29772 * math/Makefile (type-float-routines): Add e_logf_data.
29773 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29774 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29775 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29776 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29777 * sysdeps/i386/fpu/e_logf_data.c: New file.
29778 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29779 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29781 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29783 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29784 undefined _DYNAMIC in PIE libc.a.
29785 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29788 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29790 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29791 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29792 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29793 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29794 (__signbit): Remove.
29795 (__signbitl): Remove.
29796 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29797 (__signbit): Remove.
29798 (__signbitl): Remove.
29799 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29800 (__signbit): Remove.
29801 (__signbitl): Remove.
29802 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29803 (__signbit): Remove.
29804 (__signbitl): Remove.
29805 * sysdeps/tile/bits/mathinline.h: Delete file.
29806 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29807 (__signbit): Remove.
29808 (__signbitl): Remove.
29810 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29812 * math/math.h: Improve handling of C99 isgreater macros.
29813 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29814 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29815 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29816 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29817 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29819 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29821 * sysdeps/aarch64/libm-test-ulps: Update.
29823 2017-09-28 Joseph Myers <joseph@codesourcery.com>
29826 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29827 math_opt_barrier on argument when doing arithmetic on it.
29828 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29829 Likewise. Use math_force_eval not math_opt_barrier after
29831 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29832 math_opt_barrier on argument when doing arithmetic on it.
29833 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29836 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29838 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29840 (__freeifaddrs): Likewise.
29842 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29844 * include/dirent.h (__dirfd): New declaration.
29845 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29847 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29848 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29849 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
29850 * include/unistd.h (__revoke): New declaration.
29851 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29853 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29854 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29856 * include/dirent.h (__seekdir): New declaration.
29857 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29858 redefine as weak alias.
29859 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29861 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29862 and use libc_hidden_def on them.
29863 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29865 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29866 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29867 instead of getifaddrs and freeifaddrs.
29869 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29872 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29873 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29874 (__dso_handle): Remove declaration.
29875 * dlfcn/tstatexit.c (__dso_handle): Removed.
29876 (main): Don't check __dso_handle.
29877 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29878 (main): Don't check __dso_handle.
29879 * include/dso_handle.h: New file.
29880 * malloc/mtrace.c: Include <dso_handle.h>.
29881 (mtrace): Pass __dso_handle directly.
29882 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29883 (__dso_handle): Remove declaration.
29884 (__pthread_atfork): Pass __dso_handle directly.
29885 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29886 (__dso_handle): Removed.
29887 * posix/wordexp-test.c: Include <dso_handle.h>.
29888 (__dso_handle): Remove declaration.
29889 (__app_register_atfork): Pass __dso_handle directly.
29890 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29891 (__dso_handle): Remove declaration.
29892 (at_quick_exit): Pass __dso_handle directly.
29893 * stdlib/atexit.c: Include <dso_handle.h>.
29894 (__dso_handle): Remove declaration.
29895 (atexit): Pass __dso_handle directly.
29896 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29897 (__dso_handle): Removed.
29899 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29901 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29904 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29906 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29907 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29908 values to correct default value for given type.
29910 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29913 * elf/Makefile (tests): Add tst-debug1.
29914 ($(objpfx)tst-debug1): New.
29915 ($(objpfx)tst-debug1.out): Likewise.
29916 ($(objpfx)tst-debug1mod1.so): Likewise.
29917 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29918 with p_filesz == 0.
29919 * elf/tst-debug1.c: New file.
29921 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29923 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29924 Define using __ifunc.
29926 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29928 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29931 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29934 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29936 2017-09-26 Florian Weimer <fweimer@redhat.com>
29938 * resolv/Makefile (tests-internal): Fix typo in comment.
29940 2017-09-26 Florian Weimer <fweimer@redhat.com>
29942 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29944 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29946 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29947 Use an union instead of a max_align_t array for __space,
29948 so that __space is the same size on all platforms.
29949 * malloc/scratch_buffer_grow_preserve.c
29950 (__libc_scratch_buffer_grow_preserve): Likewise.
29953 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29955 * posix/Makefile (routines): Add glob-lstat-compat and
29956 glob64-lstat-compat.
29957 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29958 * posix/glob-lstat-compat.c: New file.
29959 * posix/glob64-lstat-compat.c: Likewise.
29960 * posix/tst-glob_lstat_compat.c: Likewise.
29961 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29962 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29963 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29964 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29966 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29967 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29968 * posix/glob.c (glob_lstat): New function.
29969 (glob): Rename to __glob and add versioned symbol to 2.27.
29970 (glob_in_dir): Use glob_lstat.
29971 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29972 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29973 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29975 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29976 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29977 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29978 gl_lstat on glob call.
29979 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29980 and glob64 symbols.
29981 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29982 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29983 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29984 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29985 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29986 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29987 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29988 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29989 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29990 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29991 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29992 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29995 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29997 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29998 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29999 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
30000 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30001 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
30003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
30004 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
30005 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
30006 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
30008 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
30010 * configure.ac (AS): Require binutils 2.25 or later.
30011 * configure: Regenerated.
30013 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30016 * stdlib/test-atexit-race-common.c (do_test): Minimize required
30019 2017-09-25 DJ Delorie <dj@redhat.com>
30022 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
30025 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
30027 * sysdeps/ieee754/dbl-64/sincos32.h
30028 [SINCCOS32_H]: Remove define.
30029 [SINCOS32_H]: Define.
30031 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30033 * math/Versions (expf): New libm symbol at GLIBC_2.27.
30035 * math/w_exp2f.c: New file.
30036 * math/w_expf.c: New file.
30037 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
30038 * math/w_expf_compat.c (__expf_compat): Likewise.
30039 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
30040 * sysdeps/ia64/fpu/e_expf.S: Likewise.
30041 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30042 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30043 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30044 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30045 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30046 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30047 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30048 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30049 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30050 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30051 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30052 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30061 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30062 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30063 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30064 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30065 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
30068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30070 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30071 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30072 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30074 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30076 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
30077 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
30078 (roundtoint, converttoint): Likewise.
30079 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
30080 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
30081 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
30082 * sysdeps/ieee754/flt-32/math_config.h: New file.
30083 * sysdeps/ieee754/flt-32/math_errf.c: New file.
30084 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
30085 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
30086 * sysdeps/i386/fpu/math_errf.c: New file.
30087 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
30088 * sysdeps/ia64/fpu/math_errf.c: New file.
30089 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
30090 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
30092 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
30094 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
30095 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
30096 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
30097 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
30098 to make sure that these symbols are defined.
30099 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
30101 (__need_NULL): Do not define.
30102 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
30104 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
30105 CMGROUP_MAX, cmsgcred): Do not define.
30106 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
30108 * bits/socket.h: Likewise.
30109 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
30110 __gettimeofday instead of gettimeofday.
30111 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
30112 instead of settimeofday.
30114 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30116 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
30117 (asinhf): Define using libm_alias_float.
30118 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
30119 (atanf): Define using libm_alias_float.
30120 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
30121 (cbrtf): Define using libm_alias_float.
30122 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
30123 (ceilf): Define using libm_alias_float.
30124 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
30125 <libm-alias-float.h>.
30126 (copysignf): Define using libm_alias_float.
30127 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
30128 (cosf): Define using libm_alias_float.
30129 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
30130 (erff): Define using libm_alias_float.
30132 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
30133 (expm1f): Define using libm_alias_float.
30134 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
30135 (fabsf): Define using libm_alias_float.
30136 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
30137 (floorf): Define using libm_alias_float.
30138 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
30139 (frexpf): Define using libm_alias_float.
30140 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
30142 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
30143 <libm-alias-float.h>.
30144 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
30146 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
30147 <libm-alias-float.h>.
30148 (getpayloadf): Define using libm_alias_float.
30149 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
30150 <libm-alias-float.h>.
30151 (llrintf): Define using libm_alias_float.
30152 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
30153 <libm-alias-float.h>.
30154 (llroundf): Define using libm_alias_float.
30155 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
30156 (logbf): Define using libm_alias_float.
30157 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
30158 (lrintf): Define using libm_alias_float.
30159 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
30160 (lroundf): Define using libm_alias_float.
30161 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
30162 (modff): Define using libm_alias_float.
30163 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
30164 <libm-alias-float.h>.
30165 (nearbyintf): Define using libm_alias_float.
30166 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
30167 <libm-alias-float.h>.
30168 (nextafterf): Define using libm_alias_float.
30169 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
30170 <libm-alias-float.h>.
30171 (nextupf): Define using libm_alias_float.
30172 * sysdeps/ieee754/flt-32/s_remquof.c: Include
30173 <libm-alias-float.h>.
30174 (remquof): Define using libm_alias_float.
30175 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
30176 (rintf): Define using libm_alias_float.
30177 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
30178 <libm-alias-float.h>.
30179 (roundevenf): Define using libm_alias_float.
30180 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
30181 (roundf): Define using libm_alias_float.
30182 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
30183 using libm_alias_float.
30184 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
30185 <libm-alias-float.h>.
30186 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
30187 Define using libm_alias_float.
30188 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
30189 <libm-alias-float.h>.
30190 (sincosf): Define using libm_alias_float.
30191 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
30192 (sinf): Define using libm_alias_float.
30193 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
30194 (tanf): Define using libm_alias_float.
30195 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
30196 (tanhf): Define using libm_alias_float.
30197 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
30198 <libm-alias-float.h>.
30199 (totalorderf): Define using libm_alias_float.
30200 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
30201 <libm-alias-float.h>.
30202 (totalordermagf): Define using libm_alias_float.
30203 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
30204 (truncf): Define using libm_alias_float.
30205 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
30207 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
30210 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30213 math/math.h: Let fpclassify use the builtin in C++ mode, even
30214 when optimazing for size.
30216 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30218 * csu/Makefile (generated): Do not add version-info.h.
30219 (before-compile): Likewise.
30220 (all-Banner-files): Remove variable.
30221 ($(objpfx)version-info.h): Remove rule.
30222 * csu/version.c (banner): Do not include "version-info.h".
30223 * libidn/Banner: Remove.
30224 * manual/contrib.texi (Simon Josefsson): New entry.
30226 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30228 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30229 Remove conditionals on LDBL_MANT_DIG.
30230 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30231 (__ieee754_lgammal_r): Likewise.
30233 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30235 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
30237 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
30238 _Float128 and L(). Replace _Float128 with long double and L(x)
30239 with xL, throughout the file.
30240 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30241 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30242 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30243 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30245 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30247 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
30248 sysdeps/ieee754/ldbl-128ibm.
30249 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
30250 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
30251 of including it. Keep _Float128 and L() intact. These will be
30252 reviewed by a separate patch.
30253 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30254 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30255 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30256 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30258 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
30261 (__finitef128): Define to __redirect___finitef128.
30262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
30263 (__isinff128): Define to __redirect___isinff128.
30264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
30265 (__isnanf128): Define to __redirect___isnanf128.
30267 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30269 * sysdeps/powerpc/powerpc64le/Makefile
30270 (CFLAGS-tst-strtod-nan-locale.c): New variable.
30271 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
30273 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
30274 Carlos O'Donell <carlos@redhat.com>
30277 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
30278 * stdlib/test-dlclose-exit-race.c: New file.
30279 * stdlib/test-dlclose-exit-race-helper.c: New file.
30280 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
30282 2017-09-21 Joseph Myers <joseph@codesourcery.com>
30284 * crypt/Banner: Remove file.
30285 * nptl/Banner: Likewise.
30286 * resolv/Banner: Likewise.
30287 * soft-fp/Banner: Likewise.
30288 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
30289 ($(objpfx)version.d): Remove dependency on banner.h.
30290 ($(objpfx)version.os): Likewise.
30291 * nptl/version.c (banner): Do not include banner.h.
30292 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
30293 Jelinek and BIND code.
30295 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30296 Carlos O'Donell <carlos@redhat.com>
30298 * support/xdlfcn.h: New file.
30299 * support/xdlfcn.c: New file.
30300 * support/Makefile (libsupport-routines): Add xdlfcn.
30301 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
30303 2017-09-20 Joseph Myers <joseph@codesourcery.com>
30306 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30307 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
30308 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
30309 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
30310 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
30311 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
30312 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
30313 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
30315 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30316 Ricky Zhou <rickyz@google.com>
30317 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
30320 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
30322 (__new_exitfn): Fail registration when we finished at_exit processing.
30323 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30324 * stdlib/on_exit.c (__on_exit): Likewise.
30325 * stdlib/exit.c (__exit_funcs_done): New variable.
30326 (__run_exit_handlers): Use __exit_funcs_lock.
30327 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
30329 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
30330 (test-cxa_atexit-race, test-on_exit-race): New tests.
30331 * stdlib/test-atexit-race-common.c: New file.
30332 * stdlib/test-atexit-race.c: New file.
30333 * stdlib/test-at_quick_exit-race.c: New file.
30334 * stdlib/test-cxa_atexit-race.c: New file.
30335 * stdlib/test-on_exit-race.c: New file.
30337 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
30339 * benchtests/Makefile: Add exp2f and log2f benchmarks.
30340 * benchtests/exp2f-inputs: Copy of expf-inputs.
30341 * benchtests/log2f-inputs: Copy of logf-inputs.
30343 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30345 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
30346 Explicitly take address of first element of array arguments in
30347 call to INLINE_SYSCALL.
30349 2017-09-19 Andreas Schwab <schwab@suse.de>
30352 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
30354 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
30356 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
30357 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
30358 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30359 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
30360 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30361 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30362 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30363 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30364 * posix/Makefile (tests): Add tst-fexecve.
30365 * posix/tst-fexecve.c: New file.
30367 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30369 * benchtests/Makefile: Add logf benchmark.
30370 * benchtests/logf-inputs: Add reduced trace from wrf_r.
30372 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30374 * benchtests/Makefile: Add expf benchmark.
30375 * benchtests/expf-inputs: Add reduced trace from wrf_r.
30377 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30379 * csu/Makefile: Add -funwind-tables to libc-start.c.
30380 * debug/Makefile: Add -funwind-tables to backtrace.c.
30381 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
30382 * sysdeps/arm/Makefile: Likewise.
30383 * sysdeps/i386/Makefile: Likewise.
30384 * sysdeps/m68k/Makefile: Likewise.
30385 * sysdeps/mips/Makefile: Likewise.
30386 * sysdeps/nios2/Makefile: Likewise.
30387 * sysdeps/sh/Makefile: Likewise.
30388 * sysdeps/sparc/Makefile: Likewise.
30390 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30392 * benchtests/Makefile (bench-math): Add trunc and truncf.
30393 (CFLAGS-bench-trunc.c): New variable.
30394 (CFLAGS-bench-truncf.c): Likewise.
30395 * benchtests/trunc-inputs: New file.
30396 * benchtests/truncf-inputs: Likewise.
30398 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30400 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30402 2017-09-18 Joseph Myers <joseph@codesourcery.com>
30404 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30405 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30407 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30408 (exp10l): Define as weak alias.
30409 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30410 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30412 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30413 (remainderl): Define as weak alias.
30415 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30416 (fmal): Define using libm_alias_ldouble.
30417 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30418 (acoshl): Define using libm_alias_ldouble.
30419 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30420 (acosl): Define using libm_alias_ldouble.
30421 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30422 (asinl): Define using libm_alias_ldouble.
30423 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30424 (atan2l): Define using libm_alias_ldouble.
30425 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30426 (atanhl): Define using libm_alias_ldouble.
30427 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30428 (coshl): Define using libm_alias_ldouble.
30429 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30430 (exp10l): Define using libm_alias_ldouble.
30431 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30432 (exp2l): Define using libm_alias_ldouble.
30433 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30434 (expl): Define using libm_alias_ldouble.
30435 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30436 (fmodl): Define using libm_alias_ldouble.
30437 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30438 (hypotl): Define using libm_alias_ldouble.
30439 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30440 (j0l): Define using libm_alias_ldouble.
30442 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30443 (j1l): Define using libm_alias_ldouble.
30445 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30446 (jnl): Define using libm_alias_ldouble.
30448 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30449 (log10l): Define using libm_alias_ldouble.
30450 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30451 (log2l): Define using libm_alias_ldouble.
30452 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30453 (logl): Define using libm_alias_ldouble.
30454 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30455 (powl): Define using libm_alias_ldouble.
30456 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30457 (remainderl): Define using libm_alias_ldouble.
30458 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30459 (sinhl): Define using libm_alias_ldouble.
30460 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30461 (sqrtl): Define using libm_alias_ldouble.
30462 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30463 (tgammal): Define using libm_alias_ldouble.
30464 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30465 (exp10l): Do not use long_double_symbol here.
30466 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30467 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30468 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30469 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30470 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30471 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30472 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30473 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30474 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30475 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30476 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30477 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30478 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30479 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30480 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30481 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30482 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30483 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30484 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30485 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30486 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30487 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30489 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30491 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30492 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30494 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30496 * io/read.c (read): Add libc_hidden_weak.
30497 * sysdeps/mach/hurd/read.c (read): Likewise.
30498 * io/write.c (write): Likewise.
30499 * sysdeps/mach/hurd/write.c (write): Likewise.
30500 * io/pread64.c (__pread64): Likewise.
30501 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30502 * posix/pread64.c (__pread64): Add libc_hidden_def.
30504 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30506 * benchtests/scripts/compare_strings.py: New option -g.
30507 (draw_graph): Print a message that a graph is being generated.
30508 (process_results): Generate graph only if -g is passed.
30509 (main): Process option -g.
30511 * benchtests/scripts/compare_strings.py (process_results):
30512 Better spacing for output.
30514 * benchtests/scripts/compare_strings.py: Use argparse.
30515 * benchtests/README: Document existence of compare_strings.py.
30517 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30519 * math/s_fma.c: Include <libm-alias-double.h>.
30520 (fma): Define using libm_alias_double.
30521 * math/s_nextafter.c: Include <libm-alias-double.h>.
30522 (nextafter): Define using libm_alias_double.
30523 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30524 (acos): Define using libm_alias_double.
30525 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30526 (aocsh): Define using libm_alias_double.
30527 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30528 (asin): Define using libm_alias_double.
30529 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30530 (atan2): Define using libm_alias_double.
30531 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30532 (atanh): Define using libm_alias_double.
30533 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30534 (cosh): Define using libm_alias_double.
30535 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30536 (exp10): Define using libm_alias_double.
30537 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30538 (exp2): Define using libm_alias_double.
30539 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30540 (exp): Define using libm_alias_double.
30541 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30542 (fmod): Define using libm_alias_double.
30543 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30544 (hypot): Define using libm_alias_double.
30545 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30546 (j0): Define using libm_alias_double.
30548 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30549 (j1): Define using libm_alias_double.
30551 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30552 (jn): Define using libm_alias_double.
30554 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30555 (log10): Define using libm_alias_double.
30556 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30557 (log2): Define using libm_alias_double.
30558 * math/w_log_compat.c: Include <libm-alias-double.h>.
30559 (log): Define using libm_alias_double.
30560 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30561 (pow): Define using libm_alias_double.
30562 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30563 (remainder): Define using libm_alias_double.
30564 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30565 (sinh): Define using libm_alias_double.
30566 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30567 (sqrt): Define using libm_alias_double.
30568 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30569 (tgamma): Define using libm_alias_double.
30570 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30571 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30572 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30573 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30574 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30575 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30576 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30577 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30578 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30579 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30580 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30581 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30582 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30583 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30584 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30585 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30586 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30587 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30588 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30589 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30590 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30591 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30592 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30593 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30594 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30596 * math/e_acoshl.c: Remove.
30597 * math/e_acosl.c: Likewise.
30598 * math/e_asinl.c: Likewise.
30599 * math/e_atan2l.c: Likewise.
30600 * math/e_atanhl.c: Likewise.
30601 * math/e_coshl.c: Likewise.
30602 * math/e_expl.c: Likewise.
30603 * math/e_fmodl.c: Likewise.
30604 * math/e_gammal_r.c: Likewise.
30605 * math/e_hypotl.c: Likewise.
30606 * math/e_j0l.c: Likewise.
30607 * math/e_j1l.c: Likewise.
30608 * math/e_jnl.c: Likewise.
30609 * math/e_lgammal_r.c: Likewise.
30610 * math/e_log10l.c: Likewise.
30611 * math/e_log2l.c: Likewise.
30612 * math/e_logl.c: Likewise.
30613 * math/e_powl.c: Likewise.
30614 * math/e_rem_pio2l.c: Likewise.
30615 * math/e_sinhl.c: Likewise.
30616 * math/e_sqrtf128.c: Likewise.
30617 * math/e_sqrtl.c: Likewise.
30618 * math/k_cosl.c: Likewise.
30619 * math/k_sinl.c: Likewise.
30620 * math/k_tanl.c: Likewise.
30621 * math/s_asinhl.c: Likewise.
30622 * math/s_atanl.c: Likewise.
30623 * math/s_cbrtl.c: Likewise.
30624 * math/s_erfl.c: Likewise.
30625 * math/s_expm1l.c: Likewise.
30626 * math/s_log1pl.c: Likewise.
30627 * math/s_tanhl.c: Likewise.
30629 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30632 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30633 [$(subdir) = math] (sysdep_calls): New variable. Has the
30634 previous contents of sysdep_routines, but re-sorted..
30635 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30637 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30638 defined in sysdep_calls and replace by the respective m_* names.
30639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30640 (compat_symbol): Undefine to avoid duplicated compat symbols in
30643 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30645 * math/s_fmaf.c: Include <libm-alias-float.h>.
30646 (fmaf): Define using libm_alias_float.
30647 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30648 (acosf): Define using libm_alias_float.
30649 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30650 (acoshf): Define using libm_alias_float.
30651 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30652 (asinf): Define using libm_alias_float.
30653 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30654 (atan2f): Define using libm_alias_float.
30655 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30656 (atanhf): Define using libm_alias_float.
30657 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30658 (coshf): Define using libm_alias_float.
30659 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30660 (exp10f): Define using libm_alias_float.
30661 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30662 (fmodf): Define using libm_alias_float.
30663 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30664 (hypotf): Define using libm_alias_float.
30665 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30666 (j0f): Define using libm_alias_float.
30668 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30669 (j1f): Define using libm_alias_float.
30671 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30672 (jnf): Define using libm_alias_float.
30674 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30675 (log10f): Define using libm_alias_float.
30676 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30677 (log2f): Define using libm_alias_float.
30678 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30679 (logf): Define using libm_alias_float.
30680 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30681 (powf): Define using libm_alias_float.
30682 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30683 (remainderf): Define using libm_alias_float.
30684 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30685 (sinhf): Define using libm_alias_float.
30686 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30687 (sqrtf): Define using libm_alias_float.
30688 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30689 (tgammaf): Define using libm_alias_float.
30691 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30693 * include/math.h (roundeven): Change hidden_proto call to
30695 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30697 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30698 (y0): Rename to __y0 and define as weak alias.
30699 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30700 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30702 (y0f): Rename to __y0f and define as weak alias.
30703 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30705 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30706 (y1): Rename to __y1 and define as weak alias.
30707 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30708 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30710 (y1f): Rename to __y1f and define as weak alias.
30711 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30713 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30714 (yn): Rename to __yn and define as weak alias.
30715 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30716 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30718 (ynf): Rename to __ynf and define as weak alias.
30719 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30720 (fromfp): Define as weak alias.
30721 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30722 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30723 (fromfpx): Define as weak alias.
30724 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30725 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30726 __getpayload and define as weak alias.
30727 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30728 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30729 __roundeven and define as weak alias.
30730 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30731 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30733 (setpayload): Define as weak alias.
30734 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30735 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30737 (setpayloadsig): Define as weak alias.
30738 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30739 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30740 __totalorder and define as weak alias.
30741 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30742 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30743 to __totalordermag and define as weak alias.
30744 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30745 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30746 (ufromfp): Define as weak alias.
30747 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30748 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30750 (ufromfpx): Define as weak alias.
30751 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30752 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30753 Rename to __getpayload and define as weak alias.
30754 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30755 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30756 Rename to __roundeven and define as weak alias.
30757 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30758 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30759 Rename to __totalorder and define as weak alias.
30760 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30761 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30762 (totalordermag): Rename to __totalordermag and define as weak
30764 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30765 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30767 (__roundevenl): Likewise.
30768 (__totalorderl): Likewise.
30769 (__totalordermagl): Likewise
30770 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30772 (fromfpf128): Define as weak alias.
30773 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30775 (fromfpxf128): Define as weak alias.
30776 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30778 (setpayloadf128): Define as weak alias.
30779 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30780 __setpayloadsigf128.
30781 (setpayloadsigf128): Define as weak alias.
30782 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30784 (ufromfpf128): Define as weak alias.
30785 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30787 (ufromfpxf128): Define as weak alias.
30788 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30789 (fromfpf): Define as weak alias.
30790 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30792 (fromfpxf): Define as weak alias.
30793 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30794 __getpayloadf and define as weak alias.
30795 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30796 __roundevenf and define as weak alias.
30797 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30799 (setpayloadf): Define as weak alias.
30800 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30802 (setpayloadsigf): Define as weak alias.
30803 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30804 __totalorderf and define as weak alias.
30805 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30806 Rename to __totalordermagf and define as weak alias.
30807 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30809 (ufromfpf): Define as weak alias.
30810 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30812 (ufromfpxf): Define as weak alias.
30813 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30815 (fromfpl): Define as weak alias.
30816 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30818 (fromfpxl): Define as weak alias.
30819 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30820 to __getpayloadl and define as weak alias.
30821 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30822 __roundevenl and define as weak alias.
30823 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30825 (setpayloadl): Define as weak alias.
30826 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30828 (setpayloadsigl): Define as weak alias.
30829 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30830 to __totalorderl and define as weak alias.
30831 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30832 Rename to __totalordermagl and define as weak alias.
30833 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30835 (ufromfpl): Define as weak alias.
30836 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30838 (ufromfpxl): Define as weak alias.
30839 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30841 (fromfpl): Define as weak alias.
30842 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30844 (fromfpxl): Define as weak alias.
30845 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30846 Rename to __getpayloadl and define as weak alias.
30847 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30848 to __roundevenl and define as weak alias. Call __roundeven
30849 instead of roundeven.
30850 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30852 (setpayloadl): Define as weak alias.
30853 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30855 (setpayloadsigl): Define as weak alias.
30856 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30857 Rename to __totalorderl and define as weak alias.
30858 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30859 Rename to __totalordermagl and define as weak alias.
30860 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30862 (ufromfpl): Define as weak alias.
30863 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30865 (ufromfpxl): Define as weak alias.
30866 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30868 (fromfpl): Define as weak alias.
30869 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30871 (fromfpxl): Define as weak alias.
30872 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30873 __getpayloadl and define as weak alias.
30874 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30875 __roundevenl and define as weak alias.
30876 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30878 (setpayloadl): Define as weak alias.
30879 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30881 (setpayloadsigl): Define as weak alias.
30882 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30883 __totalorderl and define as weak alias.
30884 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30885 Rename to __totalordermagl and define as weak alias.
30886 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30888 (ufromfpl): Define as weak alias.
30889 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30891 (ufromfpxl): Define as weak alias.
30893 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30895 * benchtests/bench-string.h (realloc_bufs): New function.
30896 (test_init): Call it.
30897 * benchtests/bench-memset-large.c (do_test): Likewise.
30898 * benchtests/bench-memset.c (do_test): Likewise.
30900 * benchtests/bench-memset-large.c: Print output in JSON
30902 * benchtests/bench-memset.c: Likewise.
30904 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30907 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30908 * iconvdata/Makefile: Add IBM858.
30909 * iconvdata/gconv-modules: Likewise.
30910 * iconvdata/tst-tables.sh: Likewise.
30911 * iconvdata/ibm858.c: New file.
30912 * localedata/charmaps/IBM858: Likewise.
30914 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
30917 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30918 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30920 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30923 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30924 and add tel_int_fmt.
30926 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30928 * sysdeps/generic/libm-alias-float128.h: New file.
30929 * sysdeps/generic/math-type-macros-float128.h: Include
30930 <libm-alias-float128.h>.
30931 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30933 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30935 * sysdeps/generic/libm-alias-ldouble.h: New file.
30936 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30937 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30938 * sysdeps/generic/math-type-macros-ldouble.h: Include
30939 <libm-alias-ldouble.h>.
30940 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30941 libm_alias_ldouble.
30943 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30945 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30946 * math/w_exp_compat.c: ... here.
30947 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30948 * math/w_expf_compat.c: ... here.
30949 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30950 * math/w_expl_compat.c: ... here.
30951 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30952 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30953 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30954 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30956 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30958 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30960 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30962 (ldexpl): Only define as compat symbol for libc, not libm.
30963 (scalbnl): Define as compat symbol for libc here.
30964 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30965 define for [IS_IN (libc)].
30966 (__ldexpl_2): Remove alias.
30967 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30968 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30969 name in long_double_symbol call.
30970 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30971 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30972 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30973 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30974 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30976 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30977 Define as compat symbol.
30979 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30981 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30982 * sysdeps/unix/sysv/linux/alpha/Makefile
30983 [$(subdir) = csu] (sysdep_routines): Remove rule.
30985 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30987 * sysdeps/generic/libm-alias-double.h: New file.
30988 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30989 * sysdeps/generic/math-type-macros-double.h: Include
30990 <libm-alias-double.h>.
30991 [declare_mgen_alias] (declare_mgen_alias): Define to use
30993 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30994 (M_LIBM_NEED_COMPAT): Remove macro.
30995 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30996 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30997 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30999 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31000 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31001 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31002 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31003 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31004 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31005 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31006 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31007 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31008 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31009 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31010 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31011 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31012 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31013 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31014 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31015 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31016 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31017 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31018 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31019 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31020 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31021 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31022 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31023 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31024 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31025 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31026 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
31027 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
31029 (declare_mgen_alias): New macro.
31030 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
31031 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
31032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
31033 (M_LIBM_NEED_COMPAT): Remove macro.
31034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
31035 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
31036 <first-versions.h>.
31037 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
31038 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
31040 2017-09-12 Joseph Myers <joseph@codesourcery.com>
31042 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
31043 (declare_mgen_alias_2): Remove.
31044 * sysdeps/generic/math-type-macros-double.h
31045 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
31047 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
31049 (ldexp): Define with declare_mgen_alias.
31050 (scalbn): Likewise.
31052 2017-09-12 Steve Ellcey <sellcey@cavium.com>
31054 * grp/initgroups.c: Include config.h.
31055 (DEFAULT_CONFIG): New macro.
31056 (internal_getgrouplist): Use DEFAULT_CONFIG.
31057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31058 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
31059 (DEFAULT_DEFCONFIG): New macro.
31060 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
31061 * nss/grp-lookup.c: Include config.h
31062 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
31063 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
31064 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
31065 * manual/nss.texi: Update default values section.
31067 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
31070 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
31072 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
31073 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31074 Handle MathVec_Prefer_No_AVX512.
31075 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
31076 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
31079 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
31081 * posix/sched_primax.c (__sched_get_priority_max): Add
31083 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
31084 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31085 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31086 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
31087 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
31088 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
31089 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
31090 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
31093 2017-09-11 Joseph Myers <joseph@codesourcery.com>
31095 * sysdeps/generic/libm-alias-float.h: New file.
31096 * sysdeps/generic/math-type-macros-float.h: Include
31097 <libm-alias-float.h>.
31098 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31100 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
31103 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
31104 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
31105 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
31106 (HWCAP_IMPORTANT): Likewise.
31107 (HWCAP_X86_64): New enum.
31108 (HWCAP_X86_AVX512_1): Updated.
31109 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
31110 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
31111 (modules-names): Add x86_64/tst-x86_64mod-1.
31112 (LDFLAGS-tst-x86_64mod-1.so): New.
31113 ($(objpfx)tst-x86_64-1): Likewise.
31114 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
31115 (tst-x86_64-1-clean): Likewise.
31116 * sysdeps/x86_64/tst-x86_64-1.c: New file.
31117 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
31119 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31121 * po/sv.po: Update translations.
31122 * po/fr.po: Likewise.
31124 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31126 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
31128 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
31130 * elf/rtld-Rules: Fix $(error) use.
31132 2017-09-09 Mike FABIAN <mfabian@redhat.com>
31135 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
31136 * locale/iso-639.def: Change “Bengali” to “Bangla”.
31137 * localedata/locales/bn_BD: “Bengali” was still used in some
31138 comments. Change it to “Bangla”.
31140 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
31142 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
31144 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31146 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
31147 thunderx2t99p1 to list of cpu names.
31148 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31149 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
31151 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31153 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
31154 Use strcmp instead of tunable_is_name.
31156 2017-09-08 Joseph Myers <joseph@codesourcery.com>
31158 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31159 (F_GET_RW_HINT): New macro.
31160 [__USE_GNU] (F_SET_RW_HINT): Likewise.
31161 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
31162 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
31163 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
31164 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
31165 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
31166 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
31167 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
31168 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
31170 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31171 (F_ADD_SEALS): New macro.
31172 [__USE_GNU] (F_GET_SEALS): Likewise.
31173 [__USE_GNU] (F_SEAL_SEAL): Likewise.
31174 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
31175 [__USE_GNU] (F_SEAL_GROW): Likewise.
31176 [__USE_GNU] (F_SEAL_WRITE): Likewise.
31178 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31180 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
31181 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
31182 * posix/glob_internal.h (__glob_pattern_type):
31183 * posix/glob.c (glob):
31184 * posix/glob_pattern_p.c (__glob_pattern_p):
31187 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
31188 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31189 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
31190 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
31191 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
31193 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
31194 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
31195 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31196 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31197 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31198 * sysdeps/wordsize-64/glob.c: Likewise.
31199 * sysdeps/wordsize-64/glob64.c: Likewise.
31200 * sysdeps/wordsize-64/globfree.c: Likewise.
31201 * sysdeps/wordsize-64/globfree64.c: Likewise.
31202 * sysdeps/unix/sysv/linux/glob.c: New file.
31203 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
31204 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
31205 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
31206 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31207 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
31208 adds !GLOB_NO_OLD_VERSION as an extra condition.
31209 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
31210 using relative path instead of absolute one.
31211 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
31212 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31213 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31214 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
31215 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
31216 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
31219 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
31220 (glob): Use the same scratch buffer for both getlogin_r and
31221 getpwnam_r. Don’t require preallocation of the login name. This
31222 simplifies storage allocation, and corrects the handling of
31226 * posix/glob.c (glob): Port recent patches to platforms
31227 lacking getpwnam_r.
31228 (glob): Fix longstanding misuse of errno after getpwnam_r, which
31229 returns an error number rather than setting errno.
31231 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
31232 instead of GCC extension.
31233 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
31234 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
31235 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
31239 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
31240 * posix/bug-glob1.c: Remove file.
31241 * posix/tst-glob_symlinks.c: New file.
31242 * posix/glob.c (__lstat64): New macro.
31243 (is_dir): New function.
31244 (glob, glob_in_dir): Match symlinks even if they are dangling.
31245 (link_stat, link_exists_p): Remove. All uses removed.
31249 * posix/glob.c (struct readdir_result): Remove skip_entry member.
31250 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
31255 * posix/Makefile (routines): Add globfree, globfree64, and
31257 * posix/flexmember.h: New file.
31258 * posix/glob_internal.h: Likewise.
31259 * posix/glob_pattern_p.c: Likewise.
31260 * posix/globfree.c: Likewise.
31261 * posix/globfree64.c: Likewise.
31262 * sysdeps/gnu/globfree64.c: Likewise.
31263 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
31264 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31265 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
31266 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31267 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31268 * sysdeps/wordsize-64/globfree.c: Likewise.
31269 * sysdeps/wordsize-64/globfree64.c: Likewise.
31270 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
31271 [NDEBUG): Remove comments.
31272 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
31273 (dirent_type): New type. Use uint_fast8_t not
31274 uint8_t, as C99 does not require uint8_t.
31275 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
31276 (struct readdir_result): Use dirent_type. Do not define skip_entry
31277 unless it is needed; this saves a byte on platforms lacking d_ino.
31278 (readdir_result_type, readdir_result_skip_entry):
31279 New functions, replacing ...
31280 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
31281 these functions, which were removed. This makes the callers
31282 easier to read. All callers changed.
31283 (D_INO_TO_RESULT): Now empty if there is no d_ino.
31284 (size_add_wrapv, glob_use_alloca): New static functions.
31285 (glob, glob_in_dir): Check for size_t overflow in several places,
31286 and fix some size_t checks that were not quite right.
31287 Remove old code using SHELL since Bash no longer
31289 (glob, prefix_array): Separate MS code better.
31290 (glob_in_dir): Remove old Amiga and VMS code.
31291 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
31293 (glob_in_dir): Do not rely on undefined behavior in accessing
31294 struct members beyond their bounds. Use a flexible array member
31296 (link_stat): Rename from link_exists2_p and return -1/0 instead of
31297 0/1. Caller changed.
31298 (glob): Fix memory leaks.
31299 * posix/glob64 (globfree64): Move to separate file.
31300 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
31301 (globfree64): Remove hidden alias.
31302 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
31304 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
31306 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
31308 Move compat code to separate file.
31309 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
31312 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
31314 * resolv/tst-resolv-qtypes.c (domain): Changed to
31315 "const char domain[] =".
31317 2017-09-07 Joseph Myers <joseph@codesourcery.com>
31319 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
31322 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
31323 (TCP_MD5SIG_EXT): Likewise.
31324 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
31325 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
31326 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
31328 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
31330 2017-09-07 Mike FABIAN <mfabian@redhat.com>
31332 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
31334 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
31337 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
31339 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31341 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
31342 before assuming that the file is empty. Avoid testing buffer content
31345 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31348 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31350 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
31352 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
31354 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
31356 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31358 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
31360 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
31363 2017-09-06 Florian Weimer <fweimer@redhat.com>
31365 * malloc/dynarray_emplace_enlarge.c
31366 (__libc_dynarray_emplace_enlarge): Add missing else.
31368 2017-09-06 Florian Weimer <fweimer@redhat.com>
31371 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
31372 case of failure to obtain the global conf object.
31374 2017-09-06 Florian Weimer <fweimer@redhat.com>
31377 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
31378 dynarray allocation failure.
31380 2017-09-06 Florian Weimer <fweimer@redhat.com>
31382 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
31383 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
31384 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
31386 (response): Call them. Add 'p', '6' flag processing.
31387 (test_reverse): New function.
31388 (test_get2_any): Call it.
31389 (test_no_inet6): Add 'p' test.
31390 (test_inet6): Likewise.
31392 2017-09-06 Florian Weimer <fweimer@redhat.com>
31394 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
31395 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
31397 (test_gai): Adjust query names. Add additional tests.
31398 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
31399 test_get2. Adjust query names. Add additional tests.
31400 (test_no_inet6): New function, extracted from threadfunc.
31401 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31402 Add additional tests.
31404 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31407 * localedata/unicode-gen/utf8_gen.py: Set the width for
31408 characters with Prepended_Concatenation_Mark property to 1
31409 * localedata/charmaps/UTF-8: Updated using the improved script.
31411 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31414 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31415 use the range notation for all ranges of neighbouring characters
31416 with the same width.
31418 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31420 * sysdeps/generic/math-type-macros-double.h: Include
31421 <math-svid-compat.h>.
31422 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31423 * sysdeps/generic/math-type-macros-float.h: Include
31424 <math-svid-compat.h>.
31425 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31426 * sysdeps/generic/math-type-macros-ldouble.h: Include
31427 <math-svid-compat.h>.
31428 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31429 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31431 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31432 * math/w_acosf_compat.c: Likewise.
31433 * math/w_acosh_compat.c: Likewise.
31434 * math/w_acoshf_compat.c: Likewise.
31435 * math/w_acoshl_compat.c: Likewise.
31436 * math/w_acosl_compat.c: Likewise.
31437 * math/w_asin_compat.c: Likewise.
31438 * math/w_asinf_compat.c: Likewise.
31439 * math/w_asinl_compat.c: Likewise.
31440 * math/w_atan2_compat.c: Likewise.
31441 * math/w_atan2f_compat.c: Likewise.
31442 * math/w_atan2l_compat.c: Likewise.
31443 * math/w_atanh_compat.c: Likewise.
31444 * math/w_atanhf_compat.c: Likewise.
31445 * math/w_atanhl_compat.c: Likewise.
31446 * math/w_cosh_compat.c: Likewise.
31447 * math/w_coshf_compat.c: Likewise.
31448 * math/w_coshl_compat.c: Likewise.
31449 * math/w_exp10_compat.c: Likewise.
31450 * math/w_exp10f_compat.c: Likewise.
31451 * math/w_exp10l_compat.c: Likewise.
31452 * math/w_exp2_compat.c: Likewise.
31453 * math/w_exp2f_compat.c: Likewise.
31454 * math/w_exp2l_compat.c: Likewise.
31455 * math/w_fmod_compat.c: Likewise.
31456 * math/w_fmodf_compat.c: Likewise.
31457 * math/w_fmodl_compat.c: Likewise.
31458 * math/w_hypot_compat.c: Likewise.
31459 * math/w_hypotf_compat.c: Likewise.
31460 * math/w_hypotl_compat.c: Likewise.
31461 * math/w_j0_compat.c: Likewise.
31462 * math/w_j0f_compat.c: Likewise.
31463 * math/w_j0l_compat.c: Likewise.
31464 * math/w_j1_compat.c: Likewise.
31465 * math/w_j1f_compat.c: Likewise.
31466 * math/w_j1l_compat.c: Likewise.
31467 * math/w_jn_compat.c: Likewise.
31468 * math/w_jnf_compat.c: Likewise.
31469 * math/w_jnl_compat.c: Likewise.
31470 * math/w_lgamma_r_compat.c: Likewise.
31471 * math/w_lgammaf_r_compat.c: Likewise.
31472 * math/w_lgammal_r_compat.c: Likewise.
31473 * math/w_log10_compat.c: Likewise.
31474 * math/w_log10f_compat.c: Likewise.
31475 * math/w_log10l_compat.c: Likewise.
31476 * math/w_log2_compat.c: Likewise.
31477 * math/w_log2f_compat.c: Likewise.
31478 * math/w_log2l_compat.c: Likewise.
31479 * math/w_log_compat.c: Likewise.
31480 * math/w_logf_compat.c: Likewise.
31481 * math/w_logl_compat.c: Likewise.
31482 * math/w_pow_compat.c: Likewise.
31483 * math/w_powf_compat.c: Likewise.
31484 * math/w_powl_compat.c: Likewise.
31485 * math/w_remainder_compat.c: Likewise.
31486 * math/w_remainderf_compat.c: Likewise.
31487 * math/w_remainderl_compat.c: Likewise.
31488 * math/w_sinh_compat.c: Likewise.
31489 * math/w_sinhf_compat.c: Likewise.
31490 * math/w_sinhl_compat.c: Likewise.
31491 * math/w_sqrt_compat.c: Likewise.
31492 * math/w_sqrtf_compat.c: Likewise.
31493 * math/w_sqrtl_compat.c: Likewise.
31494 * math/w_tgamma_compat.c: Likewise.
31495 * math/w_tgammaf_compat.c: Likewise.
31496 * math/w_tgammal_compat.c: Likewise.
31497 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31498 [LIBM_SVID_COMPAT].
31499 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31500 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31501 [LIBM_SVID_COMPAT].
31502 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31503 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31504 [LIBM_SVID_COMPAT].
31505 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31506 * sysdeps/i386/fpu/w_sqrt.c: New file.
31507 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31508 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31509 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31510 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31511 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31512 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31513 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31514 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31515 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31516 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31517 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31518 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31519 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31520 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31521 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31522 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31523 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31524 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31525 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31526 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31527 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31528 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31529 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31530 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31531 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31532 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31533 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31534 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31535 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31536 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31537 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31538 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31539 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31540 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31541 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31542 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31543 * sysdeps/ia64/fpu/w_log.c: Likewise.
31544 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31545 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31546 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31547 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31548 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31549 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31550 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31551 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31552 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31553 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31554 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31555 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31556 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31557 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31558 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31559 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31560 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31561 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31562 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31563 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31564 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31565 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31566 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31567 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31568 [LIBM_SVID_COMPAT].
31569 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31570 * sysdeps/ieee754/k_standard.c: Likewise.
31571 * sysdeps/ieee754/k_standardf.c: Likewise.
31572 * sysdeps/ieee754/k_standardl.c: Likewise.
31573 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31574 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31575 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31576 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31577 long_double_symbol call on [LIBM_SVID_COMPAT].
31578 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31579 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31580 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31581 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31582 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31583 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31584 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31585 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31586 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31587 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31588 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31589 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31590 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31591 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31592 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31593 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31594 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31595 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31596 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31597 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31598 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31599 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31601 2017-09-05 Steve Ellcey <sellcey@cavium.com>
31603 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31604 * malloc/tst-mallocstate.c: Convert from test-skeleton
31605 to test-driver. Ifdef code using TEST_COMPAT macro.
31606 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31607 * math/test-matherr.c: Likewise.
31609 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31612 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31613 comparing word with byte-swapped constant.
31615 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
31618 * locale/iso-639.def: add Miskito.
31619 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31620 * localedata/locales/miq_NI: New file.
31622 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31625 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31626 (__mkdir): Likewise.
31627 * io/chmod.c (__chmod): Add libc_hidden_def.
31628 * io/mkdir.c (__mkdir): Likewise.
31629 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31630 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31631 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31632 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31634 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31636 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31640 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31641 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31643 2017-09-04 Florian Weimer <fweimer@redhat.com>
31645 * math/math.h: Issue warning if log is defined.
31647 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31649 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31650 kernel version to 4.13.
31652 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31654 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
31655 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31657 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31658 just <bits/types.h>.
31659 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
31660 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
31661 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
31662 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
31663 * misc/preadv2.c: Include <errno.h>.
31664 * misc/preadv64v2.c: Include <errno.h>.
31665 * misc/pwritev2.c: Include <errno.h>.
31666 * misc/pwritev64v2.c: Include <errno.h>.
31667 * sysdeps/posix/preadv2.c: Include <errno.h>.
31668 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31669 Fix <unistd.h> inclusion.
31670 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31671 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
31672 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31673 __strtoul_internal): New functions.
31674 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31675 * sysdeps/posix/system.c: Include <sigsetops.h>.
31676 * sysdeps/mach/hurd/i386/Makefile
31677 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31678 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31679 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
31680 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31681 __feraiseexcept_renamed to feraiseexcept instead of
31682 __GI_feraiseexcept.
31683 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
31684 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
31685 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31686 RWF_NOWAIT): Define to 0 if undefined already.
31687 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31689 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31690 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
31692 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31694 * manual/math.texi (pow10): Do not document.
31695 (pow10f): Likewise.
31696 (pow10l): Likewise.
31697 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31698 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31699 * math/libm-test-exp10.inc (pow10_test): Remove.
31700 (do_test): Do not call pow10.
31701 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31702 [NO_LONG_DOUBLE] (pow10l): Likewise.
31703 * math/w_exp10f_compat.c (pow10f): Likewise.
31704 * math/w_exp10l_compat.c (pow10l): Likewise.
31705 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31706 (pow10): Make into compat symbol.
31707 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31708 (pow10f): Make into compat symbol.
31709 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31710 (pow10l): Make into compat symbol.
31711 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31713 (CFLAGS-nldbl-pow10.c): Remove variable..
31714 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31715 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31716 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31717 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31718 Undefine and redefine.
31719 (pow10l): Make into compat symbol.
31720 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31721 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31722 * sysdeps/arm/libm-test-ulps: Likewise.
31723 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31724 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31725 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31726 * sysdeps/microblaze/libm-test-ulps: Likewise.
31727 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31728 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31729 * sysdeps/nios2/libm-test-ulps: Likewise.
31730 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31731 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31732 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31733 * sysdeps/sh/libm-test-ulps: Likewise.
31734 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31735 * sysdeps/tile/libm-test-ulps: Likewise.
31736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31738 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31740 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31742 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31744 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31745 "../ChangeLog.old/ChangeLog.8".
31746 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31747 "../ChangeLog.old/ChangeLog.14".
31749 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31751 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31754 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31756 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31758 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31760 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31761 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31763 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31765 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31766 32 atexit handlers.
31768 2017-09-01 Zack Weinberg <zackw@panix.com>
31770 * math/math.h (HUGE_VAL): Improve commentary.
31772 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31773 Andreas Schwab <schwab@suse.de>
31776 * include/stdio.h (__gen_tempfd): New function.
31777 * stdio-common/Makefile (routines): Add gentempfd.
31778 * stdio-common/gentempfd.c: New file.
31779 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31780 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31781 unnamed file first.
31783 2017-09-01 Florian Weimer <fweimer@redhat.com>
31787 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31788 result to determine success or failure, not the errno value.
31789 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31790 (tst-nss-files-hosts-erange): Link with -ldl.
31791 * nss/tst-nss-files-hosts-erange.c: New file.
31792 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31793 (do_test): Add NO_DATA tests.
31794 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31795 (do_test): Call it.
31797 2017-09-01 Florian Weimer <fweimer@redhat.com>
31800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31801 coming from gethostbyname2_r.
31803 2017-09-01 Florian Weimer <fweimer@redhat.com>
31805 * support/namespace.h (struct support_chroot_configuration): Add
31807 (struct support_chroot): Add path_hosts, path_host_conf.
31808 * support/support_chroot.c (write_file): New function.
31809 (support_chroot_create): Call it to process /etc/resolv.conf,
31810 /etc/hosts, /etc/host.conf.
31811 (support_chroot_free): Update.
31813 2017-09-01 Florian Weimer <fweimer@redhat.com>
31815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31816 status indicates it is set.
31818 2017-09-01 Florian Weimer <fweimer@redhat.com>
31821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31822 function lookup failures more reliable.
31824 2017-09-01 Florian Weimer <fweimer@redhat.com>
31826 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31827 (getcanonname): Likewise.
31828 (gaih_inet): Likewise.
31830 2017-09-01 Florian Weimer <fweimer@redhat.com>
31832 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31833 (getcanonname): Likewise.
31834 (gaih_inet): Likewise.
31836 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31837 Richard Henderson <rth@twiddle.net>
31839 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31840 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31841 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31842 (IREG_SIZE, OREG_SIZE): New macros.
31843 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31844 (IREG_SIZE, OREG_SIZE): New macros.
31845 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31846 (IREG_SIZE): New macro.
31847 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31848 (IREG_SIZE): New macro.
31849 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31851 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31852 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31853 (__CONCATX): Handle exceptions correctly on large values that may
31855 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31856 Initialize if not already set.
31857 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31859 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31861 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31862 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31864 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31866 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31868 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31870 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31872 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31874 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31876 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31877 (NO_CANCELLATION): Likewise.
31878 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31880 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31882 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31884 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31885 (NO_CANCELLATION): Likewise.
31886 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31887 (NO_CANCELLATION): Likewise.
31888 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31890 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31892 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31894 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31896 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31898 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31899 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31901 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31903 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31906 2017-08-31 Florian Weimer <fweimer@redhat.com>
31908 * include/libc-symbols.h (internal_function): Remove.
31910 2017-08-31 Florian Weimer <fweimer@redhat.com>
31912 * stdlib/fmtmsg.c (internal_addseverity): Remove
31915 2017-08-31 Florian Weimer <fweimer@redhat.com>
31917 * stdio-common/printf_fp.c (group_number): Remove
31919 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31921 2017-08-31 Florian Weimer <fweimer@redhat.com>
31923 * posix/fnmatch.c (internal_function): Remove definition.
31924 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31925 * posix/regcomp.c (peek_token, init_word_char)
31926 (duplicate_node_closure, fetch_token, peek_token)
31927 (peek_token_bracket, build_range_exp, build_collating_symbol):
31929 * posix/regex_internal.c (re_string_construct_common)
31930 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31931 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31932 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31933 (re_string_translate_buffer, re_string_reconstruct)
31934 (re_string_peek_byte_case, re_string_fetch_byte_case)
31935 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31936 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31937 (re_node_set_add_intersect, re_node_set_init_union)
31938 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31939 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31940 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31941 (re_acquire_state_context): Likewise.
31942 * posix/regex_internal.h (internal_function): Remove definition.
31943 (re_string_realloc_buffers, build_wcs_buffer)
31944 (build_wcs_upper_buffer, build_upper_buffer)
31945 (re_string_translate_buffer, re_string_context_at)
31946 (re_string_char_size_at, re_string_wchar_at)
31947 (re_string_elem_size_at): Likewise.
31948 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31949 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31950 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31951 (re_search_internal, re_search_2_stub, re_search_stub)
31952 (re_copy_regs, prune_impossible_nodes, check_matching)
31953 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31954 (free_fail_stack_return, sift_states_iter_mb)
31955 (sift_states_backward, build_sifted_states)
31956 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31957 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31958 (check_subexp_limits, sift_states_bkref, merge_state_array)
31959 (find_recover_state, transit_state, merge_state_with_log)
31960 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31961 (transit_state_mb, transit_state_bkref, get_subexp)
31962 (get_subexp_sub, find_subexp_node, check_arrival)
31963 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31964 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31965 (check_node_accept_bytes, find_collation_sequence_value)
31966 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31967 (acquire_init_state_context, check_halt_node_context)
31968 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31969 (sub_epsilon_src_nodes): Likewise.
31970 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31971 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31972 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31973 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31974 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31975 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31976 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31977 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31978 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31979 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31980 (PREADV): Likewise.
31981 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31982 (PREADV): Likewise.
31983 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31984 (PWRITEV): Likewise.
31985 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31986 (PWRITEV): Likewise.
31987 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31988 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31990 2017-08-31 Florian Weimer <fweimer@redhat.com>
31992 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31993 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31994 Remove internal_function.
31995 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31996 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31997 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31998 (__deallocate_stack, __libc_pthread_init)
31999 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
32000 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
32001 (__libc_disable_asynccancel, __librt_disable_asynccancel):
32003 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
32004 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
32005 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
32007 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
32008 (__pthread_mutex_unlock_usercnt): Likewise.
32010 2017-08-31 Florian Weimer <fweimer@redhat.com>
32012 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
32013 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
32014 (fts_safe_changedir): Remove internal_function.
32015 * io/ftw.c (internal_function): Remove definition.
32016 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
32018 2017-08-31 Florian Weimer <fweimer@redhat.com>
32020 * inet/deadline.c (__deadline_current_time)
32021 (__deadline_from_timeval, __deadline_to_ms): Remove
32023 * inet/getnameinfo.c (nrl_domainname): Likewise.
32024 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
32025 * inet/inet6_option.c (add_pad): Likewise.
32026 * inet/net-internal.h (__deadline_current_time)
32027 (__deadline_from_timeval, __deadline_to_ms): Likewise.
32028 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
32029 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
32030 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
32032 2017-08-31 Joseph Myers <joseph@codesourcery.com>
32034 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
32035 include <bits/nan.h>.
32036 * math/Makefile (headers): Remove bits/nan.h.
32037 * bits/nan.h: Remove.
32038 * sysdeps/ieee754/bits/nan.h: Likewise.
32039 * sysdeps/mips/bits/nan.h: Likewise.
32041 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
32042 not include <bits/inf.h>.
32043 * math/Makefile (headers): Remove bits/inf.h.
32044 * bits/inf.h: Remove.
32045 * sysdeps/ieee754/bits/inf.h: Likewise.
32047 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
32048 bits/huge_vall.h or bits/huge_val_flt128.h.
32049 (HUGE_VAL): Define directly here.
32050 [__USE_ISOC99] (HUGE_VALF): Likewise.
32051 [__USE_ISOC99] (HUGE_VALL): Likewise.
32052 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32053 (HUGE_VAL_F128): Likewise.
32054 * math/Makefile (headers): Remove bits/huge_val.h,
32055 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
32056 * bits/huge_val.h: Remove.
32057 * bits/huge_val_flt128.h: Likewise.
32058 * bits/huge_valf.h: Likewise.
32059 * bits/huge_vall.h: Likewise.
32060 * sysdeps/ia64/bits/huge_vall.h: Likewise.
32061 * sysdeps/ieee754/bits/huge_val.h: Likewise.
32062 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
32063 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
32064 * sysdeps/sh/bits/huge_val.h: Likewise.
32065 * sysdeps/sparc/bits/huge_vall.h: Likewise.
32066 * sysdeps/x86/bits/huge_vall.h: Likewise.
32068 2017-08-31 Florian Weimer <fweimer@redhat.com>
32070 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
32072 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
32074 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
32075 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32076 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
32077 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
32078 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32079 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32080 * elf/dl-libc.c (dlerror_run): Likewise.
32081 * elf/dl-load.c (add_name_to_object, decompose_rpath)
32082 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
32083 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
32084 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
32086 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
32087 (_dl_higher_prime_number, _dl_strtoul): Likewise.
32088 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
32089 * elf/dl-profile.c (_dl_start_profile): Likewise.
32090 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
32091 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
32093 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
32094 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
32095 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
32096 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
32097 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
32098 (_dl_allocate_tls_storage): Likewise.
32099 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
32100 (_dl_check_all_versions): Likewise.
32101 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
32102 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
32103 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
32104 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32105 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
32106 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
32107 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
32108 internal_function from __dl_start.
32109 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
32110 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
32111 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
32112 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
32113 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
32114 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
32115 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
32116 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
32117 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
32118 (_dl_next_ld_env_entry, _dl_important_hwcaps)
32119 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
32120 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
32121 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
32122 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
32123 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
32125 (struct rtld_global_ro): Remove internal_function from the
32126 _dl_lookup_symbol_x member.
32127 (_dl_symbol_value): Remove. No longer defined anywhere.
32128 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
32130 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32131 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32132 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
32133 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
32134 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
32135 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
32136 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
32137 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
32138 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
32139 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
32140 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32141 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32143 2017-08-31 Florian Weimer <fweimer@redhat.com>
32145 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
32146 Remove internal_function.
32147 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32149 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32152 2017-08-31 Florian Weimer <fweimer@redhat.com>
32154 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
32155 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
32156 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
32158 2017-08-31 Florian Weimer <fweimer@redhat.com>
32160 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
32161 (__gai_enqueue_request): Remove internal_function.
32162 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
32163 (__gai_remove_request, __gai_notify, __gai_notify_only)
32164 (__gai_sigqueue): Likewise.
32165 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
32166 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
32167 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
32168 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32171 2017-08-31 Florian Weimer <fweimer@redhat.com>
32173 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
32174 * include/dirent.h (__opendirat, __getdents, __getdents64)
32175 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
32176 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
32177 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32178 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32180 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
32182 2017-08-31 Florian Weimer <fweimer@redhat.com>
32184 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
32186 (GETCWD_RETURN_TYPE): Likewise.
32188 2017-08-31 Florian Weimer <fweimer@redhat.com>
32190 * include/time.h (__tz_compute, __strptime_internal): Remove
32192 * time/strptime_l.c (__strptime_internal): Likewise.
32193 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
32195 2017-08-31 Florian Weimer <fweimer@redhat.com>
32197 * iconv/gconv.c (__gconv): Remove internal_function.
32198 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
32199 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
32200 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
32201 (__gconv_release_cache): Likewise.
32202 * iconv/gconv_close.c (__gconv_close): Likewise.
32203 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
32204 (read_conf_file, __gconv_get_path): Likewise.
32205 * iconv/gconv_db.c (derivation_lookup, add_derivation)
32206 (__gconv_release_step, gen_steps, increment_counter)
32207 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
32208 (__gconv_close_transform, free_modules_db): Likewise.
32209 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
32211 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
32212 (__gconv_find_transform, __gconv_lookup_cache)
32213 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
32214 (__gconv_close_transform, __gconv_release_cache)
32215 (__gconv_loaded_object, __gconv_release_shlib)
32216 (__gconv_compare_alias): Likewise.
32217 * iconv/gconv_open.c (__gconv_open): Likewise.
32218 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
32219 * iconv/iconvconfig.c (add_module): Likewise.
32220 * intl/dcigettext.c (plural_lookup, guess_category_value)
32221 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
32222 * intl/eval-plural.h (plural_eval): Likewise.
32223 * intl/finddomain.c (_nl_find_domain): Likewise.
32224 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
32225 (_nl_load_domain, _nl_find_msg): Likewise.
32226 (internal_function): Remove definition.
32227 * intl/loadinfo.h (internal_function): Likewise.
32228 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
32230 * intl/localealias.c (internal_function): Remove definition.
32231 (read_alias_file): Remove internal_function.
32232 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
32233 * intl/plural-exp.h (internal_function): Remove definition.
32234 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
32236 * intl/plural.c: Regenerate.
32237 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
32238 * locale/coll-lookup.c (__collidx_table_lookup)
32239 (__collseq_table_lookup): Likewise.
32240 * locale/coll-lookup.h (__collidx_table_lookup)
32241 (__collseq_table_lookup): Likewise.
32242 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
32243 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32244 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
32245 (_nl_unload_locale): Likewise.
32246 * locale/localeinfo.h (struct __locale_data): Remove
32247 internal_function from cleanup member.
32248 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
32249 (_nl_remove_locale, _nl_load_locale_from_archive)
32250 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
32251 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
32252 (_nl_cleanup_time): Remove internal_function.
32253 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
32254 (_nl_parse_alt_digit): Likewise.
32255 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
32256 (_nl_select_era_entry): Likewise.
32257 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
32258 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32259 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
32260 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32261 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
32263 2017-08-31 Florian Weimer <fweimer@redhat.com>
32265 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
32266 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32267 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
32268 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
32270 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
32271 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
32272 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
32273 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32275 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
32277 2017-08-31 Florian Weimer <fweimer@redhat.com>
32279 * misc/getttyent.c (skip, value): Remove internal_function.
32280 * misc/syslog.c (openlog_internal): Likewise.
32281 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
32283 2017-08-31 Florian Weimer <fweimer@redhat.com>
32285 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
32286 (__nss_rewrite_field): Remove internal_function.
32287 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32288 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32289 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32290 * nss/nsswitch.c (nss_parse_file, nss_getline)
32291 (nss_parse_service_list, nss_new_service): Likewise.
32292 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
32293 * nss/valid_field.c (__nss_valid_field): Likewise.
32294 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
32296 2017-08-31 Florian Weimer <fweimer@redhat.com>
32298 * malloc/arena.c (__malloc_fork_lock_parent)
32299 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
32300 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
32301 internal_function from defintions.
32302 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
32303 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
32304 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
32305 internal_function from declarations.
32306 * malloc/malloc.c (internal_function): Do not define.
32307 (mem2mem_check): Remove internal_function from declaration.
32308 (munmap_chunk, mremap_chunk): Remove internal_function.
32309 * malloc/mtrace.c (tr_where): Likewise.
32311 2017-08-31 Florian Weimer <fweimer@redhat.com>
32313 * include/rpc/pmap_clnt.h (__get_socket): Remove
32315 * sunrpc/auth_des.c (synchronize): Likewise.
32316 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
32317 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
32318 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
32319 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
32320 (key_call): Likewise.
32321 * sunrpc/pm_getport.c (__get_socket): Likewise.
32322 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
32323 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
32324 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
32325 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
32326 (invalidate): Likewise.
32327 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
32328 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
32329 (set_input_fragment, get_input_bytes): Likewise.
32331 2017-08-31 Florian Weimer <fweimer@redhat.com>
32333 * malloc/malloc.c (_int_free): Remove locked variable and related
32336 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
32339 * Makerules (build-module-helper-objlist): Filter out
32340 $(elf-objpfx)sofini.os.
32341 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
32344 2017-08-31 Florian Weimer <fweimer@redhat.com>
32346 * libio/fcloseall.c: Assume weak_alias is defined.
32347 * libio/feof.c: Likewise.
32348 * libio/fileno.c: Likewise.
32349 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
32350 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32352 (_IO_file_open): Call __open directly.
32353 (_IO_new_file_sync): Assume ESPIPE is defined.
32354 (_IO_file_seekoff_maybe_mmap): Call __read directly.
32355 (_IO_new_file_write): Call __write directly.
32356 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
32357 * libio/ftello64.c (__ftello64): Assume EIO is defined.
32358 * libio/genops.c: Assume _LIBC is defined.
32359 (save_for_backup): Remove internal_function.
32360 * libio/getc.c: Assume weak_alias is defined.
32361 * libio/getwc.c: Likewise.
32362 * libio/iofclose.c: Assume _LIBC is defined.
32363 * libio/iofdopen.c: Likewise.
32364 (_IO_fcntl): Remove macro definition.
32365 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
32366 Call __fcntl directly.
32367 * libio/iofflush.c: Assume weak_alias is defined.
32368 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
32370 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
32371 * libio/iofgets.c: Likewise.
32372 * libio/iofopen.c: Assume _LIBC is defined.
32373 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
32374 * libio/iofputs.c: Assume weak_alias is defined.
32375 * libio/iofread.c: Likewise.
32376 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
32377 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
32378 * libio/ioftell.c: Assume weak_alias is defined.
32379 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
32380 * libio/iofwide.c: Assume _LIBC is defined.
32381 (_IO_fwide): Drop SHARED conditional because it is implied by
32383 * libio/iofwrite.c: Assume weak_alias is defined.
32384 * libio/iogetdelim.c: Likewise.
32385 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
32386 * libio/iogetwline.c (wmemcpy): Remove macro definition.
32387 (_IO_getwline): Call __wmemcpy directly.
32388 * libio/iopopen.c: Assume _LIBC is defined.
32389 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32390 (_IO_close): Remove macro definitions.
32391 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
32393 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
32395 * libio/ioputs.c: Assume weak_alias is defined.
32396 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
32397 * libio/iosetbuffer.c: Assume weak_alias is defined.
32398 * libio/iosetvbuf.c: Likewise.
32399 * libio/ioungetc.c: Likewise.
32400 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
32401 libc_hidden_def, libc_hidden_weak, NULL are defined.
32402 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32403 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32405 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32407 (_IO_old_file_init_internal): Drop SHARED conditional because it
32408 is implied by SHLIB_COMPAT.
32409 (_IO_old_file_fopen): Call __open directly.
32410 (_IO_old_file_sync): Assume ESPIPE is defined.
32411 (_IO_old_file_write): Call __write directly.
32412 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32413 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32414 Call __fcntl directly.
32415 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32416 (_IO_old_fgetpos): Assume EIO is defined.
32417 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32418 (_IO_old_fgetpos64): Assume EIO is defined.
32419 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32420 (_IO_old_fsetpos): Assume EIO is defined.
32421 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32422 (_IO_old_fsetpos64): Assume EIO is defined.
32423 * libio/oldiopopen.c: Assume _LIBC is defined.
32424 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32425 (_IO_close): Remove macro definitions.
32426 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32428 (_IO_old_proc_close): Call __close, __waitpid directly.
32429 * libio/put.c: Assume weak_alias is defined.
32430 * libio/stdfiles.c: Assume _LIBC is defined.
32431 * libio/stdio.c: Likewise.
32432 * libio/wfileops.c: Likewise.
32433 (_IO_wfile_sync): Assume ESPIPE is defined.
32434 * libio/wgenops.c: Assume _LIBC is defined.
32435 (save_for_wbackup): Remove internal_function.
32437 2017-08-31 Florian Weimer <fweimer@redhat.com>
32439 * malloc/malloc.c (top_check): Change return type to void. Remove
32441 * malloc/hooks.c (top_check): Likewise.
32442 (malloc_check, realloc_check, memalign_check): Adjust.
32444 2017-08-30 Joseph Myers <joseph@codesourcery.com>
32447 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32448 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32449 sigcontext and namespace requirements.
32450 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32451 * sysdeps/m68k/sys/ucontext.h: Likewise.
32452 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32453 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32454 <bits/sigcontext.h>.
32455 (__ctx): Define earlier.
32456 (mcontext_t): Define structure contents rather than using struct
32458 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32459 __glibc_reserved1 instead of __reserved.
32460 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32461 <bits/sigcontext.h>.
32462 (__ctx): Define earlier.
32463 (mcontext_t): Define structure contents rather than using struct
32465 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32466 mcontext_t instead of struct sigcontext.
32467 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32468 <bits/sigcontext.h>.
32469 (__ctx): Define earlier.
32470 (mcontext_t): Define structure contents rather than using struct
32472 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32473 <bits/sigcontext.h>.
32474 (__ctx): Define earlier.
32475 (mcontext_t): Define structure contents rather than using struct
32477 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32478 mcontext_t instead of struct sigcontext.
32479 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32480 mcontext_t instead of struct sigcontext.
32481 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32482 <bits/sigcontext.h>.
32483 (__ctx): New macro.
32484 (struct __ia64_fpreg_mcontext): New type.
32485 (mcontext_t): Define structure contents rather than using struct
32487 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32488 (uc_sigmask): Define using __ctx.
32489 (uc_stack): Likewise.
32490 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32491 <bits/sigcontext.h>.
32492 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32493 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32494 <bits/sigcontext.h>.
32495 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32496 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32497 <bits/sigcontext.h>.
32498 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32499 <bits/sigcontext.h>.
32500 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32501 <bits/sigcontext.h>.
32502 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32503 <bits/sigcontext.h>.
32504 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32505 <bits/sigcontext.h>.
32506 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32507 <bits/sigcontext.h>.
32508 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32509 <bits/sigcontext.h>.
32510 (__ctx): Define earlier.
32511 (mcontext_t): Define structure contents rather than using struct
32513 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32514 <bits/sigcontext.h>. Include <bits/types.h>.
32515 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32516 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32517 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32518 (test-xfail-UNIX98/signal.h/conform): Likewise.
32519 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32520 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32521 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32522 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32523 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32524 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32525 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32526 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32527 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32529 2017-08-30 Florian Weimer <fweimer@redhat.com>
32531 * malloc/dynarray_emplace_enlarge.c
32532 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32533 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32534 * malloc/tst-dynarray.c (test_long_overflow): New function.
32535 (do_test): Call it.
32537 2017-08-30 Florian Weimer <fweimer@redhat.com>
32539 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32540 (set_arena_corrupt): Remove definitions.
32541 (mtrim): Do not check for corrupt arena.
32542 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32545 2017-08-30 Florian Weimer <fweimer@redhat.com>
32548 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32550 (ptmalloc_init): Do not set or use check_action.
32551 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32552 call to malloc_printerr. Remove return statement.
32553 (free_check): Likewise. Remove arena unlock.
32554 (top_check): Update comment. Adjust call to malloc_printerr.
32555 Remove heap repair code.
32556 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32557 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32558 (sysmalloc): Adjust call to malloc_printerr.
32559 (munmap_chunk, __libc_realloc): Likewise. Remove return
32561 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32562 Remove errout label and corresponding gotos.
32563 (_int_free): Likewise. Remove arena unlock.
32564 (do_set_mallopt_check): Do not set check_action.
32565 (malloc_printerr): Adjust parameter list. Do not mark arena as
32567 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32569 * manual/probes.texi (Memory Allocation Probes): Remove
32570 memory_mallopt_check_action.
32572 2017-08-30 Steve Ellcey <sellcey@cavium.com>
32574 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32575 Use pointer to uint64_t instead of long int for sp.
32577 2017-08-30 Florian Weimer <fweimer@redhat.com>
32580 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32581 without printing a backtrace. Do not leak any information in the
32583 * manual/memory.texi (Heap Consistency Checking): Update.
32584 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32586 2017-08-30 Florian Weimer <fweimer@redhat.com>
32588 Do not scale NPTL tests with available number of CPUs.
32589 * nptl/tst-cond16.c (count): Set to constant value of 8.
32590 * nptl/tst-cond18.c (count): Likewise.
32592 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32595 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32596 Define to take a second argument that is a macro that
32597 concatentates a suffix, not the suffix itself.
32598 (__CONCAT_d): New macro.
32599 (__CONCAT_f): Likewise.
32600 (__CONCAT_l): Likewise.
32602 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32604 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32607 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32608 Aurelien Jarno <aurelien@aurel32.net>
32609 Maciej W. Rozycki <macro@imgtec.com>
32612 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32613 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32614 `mips16-syscall6' and `mips16-syscall7'.
32615 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32616 (CFLAGS-mips16-syscall7.c): Remove.
32617 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32618 Remove `__mips16_syscall5', `__mips16_syscall6' and
32619 `__mips16_syscall7'.
32620 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32621 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32622 `__mips_syscall_return'.
32623 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32624 (__mips16_syscall1): Likewise.
32625 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32626 (__mips16_syscall2): Likewise.
32627 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32628 (__mips16_syscall3): Likewise.
32629 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32630 (__mips16_syscall4): Likewise.
32631 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32633 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32635 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32637 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32638 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32639 `__mips16_syscall5'. Remove prototype.
32640 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32641 `__mips16_syscall6'. Remove prototype.
32642 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32643 `__mips16_syscall7'. Remove prototype.
32644 (__nomips16, __mips16_syscall_return): Move to...
32645 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32646 (__nomips16, __mips_syscall_return): ... here.
32647 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32648 `__mips16_syscall_return' to `__mips_syscall_return'.
32649 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32650 `internal_syscall##nr'.
32651 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32652 `internal_syscall##nr'.
32653 (FORCE_FRAME_POINTER): Remove.
32654 (__mips_syscall5): New prototype.
32655 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32656 (__mips_syscall6): New prototype.
32657 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32658 (__mips_syscall7): New prototype.
32659 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32660 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32661 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32662 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32663 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32664 (sysdep_routines): Add libc-do-syscall.
32665 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32666 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32668 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32671 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32672 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32673 (advise_stack_range): New function.
32674 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32675 stack non required to advise_stack_range at allocatestack.c
32677 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32679 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32681 2017-08-29 Florian Weimer <fweimer@redhat.com>
32684 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32685 __end_fct. Mangle __end_fct after setting it to NULL.
32686 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32687 (modules-names, modules-names-tests): Add
32688 tst-gconv-init-failure-mod.
32689 (gconv-modules): New target.
32690 (tst-gconv-init-failure-mod.so): Link against libsupport.
32691 (tst-gconv-init-failure): Depend on gconv-modules,
32692 tst-gconv-init-failure-mod.so.
32693 * iconv/tst-gconv-init-failure-mod.c: New file.
32694 * iconv/tst-gconv-init-failure.c: Likewise.
32695 * iconv/test-gconv-modules: Likewise.
32697 2017-08-29 Florian Weimer <fweimer@redhat.com>
32700 * iconv/gconv_db.c (free_derivation): Remove redundant
32702 (gen_steps): Unconditionally mangle __btowc_fct after
32704 (increment_counter): Likewise. Do not call init_fct for internal
32707 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32710 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32711 (_MSUF_): Remove macro.
32712 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32714 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32715 (__REDIRFROM_X): New macro.
32716 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32718 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32719 (__REDIRTO_X): Likewise.
32720 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32722 (__MATH_REDIRCALL_2): Likewise.
32723 (__MATH_REDIRCALL_INTERNAL): Likewise.
32724 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32725 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32726 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32727 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32728 * math/test-finite-macros.c: New file.
32729 * math/Makefile (tests): Add test-finite-macros.
32730 (CFLAGS-test-finite-macros.c): New variable.
32732 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
32733 Jeff Law <law@redhat.com>
32736 Mangle NULL pointers in iconv/gconv.
32737 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32738 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32739 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32740 is non-NULL before demangling the end_fct. Check for NULL
32741 end_fct after demangling.
32742 (__gconv_release_step): Demangle the end_fct before checking
32743 it for NULL. Remove assert on __shlibc_handle != NULL.
32744 (gen_steps): Don't check btowc_fct for NULL before mangling.
32745 Demangle init_fct before checking for NULL.
32746 (increment_counter): Likewise.
32747 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32748 end_fct for NULL before mangling.
32749 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32752 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
32755 * locale/iso-639.def: add Morisyen.
32757 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32760 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32761 (iszero): New C++ implementation that does not use
32762 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32763 signaling nans are enabled, since __builtin_types_compatible_p
32764 is a C-only feature.
32765 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32766 defined, include ieee754_float128.h for access to the union and
32767 member ieee854_float128.ieee.
32768 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32769 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32770 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32771 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32772 options of test-math-zero on powerpc64le.
32774 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32776 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32777 Change double to float.
32779 2017-08-28 Joseph Myers <joseph@codesourcery.com>
32781 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32783 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32784 conditional code; define contents only for [LIBM_SVID_COMPAT].
32786 2017-08-28 Florian Weimer <fweimer@redhat.com>
32788 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32789 (abi-lp64_be-options): Remove.
32790 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32791 (abi-hard-options): Likewise.
32792 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32793 (abi-o32_hard-options, abi-o32_soft_2008-options)
32794 (abi-o32_hard_2008-options, abi-n32_soft-options)
32795 (abi-n32_hard-options, abi-n32_soft_2008-options)
32796 (abi-n32_hard_2008-options, abi-n64_soft-options)
32797 (abi-n64_hard-options, abi-n64_soft_2008-options)
32798 (abi-n64_hard_2008-options): Likewise.
32799 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32800 (abi-64-v1-options, abi-64-v2-options): Likewise.
32801 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32802 (abi-64-options): Likewise.
32803 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32804 (abi-64-options): Likewise.
32805 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32806 (abi-64-options): Likewise.
32807 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32808 (abi-64-options, abi-x32-options): Likewise.
32810 2017-08-28 Florian Weimer <fweimer@redhat.com>
32812 Store supported list of SYS_* system calls in the source tree.
32813 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32814 (bits/syscall.h): Generate from list file.
32815 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32816 [$(subdir) = misc] (tests): Add tst-syscall-list.
32817 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32818 [$(subdir) = misc] (tst-syscall-list-macros.list)
32819 [$(subdir) = misc] (tst-syscall-list-nr.list)
32820 (tst-syscall-list-sys.list): Helper targets for new
32821 tst-syscall-list test.
32822 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32823 tst-syscall-list.sh.
32824 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32825 target. Do not include bits/syscall.d.
32826 [$(subdir) = misc] (generated): Do not update.
32827 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32828 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32829 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32830 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32832 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32834 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32835 (tst-cxa_atexit, tst-on_exit): Likewise.
32836 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32837 tst-cxa_atexit, and tst-on_exit.
32838 * stdlib/tst-atexit-common.c: New file.
32839 * stdlib/tst-atexit.c: New file.
32840 * stdlib/tst-at_quick_exit.c: New file.
32841 * stdlib/tst-cxa_atexit.c: New file.
32842 * stdlib/tst-on_exit.c: New file.
32844 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32846 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
32847 * mach/stack_chk_fail_local.c: New file.
32848 * hurd/stack_chk_fail_local.c: New file.
32849 * mach/Machrules ($(interface-library)-routines): Add
32850 stack_chk_fail_local.
32851 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32852 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32853 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32854 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32855 * hurd/Makefile (CFLAGS-hurdstartup.o,
32856 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
32858 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32860 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32861 (index_cpu_*, index_arch_*): Removed.
32863 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32865 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32866 Use uint64_t instead of unsigned long.
32868 2017-08-25 Joseph Myers <joseph@codesourcery.com>
32870 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32871 [__HAVE_DISTINCT_FLOAT128].
32873 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32874 of <bits/math-finite.h>.
32875 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32876 inclusion of <bits/math-finite.h>.
32877 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32878 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32879 __NO_LONG_DOUBLE_MATH].
32880 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32881 (__MATH_REDIRCALL_2): Likewise.
32882 (__MATH_REDIRCALL_INTERNAL): Likewise.
32883 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32884 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32885 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32899 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32900 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32901 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32902 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32904 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32905 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32906 w_sqrtf_compat-ppc32.
32908 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32910 * math/math.h [defined __cplusplus] (issignaling): In the long
32911 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32912 is not defined. Call __issignaling, otherwise.
32914 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32916 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32917 syscall definitions and replace __builtin_expect with __glibc_likely.
32918 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32920 (SYSCALL_CANCELLABLE): Removedefinition
32921 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32923 (PSEUDO_END): Likewise.
32924 [IS_IN (libpthread)] (CENABLE): Likewise.
32925 [IS_IN (libpthread)] (CDISABLE): Likewise.
32926 [IS_IN (libc)] (CENABLE): Likewise.
32927 [IS_IN (libc)] (CENABLE): Likewise.
32928 [IS_IN (librt)] (CDISABLE): Likewise.
32929 [IS_IN (librt)] (CDISABLE): Likewise.
32930 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32931 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32933 (PSEUDO_END): Likewise.
32934 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32935 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32936 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32937 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32938 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32939 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32940 (CENABLE): Likewise.
32941 (CDISABLE): Likewise.
32942 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32943 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32945 (PSEUDO_END): Likewise.
32946 [IS_IN (libpthread)] (CENABLE): Likewise.
32947 [IS_IN (libpthread)] (CDISABLE): Likewise.
32948 [IS_IN (libc)] (CENABLE): Likewise.
32949 [IS_IN (libc)] (CENABLE): Likewise.
32950 [IS_IN (librt)] (CDISABLE): Likewise.
32951 [IS_IN (librt)] (CDISABLE): Likewise.
32952 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32953 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32955 (PSEUDO_END): Likewise.
32956 [IS_IN (libpthread)] (CENABLE): Likewise.
32957 [IS_IN (libpthread)] (CDISABLE): Likewise.
32958 [IS_IN (libc)] (CENABLE): Likewise.
32959 [IS_IN (libc)] (CENABLE): Likewise.
32960 [IS_IN (librt)] (CDISABLE): Likewise.
32961 [IS_IN (librt)] (CDISABLE): Likewise.
32962 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32963 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32965 (PSEUDO_END): Likewise.
32966 [IS_IN (libpthread)] (CENABLE): Likewise.
32967 [IS_IN (libpthread)] (CDISABLE): Likewise.
32968 [IS_IN (libc)] (CENABLE): Likewise.
32969 [IS_IN (libc)] (CENABLE): Likewise.
32970 [IS_IN (librt)] (CDISABLE): Likewise.
32971 [IS_IN (librt)] (CDISABLE): Likewise.
32972 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32973 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32975 (PSEUDO_END): Likewise.
32976 [IS_IN (libpthread)] (CENABLE): Likewise.
32977 [IS_IN (libpthread)] (CDISABLE): Likewise.
32978 [IS_IN (libc)] (CENABLE): Likewise.
32979 [IS_IN (libc)] (CENABLE): Likewise.
32980 [IS_IN (librt)] (CDISABLE): Likewise.
32981 [IS_IN (librt)] (CDISABLE): Likewise.
32982 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32983 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32985 (PSEUDO_END): Likewise.
32986 [IS_IN (libpthread)] (CENABLE): Likewise.
32987 [IS_IN (libpthread)] (CDISABLE): Likewise.
32988 [IS_IN (libc)] (CENABLE): Likewise.
32989 [IS_IN (libc)] (CENABLE): Likewise.
32990 [IS_IN (librt)] (CDISABLE): Likewise.
32991 [IS_IN (librt)] (CDISABLE): Likewise.
32992 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32993 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32995 (PSEUDO_END): Likewise.
32996 [IS_IN (libpthread)] (CENABLE): Likewise.
32997 [IS_IN (libpthread)] (CDISABLE): Likewise.
32998 [IS_IN (libc)] (CENABLE): Likewise.
32999 [IS_IN (libc)] (CENABLE): Likewise.
33000 [IS_IN (librt)] (CDISABLE): Likewise.
33001 [IS_IN (librt)] (CDISABLE): Likewise.
33002 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33003 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
33005 (PSEUDO_END): Likewise.
33006 [IS_IN (libpthread)] (CENABLE): Likewise.
33007 [IS_IN (libpthread)] (CDISABLE): Likewise.
33008 [IS_IN (libc)] (CENABLE): Likewise.
33009 [IS_IN (libc)] (CENABLE): Likewise.
33010 [IS_IN (librt)] (CDISABLE): Likewise.
33011 [IS_IN (librt)] (CDISABLE): Likewise.
33012 (SINGLE_THREAD_P): Likewise.
33013 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
33015 (PSEUDO_END): Likewise.
33016 [IS_IN (libpthread)] (CENABLE): Likewise.
33017 [IS_IN (libpthread)] (CDISABLE): Likewise.
33018 [IS_IN (libc)] (CENABLE): Likewise.
33019 [IS_IN (libc)] (CENABLE): Likewise.
33020 [IS_IN (librt)] (CDISABLE): Likewise.
33021 [IS_IN (librt)] (CDISABLE): Likewise.
33022 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33023 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
33025 (PSEUDO_END): Likewise.
33026 [IS_IN (libpthread)] (CENABLE): Likewise.
33027 [IS_IN (libpthread)] (CDISABLE): Likewise.
33028 [IS_IN (libc)] (CENABLE): Likewise.
33029 [IS_IN (libc)] (CENABLE): Likewise.
33030 [IS_IN (librt)] (CDISABLE): Likewise.
33031 [IS_IN (librt)] (CDISABLE): Likewise.
33032 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33033 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
33034 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33035 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
33036 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
33038 (PSEUDO_END): Likewise.
33039 [IS_IN (libpthread)] (CENABLE): Likewise.
33040 [IS_IN (libpthread)] (CDISABLE): Likewise.
33041 [IS_IN (libc)] (CENABLE): Likewise.
33042 [IS_IN (libc)] (CENABLE): Likewise.
33043 [IS_IN (librt)] (CDISABLE): Likewise.
33044 [IS_IN (librt)] (CDISABLE): Likewise.
33045 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33046 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
33048 (PSEUDO_END): Likewise.
33049 [IS_IN (libpthread)] (CENABLE): Likewise.
33050 [IS_IN (libpthread)] (CDISABLE): Likewise.
33051 [IS_IN (libc)] (CENABLE): Likewise.
33052 [IS_IN (libc)] (CENABLE): Likewise.
33053 [IS_IN (librt)] (CDISABLE): Likewise.
33054 [IS_IN (librt)] (CDISABLE): Likewise.
33055 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33056 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
33058 (PSEUDO_END): Likewise.
33059 [IS_IN (libpthread)] (CENABLE): Likewise.
33060 [IS_IN (libpthread)] (CDISABLE): Likewise.
33061 [IS_IN (libc)] (CENABLE): Likewise.
33062 [IS_IN (libc)] (CENABLE): Likewise.
33063 [IS_IN (librt)] (CDISABLE): Likewise.
33064 [IS_IN (librt)] (CDISABLE): Likewise.
33065 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33066 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
33067 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33068 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
33069 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
33071 (PSEUDO_END): Likewise.
33072 [IS_IN (libpthread)] (CENABLE): Likewise.
33073 [IS_IN (libpthread)] (CDISABLE): Likewise.
33074 [IS_IN (libc)] (CENABLE): Likewise.
33075 [IS_IN (libc)] (CENABLE): Likewise.
33076 [IS_IN (librt)] (CDISABLE): Likewise.
33077 [IS_IN (librt)] (CDISABLE): Likewise.
33078 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33079 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
33081 (PSEUDO_END): Likewise.
33082 [IS_IN (libpthread)] (CENABLE): Likewise.
33083 [IS_IN (libpthread)] (CDISABLE): Likewise.
33084 [IS_IN (libc)] (CENABLE): Likewise.
33085 [IS_IN (libc)] (CENABLE): Likewise.
33086 [IS_IN (librt)] (CDISABLE): Likewise.
33087 [IS_IN (librt)] (CDISABLE): Likewise.
33088 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33090 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33092 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
33094 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33096 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33098 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33101 * string/stratcliff.c (do_test): Declare size, nchars, inner,
33102 middle and outer with size_t instead of int. Repleace %d and
33103 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
33104 "MAX (outer, nchars - 64)" to support unsigned outer and
33105 nchars. Also exit loop when outer == 0.
33107 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33109 * include/fcntl.h (__fcntl_nocancel): Remove definition.
33110 * include/signal.h (__sigsuspend_nocancel): Likewise.
33111 * include/time.h (__nanosleep_nocancel): Likewise.
33112 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
33113 * login/utmp_file.c: Include non cancellable syscall header.
33114 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
33117 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33119 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
33120 .byte sequences with AVX512F instructions.
33121 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
33122 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
33123 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33124 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
33126 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
33129 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
33130 Steve Ellcey <sellcey@cavium.com>
33132 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
33133 Use PTR_REG macro in cmp instruction.
33135 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33137 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
33138 Change the return type of the ifunc resolver to match the return
33139 type of the target function.
33141 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33143 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
33144 (preadv64): Likewise.
33145 (pwrite64(: Likewise.
33146 (pwritev64): Likewise.
33148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33149 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
33150 (LOAD_ARGS_0): Likewise.
33151 (LOAD_ARGS_1): Likewise.
33152 (LOAD_ARGS_2): Likewise.
33153 (LOAD_ARGS_3): Likewise.
33154 (LOAD_ARGS_4): Likewise.
33155 (LOAD_ARGS_5): Likewise.
33156 (LOAD_ARGS_6): Likewise.
33157 (LOAD_REGS_0): Likewise.
33158 (LOAD_REGS_1): Likewise.
33159 (LOAD_REGS_2): Likewise.
33160 (LOAD_REGS_3): Likewise.
33161 (LOAD_REGS_4): Likewise.
33162 (LOAD_REGS_5): Likewise.
33163 (LOAD_REGS_6): Likewise.
33164 (ASM_ARGS_0): Likewise.
33165 (ASM_ARGS_1): Likewise.
33166 (ASM_ARGS_2): Likewise.
33167 (ASM_ARGS_3): Likewise.
33168 (ASM_ARGS_4): Likewise.
33169 (ASM_ARGS_5): Likewise.
33170 (ASM_ARGS_6): Likewise.
33171 (LOAD_ARGS_TYPES_1): Likewise.
33172 (LOAD_ARGS_TYPES_2): Likewise.
33173 (LOAD_ARGS_TYPES_3): Likewise.
33174 (LOAD_ARGS_TYPES_4): Likewise.
33175 (LOAD_ARGS_TYPES_5): Likewise.
33176 (LOAD_ARGS_TYPES_6): Likewise.
33177 (LOAD_REGS_TYPES_1): Likewise.
33178 (LOAD_REGS_TYPES_2): Likewise.
33179 (LOAD_REGS_TYPES_3): Likewise.
33180 (LOAD_REGS_TYPES_4): Likewise.
33181 (LOAD_REGS_TYPES_5): Likewise.
33182 (LOAD_REGS_TYPES_6): Likewise.
33183 (TYPEFY): New define.
33184 (ARGIFY): Likewise.
33185 (internal_syscall0): Likewise.
33186 (internal_syscall1): Likewise.
33187 (internal_syscall2): Likewise.
33188 (internal_syscall3): Likewise.
33189 (internal_syscall4): Likewise.
33190 (internal_syscall5): Likewise.
33191 (internal_syscall6): Likewise.
33192 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
33193 (INTERNAL_SYSCALL_NCS): Remove define.
33194 (internal_syscall1): Add define.
33196 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33198 * math/w_remainder_compat.c: Remove duplicate inclusion of
33199 math-svid-compat.h.
33200 * math/w_remainderf_compat.c: Likewise.
33201 * math/w_remainderl_compat.c: Likewise.
33203 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33207 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33210 * math/tgmath.h (__floating_type): Simplify definitions.
33211 (__real_integer_type): New macro.
33212 (__complex_integer_type): Likewise.
33213 (__expr_is_real): Likewise.
33214 (__tgmath_real_type_sub): Update comment to describe handling of
33216 (__tgmath_complex_type_sub): New macro.
33217 (__tgmath_complex_type): Likewise.
33218 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33219 (__TGMATH_CF128): Use __expr_is_real.
33220 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
33222 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33223 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
33224 * math/gen-tgmath-tests.py (Type.create_type): Create complex
33227 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33229 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
33231 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
33233 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
33236 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
33237 nanosleep_not_cancel with __nanosleep_nocancel.
33238 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
33239 (__nanosleep_nocancel): New macro.
33240 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
33242 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
33244 (__nanosleep_nocancel): New prototype.
33246 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
33247 pause_not_cancel with __pause_nocancel.
33248 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
33249 (__pause_nocancel): New macro.
33250 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
33252 (__pause_nocancel): New prototype.
33253 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
33255 2017-08-22 Martin Sebor <msebor@redhat.com>
33257 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
33258 to return a pointer to the same type as the target function.
33260 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33264 * include/printf.h (__printf_fphex): Add attribute_hidden.
33265 (__guess_grouping): New prototype.
33266 * stdio-common/printf_fp.c (__guess_grouping): Removed.
33267 * stdio-common/reg-printf.c (__register_printf_specifier): Add
33268 libc_hidden_proto and libc_hidden_def.
33269 * stdlib/strfmon_l.c (__guess_grouping): Removed.
33270 (__vstrfmon_l): Remove the third argument passed to
33273 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33275 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
33276 definition for issignaling that does not rely on __MATH_TG,
33277 since __MATH_TG uses __builtin_types_compatible_p, which is only
33278 available in C mode.
33279 (CFLAGS-test-math-issignaling.cc): New variable.
33280 * math/Makefile [CXX] (tests): Add test-math-issignaling.
33281 * math/test-math-issignaling.cc: New test for C++ implementation
33282 of type-generic issignaling.
33283 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33284 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
33285 options of test-math-issignaling on powerpc64le.
33287 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33289 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33291 (hidden_proto): Likewise.
33292 (hidden_tls_proto): Likewise.
33293 (__hidden_proto): Likewise.
33295 2017-08-22 Florian Weimer <fweimer@redhat.com>
33297 math: Statically link tests of internal functionality.
33298 * math/Makefile (tests): Remove atest-exp, atest-sincos,
33300 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
33301 (gmp-objs): Remove assignment.
33302 (atest-exp, atest-sincos, atest-exp2): Remove targets.
33304 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33307 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
33309 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
33311 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
33314 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
33315 variable definitions above inclusion of ../Rules.
33317 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33319 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
33320 case calling __builtin_unreachable.
33322 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33324 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
33325 __waitpid_nocancel.
33326 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
33327 (__waitpid_nocancel): New macro.
33328 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
33330 (__waitpid_nocancel): Replace macro with a function.
33331 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
33334 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
33336 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
33337 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
33339 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
33340 __writev_nocancel_nostatus.
33341 (write_call_graph): Likewise.
33342 (write_bb_counts): Likewise.
33343 * resolv/herror.c (herror): Likewise.
33344 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
33346 (__writev_nocancel_nostatus): New macro.
33347 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
33349 (__writev_nocancel_nostatus): New function.
33351 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33354 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33356 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33358 (hidden_proto): Likewise.
33359 (hidden_tls_proto): Likewise.
33360 (__hidden_proto): Likewise.
33363 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
33364 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
33369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
33373 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
33374 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33375 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33376 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33377 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
33378 GLIBC_2.0 sqrtl symbol.
33380 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
33381 [__USE_MISC] (_LIB_VERSION): Likewise.
33382 [__USE_MISC] (struct exception): Likewise.
33383 [__USE_MISC] (matherr): Likewise.
33384 [__USE_MISC] (DOMAIN): Likewise.
33385 [__USE_MISC] (SING): Likewise.
33386 [__USE_MISC] (OVERFLOW): Likewise.
33387 [__USE_MISC] (UNDERFLOW): Likewise.
33388 [__USE_MISC] (TLOSS): Likewise.
33389 [__USE_MISC] (PLOSS): Likewise.
33390 [__USE_MISC] (HUGE): Likewise.
33391 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
33392 * math/math-svid-compat.h: New file.
33393 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
33395 * include/math.h [!_ISOMAC] (__matherr): Remove.
33396 * manual/arith.texi (FP Exceptions): Do not document matherr.
33397 * math/Makefile (tests): Change test-matherr to test-matherr-3.
33398 (tests-internal): New variable.
33399 (install-lib): Do not add libieee.a.
33400 (non-lib.a): Likewise.
33401 (extra-objs): Do not add libieee.a and ieee-math.o.
33402 (CPPFLAGS-s_lib_version.c): Remove variable.
33403 ($(objpfx)libieee.a): Remove rule.
33404 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33405 * math/ieee-math.c: Remove.
33406 * math/libm-test-support.c (matherr): Remove.
33407 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33408 and license notices. Include <math-svid-compat.h> and
33410 (matherr): Undefine as macro. Use compat_symbol_reference.
33411 (_LIB_VERSION): Likewise.
33412 * math/test-matherr-2.c: New file.
33413 * math/test-matherr-3.c: Likewise.
33414 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33416 (__kernel_standard_f): Likewise.
33417 (__kernel_standard_l): Likewise.
33418 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33419 <math_private.h>. Include <math-svid-compat.h>.
33420 (_LIB_VERSION): Undefine as macro.
33421 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33422 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33423 [LIBM_SVID_COMPAT], use compat_symbol.
33424 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33425 <math_private.h>. Include <math-svid-compat.h>.
33426 (matherr): Undefine as macro.
33427 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33429 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33430 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33431 compat_symbol_reference.
33432 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33433 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33434 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33435 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33436 (MATHERR_D): Remove declaration.
33437 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33438 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33439 [LIBM_BUILD] (pmatherrf): Likewise.
33440 [LIBM_BUILD] (pmatherr): Likewise.
33441 [LIBM_BUILD] (pmatherrl): Likewise.
33442 (DOMAIN): Likewise.
33444 (OVERFLOW): Likewise.
33445 (UNDERFLOW): Likewise.
33448 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33449 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33451 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33452 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33454 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33455 * math/w_acos_compat.c: Likewise.
33456 * math/w_acosf_compat.c: Likewise.
33457 * math/w_acosh_compat.c: Likewise.
33458 * math/w_acoshf_compat.c: Likewise.
33459 * math/w_acoshl_compat.c: Likewise.
33460 * math/w_acosl_compat.c: Likewise.
33461 * math/w_asin_compat.c: Likewise.
33462 * math/w_asinf_compat.c: Likewise.
33463 * math/w_asinl_compat.c: Likewise.
33464 * math/w_atan2_compat.c: Likewise.
33465 * math/w_atan2f_compat.c: Likewise.
33466 * math/w_atan2l_compat.c: Likewise.
33467 * math/w_atanh_compat.c: Likewise.
33468 * math/w_atanhf_compat.c: Likewise.
33469 * math/w_atanhl_compat.c: Likewise.
33470 * math/w_cosh_compat.c: Likewise.
33471 * math/w_coshf_compat.c: Likewise.
33472 * math/w_coshl_compat.c: Likewise.
33473 * math/w_exp10_compat.c: Likewise.
33474 * math/w_exp10f_compat.c: Likewise.
33475 * math/w_exp10l_compat.c: Likewise.
33476 * math/w_exp2_compat.c: Likewise.
33477 * math/w_exp2f_compat.c: Likewise.
33478 * math/w_exp2l_compat.c: Likewise.
33479 * math/w_fmod_compat.c: Likewise.
33480 * math/w_fmodf_compat.c: Likewise.
33481 * math/w_fmodl_compat.c: Likewise.
33482 * math/w_hypot_compat.c: Likewise.
33483 * math/w_hypotf_compat.c: Likewise.
33484 * math/w_hypotl_compat.c: Likewise.
33485 * math/w_j0_compat.c: Likewise.
33486 * math/w_j0f_compat.c: Likewise.
33487 * math/w_j0l_compat.c: Likewise.
33488 * math/w_j1_compat.c: Likewise.
33489 * math/w_j1f_compat.c: Likewise.
33490 * math/w_j1l_compat.c: Likewise.
33491 * math/w_jn_compat.c: Likewise.
33492 * math/w_jnf_compat.c: Likewise.
33493 * math/w_jnl_compat.c: Likewise.
33494 * math/w_lgamma_main.c: Likewise.
33495 * math/w_lgamma_r_compat.c: Likewise.
33496 * math/w_lgammaf_main.c: Likewise.
33497 * math/w_lgammaf_r_compat.c: Likewise.
33498 * math/w_lgammal_main.c: Likewise.
33499 * math/w_lgammal_r_compat.c: Likewise.
33500 * math/w_log10_compat.c: Likewise.
33501 * math/w_log10f_compat.c: Likewise.
33502 * math/w_log10l_compat.c: Likewise.
33503 * math/w_log2_compat.c: Likewise.
33504 * math/w_log2f_compat.c: Likewise.
33505 * math/w_log2l_compat.c: Likewise.
33506 * math/w_log_compat.c: Likewise.
33507 * math/w_logf_compat.c: Likewise.
33508 * math/w_logl_compat.c: Likewise.
33509 * math/w_pow_compat.c: Likewise.
33510 * math/w_powf_compat.c: Likewise.
33511 * math/w_powl_compat.c: Likewise.
33512 * math/w_remainder_compat.c: Likewise.
33513 * math/w_remainderf_compat.c: Likewise.
33514 * math/w_remainderl_compat.c: Likewise.
33515 * math/w_scalb_compat.c: Likewise.
33516 * math/w_scalbf_compat.c: Likewise.
33517 * math/w_scalbl_compat.c: Likewise.
33518 * math/w_sinh_compat.c: Likewise.
33519 * math/w_sinhf_compat.c: Likewise.
33520 * math/w_sinhl_compat.c: Likewise.
33521 * math/w_sqrt_compat.c: Likewise.
33522 * math/w_sqrtf_compat.c: Likewise.
33523 * math/w_sqrtl_compat.c: Likewise.
33524 * math/w_tgamma_compat.c: Likewise.
33525 * math/w_tgammaf_compat.c: Likewise.
33526 * math/w_tgammal_compat.c: Likewise.
33527 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33528 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33529 * sysdeps/ieee754/k_standard.c: Likewise.
33530 * sysdeps/ieee754/k_standardf.c: Likewise.
33531 * sysdeps/ieee754/k_standardl.c: Likewise.
33532 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33533 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33534 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33535 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33536 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33537 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33538 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33539 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33540 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33545 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33546 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33547 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33548 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33550 2017-08-21 Florian Weimer <fweimer@redhat.com>
33553 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33554 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33555 Move before inclusion of ../Rules.
33557 2017-08-21 Florian Weimer <fweimer@redhat.com>
33560 * assert/assert.h (assert): Use static_cast (bool) for C++.
33561 Use the ternary operator in the warning branch for GNU C.
33562 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33563 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33564 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33565 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33566 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33568 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33571 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33572 (__syscall_clock_gettime): Add attribute_hidden.
33573 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33574 (__start_context): Likewise.
33576 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33578 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33580 (hidden_proto): Likewise.
33581 (hidden_tls_proto): Likewise.
33582 (__hidden_proto): Likewise.
33584 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33586 * include/libc-symbols.h (attribute_hidden): Enable hidden
33587 visibility in libc.a compiled with PIE.
33589 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33592 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33593 Add attribute_hidden.
33595 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33598 * Makerules (all-nonlib): Add $(others-extras).
33599 * catgets/Makefile (others-extras): New.
33600 * elf/Makefile (others-extras): Likewise.
33601 * nss/Makefile (others-extras): Likewise.
33603 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33606 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33607 * elf/dl-open.c: Include <libc-internal.h>.
33608 (__libc_multiple_libcs): Removed.
33609 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33611 * include/libc-internal.h (__libc_multiple_libcs): New.
33612 * misc/sbrk.c: Include <libc-internal.h>.
33613 (__libc_multiple_libcs): Removed.
33615 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33618 * grp/initgroups.c (__nss_group_database): Removed.
33619 (__nss_initgroups_database): Likewise.
33620 * nscd/gai.c (__nss_hosts_database): Likewise.
33621 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33622 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33623 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33624 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33625 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33626 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33628 * nss/nsswitch.c (__nss_database_custom): Define only if
33629 USE_NSCD is defined.
33630 (__nss_configure_lookup): Use __nss_database_custom only if
33631 USE_NSCD is defined.
33632 * nss/nsswitch.h (__nss_database_custom): Declare only if
33633 USE_NSCD is defined. Add attribute_hidden.
33634 (__nss_setent): Add attribute_hidden.
33635 (__nss_endent): Likewise.
33636 (__nss_getent_r): Likewise.
33637 (__nss_getent): Likewise.
33638 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33640 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33643 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33644 libc_hidden_proto and libc_hidden_def.
33646 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33649 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33650 Add libc_hidden_proto.
33651 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33652 Add libc_hidden_def.
33654 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33657 * gmon/Makefile (routines): Remove bb_init_func and
33659 (elide-routines.os): Removed.
33660 * gmon/bb_exit_func.c: Likewise.
33661 * gmon/bb_init_func.c: Likewise.
33662 * include/sys/gmon.h (__bb): Likewise.
33663 (__bb_init_func): Likewise.
33664 (__bb_exit_func): Likewise.
33665 * sysdeps/alpha/bb_init_func.S: Likewise.
33667 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33669 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33670 * include/setjmp.h (____longjmp_chk): Here. Add
33673 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33676 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33678 (__strspn_sse2): Likewise.
33680 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33682 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33683 (close_not_cancel_no_status): Likewise.
33684 (__close_nocancel): New macro.
33685 (__close_nocancel_nostatus): Likewise.
33686 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33688 (close_not_cancel): Likewise.
33689 (close_not_cancel_no_status): Likewise.
33690 (__close_nocancel): New prototype.
33691 (__close_nocancel_nostatus): New function.
33692 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33693 * catgets/open_catalog.c (__open_catalog): Replace
33694 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33695 * gmon/gmon.c (write_gmon): Likewise.
33696 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33697 * intl/loadmsgcat.c (close): Likewise.
33698 * io/ftw.c (open_dir_stream): Likewise.
33699 (ftw_startup): Likewise.
33700 * libio/fileops.c (_IO_file_open): Likewise.
33701 (_IO_file_close_mmap): Likewise.
33702 (_IO_file_close): Likewise.
33703 * libio/iopopen.c (_IO_dup2): Likewise.
33704 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33705 * locale/loadlocale.c (_nl_load_locale): Likewise.
33706 * login/utmp_file.c (pututline_file): Likewise.
33707 (endutent_file): Likewise.
33708 * misc/daemon.c (daemon): Likewise.
33709 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33710 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33711 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33712 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33713 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33714 * nscd/nscd_helper.c (open_socket): Likewise.
33715 (__nscd_open_socket): Likewise.
33716 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33717 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33718 (__nscd_innetgr): Likewise.
33719 * nss/nss_db/db-open.c (internal_setent): Likewise.
33720 * resolv/res-close.c (__res_iclose): Likewise.
33721 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33722 * sysdeps/posix/closedir.c (__closedir): Likewise.
33723 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33724 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33725 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33726 (opendir_tail): Likewise.
33727 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33728 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33729 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33730 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33731 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33732 (gethostid): Likewise.
33733 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33734 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33736 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33737 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33738 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33739 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33741 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33742 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33743 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33745 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33746 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33748 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33750 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33751 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33752 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33755 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33756 (openat_not_cancel_3): Likewise.
33757 (openat64_not_cancel_3): Likewise).
33758 (openat_not_cancel_3): Likewise).
33759 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33761 (openat_not_cancel_3): Likewise.
33762 (openat64_not_cancel): Likewise.
33763 (openat64_not_cancel_3): Likewise.
33764 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33765 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33766 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33767 __open{64}_nocancel.
33768 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33769 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33770 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33772 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33775 * include/argz.h (__argz_create_sep): New function prototype.
33776 (__argz_append): Likewise.
33777 (__argz_add): Likewise.
33778 (__argz_add_sep): Likewise.
33779 (__argz_delete): Likewise.
33780 (__argz_insert): Likewise.
33781 (__argz_replace): Likewise.
33782 * string/argz.h (__argz_create_sep): Removed.
33783 (__argz_append): Likewise.
33784 (__argz_add): Likewise.
33785 (__argz_add_sep): Likewise.
33786 (__argz_delete): Likewise.
33787 (__argz_insert): Likewise.
33788 (__argz_replace): Likewise.
33790 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33792 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33793 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33794 (GNU_PROPERTY_STACK_SIZE): Likewie.
33795 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33796 (GNU_PROPERTY_LOPROC): Likewise.
33797 (GNU_PROPERTY_HIPROC): Likewise.
33798 (GNU_PROPERTY_LOUSER): Likewise.
33799 (GNU_PROPERTY_HIUSER): Likewise.
33800 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33801 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33802 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33803 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33804 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33805 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33806 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33807 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33808 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33809 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33810 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33811 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33812 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33813 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33814 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33815 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33816 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33817 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33818 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33819 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33820 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33821 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33822 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33824 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33826 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33829 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33832 * math/math.h (isinf): Check if in C or C++ mode before using
33833 __builtin_types_compatible_p, since this is a C mode feature.
33835 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33837 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33838 (__write_nocancel): New macro.
33839 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33840 Rewrite as a function prototype.
33841 (write_not_cancel): Remove macro.
33842 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33843 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33844 (write_gmon): Likewise.
33845 * libio/fileops.c (_IO_new_file_write): Likewise.
33846 * login/utmp_file.c (pututline_file): Likewise.
33847 (updwtmp_file): Likewise.
33848 * stdio-common/psiginfo.c (psiginfo): Likewise.
33849 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33850 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33851 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33853 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33856 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33857 (__read_nocancel): New macro.
33858 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33860 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33862 (__read_nocancel): New prototype.
33863 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33864 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33865 with __read_nocancel.
33866 * intl/loadmsgcat.c (read): Likewise.
33867 * libio/fileops.c (_IO_file_read): Likewise.
33868 * locale/loadlocale.c (_nl_load_locale): Likewise.
33869 * login/utmp_file.c (getutent_r_file): Likewise.
33870 (internal_getut_r): Likewise.
33871 (getutline_r_file): Likewise.
33872 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33873 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33874 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33875 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33877 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33878 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33879 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33881 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33883 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33885 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33887 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33889 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33892 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33893 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33896 2017-08-17 DJ Delorie <dj@redhat.com>
33898 * bug17079.c: Update to new test harness.
33899 * test-digits-dots.c: Likewise.
33900 * test-netdb.c: Likewise.
33901 * tst-field.c: Likewise.
33902 * tst-nss-getpwent.c: Likewise.
33903 * tst-nss-static.c: Likewise.
33904 * tst-nss-test1.c: Likewise.
33905 * tst-nss-test2.c: Likewise.
33906 * tst-nss-test3.c: Likewise.
33907 * tst-nss-test4.c: Likewise.
33908 * tst-nss-test5.c: Likewise.
33910 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33912 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33913 (open_not_cancel_2): Likewise.
33914 (open_nocancel): New macro.
33915 (open64_nocancel): Likewise.
33916 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33917 (open_not_cancel_2): Likewise.
33918 (__open_nocancel): New prototype.
33919 (__open64_nocancel): Likewise.
33920 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33922 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33923 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33924 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33925 with __open_nocancel.
33926 * csu/check_fds.c (check_one_fd): Likewise.
33927 * gmon/gmon.c (write_gmon): Likewise.
33928 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33929 * intl/loadmsgcat.c (open): Likewise.
33930 * libio/fileops.c (_IO_file_open): Likewise.
33931 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33932 * locale/loadlocale.c (_nl_load_locale): Likewise.
33933 * login/utmp_file.c (setutent_file): Likewise.
33934 * misc/daemon.c (daemon): Likewise.
33935 * nss/nss_db/db-open.c (internal_setent): Likewise.
33936 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33937 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33938 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33939 (__opendir): Likewise.
33940 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33941 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33942 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33943 (gethostid): Likewise.
33944 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33945 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33947 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33948 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33949 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33950 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33952 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33954 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33956 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33958 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33960 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33962 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33963 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33965 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33967 * benchtests/bench-skeleton.c (main): Add support for
33968 latency benchmarking.
33969 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33971 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33973 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33974 the startup object.
33976 2017-08-17 Florian Weimer <fweimer@redhat.com>
33978 * include/sys/socket.h (__opensock): Remove internal_function.
33979 * socket/opensock.c (__opensock): Likewise.
33980 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33982 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33985 * signal/bits/types/__sigval_t.h: New file.
33986 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33987 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33988 and define sigval_t using __sigval_t.
33989 * include/bits/types/__sigval_t.h: New file.
33990 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33991 instead of <bits/types/__sigval_t.h>.
33992 (struct sigevent): Use __sigval_t instead of sigval_t.
33993 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33994 instead of <bits/types/__sigval_t.h>.
33995 (siginfo_t): Use __sigval_t instead of sigval_t.
33996 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33997 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33998 (struct sigevent): Use __sigval_t instead of sigval_t.
33999 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
34000 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34001 (siginfo_t): Use __sigval_t instead of sigval_t.
34002 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
34004 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34006 * NEWS: Remove "[Add new features here]" for 2.27.
34008 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34010 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
34013 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34015 * NEWS: Mention x86-64 FMA optimization.
34017 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34020 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34022 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
34023 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
34024 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
34026 2017-08-16 Andreas Schwab <schwab@suse.de>
34030 * elf/ldd.bash.in: Never run file directly.
34032 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
34035 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
34036 (L(SP_INF_0)): Likewise.
34038 2017-08-15 Florian Weimer <fweimer@redhat.com>
34040 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
34043 2017-08-15 Florian Weimer <fweimer@redhat.com>
34045 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
34046 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
34047 BROKEN_THREAD_SIGNALS code.
34048 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
34049 request_list): Remove caller_pid member used for
34050 BROKEN_THREAD_SIGNALS.
34051 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
34052 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34053 Remove BROKEN_THREAD_SIGNALS support.
34054 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
34055 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
34057 2017-08-15 Florian Weimer <fweimer@redhat.com>
34059 * gmon/Makefile (tests): Add tst-gmon.
34060 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
34062 (tests-special): Add tst-gmon-prof.out.
34063 (tst-gmon.out): Depend on clean-tst-gmon-data.
34064 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
34065 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
34066 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
34068 * aclocal.m4 (GPROF): Set and substitute.
34069 * config.amke.in (GPROF): Set.
34070 * configure: Regenerate.
34072 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
34074 * elf/elf.h A (NT_PPC_TAR): New macro.
34075 (NT_PPC_PPR): Likewise.
34076 (NT_PPC_DSCR): Likewise.
34077 (NT_PPC_EBB): Likewise.
34078 (NT_PPC_PMU): Likewise.
34079 (NT_PPC_TM_CGPR): Likewise.
34080 (NT_PPC_TM_CFPR): Likewise.
34081 (NT_PPC_TM_CVMX): Likewise.
34082 (NT_PPC_TM_CVSX): Likewise.
34083 (NT_PPC_TM_SPR): Likewise.
34084 (NT_PPC_TM_CTAR): Likewise.
34085 (NT_PPC_TM_CPPR): Likewise.
34086 (NT_PPC_TM_CDSCR): Likewise.
34088 2017-08-15 Florian Weimer <fweimer@redhat.com>
34090 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
34091 regparm (2) instead of internal_function.
34092 (_MCOUNT_DECL): Adjust.
34094 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34096 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
34097 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
34099 2017-08-14 Joseph Myers <joseph@codesourcery.com>
34101 * conform/data/sys/wait.h-data (si_value): Do not expect for
34104 2017-08-14 Florian Weimer <fweimer@redhat.com>
34107 NSS: Create stubs for accidentally exported lookup functions.
34108 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
34109 Remove declaration.
34110 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
34111 (ether_hostton): Call __nss_ethers_lookup2 instead.
34112 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
34113 (ether_ntohost): Call __nss_ethers_lookup2 instead.
34114 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
34115 (setup): Call __nss_netgroup_lookup2 instead.
34116 * nss/Makefile (routines): Add compat-lookup.
34117 * nss/Versions (GLIBC_2.27): Add symbol version.
34118 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
34119 (DB_COMPAT_FCT): Remove.
34120 * nss/compat-lookup.c: New file.
34121 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
34122 from databases.def.
34123 * nss/service-lookup.c (NO_COMPAT): Remove definition.
34124 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
34125 (netname2user): Call __nss_publickey_lookup2 instead.
34126 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
34127 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
34130 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34131 Sergei Trofimovich <slyfox@inbox.ru>
34134 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
34135 Rename to MMAP2_PAGE_UNIT.
34136 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
34137 __OFF_T_MATCHES_OFF64_T is not defined.
34138 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
34140 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
34141 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
34143 2017-08-14 Florian Weimer <fweimer@redhat.com>
34145 i386: Do not set internal_function.
34146 * config.h.in (USE_REGPARMS, internal_function): Remove.
34147 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
34148 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
34150 2017-08-14 Florian Weimer <fweimer@redhat.com>
34152 * elf/dl-init.c (_dl_init): Remove internal_function.
34153 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
34154 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
34156 2017-08-14 Florian Weimer <fweimer@redhat.com>
34158 * elf/rtld.c (_dl_start): Remove internal_function.
34159 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
34162 2017-08-14 Florian Weimer <fweimer@redhat.com>
34164 * elf/dl-fini.c (_dl_fini): Remove internal_function
34165 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
34167 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
34169 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
34170 (bit_cpu_SHSTK): Likewise.
34171 (index_cpu_IBT): Likewise.
34172 (index_cpu_SHSTK): Likewise.
34173 (reg_IBT): Likewise.
34174 (reg_SHSTK): Likewise.
34175 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34176 Handle index_cpu_IBT and index_cpu_SHSTK.
34178 2017-08-14 Mike FABIAN <mfabian@redhat.com>
34181 * po/fr.po: Fix spelling mistake.
34183 2017-08-13 Florian Weimer <fweimer@redhat.com>
34185 * elf/dl-addr.c (_dl_addr): Remove internal_function.
34186 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
34187 (_dl_catch_error, _dl_receive_error): Likewise.
34188 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
34189 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
34190 (_dl_deallocate_tls): Likewise.
34191 * include/dlfcn.h (_dl_addr): Likewise.
34192 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
34193 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
34194 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
34197 2017-08-13 Florian Weimer <fweimer@redhat.com>
34199 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
34200 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
34202 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
34204 2017-08-13 Florian Weimer <fweimer@redhat.com>
34206 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
34208 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
34209 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
34210 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
34211 internal_function from _dl_make_stack_executable_hook member.
34212 (_dl_make_stack_executable): Remove internal_function.
34213 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
34215 * sysdeps/unix/sysv/linux/dl-execstack.c
34216 (_dl_make_stack_executable): Likewise.
34218 2017-08-13 Florian Weimer <fweimer@redhat.com>
34220 * sysdeps/unix/sysv/linux/netlinkaccess.h
34221 (__netlink_assert_response): Remove internal_function.
34222 * sysdeps/unix/sysv/linux/netlink_assert_response.c
34223 (__netlink_assert_response): Likewise.
34225 2017-08-13 Florian Weimer <fweimer@redhat.com>
34227 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
34229 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
34231 2017-08-13 Florian Weimer <fweimer@redhat.com>
34233 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
34235 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
34236 * inet/netgroup.h (__internal_setnetgrent)
34237 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34238 * inet/getnetgrent_r.c (__internal_setnetgrent)
34239 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34240 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
34241 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
34242 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
34243 * nss/nsswitch.h (db_lookup_function): Likewise.
34245 2017-08-13 Florian Weimer <fweimer@redhat.com>
34247 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
34248 Remove internal_function.
34249 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
34250 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
34251 message argument on the stack.
34252 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
34255 2017-08-12 Mike FABIAN <mfabian@redhat.com>
34257 Adapt test case data to the changes in the thousands
34261 * localedata/tst-langinfo.sh: Adapt test case data.
34262 * stdlib/tst-strfmon_l.c: Likewise.
34263 * stdlib/tst-strtod4.c: Likewise.
34264 * stdlib/tst-strtod5i.c: Likewise.
34266 2017-08-11 Florian Weimer <fweimer@redhat.com>
34269 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
34270 Suppress pedantic warning resulting from statement expression.
34271 (__ASSERT_FUNCTION): Add missing __extension__.
34273 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34275 * benchtests/bench-memmove-large.c: Print output in JSON
34277 * benchtests/bench-memmove.c: Likewise.
34279 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
34280 * benchtests/bench-memchr.c (do_one_test): Likewise.
34281 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
34282 * benchtests/bench-memcpy.c (do_one_test): Likewise.
34283 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
34284 * benchtests/bench-memmove.c (do_one_test): Likewise.
34285 * benchtests/bench-memset-large.c (do_one_test): Likewise.
34286 * benchtests/bench-memset.c (do_one_test): Likewise.
34287 * benchtests/bench-string.h (test_init): Remove memsets.
34289 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
34292 (Computing the Width of an Integer Data Type): Rename section to
34293 "Width of an Integer Type". Remove inaccurate statement regarding
34294 lack of C language facilities for determining width of integer
34295 types, and reorder content to improve flow and context of
34298 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
34300 * lang.texi (va_copy): Change standard from ISO to C99.
34301 (__va_copy): Add standard and header annotation.
34302 Update description for clarity of origins and current use.
34304 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34307 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
34308 xssqrtqp requires operands to be in Vector Registers
34309 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
34310 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
34311 (__ieee754_sqrtf128): Likewise.
34313 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
34315 * sysdeps/aarch64/memcmp.S (memcmp):
34316 Rewrite of optimized memcmp.
34318 2017-08-10 Florian Weimer <fweimer@redhat.com>
34320 Introduce ld.so exceptions.
34321 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
34322 (_dl_exception_create, _dl_exception_create_format)
34323 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
34324 (_dl_catch_exception): Declare.
34325 (_dl_catch_error): Update comment.
34326 * elf/dl-error-skeleton.c (struct catch): Replace objname,
34327 errstring, malloced members with exception member.
34328 (_dl_out_of_memory): Remove.
34329 (fatal_error): New function, extracted from _dl_signal_error.
34330 (_dl_signal_exception, _dl_signal_cexception): New functions.
34331 (_dl_signal_error): Call _dl_exception_create to allocate an
34333 (_dl_catch_exception): New function, based on _dl_catch_error.
34334 (_dl_catch_error): Implement using _dl_catch_exception.
34335 * elf/dl-exception.c: New file.
34336 * elf/Makefile (dl-routines): Add dl-exception.
34337 (elide-routines.os): Likewise.
34338 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
34339 _dl_exception_create_format, _dl_exception_free.
34340 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
34341 _dl_signal_exception.
34342 * elf/dl-lookup.c (make_string): Remove.
34343 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
34344 _dl_signal_cexception, _dl_exception_free.
34345 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
34346 _dl_signal_exception.
34347 * elf/dl-sym.c (do_sym): Likewise.
34348 * elf/dl-version.c (make_string): Remove.
34349 (match_symbol): Use _dl_exception_create_format,
34350 _dl_signal_cexception, _dl_exception_free.
34351 (_dl_check_map_versions): Likewise.
34352 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
34353 _dl_catch_exception.
34354 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
34355 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
34356 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
34357 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
34358 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
34359 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
34360 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
34361 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
34363 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
34364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
34366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
34368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
34370 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
34371 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
34372 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
34374 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
34376 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
34378 2017-08-10 Florian Weimer <fweimer@redhat.com>
34380 * inet/net-internal.h (__inet6_scopeid_pton): Remove
34381 attribute_hidden, internal_function.
34382 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
34385 2017-08-10 Florian Weimer <fweimer@redhat.com>
34387 * malloc/malloc.c (get_max_fast): Reimplement as an inline
34388 function which calls __builtin_unreachable.
34390 2017-08-10 Mike FABIAN <mfabian@redhat.com>
34392 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
34393 Indian monetary formatting
34394 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
34397 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
34399 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
34400 Fix typo in comment.
34403 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34404 PTRACE_SEIZE_DEVEL): Remove.
34405 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34406 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34407 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34408 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34409 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34411 2017-08-09 Joseph Myers <joseph@codesourcery.com>
34413 * posix/bits/types.h (__qaddr_t): Remove.
34416 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34417 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34419 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34420 (ucontext_t): Use __ctx with uc_flags.
34421 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34422 (__ctxt): Likewise.
34423 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34425 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34426 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34428 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34429 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34431 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34433 (ucontext_t): Use __ctx with uc_flags.
34434 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34435 (ucontext_t): Use __ctx with uc_flags.
34436 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34437 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34438 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34439 (ucontext_t): Use __ctx with uc_flags.
34440 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34441 undefine further down.
34442 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34444 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34445 undefine further down.
34446 (ucontext_t): Use __ctx with uc_flags.
34447 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34448 undefine further down.
34449 (ucontext_t): Use __ctx with uc_flags.
34450 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34451 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34452 Rename uc_pad to __glibc_reserved1.
34453 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34454 undefine further down.
34455 (ucontext_t): Use __ctx with uc_flags.
34456 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34458 (ucontext_t): Use __ctx with uc_flags.
34459 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34460 __ctx with uc_flags.
34461 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34462 (ucontext_t): Use __ctx with uc_flags.
34463 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34464 __ctx with uc_flags.
34466 2017-08-09 Florian Weimer <fweimer@redhat.com>
34469 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34470 before early return.
34472 2017-08-09 Andreas Schwab <schwab@suse.de>
34475 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34479 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34480 tst-compat-forwarder.
34481 (modules-names): Add tst-compat-forwarder-mod.
34482 ($(objpfx)tst-compat-forwarder): Depend on
34483 $(objpfx)tst-compat-forwarder-mod.so.
34484 * nptl/tst-compat-forwarder.c: New file.
34485 * nptl/tst-compat-forwarder-mod.c: New file.
34487 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34489 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34492 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34493 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34495 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34497 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34498 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34499 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34500 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34502 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34505 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34508 * manual/setjmp.texi (getcontex): Document uc_stack value
34509 compatibility differences.
34511 2017-08-08 Joseph Myers <joseph@codesourcery.com>
34513 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34514 (old_malloc_hook): Likewise.
34515 (old_memalign_hook): Likewise.
34516 (old_realloc_hook): Likewise.
34517 (struct hdr): Likewise.
34519 (freehook): Likewise.
34520 (mallochook): Likewise.
34521 (memalignhook): Likewise.
34522 (reallochook): Likewise.
34523 (mprobe): Likewise.
34524 * malloc/mtrace.c (mallwatch): Likewise.
34525 (tr_old_free_hook): Likewise.
34526 (tr_old_malloc_hook): Likewise.
34527 (tr_old_realloc_hook): Likewise.
34528 (tr_old_memalign_hook): Likewise.
34529 (tr_where): Likewise.
34530 (lock_and_info): Likewise.
34531 (tr_freehook): Likewise.
34532 (tr_mallochook): Likewise.
34533 (tr_reallochook): Likewise.
34534 (tr_memalignhook): Likewise.
34535 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34536 * misc/mmap.c (__mmap): Likewise.
34537 * misc/mmap64.c (__mmap64): Likewise.
34538 * misc/mprotect.c (__mprotect): Likewise.
34539 * misc/msync.c (msync): Likewise.
34540 * misc/munmap.c (__munmap): Likewise.
34541 * posix/posix_madvise.c (posix_madvise): Likewise.
34542 * socket/send.c (__send): Likewise.
34543 * socket/sendto.c (__sendto): Likewise.
34544 * socket/setsockopt.c (__setsockopt): Likewise.
34545 * string/memcmp.c (__ptr_t): Remove macro.
34546 (MEMCMP): Use void * instead of ptr_t.
34547 * string/memrchr.c (__ptr_t): Remove macro.
34548 (__memrchr): Use void * instead of ptr_t.
34549 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34550 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34551 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34552 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34553 * sysdeps/mach/msync.c (msync): Likewise.
34554 * sysdeps/mach/munmap.c (__munmap): Likewise.
34555 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34557 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34558 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34559 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34560 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34561 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34562 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34563 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34564 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34566 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34567 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34568 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34569 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34570 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34571 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34572 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34573 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34574 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34576 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34577 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34578 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34579 (MEMCMP): Use void * instead of ptr_t.
34580 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34581 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34583 2017-08-08 Florian Weimer <fweimer@redhat.com>
34585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34588 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34591 * csu/libc-tls.c: Include <startup.h> first.
34592 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34593 * elf/dl-tunables.c: Include <startup.h> first.
34594 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34595 * sysdeps/generic/startup.h: New file.
34596 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34597 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34598 (I386_USE_SYSENTER): New. Defined to 0.
34600 2017-08-08 Andreas Schwab <schwab@suse.de>
34603 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34604 * nptl/pt-system.c (system): Likewise.
34606 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34609 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34611 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34612 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34613 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34614 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34615 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34616 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34617 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34619 2017-08-07 Joseph Myers <joseph@codesourcery.com>
34622 * bits/sigaction.h (struct sigaction): Define sa_handler and
34623 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34624 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34625 [__USE_XOPEN_EXTENDED].
34626 (SA_RESTART): Likewise.
34627 (SA_NODEFER): Likewise.
34628 (SA_RESETHAND): Likewise.
34629 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34630 (struct sigaction): Define sa_handler and sa_sigaction using union
34631 also for [__USE_XOPEN_EXTENDED].
34632 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34633 [__USE_XOPEN_EXTENDED].
34634 (SA_RESTART): Likewise.
34635 (SA_NODEFER): Likewise.
34636 (SA_RESETHAND): Likewise.
34637 * sysdeps/unix/sysv/linux/bits/sigaction.h
34638 (struct sigaction): Define sa_handler and sa_sigaction using union
34639 also for [__USE_XOPEN_EXTENDED].
34640 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34641 [__USE_XOPEN_EXTENDED].
34642 (SA_RESTART): Likewise.
34643 (SA_NODEFER): Likewise.
34644 (SA_RESETHAND): Likewise.
34645 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34646 (struct sigaction): Define sa_handler and sa_sigaction using union
34647 also for [__USE_XOPEN_EXTENDED].
34648 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34649 [__USE_XOPEN_EXTENDED].
34650 (SA_RESTART): Likewise.
34651 (SA_NODEFER): Likewise.
34652 (SA_RESETHAND): Likewise.
34653 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34654 (struct sigaction): Define sa_handler and sa_sigaction using union
34655 also for [__USE_XOPEN_EXTENDED].
34656 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34657 [__USE_XOPEN_EXTENDED].
34658 (SA_RESTART): Likewise.
34659 (SA_NODEFER): Likewise.
34660 (SA_RESETHAND): Likewise.
34661 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34662 (struct sigaction): Define sa_handler and sa_sigaction using union
34663 also for [__USE_XOPEN_EXTENDED].
34664 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34665 [__USE_XOPEN_EXTENDED].
34666 (SA_RESTART): Likewise.
34667 (SA_NODEFER): Likewise.
34668 (SA_RESETHAND): Likewise.
34669 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34670 (struct sigaction): Define sa_handler and sa_sigaction using union
34671 also for [__USE_XOPEN_EXTENDED].
34672 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34673 [__USE_XOPEN_EXTENDED].
34674 (SA_RESTART): Likewise.
34675 (SA_NODEFER): Likewise.
34676 (SA_RESETHAND): Likewise.
34677 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34678 (struct sigaction): Define sa_handler and sa_sigaction using union
34679 also for [__USE_XOPEN_EXTENDED].
34680 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34681 [__USE_XOPEN_EXTENDED].
34682 (SA_RESTART): Likewise.
34683 (SA_NODEFER): Likewise. Define directly rather than as alias.
34684 (SA_RESETHAND): Likewise.
34685 (SA_INTERRUPT): Define only for [__USE_MISC].
34686 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34687 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34689 (SA_STACK): Define only for [__USE_MISC].
34690 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34691 (struct sigaction): Define sa_handler and sa_sigaction using union
34692 also for [__USE_XOPEN_EXTENDED].
34693 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34694 [__USE_XOPEN_EXTENDED].
34695 (SA_RESTART): Likewise.
34696 (SA_NODEFER): Likewise.
34697 (SA_RESETHAND): Likewise.
34698 (SA_NOPTRACE): Define only for [__USE_MISC].
34700 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34701 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34702 (struct catalog_info): Likewise.
34703 * inet/htontest.c (lo): Likewise.
34705 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34706 * inet/inet_net.c (inet_network): Likewise.
34707 * inet/inet_netof.c (inet_netof): Likewise.
34708 * inet/rcmd.c (__ivaliduser): Likewise.
34709 (iruserok): Likewise.
34710 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34711 * locale/programs/locale-spec.c (locale_special): Likewise.
34712 * nis/nis_findserv.c (struct findserv_req): Likewise.
34713 (__nis_findfastest_with_timeout): Likewise.
34714 * nss/test-netdb.c (test_network): Likewise.
34715 * resolv/inet_neta.c (inet_neta): Likewise.
34716 * resolv/ns_date.c (ns_datetosecs): Likewise.
34717 (SECS_PER_DAY): Likewise.
34718 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34720 * resolv/res_comp.c (__putlong): Likewise.
34721 (__putshort): Likewise.
34722 (_getlong): Likewise.
34723 (_getshort): Likewise.
34724 * resolv/res_debug.c (p_time): Likewise.
34725 (precsize_ntoa): Likewise.
34726 (precsize_aton): Likewise.
34727 (latlon2ul): Likewise.
34728 (loc_aton): Likewise.
34729 (loc_ntoa): Likewise.
34730 * resolv/res_hconf.c (struct netaddr): Likewise.
34731 (_res_hconf_reorder_addrs): Likewise.
34732 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34733 (clnttcp_control): Likewise.
34734 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34735 (clntudp_control): Likewise.
34736 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34737 (clntunix_control): Likewise.
34738 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34739 * sunrpc/rpc/auth.h (union des_block): Likewise.
34740 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34741 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34742 (xdrrec_create): Likewise.
34743 (xdrrec_endofrecord): Likewise.
34744 (flush_out): Likewise.
34745 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34746 (xdrstdio_putlong): Likewise.
34747 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34750 * misc/sys/cdefs.h (__long_double_t): Remove.
34751 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34752 instead of __long_double_t,
34753 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34755 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34757 * benchtests/scripts/compare_strings.py: Avoid display error when
34758 running on a text terminal.
34760 * benchtests/scripts/compare_strings.py (main): Add an
34761 optional -base option.
34762 (process_results): New argument base_func.
34764 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34766 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34767 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34769 2017-08-07 Andreas Schwab <schwab@suse.de>
34771 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34772 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34773 * intl/Makefile ($(objpfx)tst-gettext.out)
34774 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34775 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34776 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34777 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34778 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34779 * posix/Makefile ($(objpfx)globtest.out)
34780 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34781 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34782 ($(objpfx)tst-printf.out): Likewise.
34783 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34784 ($(objpfx)tst-setcontext3.out): Likewise.
34786 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34788 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34789 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34790 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34791 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34792 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34794 (CFLAGS-doasin-fma.c): New.
34795 (CFLAGS-dosincos-fma.c): Likewise.
34796 (CFLAGS-e_asin-fma.c): Likewise.
34797 (CFLAGS-e_atan2-fma.c): Likewise.
34798 (CFLAGS-e_exp-fma.c): Likewise.
34799 (CFLAGS-e_log-fma.c): Likewise.
34800 (CFLAGS-e_pow-fma.c): Likewise.
34801 (CFLAGS-halfulp-fma.c): Likewise.
34802 (CFLAGS-mpa-fma.c): Likewise.
34803 (CFLAGS-mpatan-fma.c): Likewise.
34804 (CFLAGS-mpatan2-fma.c): Likewise.
34805 (CFLAGS-mpexp-fma.c): Likewise.
34806 (CFLAGS-mplog-fma.c): Likewise.
34807 (CFLAGS-mpsqrt-fma.c): Likewise.
34808 (CFLAGS-mptan-fma.c): Likewise.
34809 (CFLAGS-s_atan-fma.c): Likewise.
34810 (CFLAGS-sincos32-fma.c): Likewise.
34811 (CFLAGS-slowexp-fma.c): Likewise.
34812 (CFLAGS-slowpow-fma.c): Likewise.
34813 (CFLAGS-s_sin-fma.c): Likewise.
34814 (CFLAGS-s_tan-fma.c): Likewise.
34815 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34816 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34817 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34818 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34819 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34820 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34821 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34822 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34823 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34824 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34825 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34826 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34827 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34828 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34829 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34830 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34831 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34832 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34833 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34834 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34835 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34836 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34837 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34838 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34839 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34840 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34841 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34842 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34843 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34844 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34845 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34847 2017-08-04 Joseph Myers <joseph@codesourcery.com>
34849 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34850 (min_of_type_f): New macro.
34851 (min_of_type_): Likewise.
34852 (min_of_type_l): Likewise.
34853 (min_of_type_f128): Likewise.
34854 (min_of_type): Define using __MATH_TG and taking an expression
34856 (math_check_force_underflow): Pass expression instead of type to
34858 (math_check_force_underflow_nonneg): Likewise.
34860 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34862 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34863 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34864 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34866 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34868 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34869 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34870 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34871 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34872 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34873 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34874 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34875 memmove_chk-nonshared and memset_chk-nonshared
34876 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34877 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34878 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34879 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34880 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34881 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34882 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34883 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34884 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34885 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34886 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34887 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34888 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34889 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34890 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34891 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34892 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34893 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34894 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34895 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34896 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34897 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34898 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34899 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34900 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34901 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34902 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34903 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34904 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34905 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34906 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34907 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34908 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34909 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34910 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34911 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34912 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34913 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34914 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34915 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34916 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34917 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34918 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34919 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34920 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34921 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34922 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34923 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34924 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34925 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34926 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34927 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34928 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34929 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34930 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34931 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34932 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34933 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34934 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34935 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34936 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34937 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34938 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34939 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34940 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34941 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34942 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34943 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34944 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34945 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34946 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34947 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34948 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34949 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34950 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34951 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34952 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34953 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34954 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34955 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34956 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34957 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34958 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34959 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34960 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34961 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34962 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34963 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34964 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34965 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34966 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34967 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34968 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34969 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34970 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34971 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34972 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34973 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34974 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34975 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34976 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34977 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34978 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34979 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34980 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34981 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34982 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34983 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34985 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34987 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34988 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34989 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34990 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34991 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34992 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34993 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34994 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34995 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34996 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34997 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34998 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34999 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
35000 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
35001 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
35002 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
35003 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
35004 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
35005 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
35006 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
35007 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
35008 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
35009 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
35010 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
35011 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
35012 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
35013 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
35014 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
35015 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
35016 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
35017 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
35018 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
35019 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
35020 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
35021 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
35022 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
35023 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
35024 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
35025 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
35026 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
35027 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
35028 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
35029 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
35030 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
35031 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
35032 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
35033 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
35034 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
35035 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
35036 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
35037 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
35038 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
35039 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
35040 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
35041 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
35042 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
35043 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
35044 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
35045 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
35047 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
35048 Don't include <sysdep.h> nor <init-arch.h>.
35049 (_ZGVbN2v_cos): Removed.
35050 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
35052 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
35053 Don't include <sysdep.h> nor <init-arch.h>.
35054 (_ZGVdN4v_cos): Removed.
35055 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
35057 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
35058 Don't include <sysdep.h> nor <init-arch.h>.
35059 (_ZGVeN8v_cos): Removed.
35060 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
35062 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
35063 Don't include <sysdep.h> nor <init-arch.h>.
35064 (_ZGVbN2v_exp): Removed.
35065 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
35067 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
35068 Don't include <sysdep.h> nor <init-arch.h>.
35069 (_ZGVdN4v_exp): Removed.
35070 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
35072 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
35073 Don't include <sysdep.h> nor <init-arch.h>.
35074 (_ZGVeN8v_exp): Removed.
35075 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
35077 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
35078 Don't include <sysdep.h> nor <init-arch.h>.
35079 (_ZGVbN2v_log): Removed.
35080 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
35082 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
35083 Don't include <sysdep.h> nor <init-arch.h>.
35084 (_ZGVdN4v_log): Removed.
35085 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
35087 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
35088 Don't include <sysdep.h> nor <init-arch.h>.
35089 (_ZGVeN8v_log): Removed.
35090 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
35092 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
35093 Don't include <sysdep.h> nor <init-arch.h>.
35094 (_ZGVbN2vv_pow): Removed.
35095 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
35097 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
35098 Don't include <sysdep.h> nor <init-arch.h>.
35099 (_ZGVdN4vv_pow): Removed.
35100 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
35102 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
35103 Don't include <sysdep.h> nor <init-arch.h>.
35104 (_ZGVeN8vv_pow): Removed.
35105 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
35107 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
35108 Don't include <sysdep.h> nor <init-arch.h>.
35109 (_ZGVbN2v_sin): Removed.
35110 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
35112 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
35113 Don't include <sysdep.h> nor <init-arch.h>.
35114 (_ZGVbN4v_sin): Removed.
35115 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
35117 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
35118 Don't include <sysdep.h> nor <init-arch.h>.
35119 (_ZGVbN8v_sin): Removed.
35120 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
35122 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
35123 Don't include <sysdep.h> nor <init-arch.h>.
35124 (_ZGVbN2vvv_sincos): Removed.
35125 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
35127 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
35128 Don't include <sysdep.h> nor <init-arch.h>.
35129 (_ZGVdN4vvv_sincos): Removed.
35130 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
35132 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
35133 Don't include <sysdep.h> nor <init-arch.h>.
35134 (_ZGVeN8vvv_sincos): Removed.
35135 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
35137 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
35138 Don't include <sysdep.h> nor <init-arch.h>.
35139 (_ZGVeN16v_cosf): Removed.
35140 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
35142 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
35143 Don't include <sysdep.h> nor <init-arch.h>.
35144 (_ZGVbN4v_cosf): Removed.
35145 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
35147 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
35148 Don't include <sysdep.h> nor <init-arch.h>.
35149 (_ZGVdN8v_cosf): Removed.
35150 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
35152 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
35153 Don't include <sysdep.h> nor <init-arch.h>.
35154 (_ZGVeN16v_expf): Removed.
35155 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
35157 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
35158 Don't include <sysdep.h> nor <init-arch.h>.
35159 (_ZGVbN4v_expf): Removed.
35160 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
35162 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
35163 Don't include <sysdep.h> nor <init-arch.h>.
35164 (_ZGVdN8v_expf): Removed.
35165 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
35167 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
35168 Don't include <sysdep.h> nor <init-arch.h>.
35169 (_ZGVeN16v_logf): Removed.
35170 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
35172 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
35173 Don't include <sysdep.h> nor <init-arch.h>.
35174 (_ZGVbN4v_logf): Removed.
35175 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
35177 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
35178 Don't include <sysdep.h> nor <init-arch.h>.
35179 (_ZGVdN8v_logf): Removed.
35180 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
35182 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
35183 Don't include <sysdep.h> nor <init-arch.h>.
35184 (_ZGVeN16vv_powf): Removed.
35185 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
35187 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
35188 Don't include <sysdep.h> nor <init-arch.h>.
35189 (_ZGVbN4vv_powf): Removed.
35190 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
35192 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
35193 Don't include <sysdep.h> nor <init-arch.h>.
35194 (_ZGVdN8vv_powf): Removed.
35195 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
35197 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
35198 Don't include <sysdep.h> nor <init-arch.h>.
35199 (_ZGVeN16vvv_sincosf): Removed.
35200 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
35202 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
35203 Don't include <sysdep.h> nor <init-arch.h>.
35204 (_ZGVbN4vvv_sincosf): Removed.
35205 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
35207 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
35208 Don't include <sysdep.h> nor <init-arch.h>.
35209 (_ZGVdN8vvv_sincosf): Removed.
35210 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
35212 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
35213 Don't include <sysdep.h> nor <init-arch.h>.
35214 (_ZGVeN16v_sinf): Removed.
35215 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
35217 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
35218 Don't include <sysdep.h> nor <init-arch.h>.
35219 (_ZGVbN4v_sinf): Removed.
35220 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
35222 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
35223 Don't include <sysdep.h> nor <init-arch.h>.
35224 (_ZGVdN8v_sinf): Removed.
35226 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35228 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35229 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
35230 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
35231 s_rint-sse4_1 and s_rintf-sse4_1.
35232 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
35233 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
35234 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
35235 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
35236 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
35237 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
35238 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
35239 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
35240 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
35241 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
35242 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
35243 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35245 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
35246 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
35247 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35248 (__ceilf): Removed.
35249 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
35250 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
35251 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35252 (__floor): Removed.
35253 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
35254 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
35255 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35256 (__floorf): Removed.
35257 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
35258 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
35259 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35260 (__nearbyint): Removed.
35261 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
35262 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
35263 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35264 (__nearbyintf): Removed.
35265 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
35266 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
35267 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35269 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
35270 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
35271 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35272 (__rintf): Removed.
35274 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35276 * sysdeps/i386/start.S (_start): Check Check PIC instead of
35277 SHARED. Avoid dynamic relocation against main in static PIE.
35279 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35282 * elf/Makefile (CFLAGS-tst-prelink.c): New.
35283 (LDFLAGS-tst-prelink): Likewise.
35285 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35287 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
35288 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
35289 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
35290 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
35291 (INTERNAL_SYSCALL_NCS): Likewise.
35292 (LOADARGS_1): Likewise.
35293 (LOADARGS_5): Likewise.
35294 (RESTOREARGS_1): Likewise.
35295 (RESTOREARGS_5): Likewise.
35297 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35299 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
35300 (MEMPCPY_SYMBOL): Likewise.
35301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35302 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
35303 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
35305 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35306 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
35308 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
35309 (__hidden_ver1): Don't use in libc.a.
35310 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
35311 (__mempcpy): Don't create a weak alias in libc.a.
35312 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
35314 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
35315 (__hidden_ver1): Don't use in libc.a.
35317 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35319 * config.make.in (have-insert): New.
35320 * configure.ac (libc_cv_insert): New. Set to yes if linker
35321 supports INSERT in linker script.
35322 (AC_SUBST(libc_cv_insert): New.
35323 * configure: Regenerated.
35324 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
35325 if $(have-insert) == yes.
35327 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35329 * elf/Makefile (tests): Add vismain only if
35330 $(have-protected-data) == yes.
35331 (tests-pie): Likewise.
35333 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35336 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
35337 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
35339 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35342 * sysdeps/i386/i586/memset.S
35343 (__memset_zero_constant_len_parameter): Removed.
35344 * sysdeps/i386/i686/memset.S
35345 (__memset_zero_constant_len_parameter): Likewise.
35346 * sysdeps/i386/i686/multiarch/memset_chk.S
35347 (__memset_zero_constant_len_parameter): Likewise.
35348 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
35351 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35353 * stdlib/getentropy.c (getentropy): Change return type to int.
35355 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35357 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
35359 2017-08-03 Joseph Myers <joseph@codesourcery.com>
35361 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
35363 * math/s_nexttowardf.c (__nexttowardf): Likewise.
35364 * sysdeps/generic/math_private.h (ieee_double_shape_type):
35366 (ieee_float_shape_type): Likewise.
35367 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
35368 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
35369 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35370 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35371 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
35372 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
35373 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
35374 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35375 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
35377 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35378 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35379 (__ieee754_yn): Likewise.
35380 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35381 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35382 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
35384 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35385 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
35386 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
35387 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
35388 (__erfc): Likewise.
35389 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
35390 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
35391 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
35392 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
35393 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
35394 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
35396 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
35397 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
35398 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
35399 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
35400 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35401 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35402 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35403 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35404 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35405 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35406 (__issignaling): Likewise.
35407 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35408 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35409 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35411 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35412 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35413 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35414 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35416 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35418 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35419 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35420 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35421 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35422 (__erfcf): Likewise.
35423 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35424 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35425 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35426 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35428 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35429 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35431 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35432 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35433 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35434 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35435 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35436 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35437 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35438 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35440 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35442 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35444 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35445 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35447 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35449 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35450 (__ieee754_ynl): Likewise.
35451 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35452 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35454 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35456 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35457 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35458 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35460 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35461 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35462 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35463 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35464 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35465 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35466 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35467 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35469 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35470 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35471 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35473 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35474 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35475 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35476 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35477 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35478 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35480 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35482 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35484 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35486 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35487 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35488 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35489 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35490 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35491 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35492 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35494 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35496 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35497 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35499 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35500 (__ieee754_remainderl): Likewise.
35501 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35502 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35503 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35504 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35506 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35507 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35509 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35510 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35511 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35512 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35513 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35514 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35516 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35517 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35518 (__ieee754_y0l): Likewise.
35521 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35522 (__ieee754_y1l): Likewise.
35525 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35526 (__ieee754_ynl): Likewise.
35527 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35528 (__ieee754_lgammal_r): Likewise.
35529 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35531 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35532 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35533 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35534 (__erfcl): Likewise.
35535 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35536 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35538 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35539 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35540 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35541 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35542 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35543 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35544 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35546 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35547 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35548 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35549 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35550 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35552 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35553 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35555 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35556 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35557 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35558 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35559 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35561 2017-08-03 Florian Weimer <fweimer@redhat.com>
35564 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35565 on memory allocation failure.
35567 2017-08-03 Alan Modra <amodra@gmail.com>
35569 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35570 tst-tlsopt-powerpc.c with function name change and no test harness.
35571 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35572 Call tls_get_addr_opt_test.
35573 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35574 (modules-names): Add mod-tlsopt-powerpc.
35575 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35576 (tst-tlsopt-powerpc): Depend on .so.
35577 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35578 define. Expand use in TLS_GD and TLS_LD.
35580 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35582 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35584 * sysdeps/posix/shm_open.c: Include <pthread.h>.
35586 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35589 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35590 comparing size with that of double.
35591 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35592 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35593 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35594 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35595 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35596 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35597 unsigned __int128 types.
35599 2017-08-02 Steve Ellcey <sellcey@cavium.com>
35601 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35602 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35603 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35604 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35605 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35607 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35609 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35611 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35613 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35615 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35616 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35617 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35618 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35619 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35620 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35621 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35623 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35626 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35627 bit-field expressions passed to sizeof or typeof.
35628 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35629 (__TGMATH_F128): Likewise.
35630 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35631 (__TGMATH_CF128): Likewise.
35632 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35633 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35634 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35635 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35636 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35637 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35638 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35639 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35640 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35641 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35642 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35643 (__TGMATH_UNARY_IMAG): Likewise.
35644 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35645 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35646 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35648 (define_vars_for_type): Handle bit_field type specially.
35649 (Tests.__init__): Declare structure with bit-field element.
35651 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35654 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35655 (MEMCPY_CHK): Define only if SHARED is defined.
35656 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35658 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35661 See ChangeLog.18 for earlier changes.