1 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4 * posix/tst-mmap-offset.c: Mention BZ #24699.
5 (do_test_bz21270): Rename to do_test_large_offset and use
6 mmap64_maximum_offset to check for maximum expected offset value.
7 * sysdeps/generic/mmap_info.h: New file.
8 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
9 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
12 2019-07-10 DJ Delorie <dj@redhat.com>
13 Sergei Trofimovich <slyfox@inbox.ru>
17 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
19 * nss/tst-nss-db-endgrent.c: New.
20 * nss/tst-nss-db-endgrent.root: New.
21 * nss/tst-nss-db-endpwent.c: New.
22 * nss/tst-nss-db-endpwent.root: New.
23 * nss/Makefile: Add new tests.
24 * support/links-dso-program-c.c: Add selinux dependency.
25 * support/links-dso-program.cc: Add selinux dependency.
26 * support/Makefile: Build those with -lselinux if enabled.
28 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
30 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
31 DT_AARCH64_VARIANT_PCS check.
32 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
33 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
36 2019-07-10 Andreas Schwab <schwab@suse.de>
39 * malloc/malloc.h (__malloc_check_init): Don't declare.
40 * include/malloc.h (__malloc_check_init): Likewise.
41 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
42 * manual/memory.texi (__malloc_check_init): Don't mention it.
44 2019-07-10 Mao Han <han_mao@c-sky.com>
46 * locale/Makefile: Fix tst-locale-locpath arguments passing.
48 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
50 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
51 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
53 2019-07-08 DJ Delorie <dj@redhat.com>
56 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
57 * io/tst-ftw-lnk.c: New test.
58 * io/Makefile: Run it.
60 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
62 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
63 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
64 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
65 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
66 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
67 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
68 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
69 Adjust implementation path.
70 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
71 Adjust implementation path.
72 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
73 Adjust implementation path.
74 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
75 (libm-sysdep_routines): Add s_log* objects.
76 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
77 CFLAGS-s_logb-power7.c): New fule.
78 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
80 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
82 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
84 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
86 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
87 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
88 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
90 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
92 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
94 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
96 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
97 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
98 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
100 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
104 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
107 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
108 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
109 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
110 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
111 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
113 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
114 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
115 powerpc32 integer 0 converting to -0.
117 * benchtests/Makefile (bench-math): Add logb.
118 * benchtests/logb-inputs: New file.
119 * benchtests/logbf-inputs: New file.
121 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
122 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
123 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
124 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
129 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
130 sysdep_routines): Add s_modf* objects.
131 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
132 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
135 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
139 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
142 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
145 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
148 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
151 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
153 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
154 twoM500, twoM600, two60factor, pdnum): Remove.
155 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
156 (__ieee754_hypot): Replace static variables with inline definition,
157 remove ununsed branches.
158 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
159 (libm-sysdep_routines): Remove e_hypot-* objects.
160 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
161 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
163 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
164 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
165 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
166 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
167 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
169 * benchtests/Makefile (bench-math): Add hypot.
170 * benchtests/hypot-inputs: New file.
172 2019-07-08 Vincent Chen <vincentc@andestech.com>
174 * sysdeps/unix/sysv/linux/dl-vdso.h
175 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
177 2019-07-04 Andreas Schwab <schwab@suse.de>
180 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
182 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
184 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
185 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
186 * sysdeps/aarch64/sys/ifunc.h: New file.
187 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
188 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
190 2019-07-01 Florian Weimer <fweimer@redhat.com>
193 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
194 Replace __vfork with __libpthread_version_placeholder for
196 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
197 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
199 * nptl/pt-vfork.c: Remove file.
200 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
201 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
202 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
203 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
204 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
205 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
206 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
207 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
208 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
209 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
210 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
211 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
212 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
213 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
214 Remove vfork, __vfork.
215 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
217 (GLIBC_2.1.2): Replace __vfork with
218 __libpthread_version_placeholder.
219 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
220 Remove vfork, __vfork.
221 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
223 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
225 (GLIBC_2.1.2): Replace __vfork with
226 __libpthread_version_placeholder.
227 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
229 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
230 (GLIBC_2.4): Remove vfork, __vfork.
231 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
232 (GLIBC_2.0): Remove vfork.
233 (GLIBC_2.1.2): Replace __vfork with
234 __libpthread_version_placeholder.
235 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
236 (GLIBC_2.18): Remove vfork, __vfork.
237 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
238 (GLIBC_2.0): Remove vfork.
239 (GLIBC_2.2): Remove __vfork.
240 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
241 (GLIBC_2.2): Remove vfork, __vfork.
242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
243 (GLIBC_2.0): Remove vfork.
244 (GLIBC_2.1.2): Replace __vfork with
245 __libpthread_version_placeholder.
246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
247 (GLIBC_2.3): Remove vfork, __vfork.
248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
249 (GLIBC_2.17): Likewise.
250 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
251 (GLIBC_2.0): Remove vfork.
252 (GLIBC_2.1.2): Replace __vfork with
253 __libpthread_version_placeholder.
254 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
255 (GLIBC_2.2): Remove vfork, __vfork.
256 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
258 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
259 (GLIBC_2.0): Remove vfork.
260 (GLIBC_2.1.2): Replace __vfork with
261 __libpthread_version_placeholder.
262 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
263 (GLIBC_2.2): Remove vfork, __vfork.
264 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
265 (GLIBC_2.2.5): Likewise.
266 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
267 (GLIBC_2.16): Likewise.
268 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
269 Remove __errno_location.
271 2019-07-02 Florian Weimer <fweimer@redhat.com>
274 * malloc/Depend: Add nptl and htl, due to potential indirect
275 libpthread dependency of memusagestat.
277 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
279 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
282 2019-07-01 Florian Weimer <fweimer@redhat.com>
284 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
285 variant for arm-linux-gnueabi.
287 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
290 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
292 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
293 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
294 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
295 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
296 and tst-cet-legacy-mod-6c.
297 (CFLAGS-tst-cet-legacy-5a.c): New.
298 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
299 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
300 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
301 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
302 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
303 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
304 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
305 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
306 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
307 ($(objpfx)tst-cet-legacy-5a): Likewise.
308 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
309 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
310 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
311 ($(objpfx)tst-cet-legacy-5b): Likewise.
312 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
313 (tst-cet-legacy-5b-ENV): Likewise.
314 ($(objpfx)tst-cet-legacy-6a): Likewise.
315 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
316 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
317 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
318 ($(objpfx)tst-cet-legacy-6b): Likewise.
319 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
320 (tst-cet-legacy-6b-ENV): Likewise.
321 * sysdeps/x86/tst-cet-legacy-5.c: New file.
322 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
323 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
324 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
325 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
326 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
327 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
328 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
329 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
330 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
331 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
332 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
333 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
334 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
336 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
338 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
339 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
340 (__fegetround_ISA300) New.
341 (__fegetround_ISA2) New.
342 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
343 (_FPU_MFFS): Move implementation...
345 (_FPU_MFFSL): Move implementation....
346 (_FPU_GET_RC_ISA300): Here. New.
347 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
348 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
349 (fegetenv_status): New.
350 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
351 instead of fegetenv_register().
352 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
354 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
356 * benchtests/bench-math-inlines.c: Increase iterations.
357 * benchtests/bench-memcmp.c: Likewise.
358 * benchtests/bench-rawmemchr.c: Likewise.
359 * benchtests/bench-strcmp.c: Likewise.
360 * benchtests/bench-strcpy_chk.c: Likewise.
361 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
362 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
363 (INNER_LOOP_ITERS_SMALL): Likewise.
364 * benchtests/bench-strncat.c: Increase iterations.
365 * benchtests/bench-strncmp.c: Increase iterations.
366 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
367 * benchtests/bench-strrchr.c: Increase iterations.
368 * benchtests/bench-strstr.c: Keep iterations unchanged.
369 * benchtests/bench-strtod.c: Increase iterations.
371 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
373 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
374 with INNER_LOOP_ITERS_LARGE.
375 * benchtests/bench-memchr.c: Likewise.
376 * benchtests/bench-rawmemchr.c: Likewise.
377 * benchtests/bench-strcat.c: Likewise.
378 * benchtests/bench-strchr.c: Likewise.
379 * benchtests/bench-string.h: Likewise.
380 * benchtests/bench-strlen.c: Likewise.
381 * benchtests/bench-strncpy.c: Likewise.
382 * benchtests/bench-strnlen.c: Likewise.
384 2019-06-28 Florian Weimer <fweimer@redhat.com>
386 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
387 Use mmap instead of malloc. malloc with M_PERTURB writes to the
388 entire allocated memory range.
390 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
392 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
393 (prepare_version_base): New helper inline function.
394 (prepare_version): New macro replacing PREPARE_VERSION.
395 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
397 2019-06-28 Florian Weimer <fweimer@redhat.com>
400 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
401 mismatch in a versioned symbol reference.
402 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
403 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
404 tst-sonamemove-dlopen.
405 (module-names): Add tst-sonamemove-linkmod1,
406 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
407 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
408 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
409 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
410 (tst-sonamemove-runmod1.so): Link against
411 tst-sonamemove-runmod2.so.
412 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
413 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
414 tst-sonamemove-runmod2.so.
415 (tst-sonamemove-dlopen): Link with -ldl.
416 (tst-sonamemove-dlopen.out): Likewise.
417 * elf/tst-sonamemove-link.c: New file.
418 * elf/tst-sonamemove-dlopen.c: Likewise.
419 * elf/tst-sonamemove-linkmod1.c: Likewise.
420 * elf/tst-sonamemove-linkmod1.map: Likewise.
421 * elf/tst-sonamemove-runmod1.c: Likewise.
422 * elf/tst-sonamemove-runmod1.map: Likewise.
423 * elf/tst-sonamemove-runmod2.c: Likewise.
424 * elf/tst-sonamemove-runmod2.map: Likewise.
426 2019-06-28 Florian Weimer <fweimer@redhat.com>
428 * support/xdlfcn.h (xdlvsym): Declare function.
429 * support/xdlfcn.c (xdlvsym): Define funciton.
431 2019-06-28 Florian Weimer <fweimer@redhat.com>
434 io: Remove the copy_file_range emulation.
435 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
436 not define and call copy_file_range_compat.
437 * io/Makefile (tests-static, tests-internal): Do not add
438 tst-copy_file_range-compat.
439 * io/copy_file_range-compat.c: Remove file.
440 * io/copy_file_range.c (copy_file_range): Define as stub.
441 * io/tst-copy_file_range-compat.c: Remove file.
442 * io/tst-copy_file_range.c (xdevfile): Remove variable.
443 (typical_sizes): Update comment. Remove 16K sizes.
444 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
446 (find_maximum_offset, pipe_as_source, pipe_as_destination)
447 (delayed_write_failure_beginning, delayed_write_failure_end)
448 (cross_device_failure, enospc_failure_1, enospc_failure)
449 (oappend_failure): Remove functions.
450 (tests): Adjust test case list.
451 (do_test): Remove file system search code. Check for ENOSYS from
452 copy_file_range. Do not free xdevfile.
453 * manual/llio.texi (Copying File Data): Document ENOSYS error from
454 copy_file_range. Do not document the EXDEV error, which future
455 kernels may not report. Update the wording to reflect that
456 further errors are possible.
457 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
458 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
460 * sysdeps/unix/sysv/linux/arm/kernel-features.h
461 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
463 * sysdeps/unix/sysv/linux/kernel-features.h
464 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
466 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
467 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
469 * sysdeps/unix/sysv/linux/sh/kernel-features.h
470 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
473 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
475 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
476 used as a mask for the mode argument of __vfprintf_internal.
477 * stdio-common/printf-parse.h (printf_arg): New union member:
479 * stdio-common/vfprintf-internal.c
480 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
481 (PARSE_FLOAT_VA_ARG): Likewise.
482 (SETUP_FLOAT128_INFO): Likewise.
483 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
485 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
486 floating-point value to the new union member, pa_float128.
487 (printf_positional): Zero-initialize args_value[cnt] with memset.
489 2019-06-27 Florian Weimer <fweimer@redhat.com>
492 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
493 buffer size if necessary.
494 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
496 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
498 (large_buffer_checks): Likewise.
499 (do_test): Call large_buffer_checks.
501 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
503 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
504 * sysdeps/x86/dl-lookupcfg.h: Here.
505 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
507 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
509 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
510 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
511 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
513 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
514 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
515 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
516 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
517 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
519 * sysdeps/powerpc/powerpc32/fpu/Makefile
520 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
521 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
522 and fctidz optimization.
523 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
524 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
526 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
527 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
528 CFLAGS-s_lround-power5+.c): New rule.
529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
549 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
550 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
551 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
552 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
553 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
554 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
555 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
557 2019-06-26 Vincent Chen <vincentc@andestech.com>
559 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
560 specific system calls, fp_udfiex_crtl and udftrap.
562 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
564 * nptl/tst-eintr1.c (tf1): Add return statement.
565 (do_test): Remove unused th variable.
567 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
569 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
570 Return error if get_character fails.
572 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
574 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
576 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
579 * localedata/locales/szl_PL (day): Use the correct Unicode
580 sequences instead of non-ASCII characters.
582 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
585 * localedata/locales/szl_PL (abday): Spelling corrections.
589 (alt_mon): This, then apply spelling corrections.
590 (mon): New entry, month names in the genitive case.
592 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
595 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
596 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
597 (thousands_sep): Likewise.
598 (grouping): Set to 3;3.
600 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
602 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
603 PREPARE_VERSION_KNOWN.
604 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
605 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
607 (VDSO_HASH_LINUX_2_6_39): Likewise.
608 (VDSO_NAME_LINUX_4_9): Likewise.
609 (VDSO_HASH_LINUX_4_9): Likewise.
610 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
611 * sysdeps/unix/sysv/linux/powerpc/init-first.c
612 (_libc_vdso_platform_setup): Likewise.
613 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
614 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
616 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
619 2019-06-20 Mike Crowe <mac@mcrowe.com>
621 * nptl/eintr.c: Use libsupport.
622 * nptl/tst-eintr1.c: Likewise.
623 * nptl/tst-eintr2.c: Likewise.
624 * nptl/tst-eintr3.c: Likewise.
625 * nptl/tst-eintr4.c: Likewise.
626 * nptl/tst-eintr5.c: Likewise.
627 * nptl/tst-mutex-errorcheck.c: Likewise.
628 * nptl/tst-mutex5.c: Likewise.
630 * support/test-driver.h: Add verbose_printf macro.
632 * support/xtime.h: Add xclock_now() helper function.
634 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
635 Florian Weimer <fweimer@redhat.com>
638 * libio/genops.c (_IO_unbuffer_all)
639 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
640 buffers and access _IO_FILE_complete members of legacy libio streams.
641 * libio/tst-bz24228.c: New file.
642 * libio/tst-bz24228.map: Likewise.
643 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
644 [build-shared] (generated): Add tst-bz24228.mtrace and
646 [run-built-tests && build-shared] (tests-special): Add
647 $(objpfx)tst-bz24228-mem.out.
648 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
649 ($(objpfx)tst-bz24228-mem.out): New rule.
651 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
653 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
654 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
655 (__FPU_MFFSL): Likewise.
656 (_FPU_SETCW): Likewise.
658 2019-06-19 Stan Shebs <stanshebs@google.com>
659 Raoni Fassina Firmino <raoni@linux.ibm.com>
662 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
663 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
664 static-linking version.
665 * sysdeps/unix/sysv/linux/powerpc/Makefile
666 (tests-static): Add test-gettimebasefreq-static.
668 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
671 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
674 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
675 between the currency symbol and the minus sign).
676 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
678 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
681 * string/test-strcasestr.c (check_result): Add NULL check.
682 * nss/tst-field.c (check_rewrite): Likewise.
683 * benchtests/bench-strstr.c (do_one_test): Likewise.
684 * string/test-strstr.c (check_result): Likewise.
685 * argp/argp-test.c (popt): Increase size of buf to 12.
686 * benchtests/bench-malloc-simple.c (bench):
687 Do not initialize tests array out of bounds.
689 2019-06-19 Florian Weimer <fweimer@redhat.com>
692 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
695 2019-06-18 Florian Weimer <fweimer@redhat.com>
698 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
699 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
700 fail when called from dlopen.
701 * elf/Makefile [have-fpie && build-shared] (tests): Add
703 (tst-dlopen-pie): Link with -ldl.
704 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
705 * elf/tst-dlopen-pie.c (do_test): New file.
707 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
710 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
711 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
712 between the currency symbol and the minus sign).
713 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
714 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
716 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
718 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
719 sysdep-rtld-routines): Remove rules.
720 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
721 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
722 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
723 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
724 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
725 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
726 vDSO path for SHARED.
727 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
728 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
729 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
730 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
731 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
732 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
734 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
735 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
736 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
737 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
738 CFLAGS-s_llround-power5+.c): New rule.
739 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
741 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
743 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
745 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
747 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
750 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
752 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
754 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
755 * sysdeps/powerpc/powerpc64/fpu/Makefile
756 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
757 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
758 (libm-sysdep_routines): Remove s_llround-* objects.
759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
769 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
770 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
771 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
772 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
773 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
774 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
775 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
776 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
777 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
778 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
779 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
780 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
781 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
782 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
784 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
785 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
786 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
787 * sysdeps/powerpc/powerpc32/fpu/Makefile
788 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
789 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
791 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
792 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
793 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
795 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
796 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
797 CFLAGS-s_lrint-ppc32.c): New rule.
798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
808 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
809 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
810 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
811 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
823 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
824 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
826 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
827 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
829 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
831 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
834 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
836 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
838 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
839 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
840 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
841 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
842 (libm-sysdep_routines): Remove s_llrint-* objects.
843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
848 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
849 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
850 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
851 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
852 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
853 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
854 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
855 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
856 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
858 2019-06-14 Florian Weimer <fweimer@redhat.com>
860 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
861 argument to __glibc_has_include to inhibit macro expansion.
863 2019-06-14 Florian Weimer <fweimer@redhat.com>
865 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
866 function-like macro, so that __has_include can inhibit expansion
869 2019-06-13 Joseph Myers <joseph@codesourcery.com>
871 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
875 Allow memset in libc.so.
877 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
879 * sysdeps/aarch64/dl-dtprocnum.h: New file.
880 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
881 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
882 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
883 symbols at load time.
884 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
886 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
888 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
889 (DT_AARCH64_VARIANT_PCS): Define.
891 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
894 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
904 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
905 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
906 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
907 Remove s_finite* objects.
908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
914 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
915 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
916 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
917 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
919 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
920 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
923 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
933 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
934 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
936 Remove s_isinf* and s_isinf* objects.
937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
943 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
944 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
945 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
946 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
948 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
949 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
951 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
952 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
953 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
955 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
971 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
972 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
973 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
974 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
975 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
976 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
977 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
978 Remove s_isnan-* and s_isnanf-* objects.
979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
988 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
989 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
990 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
991 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
992 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
993 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
994 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
995 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
997 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
998 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
1000 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
1001 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
1002 CFLAGS-bench-isfinite.c): New rule.
1003 * benchtests/isnan-input: New file.
1004 * benchtests/isinf-input: New file.
1005 * benchtests/isfinite-input: New file.
1007 * sysdeps/powerpc/fpu/s_copysign.c: New file.
1008 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
1009 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
1010 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
1011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1012 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
1014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
1022 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1023 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
1024 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
1025 Remove s_copysign-power6 s_copysign-ppc64.
1026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
1028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
1030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
1032 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1033 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
1034 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1035 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
1037 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
1038 round_to_integer_float, round_mode): Add RINT handling.
1039 (reset_fenv_mode): New symbol.
1040 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
1041 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
1042 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
1043 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1044 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1045 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1047 2019-06-12 Florian Weimer <fweimer@redhat.com>
1050 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
1051 * libio/freopen.c (freopen): Use it.
1053 2019-06-12 Florian Weimer <fweimer@redhat.com>
1055 Linux: Deprecate sysctl.
1056 * include/sysctl.h (__sysctl): Remove declaration.
1057 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
1059 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
1060 (sysctl): Add deprecation attribute.
1061 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
1062 directly, to avoid the deprecation warning. Do not include
1064 (__sysctl): Remove hidden alias.
1066 2019-06-12 Florian Weimer <fweimer@redhat.com>
1068 Linux: Use kernel headers for statx definitions if available.
1069 * include/bits/statx-generic.h: New file.
1070 * include/bits/types/struct_statx.h: Likewise.
1071 * include/bits/types/struct_statx_timestamp.h: Likewise.
1072 * io/Makefile (headers): Add bits/statx-generic.h.
1073 * io/bits/statx-generic.h: New file. Partly copied from
1075 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
1076 define original_statx.
1077 * io/bits/types/struct_statx.h: Likewise.
1078 * io/bits/types/struct_statx_timestamp.h: Likewise.
1079 (statx_generic): Use original_statx.
1080 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
1081 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
1083 2019-06-12 Florian Weimer <fweimer@redhat.com>
1085 * misc/sys/cdefs.h (__glibc_has_include): Define.
1087 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1089 * string/memmem.c (__memmem): Rewrite to improve performance.
1091 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1093 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
1095 (two_way_long_needle): Block inlining.
1096 * string/strstr.c (strstr2): Add new function.
1097 (strstr3): Likewise.
1098 (STRSTR): Completely rewrite strstr to improve performance.
1100 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
1102 * benchtests/bench-strstr.c (test_hard_needle): New function.
1104 2019-06-10 Joseph Myers <joseph@codesourcery.com>
1106 * malloc/tst-calloc.c: Include <libc-diag.h>.
1107 (null_test): Ignore -Wunused-result around calls to calloc.
1108 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
1109 (do_test): Ignore -Wunused-result around call to malloc.
1111 2019-06-07 Florian Weimer <fweimer@redhat.com>
1113 Linux: Add getdents64 system call.
1114 * include/dirnent.h (getdents): Add comment and change buffer
1115 argument type to void *.
1116 (getdents64): Likewise. Add hidden prototype.
1117 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
1119 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
1121 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
1122 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
1123 argument type to void *.
1124 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
1125 Add hidden definition and getdents64 alias.
1126 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1128 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
1129 * manual/filesys.texi (Accessing Directories): Add Low-level
1130 Directory Access node reference.
1131 (Opening a Directory): Cross-reference it.
1132 (Low-level Directory Access): New node.
1133 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1135 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1137 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1138 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1140 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1142 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1144 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1146 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1148 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1150 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1152 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1153 (GLIBC_2.30): Likewise.
1154 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1155 (GLIBC_2.30): Likewise.
1156 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1157 (GLIBC_2.30): Likewise.
1158 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1159 (GLIBC_2.30): Likewise.
1160 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1163 (GLIBC_2.30): Likewise.
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1165 (GLIBC_2.30): Likewise.
1166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1167 (GLIBC_2.30): Likewise.
1168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1169 (GLIBC_2.30): Likewise.
1170 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1172 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1174 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1176 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1177 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1179 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1181 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1183 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1186 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
1188 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
1192 (_FPU_GETCW): Use __FPU_MFFS().
1193 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
1195 2019-06-06 Florian Weimer <fweimer@redhat.com>
1197 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
1198 internal GCC preprocessor identifier __has_include__.
1200 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
1202 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
1203 with call to equivalent function.
1205 2019-06-04 Florian Weimer <fweimer@redhat.com>
1207 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
1208 (do_release_shlib): Adjust for __twalk_r.
1209 (__gconv_release_shlib): Call __twalk_r.
1211 2019-06-04 Andreas Schwab <schwab@suse.de>
1214 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
1215 no irreversible characters occurred.
1216 * iconv/gconv_simple.c (internal_ucs4_loop)
1217 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
1218 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
1219 (ucs4_internal_loop_single, internal_ucs4le_loop)
1220 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
1221 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
1222 (ucs4le_internal_loop_single): Add const to outend.
1223 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
1224 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
1225 * iconv/Makefile (tests): Add tst-iconv7.
1226 * iconv/tst-iconv7.c: New file.
1228 2019-06-03 Joseph Myers <joseph@codesourcery.com>
1230 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
1232 2019-06-01 Florian Weimer <fweimer@redhat.com>
1234 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
1235 * sysdeps/unix/sysv/linux/arm/Makefile
1236 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
1237 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
1238 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
1239 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
1240 compatibility symbols.
1242 2019-05-31 Florian Weimer <fweimer@redhat.com>
1244 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
1245 system calls for the arm architecture: breakpoint, get_tls,
1246 set_tls, usr26, usr32.
1248 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1250 * sysdeps/powerpc/Makefile
1251 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
1252 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
1253 Declare '.machine power7' to get support for ldbrx.
1254 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
1255 directive based on the directory of the file.
1256 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1257 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1258 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
1259 '.machine' directive.
1260 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
1261 (VADDUQM_V7_V8): Remove.
1262 (__STRCASECMP): Replace macros with actual instructions.
1263 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
1264 '.machine' directive.
1265 (VCLZD_V8_v7): Remove.
1266 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
1268 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1270 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
1272 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
1274 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1276 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1278 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
1279 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
1280 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
1281 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
1282 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1283 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1285 2019-05-28 mansayk <6688000@gmail.com>
1288 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
1290 2019-05-28 mansayk <6688000@gmail.com>
1293 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
1294 (abmon): Likewise, but remove the trailing dots.
1296 2019-05-28 Joseph Myers <joseph@codesourcery.com>
1298 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
1300 2019-05-27 Florian Weimer <fweimer@redhat.com>
1302 * nptl/nptl-init.c: Add comment.
1304 2019-05-24 Florian Weimer <fweimer@redhat.com>
1306 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
1307 struct in_addr/struct in6_addr alignment.
1309 2019-05-23 Joseph Myers <joseph@codesourcery.com>
1311 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1312 (F_SEAL_FUTURE_WRITE): New macro.
1314 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
1316 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
1317 * elf/tst-ldconfig-bad-aux-cache.c: New file.
1318 * elf/tst-ldconfig_aux-cache.root: New directory.
1319 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
1320 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
1321 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
1323 2019-05-22 Zack Weinberg <zackw@panix.com>
1325 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
1327 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
1328 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
1330 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
1331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
1335 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
1336 Issue an #error if used with a compiler in SPE-float mode.
1337 * sysdeps/powerpc/powerpc32/__longjmp_common.S
1338 * sysdeps/powerpc/powerpc32/setjmp_common.S
1339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
1341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
1342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
1343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1345 Remove code to preserve SPE register state.
1347 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1348 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1349 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
1350 Remove __SPE__ ifndefs.
1352 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
1354 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
1355 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
1356 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
1357 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
1358 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
1359 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
1360 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
1361 (INNER_LOOP_ITERS_MEDIUM): New define.
1362 (INNER_LOOP_ITERS_SMALL): New define.
1363 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
1364 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
1365 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
1366 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
1367 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
1369 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
1371 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
1373 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
1374 (SEMTIMEDOP_IPC_ARGS): Likewise.
1376 2019-05-21 Florian Weimer <fweimer@redhat.com>
1379 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
1380 before updating __counter field and release it afterwards. Add
1382 * iconv/gconv.h (struct __gconv_step): Mention synchronization
1383 requirement for __counter member.
1385 2019-05-21 Florian Weimer <fweimer@redhat.com>
1388 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
1389 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
1390 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
1391 instead of __gconv_release_step.
1392 * libio/Makefile (tests): Add tst-wfile-gconv.
1393 (tests-container): Add tst-wfile-ascii.
1394 (tst-wfile-gconv-ENV): Enable mtrace.
1395 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
1396 (tests-special): Add tst-wfile-gconv-mem.out.
1397 (tst-wfile-gconv.out): Depend on locales.
1398 (tst-wfile-gconv-mem.out): Add mtrace rule.
1399 * libio/tst-wfile-ascii.c: New file.
1400 * libio/tst-wfile-gconv.c: Likewise.
1402 2019-05-20 Florian Weimer <fweimer@redhat.com>
1405 libio: Remove codecvt vtable.
1406 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
1408 * libio/iofgetpos.c (_IO_new_fgetpos): Call
1409 __libio_codecvt_encoding.
1410 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
1411 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1412 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
1413 * libio/iofwide.c (__libio_codecvt): Remove variable.
1414 (_IO_fwide): Do not copy __libio_codecvt.
1415 (__libio_codecvt_out): Rename from do_out and export.
1416 (do_unshift): Remove function.
1417 (__libio_codecvt_in): Rename from do_in and export.
1418 (__libio_codecvt_encoding): Rename from do_encoding and export.
1419 (do_always_noconv): Remove function.
1420 (__libio_codecvt_length): Rename from do_length and export.
1421 (do_max_length): Remove function.
1422 * libio/libio.h (enum __codecvt_result): Remove definition; moved
1424 (struct _IO_codecvt): Remove fields __codecvt_destr,
1425 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
1426 __codecvt_do_encoding, __codecvt_do_always_noconv,
1427 __codecvt_do_length, __codecvt_do_max_length.
1428 * libio/libioP.h (enum __codecvt_result): Define; moved from
1430 (__libio_codecvt_out, __libio_codecvt_in)
1431 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
1433 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
1434 (_IO_wfile_underflow): Call __libio_codecvt_in.
1435 (_IO_wfile_underflow): Likewise.
1436 (_IO_wfile_underflow_mmap): Likewise.
1437 (_IO_wfile_sync): Call __libio_codecvt_encoding,
1438 __libio_codecvt_length.
1439 (adjust_wide_data): Call __libio_codecvt_encoding,
1441 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
1442 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
1443 __libio_codecvt_length.
1445 2019-05-20 Florian Weimer <fweimer@redhat.com>
1447 * support/support.h (support_sbindir_prefix): Declare.
1448 (support_install_rootsbindir): Update comment.
1449 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
1450 * support/support_paths.c (support_sbindir_prefix): Define.
1452 2019-05-20 Mike Crowe <mac@mcrowe.com>
1454 * support/timespec.c: Add backslash to correct newline in failure
1457 * support/timespec.h: Correct confusing comment.
1459 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1461 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
1463 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
1464 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
1465 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
1466 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
1469 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
1472 2019-05-20 Joseph Myers <joseph@codesourcery.com>
1474 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
1475 (NT_ARM_PACG_KEYS): Likewise.
1477 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
1479 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
1480 (tcache_put): Remove redundant assert.
1481 (tcache_get): Remove redundant asserts.
1482 (__libc_malloc): Check tcache count is not zero.
1483 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
1485 2019-05-17 Florian Weimer <fweimer@redhat.com>
1487 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
1489 2019-05-16 Joseph Myers <joseph@codesourcery.com>
1491 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1492 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
1494 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
1496 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1497 (__ASSUME_STATX): Likewise.
1499 2019-05-16 Florian Weimer <fweimer@redhat.com>
1501 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
1503 (LINE_PARSER): Do not map IPv4 addresses.
1504 (internal_nis_gethostent_r): Remove flags argument. Adjust call
1506 (_nss_nis_gethostent_r): Always pass AF_INET to
1507 internal_nis_gethostent_r.
1508 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1510 (_nss_nis_gethostbyname2_r): Adjust call to
1511 internal_nis_gethostent_r.
1512 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
1513 call to internal_nis_gethostent_r.
1514 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
1516 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
1517 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
1518 Remove flags argument. Do not map IPv4 addresses.
1519 (internal_nisplus_gethostent_r): Adjust call to
1520 _nss_nisplus_parse_hostent.
1521 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1522 to _nss_nisplus_parse_hostent.
1523 (_nss_nisplus_gethostbyname2_r): Adjust call to
1524 internal_gethostbyname2_r.
1525 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
1526 Adjust call to internal_gethostbyname2_r.
1527 (_nss_nisplus_gethostbyaddr_r): Adjust call to
1528 _nss_nisplus_parse_hostent.
1529 (_nss_nisplus_gethostbyname4_r): Adjust call to
1530 internal_gethostbyname2_r.
1532 2019-05-16 Florian Weimer <fweimer@redhat.com>
1534 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
1536 (LINE_PARSER): Remove address mapping.
1537 (EXTRA_ARGS_VALUE): Remove flags argument.
1538 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
1539 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
1540 gethostbyname3_multi.
1541 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
1542 _nss_files_gethostbyname3_r.
1543 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
1545 2019-05-16 Florian Weimer <fweimer@redhat.com>
1547 * support/support_test_compare_blob.c (report_blob): Report
1548 incorrect NULL blobs.
1550 2019-05-15 Mark Wielaard <mark@klomp.org>
1553 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
1554 __libc_once_get (once) and static_buf == NULL.
1555 (__dlerror): Check we have a valid key, set result to static_buf
1558 2019-05-15 Andreas Schwab <schwab@suse.de>
1561 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
1562 __codecvt_do_length.
1563 * libio/Makefile (tests): Add tst-wfile-sync.
1564 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
1565 * libio/tst-wfile-sync.c: New file.
1566 * libio/tst-wfile-sync.input: New file.
1568 2019-05-15 Florian Weimer <fweimer@redhat.com>
1570 nss: Turn __nss_database_lookup into a compatibility symbol.
1571 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
1572 __nss_database_lookup.
1573 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
1574 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
1575 __nss_database_lookup.
1576 (__nss_next): Move to …
1577 * nss/compat-lookup.c (nss_next): … here. Change it to fail
1579 (__nss_database_lookup): New function.
1580 * nss/Versions (GLIBC_2.0): Update comment.
1581 (GLIBC_PRIVATE): Export __nss_database_lookup2.
1582 * grp/initgroups.c (internal_getgrouplist): Call
1583 __nss_database_lookup2 instead of __nss_database_lookup.
1584 * nscd/aicache.c (addhstaiX): Likewise.
1585 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1586 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1587 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
1588 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
1589 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
1591 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
1592 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
1593 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1595 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
1597 * support/support.h (support_install_rootsbindir): New variable.
1598 * support/support_paths.c: Likewise.
1599 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
1601 2019-05-15 Florian Weimer <fweimer@redhat.com>
1603 * iconv/gconv.h (__gconv_transliterate): Move declaration …
1604 * iconv/gconv_int.h (__gconv_transliterate): … here.
1605 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
1606 * iconv/skeleton.c: Likewise.
1608 2019-05-14 Florian Weimer <fweimer@redhat.com>
1610 Linux: Add the tgkill function.
1611 * bits/signal_ext.h: New file.
1612 * manual/signal.texi (Signaling Another Process): Document tgkill.
1613 * signal/Makefile (headers): Add bits/signal_ext.h.
1614 * signal/signal.h: Include <bits/signal_ext.h>.
1615 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
1616 (tst-tgkill): Link with libpthread.
1617 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
1618 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
1619 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
1620 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1622 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1623 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1624 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1625 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1626 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1627 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1628 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1629 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1630 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1631 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1632 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1634 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1635 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1636 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
1643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
1645 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1646 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1647 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1648 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1649 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1650 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1651 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1652 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1654 2019-05-14 Carlos O'Donell <carlos@redhat.com>
1656 * manual/search.texi (Tree Search Function): Adjust twalk_r
1659 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1662 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
1665 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
1666 * support/support.h (support_bindir_prefix): New variable.
1667 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
1669 * config.make.in (bindir): New variable.
1671 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
1672 (lll_trylock): Call __lll_trylock.
1673 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
1674 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
1675 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1676 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1677 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
1678 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
1679 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1680 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1681 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
1682 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
1683 lowlevellock-futex.h.
1685 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1686 initialization for LLL_LOCK_INITIALIZER different than 0.
1687 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
1688 Assume LLL_LOCK_INITIALIZER being 0.
1689 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
1690 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
1692 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
1693 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
1695 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
1696 Optimize futex call and add systemtap probe.
1698 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
1699 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
1700 __libc_disable_asynccancel, __librt_enable_asynccancel,
1701 __libc_disable_asynccancel, __librt_enable_asynccancel,
1702 __librt_disable_asynccancel): Move to ...
1703 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
1704 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
1705 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
1706 * sysdeps/generic/single-thread.h: New file.
1707 * sysdeps/unix/sysdep.h: Include single-thread.h.
1708 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
1709 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1711 2019-05-08 Mike FABIAN <mfabian@redhat.com>
1714 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
1715 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1717 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1718 * localedata/unicode-gen/PropList.txt: Likewise.
1719 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1720 * localedata/charmaps/UTF-8: Regenerate.
1721 * localedata/locales/i18n_ctype: Likewise.
1722 * localedata/locales/tr_TR: Likewise.
1723 * localedata/locales/translit_circle: Likewise.
1724 * localedata/locales/translit_cjk_compat: Likewise.
1725 * localedata/locales/translit_combining: Likewise.
1726 * localedata/locales/translit_compat: Likewise.
1727 * localedata/locales/translit_font: Likewise.
1728 * localedata/locales/translit_fraction: Likewise.
1730 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
1733 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
1734 (do_set_tcache_count): Only update if count is small enough.
1735 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
1737 2019-05-10 Florian Weimer <fweimer@redhat.com>
1739 * nptl/sem_close.c (struct walk_closure): Define.
1740 (walker): Adjust for __twalk_r.
1741 (sem_close): Call __twalk_r.
1743 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1745 * support/timespec.c (test_timespec_before_impl,
1746 test_timespec_equal_or_after_impl): print timespec member as intmax_t
1749 2019-05-09 Mike Crowe <mac@mcrowe.com>
1751 * nptl/tst-abstime.c: Use libsupport.
1753 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
1754 small bug where only tv.tv_usec was checked which could cause an
1755 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
1758 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
1761 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
1762 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
1764 * nptl/tst-cond11.c: Use libsupport.
1766 * support/timespec.h: New file. Provide timespec helper functions
1767 along with macros in the style of those in check.h.
1768 * support/timespec.c: New file. Implement check functions declared
1769 in support/timespec.h.
1770 * support/timespec-add.c: New file from gnulib containing
1771 timespec_add implementation that handles overflow.
1772 * support/timespec-sub.c: New file from gnulib containing
1773 timespec_sub implementation that handles overflow.
1774 * support/README: Mention timespec.h.
1776 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1779 * nptl/Makefile: Move tst-eintr1 to xtests.
1781 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1783 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
1785 (round_mode): Add definition for TRUNC.
1786 * sysdeps/powerpc/fpu/s_trunc.c: New file.
1787 * sysdeps/powerpc/fpu/s_truncf.c: New file.
1788 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
1789 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1790 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
1792 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
1794 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
1796 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1798 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
1800 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
1802 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
1804 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
1806 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
1807 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
1808 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1809 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
1810 s_truncf-power5+, and s_truncf-ppc64.
1811 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
1812 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
1814 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
1815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
1816 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
1817 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
1819 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
1821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
1822 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
1823 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1824 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
1825 s_truncf-power5+, and s_truncf-ppc64.
1826 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
1828 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1829 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
1831 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1832 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1833 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1834 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1835 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1837 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1839 (round_mode): Add definition for ROUND.
1840 (round_to_integer_float): Likewise.
1841 * sysdeps/powerpc/fpu/s_round.c: New file.
1842 * sysdeps/powerpc/fpu/s_roundf.c: New file.
1843 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
1844 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1845 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
1847 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
1849 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
1851 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1853 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
1855 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
1857 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
1859 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
1861 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
1862 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
1863 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1864 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
1865 s_roundf-power5+, and s_roundf-ppc64.
1866 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
1867 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
1869 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
1870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
1871 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
1872 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
1874 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
1876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
1877 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
1878 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1879 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
1880 s_roundf-power5+, and s_roundf-ppc64.
1881 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
1883 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1884 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
1886 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1887 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1888 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1889 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1890 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1892 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1894 (round_mode): Add definition for FLOOR.
1895 * sysdeps/powerpc/fpu/s_floor.c: New file.
1896 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1897 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1898 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1915 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1916 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1917 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1918 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1919 s_floorf-power5+, and s_floorf-ppc64.
1920 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1921 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1923 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1925 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1926 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1928 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1931 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1932 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1933 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1934 s_floorf-power5+, and s_floorf-ppc64.
1935 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1943 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1944 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1945 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1946 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1948 2019-05-08 Mike Crowe <mac@mcrowe.com>
1950 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1951 clock_gettime wrapper for use in tests that fails the test rather
1952 than returning failure.
1954 * support/xtime.h: New file to declare xclock_gettime.
1956 * support/Makefile: Add xclock_gettime.c.
1958 * support/README: Mention xtime.h.
1960 2019-05-08 Florian Weimer <fweimer@redhat.com>
1962 malloc/tst-mallocfork2: Use process-shared barriers.
1963 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1964 (signal_count, sigusr1_sender_pid): Remove.
1965 (iterations): Define constant.
1966 (shared): New variable.
1967 (sigusr1_received): Update comment.
1968 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1969 (signal_sender): Optional use barriers to avoid sending signals
1970 during irrelevant times.
1971 (do_it): Initialize variable shared. Use xfork for error
1972 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1973 the iteration count, independent of signal delivery. Check for
1974 deadlocks in fork. Introduce barriers for reducing signal
1975 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1976 replaced by the barriers. Count signals during fork/free/malloc
1978 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1980 2019-05-07 Joseph Myers <joseph@codesourcery.com>
1982 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1984 (clock_adjtime64) New syscall.
1985 (clock_getres_time64) Likewise.
1986 (clock_gettime64) Likewise.
1987 (clock_nanosleep_time64) Likewise.
1988 (clock_settime64) Likewise.
1989 (futex_time64) Likewise.
1990 (io_pgetevents_time64) Likewise.
1991 (io_uring_enter) Likewise.
1992 (io_uring_register) Likewise.
1993 (io_uring_setup) Likewise.
1994 (mq_timedreceive_time64) Likewise.
1995 (mq_timedsend_time64) Likewise.
1996 (pidfd_send_signal) Likewise.
1997 (ppoll_time64) Likewise.
1998 (pselect6_time64) Likewise.
1999 (recvmmsg_time64) Likewise.
2000 (rt_sigtimedwait_time64) Likewise.
2001 (sched_rr_get_interval_time64) Likewise.
2002 (semtimedop_time64) Likewise.
2003 (timer_gettime64) Likewise.
2004 (timer_settime64) Likewise.
2005 (timerfd_gettime64) Likewise.
2006 (timerfd_settime64) Likewise.
2007 (utimensat_time64) Likewise.
2009 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
2010 version to 9 branch.
2012 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2014 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
2015 __memmove_thunderx2 to the list of implementations
2016 * sysdeps/aarch64/multiarch/memmove.c: Likewise
2017 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
2018 (__memmove_thunderx2): Rewritten using SIMD ld/st
2019 (__memcpy_thunderx2): Fixed handling overlapping cases.
2020 Used ldp/stp instead of ldr/str if possible. Made loops
2023 2019-05-03 Florian Weimer <fweimer@redhat.com>
2025 * misc/tst-tsearch.c (walk_tree): Add more error checking.
2027 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2030 * elf/tst-pldd.c (in_str_list): New function.
2031 (do_test): Add default names for ld and libc as one option.
2033 2019-05-02 Florian Weimer <fweimer@redhat.com>
2035 misc: Add twalk_r function.
2036 * include/search.h (__twalk_r): Declare.
2037 * manual/examples/twalk.c: New file.
2038 * manual/search.texi (Tree Search Function): Document twalk_r.
2039 * misc/Versions (2.30): Export twalk_r.
2040 (GLIBC_PRIVATE): Export __twalk_r.
2041 * misc/search.h [__USE_GNU] (twalk_r): Declare.
2042 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
2043 (twalk_r): Add weak alias.
2044 * misc/tst-tsearch.c (struct walk_trace_element): Define.
2045 (walk_trace): New variable.
2046 (struct twalk_with_twalk_r_closure): Define.
2047 (twalk_with_twalk_r_action): New function.
2048 (twalk_with_twalk_r): Likewise.
2049 (walk_action): Call walk_trace_add.
2050 (walk_tree_with): Rename from walk_tree. Add walk argument.
2051 (walk_tree): New function.
2052 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
2053 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2055 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2057 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2058 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
2059 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
2060 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
2061 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
2062 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2064 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2066 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2068 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2069 (GLIBC_2.30): Likewise.
2070 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2071 (GLIBC_2.30): Likewise.
2072 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2073 (GLIBC_2.30): Likewise.
2074 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2075 (GLIBC_2.30): Likewise.
2076 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2079 (GLIBC_2.30): Likewise.
2080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2081 (GLIBC_2.30): Likewise.
2082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2083 (GLIBC_2.30): Likewise.
2084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2085 (GLIBC_2.30): Likewise.
2086 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2088 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2090 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2092 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2093 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2095 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2097 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2099 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2102 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
2104 Make mktime etc. compatible with __time64_t
2105 Keep these functions compatible with Gnulib while adding
2106 __time64_t support. The basic idea is to move private API
2107 declarations from include/time.h to time/mktime-internal.h, since
2108 the former file cannot easily be shared with Gnulib whereas the
2110 Also, do some other minor cleanup while in the neighborhood.
2111 * include/time.h: Include stdbool.h, time/mktime-internal.h.
2112 (__mktime_internal): Move this prototype to time/mktime-internal.h,
2113 since Gnulib needs it.
2114 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
2115 Move these macros to time/mktime-internal.h, since Gnulib needs them.
2116 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
2117 (in_time_t_range): New static function.
2118 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
2119 so that glibc users are not tempted to use __time64_t.
2120 * time/mktime-internal.h: Rewrite so that it does both glibc
2121 and Gnulib work. Include time.h if not _LIBC.
2122 (mktime_offset_t) [!_LIBC]: Define for gnulib.
2123 (__time64_t): New type or macro, moved here from
2125 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
2126 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
2127 from include/time.h.
2128 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
2129 New macros, taken from GNulib.
2130 (__mktime_internal): New prototype, moved here from include/time.h.
2131 * time/mktime.c (mktime_min, mktime_max, convert_time)
2132 (ranged_convert, __mktime_internal, __mktime64):
2133 * time/timegm.c (__timegm64):
2134 Use __time64_t, not time_t.
2135 * time/mktime.c: Stop worrying about whether time_t is floating-point.
2136 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
2138 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
2139 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
2140 for libc_hidden_def.
2142 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
2144 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
2146 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
2149 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
2150 from `-Wmaybe-uninitialized'.
2151 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
2153 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2155 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
2157 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
2158 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
2159 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
2160 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
2161 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2163 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
2164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
2168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
2172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
2174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
2176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
2178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
2180 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
2181 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
2182 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
2183 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
2185 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
2187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
2188 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
2189 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
2191 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
2193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
2194 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
2196 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2197 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
2198 s_ceilf-power5+, and s_ceilf-ppc64.
2199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
2201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
2202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
2203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
2204 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2205 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2206 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2207 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2209 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
2210 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
2211 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
2213 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
2215 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
2216 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
2217 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
2218 (sem_getvalue): Likewise.
2220 2019-04-26 Florian Weimer <fweimer@redhat.com>
2222 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
2223 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
2225 2019-04-26 Florian Weimer <fweimer@redhat.com>
2227 Makeconfig: Move -Wl,-rpath-link options before library references.
2228 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
2229 (link-libc): Remove $(link-libc-rpath-link).
2231 2019-04-25 Florian Weimer <fweimer@redhat.com>
2233 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2234 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2235 (+link-static-before-libc): Remove $(CC).
2236 (+link-static, +link-static-tests): Add $(CC).
2237 (+link-before-libc): Remove $(CC).
2238 (+link, +link-pie, +link-pie-printers): Add $(CC).
2240 2019-04-26 Florian Weimer <fweimer@redhat.com>
2242 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2243 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2244 (+link-static-before-libc): Remove $(CC).
2245 (+link-static, +link-static-tests): Add $(CC).
2246 (+link-before-libc): Remove $(CC).
2247 (+link, +link-pie, +link-pie-printers): Add $(CC).
2249 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
2252 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
2254 2019-04-25 Florian Weimer <fweimer@redhat.com>
2256 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
2257 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
2258 (bench-link-targets): New variable.
2259 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
2261 2019-04-25 Florian Weimer <fweimer@redhat.com>
2263 Also enable BIND_NOW for programs if --enable-bind-now.
2264 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
2265 (+link-pie): Use $(link-extra-flags).
2266 (+link-static): Likewise.
2267 [! $(build-pie-default)] (+link): Likewise.
2268 * manual/install.texi (Configuring and compiling): Update
2269 --enable-bind-now description.
2270 * INSTALL: Regenerated.
2272 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
2274 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
2275 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
2277 2019-04-24 Mike Frysinger <vapier@gentoo.org>
2280 * malloc/Makefile (others): Add memusagestat.
2281 ($(objpfx)memusagestat): Delete rule.
2282 (LDLIBS-memusagestat): New variable.
2284 2019-04-24 Florian Weimer <fweimer@redhat.com>
2286 * locale/Makefile (tests-special): Guard setting by
2287 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
2288 to run while cross-compiling.
2290 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2293 * elf/Makefile (tests-container): Add tst-pldd.
2294 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
2295 (E(find_maps)): Avoid use alloca, use default read file operations
2296 instead of explicit LFS names, and fix infinite loop.
2297 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
2298 (get_process_info): Use _Static_assert instead of assert, use default
2299 directory operations instead of explicit LFS names, and free some
2301 * elf/tst-pldd.c: New file.
2303 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
2305 * malloc/arena.c (do_set_mallopt_check): Removed.
2307 2019-04-23 Florian Weimer <fweimer@redhat.com>
2309 locale: Add LOCPATH diagnostics to the locale program.
2310 * locale/programs/locale.c (setlocale_failed): New variable.
2311 (try_setlocale): New function.
2312 (quote_string): Likewise.
2313 (setlocale_diagnostics): Likewise.
2314 (main): Call try_setlocale instead of setlocale. Call
2315 setlocale_diagnostics.
2316 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
2317 (tst-locale-locpath.out): New target.
2318 * locale/tst-locale-locpath.sh: New file.
2320 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2322 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
2325 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2328 * malloc/hooks.c (malloc_check, realloc_check): Use
2329 __builtin_add_overflow on overflow check and adapt to
2330 checked_request2size change.
2331 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
2332 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
2333 allocation size to PTRDIFF_MAX.
2334 (REQUEST_OUT_OF_RANGE): Remove macro.
2335 (checked_request2size): Change to inline function and limit maximum
2336 requested size to PTRDIFF_MAX.
2337 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
2338 maximum allocation size to PTRDIFF_MAX.
2339 (_mid_memalign): Use _int_memalign call for overflow check.
2340 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
2341 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
2342 limit maximum requested size to PTRDIFF_MAX.
2343 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
2344 valloc, pvalloc): Add __attribute_alloc_size__.
2345 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
2346 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
2347 larger than PTRDIFF_MAX.
2348 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
2349 around tests of malloc with negative sizes.
2350 * malloc/tst-posix_memalign.c (do_test): Likewise.
2351 * malloc/tst-pvalloc.c (do_test): Likewise.
2352 * malloc/tst-valloc.c (do_test): Likewise.
2353 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
2354 with resulting size allocation larger than PTRDIFF_MAX with
2355 reallocarray_nowarn.
2356 (reallocarray_nowarn): New function.
2357 * NEWS: Mention the malloc function semantic change.
2359 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2361 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
2362 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2364 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
2365 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2366 * sysdeps/powerpc/fpu/s_fma.c: New file.
2367 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2369 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
2370 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
2372 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
2373 the magic flag store.
2374 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2376 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
2378 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
2379 Remove rt_sigreturn call.
2381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2382 Remove rt_sigreturn call.
2383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
2386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2388 * support/Makefile (libsupport-routines): Add support_subprocess,
2389 xposix_spawn, xposix_spawn_file_actions_addclose, and
2390 xposix_spawn_file_actions_adddup2.
2391 (tst-support_capture_subprocess-ARGS): New rule.
2392 * support/capture_subprocess.h (support_capture_subprogram): New
2394 * support/support_capture_subprocess.c (support_capture_subprocess):
2395 Refactor to use support_subprocess and support_capture_poll.
2396 (support_capture_subprogram): New function.
2397 * support/tst-support_capture_subprocess.c (write_mode_to_str,
2398 str_to_write_mode, test_common, parse_int, handle_restart,
2399 do_subprocess, do_subprogram, do_multiple_tests): New functions.
2400 (do_test): Add support_capture_subprogram tests.
2401 * support/subprocess.h: New file.
2402 * support/support_subprocess.c: Likewise.
2403 * support/xposix_spawn.c: Likewise.
2404 * support/xposix_spawn_file_actions_addclose.c: Likewise.
2405 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
2406 * support/xspawn.h: Likewise.
2408 2019-04-17 Mike Gerow <gerow@google.com>
2410 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
2413 2019-04-11 Florian Weimer <fweimer@redhat.com>
2415 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
2416 domain with empty string.
2417 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2419 2019-04-11 Florian Weimer <fweimer@redhat.com>
2421 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
2423 (alloc_buffer_next): Change return type to non-const. Update
2426 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
2428 * manual/time.texi (Formatting Calendar Time): Add missing percent
2429 sign to conversion specifier.
2431 2019-04-09 Carlos O'Donell <carlos@redhat.com>
2432 Kwok Cheung Yeung <kcy@codesourcery.com>
2435 * malloc/mtrace.c: Define prototypes for all hooks.
2436 (set_default_hooks): New function.
2437 (set_trace_hooks): Likewise.
2438 (save_default_hooks): Likewise.
2439 (tr_freehook): Use new s*_hooks functions.
2440 (tr_mallochook): Likewise.
2441 (tr_reallochook): Likewise.
2442 (tr_memalignhook): Likewise.
2444 (muntrace): Likewise.
2446 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2448 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
2449 (generic_stpcpy): New function.
2450 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
2451 (generic_stpncpy): New function.
2452 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
2453 (generic_strcat): New function.
2454 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
2455 (generic_strcpy): New function.
2456 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
2457 (STUPID_STRNCAT): Remove function.
2458 (generic_strncat): New function.
2459 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
2460 (STUPID_STRNCPY): Remove function.
2461 (generic_strncpy): New function.
2462 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
2463 (generic_strnlen): New function.
2464 (memchr_strnlen): New function.
2465 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
2466 (memchr_strlen): Likewise.
2468 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2470 * benchtests/bench-strstr.c (input): Add realistic input text.
2471 (stupid_strstr): Remove function.
2472 (basic_strstr): Add function.
2473 (twoway_strstr): Add function.
2474 (do_one_test): Add result checking.
2475 (do_test): Use new input text. Remove accidental early matches.
2476 (test_main): Improve range of tests, reduce unaligned cases.
2478 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2480 * benchtests/bench-memmem.c (simple_memmem): Remove function.
2481 (basic_memmem): Add function.
2482 (twoway_memmem): Add function.
2484 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2486 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
2487 * benchtests/bench-malloc-thread.c: Likewise.
2488 * benchtests/bench-skeleton.c: Likewise.
2489 * benchtests/bench-strtod.c: Likewise.
2490 * benchtests/bench-timing.h: Likewise.
2492 2019-04-08 Florian Weimer <fweimer@redhat.com>
2494 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
2496 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
2497 RES_INSECURE2 security checks.
2498 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
2499 RES_INSECURE2 handling.
2501 2019-04-08 Florian Weimer <fweimer@redhat.com>
2503 resolv: Remove support for RES_USE_INET6 and the inet6 option.
2504 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
2505 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
2507 * resolv/Makefile (tests): Remove tst-res_use_inet6.
2508 (tests-internal): Update justification for tst-resolv-res_init,
2509 tst-resolv-res_init-thread.
2510 (tst-res_use_inet6): Remove target.
2511 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
2512 * resolv/res_debug.c (p_option): Remove "inet6" support.
2513 * resolv/res_init.c (res_setoptions): Likewise.
2514 * resolv/res_use_inet6.h: Remove file.
2515 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
2517 (res_use_inet6): Always return false.
2518 * resolv/resolv.h (RES_USE_INET6): Remove definition.
2519 * resolv/resolv_context.h: Adjust file comment.
2520 (struct resolv_context): Update comment on __next field.
2521 (__resolv_context_put): Update comment.
2522 * resolv/tst-res_use_inet6.c: Remove file.
2523 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
2525 (test_cases): Adjust test case.
2526 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
2527 (thread_byname2_af_inet6): Use old byname_inet6 code.
2528 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
2529 (gai): Remove do_inet6 argument.
2530 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
2531 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
2532 (thread_gai_unspec_inet6): Remove functions.
2533 (do_test): Adjust thread_funcs.
2534 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
2536 (gaih_inet): Do not disable RES_USE_INET6 flag.
2538 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2540 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
2541 and remove redundant code.
2543 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2545 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
2547 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
2548 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
2550 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
2552 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
2554 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2555 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
2556 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
2557 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
2558 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2559 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
2560 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2561 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
2563 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
2564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2566 Remove wcsrchr optimizations.
2567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2569 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
2572 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
2574 * sysdeps/powerpc/power6/wcschr.c: Remove file.
2575 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
2577 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
2579 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
2581 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2582 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
2583 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
2584 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
2585 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2586 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
2587 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2588 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
2590 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
2591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2592 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2593 Remove wcschr optimizations.
2594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2596 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
2599 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
2601 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
2602 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
2604 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
2606 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
2608 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2609 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
2610 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
2611 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
2612 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2613 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
2614 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2615 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
2617 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
2618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2619 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2620 Remove wcscpy optimizations.
2621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2623 * include/loop_unroll.h: New file.
2624 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
2625 besides generic implementation.
2627 2019-04-03 DJ Delorie <dj@redhat.com>
2629 * time/tst-strftime3.c (tm_to_printed): Disable warning about
2630 snprintf truncating output.
2632 2019-04-02 DJ Delorie <dj@redhat.com>
2634 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
2637 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2640 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
2642 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
2643 (mkreftable): Add rules for the new Japanese era and the new dates.
2645 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2646 Rafal Luzynski <digitalfreak@lingonborough.com>
2648 * time/tst-strftime2.c (date_t): Explicitly define the type.
2649 (dates): Use natural month and year numbers to express a date.
2650 (is_before): New function to compare dates.
2651 (mkreftable): Minor improvements to simplify maintenance.
2652 (do_test): Reflect the changes in dates array.
2655 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
2656 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
2657 * time/tst-strftime2.c (locales): Likewise.
2658 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
2659 2010-04-01, and 2011-04-01.
2660 (mkreftable): Add rules for the new locales and the new dates.
2662 2019-04-01 Carlos O'Donell <carlos@redhat.com>
2664 * localedata/locales/ja_JP: Add comments to era entries.
2666 2019-04-01 DJ Delorie <dj@redhat.com>
2669 * time/strptime_l.c (%Ey): Fix fencepost error.
2670 * time/tst-strftime3.c: New.
2671 * time/Makefile (tests): Add tst-strftime3.
2673 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
2675 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
2676 conditional branch to DIVBYZERO. Fix unwind info.
2677 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
2678 excb after conditional branch to $powerof2. Add missing unop
2679 instructions and .align directives and reorder instructions to
2682 2019-04-01 Richard Henderson <rth@twiddle.net>
2684 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2686 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
2689 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
2691 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
2692 $libc_cv_riscv_float_abi in `test' invocation.
2693 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
2695 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
2697 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
2699 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
2701 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2702 (_GET_SI_FPSCR): Likewise.
2703 (_SET_SI_FPSCR): Likewise.
2705 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2707 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
2709 (signbit): Use builtin for clang 3.3.
2710 (isinf): Use builtin for clang 3.7.
2712 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2714 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
2716 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
2718 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
2721 2019-03-25 Mike Crowe <mac@mcrowe.com>
2723 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
2724 pthread_rwlock_timedrdlock with calls to
2725 pthread_rwlock_timedwrlock to ensure that the latter is tested
2726 too. Use new function name in diagnostic messages too.
2728 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
2729 (do_test) Use libsupport test macros rather than hand-coded
2730 conditionals and error messages. Ensure that sem_init returns zero
2731 rather than not -1. Use <support/test-driver.c> rather than
2734 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
2735 test macros rather than hand-coded conditionals and error messages.
2736 Use <support/test-driver.c> rather than test-skeleton.c.
2738 2019-03-25 Joseph Myers <joseph@codesourcery.com>
2740 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
2742 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
2743 (NT_MIPS_MSA): Likewise.
2745 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2747 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
2748 * benchtests/README: Update description.
2749 * benchtests/bench-timing.h: Default to hp-timing.
2750 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
2751 HP_TIMING_PRINT): Remove.
2752 (HP_TIMING_NOW): Add generic implementation.
2753 (hp_timing_t): Change to uint64_t.
2755 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
2757 * nptl/descr.h: Likewise.
2758 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
2759 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
2760 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
2761 Abstract hp-timing usage with RTLD_* macros.
2762 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
2763 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
2764 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
2765 HP_TIMING_NONAVAIL): Likewise.
2766 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2768 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
2769 HP_SMALL_TIMING_AVAIL): Likewise.
2770 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
2771 HP_SMALL_TIMING_AVAIL): Likewise.
2772 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
2773 HP_SMALL_TIMING_AVAIL): Likewise.
2774 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
2775 HP_SMALL_TIMING_AVAIL): Likewise.
2776 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2778 * sysdeps/generic/hp-timing-common.h: Update comment with
2779 HP_TIMING_AVAIL removal.
2781 * include/random-bits.h: New file.
2782 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
2783 (__res_context_mkquery): Remove usage hp-timing usage and replace with
2785 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
2786 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
2789 * include/libc-internal.h (__get_clockfreq): Remove prototype.
2790 * rt/Makefile (clock-routines): Remove get_clockfreq.
2791 * rt/get_clockfreq.c: Remove file.
2792 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2793 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
2794 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
2795 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
2796 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
2798 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
2799 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
2800 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
2801 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
2802 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
2804 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
2805 pthread_clock_settime.
2806 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
2807 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
2808 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
2809 * elf/rtld.c (_dl_start_final): Likewise.
2810 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
2811 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
2813 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
2814 (_dl_cpuclock_offset): Remove.
2815 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
2816 cpuclock_offset_ununsed.
2817 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2818 cpuclock_offset set.
2819 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2820 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2821 * nptl/pthread_clock_gettime.c: Remove file.
2822 * nptl/pthread_clock_settime.c: Likewise.
2823 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
2824 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
2825 and CLOCK_PROCESS_CPUTIME_ID support.
2826 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
2827 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
2828 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
2829 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
2830 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
2832 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
2834 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2836 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
2837 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
2838 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
2840 * sysdeps/s390/memmem-arch13.S: New file.
2841 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
2842 if it is only used as fallback.
2843 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
2844 * sysdeps/s390/multiarch/ifunc-impl-list.c
2845 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
2847 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2849 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
2850 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
2851 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
2853 * sysdeps/s390/multiarch/ifunc-impl-list.c
2854 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
2855 * sysdeps/s390/strstr-arch13.S: New file.
2856 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
2857 if it is only used as fallback.
2858 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
2860 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2862 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
2863 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
2864 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
2865 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
2867 * sysdeps/s390/multiarch/ifunc-impl-list.c
2868 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
2869 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
2870 S390_IS_ARCH13_MIE3): New defines.
2872 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2874 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
2875 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
2876 * sysdeps/s390/configure.ac: Add checks for arch13 support.
2877 * sysdeps/s390/configure: Regenerated.
2879 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2881 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
2882 Add vxe2, vxp, dflt, sort flags.
2883 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
2884 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
2886 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
2887 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
2888 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
2889 HWCAP_S390_DFLT): Define.
2891 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2894 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2895 of compiler warning.
2896 * locale/programs/ld-collate.c (collate_output): Likewise.
2898 2019-03-21 DJ Delorie <dj@redhat.com>
2901 * iconv/iconvconfig.c (write_output): Replace floating point math
2902 with integer math to avoid imprecise results.
2903 * locale/programs/ld-collate.c (collate_output): Likewise.
2905 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
2907 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2908 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2910 2019-03-20 mansayk <6688000@gmail.com>
2913 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2914 (abday): Likewise, but remove the trailing dots.
2916 2019-03-19 Joseph Myers <joseph@codesourcery.com>
2918 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2920 (HWCAP_PACA): Likewise.
2921 (HWCAP_PACG): Likewise.
2922 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2924 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2926 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2928 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2931 2019-03-15 Joseph Myers <joseph@codesourcery.com>
2933 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2935 (old_getpagesize): New syscall.
2937 2019-03-15 Felix Yan <felixonmars@archlinux.org>
2940 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2941 * localedata/locales/cmn_TW (era): Likewise.
2942 * localedata/locales/hak_TW (era): Likewise.
2943 * localedata/locales/lzh_TW (era): Likewise.
2944 * localedata/locales/nan_TW (era): Likewise.
2946 2019-03-14 Adam Maris <amaris@redhat.com>
2948 * malloc/malloc.c (_int_malloc): Check for large bin list
2949 corruption when inserting unsorted chunk.
2951 2019-03-14 Florian Weimer <fweimer@redhat.com>
2953 Remove obsolete, never-implemented XSI STREAMS declarations.
2954 * manual/terminal.texi (Allocation): Remove portability note and
2956 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2958 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2959 * sysdeps/unix/inet/Subdirs (streams): Remove.
2960 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2961 (conformtest-headers-UNIX98): Likewise.
2962 (conformtest-headers-XOPEN2K): Likewise.
2963 (conformtest-headers-POSIX2008): Likewise.
2964 * posix/compat-streams.c: New file.
2965 * posix/Makefile (routines): Add it.
2966 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2967 getpmsg, isastream, putmsg, putpmsg.
2968 (GLIBC_2.30): New section.
2969 * bits/stropts.h: Remove file.
2970 * bits/xtitypes.h: Likewise.
2971 * conform/data/stropts.h-data: Likewise.
2972 * include/stropts.h: Likewise.
2973 * include/sys/stropts.h: Likewise.
2974 * include/xtitypes.h: Likewise.
2975 * streams/Makefile: Likewise.
2976 * streams/fattach.c: Likewise.
2977 * streams/fdetach.c: Likewise.
2978 * streams/getmsg.c: Likewise.
2979 * streams/getpmsg.c: Likewise.
2980 * streams/isastream.c: Likewise.
2981 * streams/putmsg.c: Likewise.
2982 * streams/putpmsg.c: Likewise.
2983 * streams/stropts.h: Likewise.
2984 * streams/sys/stropts.h: Likewise.
2985 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2986 * sysdeps/s390/bits/xtitypes.h: Likewise.
2987 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2988 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2989 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2990 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2991 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2992 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2993 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2994 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2995 * sysdeps/x86/bits/xtitypes.h: Likewise.
2997 2019-03-14 Florian Weimer <fweimer@redhat.com>
2999 * nss/tst-nss-files-alias-truncated.c (do_test): Load
3001 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
3002 but not with libnss_files.
3003 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
3005 2019-03-14 Zack Weinberg <zackw@panix.com>
3007 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
3008 Specify encoding="utf-8" when opening headers to check.
3010 2019-03-13 Joseph Myers <joseph@codesourcery.com>
3012 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3014 (Context.checkout_tar): Handle variable major version for Linux
3017 2019-03-13 Florian Weimer <fweimer@redhat.com>
3020 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
3022 2019-03-13 Zack Weinberg <zackw@panix.com>
3024 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
3026 * include/inttypes.h: Adjust to match.
3027 * include/stdint.h: New wrapper.
3029 2019-03-13 Zack Weinberg <zackw@panix.com>
3031 * scripts/check-obsolete-constructs.py: New test script.
3032 * scripts/check-installed-headers.sh: Remove tests for
3033 obsolete typedefs, superseded by check-obsolete-constructs.py.
3034 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
3035 as a special test. Update commentary.
3036 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
3037 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
3039 * posix/sys/types.h (__u_intN_t): Remove.
3040 (u_int8_t): Typedef using __uint8_t.
3041 (u_int16_t): Typedef using __uint16_t.
3042 (u_int32_t): Typedef using __uint32_t.
3043 (u_int64_t): Typedef using __uint64_t.
3045 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
3047 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
3049 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
3050 Ignore types other than AT_HWCAP.
3051 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
3052 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
3054 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
3055 in the case of falling back to generic output mechanism.
3056 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
3059 2019-03-12 Florian Weimer <fweimer@redhat.com>
3061 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
3063 2019-03-12 Florian Weimer <fweimer@redhat.com>
3066 resolv: Enable full ICMP errors for UDP DNS sockets
3067 * resolv/res_enable_icmp.c: New file.
3068 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
3069 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
3070 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
3073 2019-03-11 Mao Han <han_mao@c-sky.com>
3075 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
3076 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
3078 2019-03-11 Mao Han <han_mao@c-sky.com>
3080 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
3081 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3082 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3084 2019-03-11 Mao Han <han_mao@c-sky.com>
3086 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
3088 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
3091 2019-03-11 Mao Han <han_mao@c-sky.com>
3093 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
3094 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
3097 2019-03-08 Mike FABIAN <mfabian@redhat.com>
3100 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
3101 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3103 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3104 * localedata/unicode-gen/PropList.txt: Likewise.
3105 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3106 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
3107 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
3108 * localedata/charmaps/UTF-8: Regenerate.
3109 * localedata/locales/i18n_ctype: Likewise.
3110 * localedata/locales/tr_TR: Likewise.
3111 * localedata/locales/translit_circle: Likewise.
3112 * localedata/locales/translit_cjk_compat: Likewise.
3113 * localedata/locales/translit_combining: Likewise.
3114 * localedata/locales/translit_compat: Likewise.
3115 * localedata/locales/translit_font: Likewise.
3116 * localedata/locales/translit_fraction: Likewise.
3118 2019-03-07 Joseph Myers <joseph@codesourcery.com>
3120 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
3121 than after operators.
3122 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
3123 (setitimer_locked): Likewise.
3124 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3125 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3126 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
3127 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
3128 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
3129 (PPC_CPU_SUPPORTED): Likewise.
3130 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
3131 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
3132 (stat_overflow): Likewise.
3133 (statfs_overflow): Likewise.
3134 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
3135 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
3136 (eq_ttyname_r): Likewise.
3137 (run_chroot_tests): Likewise.
3139 2019-03-07 Florian Weimer <fweimer@redhat.com>
3141 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
3144 2019-03-07 Martin Liska <mliska@suse.cz>
3146 * math/Makefile: Change location where math-vector-fortran.h is
3148 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
3149 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
3150 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
3151 * scripts/check-installed-headers.sh: Skip Fortran header files.
3152 * scripts/check-wrapper-headers.py: Likewise.
3154 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3156 * nptl/nptl-init.c (__have_futex_clock_realtime,
3157 __have_futex_clock_realtime): Remove definition.
3158 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
3159 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
3160 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
3161 __ASSUME_FUTEX_CLOCK_REALTIME support.
3162 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3163 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3164 * sysdeps/unix/sysv/linux/kernel-features.h
3165 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
3166 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
3169 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3171 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
3172 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
3173 __GI___wcscpy and wcscpy.
3175 2019-03-04 Florian Weimer <fweimer@redhat.com>
3177 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
3179 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
3182 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
3184 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
3185 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3187 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3190 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
3191 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
3193 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3195 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
3197 (do_test): Likewise.
3198 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3199 (do_test_call_varg): Likewise.
3200 (do_test_call_rarg): Likewise.
3201 * sysdeps/ieee754/ldbl-opt/Makefile
3202 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
3204 ($(objpfx)tst-nldbl-warn.c): New rule.
3205 ($(objpfx)tst-nldbl-error.c): Likewise.
3206 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
3209 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3212 * include/bits/error-ldbl.h: New file.
3213 * include/error.h: Include stdarg.h. Declare internal functions
3214 __error_internal and __error_at_line_internal.
3215 * misc/Makefile (headers): Add bits/error-ldbl.h.
3216 * misc/bits/error-ldbl.h: New file.
3217 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
3218 avoid the inclusion of bits/error.h.
3219 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
3220 and __nldbl_error_at_line.
3221 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
3222 (__nldbl_error, __ndlbl_error_at_line): New functions.
3223 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
3224 Redirect error and error_at_line.
3225 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3234 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3235 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3236 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3238 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3241 * include/bits/err-ldbl.h: New file.
3242 * include/err.h: Add prototypes for the internal functions:
3243 __vwarnx_internal and __vwarn_internal.
3244 * misc/Makefile (headers): Add bits/err-ldbl.h.
3245 * misc/bits/err-ldbl.h: New file.
3246 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
3247 defined, i.e.: when -mlong-double-64 is in use.
3248 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
3249 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
3250 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
3251 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
3252 (VA_CALL): New macro.
3253 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
3254 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
3256 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
3257 declare prototypes for the new functions.
3258 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3267 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3268 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3269 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3271 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3273 * sysdeps/ieee754/ldbl-opt/Makefile
3274 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
3275 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
3276 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
3278 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3281 * argp/Makefile (headers): Add bits/argp-ldbl.h.
3282 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
3283 * argp/bits/argp-ldbl.h: New file.
3284 * include/argp.h: Include stdarg.h. Add prototypes for internal
3285 functions: __argp_error_internal and __argp_failure_internal.
3286 * include/bits/argp-ldbl.h: New file.
3287 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
3288 __nldbl_argp_error and __nldbl_argp_failure.
3289 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
3290 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
3291 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
3292 Redirect argp_error and argp_failure calls.
3293 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3302 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3303 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3304 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3306 2019-03-01 Florian Weimer <fweimer@redhat.com>
3309 * elf/tst-big-note-lib.S: Create a syntactically valid note.
3310 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
3311 code, to avoid creating an ABI tag note.
3312 (modules-names-nobuild): Add tst-big-note-lib.
3314 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
3316 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
3317 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
3319 2019-03-01 Florian Weimer <fweimer@redhat.com>
3322 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3323 (__netlink_assert_response): Add additional missing newlines.
3325 2019-02-28 Joseph Myers <joseph@codesourcery.com>
3327 * sysdeps/powerpc/powerpc32/dl-machine.c
3328 (__elf_machine_fixup_plt): Use space before '('.
3329 (__process_machine_rela): Likewise.
3330 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
3332 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
3334 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
3336 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
3337 (pattern): Likewise.
3339 (check_result): Likewise.
3340 (check_excepts): Likewise.
3341 (check_op): Likewise.
3342 (fail_xr): Likewise.
3343 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
3344 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
3346 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
3349 (__makecontext): Likewise.
3350 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
3353 2019-02-28 Florian Weimer <fweimer@redhat.com>
3356 elf: Add test with a local IFUNC resolver.
3357 * elf/ifuncmain9.c: New file.
3358 * elf/ifuncmain9pic.c: Likewise.
3359 * elf/ifuncmain9picstatic.c: Likewise.
3360 * elf/ifuncmain9pie.c: Likewise.
3361 * elf/ifuncmain9static.c: Likewise.
3362 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
3363 ifuncmain9static, ifuncmain9picstatic.
3364 * elf/Makefile [multi-arch && build-shared] (tests-internal):
3365 Add ifuncmain9, ifuncmain9pic.
3366 * elf/Makefile [multi-arch && build-shared && have-fpie]
3367 (ifunc-pie-tests): Add ifuncmain9pie.
3368 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
3369 (CFLAGS-ifuncmain9picstatic.c): Likewise.
3370 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
3372 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
3374 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
3375 * configure: Regenerated.
3376 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
3378 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3380 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
3381 symbol as __wcspcy instead of wcscpy.
3383 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3385 * include/stdio.h (__renameat2): New hidden prototype.
3386 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
3387 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
3388 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
3389 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
3391 2019-02-27 Joseph Myers <joseph@codesourcery.com>
3393 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
3396 * benchtests/bench-strcpy.c (do_test): Use space before '('.
3397 * benchtests/bench-string.h (cmdline_process_function): Likewise.
3398 * benchtests/bench-strlen.c (do_test): Likewise.
3399 (test_main): Likewise.
3400 * catgets/gencat.c (read_old): Likewise.
3401 * elf/cache.c (load_aux_cache): Likewise.
3402 * iconvdata/bug-iconv8.c (do_test): Likewise.
3403 * math/test-tgmath-ret.c (do_test): Likewise.
3404 * nis/nis_call.c (rec_dirsearch): Likewise.
3405 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3406 * nptl/tst-audit-threads.c (do_test): Likewise.
3407 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
3408 * nss/nss_test1.c (init): Likewise.
3409 * nss/test-netdb.c (test_hosts): Likewise.
3410 * posix/execvpe.c (maybe_script_execute): Likewise.
3411 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
3412 * stdio-common/tst-printf.c (do_test): Likewise.
3413 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
3414 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
3415 * stdlib/qsort.c (STACK_SIZE): Likewise.
3416 * stdlib/test-canon.c (do_test): Likewise.
3417 * stdlib/tst-swapcontext1.c (do_test): Likewise.
3418 * string/memcmp.c (OPSIZ): Likewise.
3419 * string/test-strcpy.c (do_test): Likewise.
3420 (do_random_tests): Likewise.
3421 * string/test-strlen.c (do_test): Likewise.
3422 (test_main): Likewise.
3423 * string/test-strrchr.c (do_test): Likewise.
3424 (do_random_tests): Likewise.
3425 * string/tester.c (test_memrchr): Likewise.
3426 (test_memchr): Likewise.
3427 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
3428 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
3429 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
3430 (read_encoded_value_with_base): Likewise.
3431 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
3432 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
3433 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
3434 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3435 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
3436 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
3438 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
3440 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
3441 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
3442 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
3444 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
3446 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
3448 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3450 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
3451 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3452 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3453 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
3454 * time/test_time.c (main): Likewise.
3456 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3458 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
3460 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
3463 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
3466 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3468 * include/wchar.h (__wcscpy): New prototype.
3469 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
3470 (__wcscpy): Route internal symbol to generic implementation.
3471 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
3472 Add internal __wcscpy alias.
3473 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
3474 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
3475 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
3476 * wcsmbs/wcscpy.c (wcscpy): Add
3477 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
3478 use generic implementation.
3479 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
3481 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
3484 * sysdeps/m68k/wcpcpy.c: Remove file.
3485 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3487 2019-02-26 Joseph Myers <joseph@codesourcery.com>
3489 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
3490 than after operators.
3491 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3492 * sysdeps/mach/hurd/getcwd.c
3493 (__hurd_canonicalize_directory_name_internal): Likewise.
3494 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
3495 (pthread_mutex_consistent): Likewise.
3496 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
3498 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
3499 (__pthread_mutex_transfer_np): Likewise.
3500 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
3501 (__pthread_mutex_unlock): Likewise.
3502 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
3503 (mtx_owned_p): Likewise.
3504 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
3505 (pthread_mutexattr_getrobust): Likewise.
3506 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
3507 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3509 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3510 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
3511 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
3512 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
3513 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3514 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3515 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
3517 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
3519 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
3520 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
3521 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
3522 (____longjmp_chk): Likewise.
3523 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
3525 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3526 (INTERNAL_SYSCALL): Likewise.
3527 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3528 (INTERNAL_SYSCALL): Likewise.
3529 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3530 (__get_clockfreq_via_cpuinfo): Likewise.
3532 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
3534 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
3535 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
3536 (WORD_COPY_BWD): Likewise.
3537 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3538 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3540 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
3541 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
3543 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
3545 2019-02-25 Joseph Myers <joseph@codesourcery.com>
3547 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
3548 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
3549 rather than after operators.
3550 * elf/cache.c (print_cache): Likewise.
3551 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
3552 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
3553 * hurd/hurdinit.c (_hurd_setproc): Likewise.
3554 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
3555 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
3556 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3557 (reauth_proc): Likewise.
3558 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
3559 (__file_name_split_at): Likewise.
3560 (__directory_name_split_at): Likewise.
3561 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3562 * hurd/port2fd.c (_hurd_port2fd): Likewise.
3563 * iconv/gconv_dl.c (do_print): Likewise.
3564 * inet/netinet/in.h (struct sockaddr_in): Likewise.
3565 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
3566 * locale/setlocale.c (new_composite_name): Likewise.
3567 * malloc/memusagestat.c (main): Likewise.
3568 * misc/fstab.c (fstab_convert): Likewise.
3569 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3571 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
3572 (getgrent_next_file): Likewise.
3573 (internal_getgrnam_r): Likewise.
3574 (internal_getgrgid_r): Likewise.
3575 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
3577 (internal_getgrent_r): Likewise.
3578 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
3579 (getpwent_next_nss): Likewise.
3580 (getpwent_next_file): Likewise.
3581 (internal_getpwnam_r): Likewise.
3582 (internal_getpwuid_r): Likewise.
3583 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
3585 (getspent_next_nss): Likewise.
3586 (internal_getspnam_r): Likewise.
3587 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3588 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
3589 * string/strchr.c (STRCHR): Likewise.
3590 * string/strchrnul.c (STRCHRNUL): Likewise.
3591 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
3592 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3593 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
3594 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
3595 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
3597 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
3598 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3599 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3600 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
3601 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
3602 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
3603 (open_file): Likewise.
3604 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
3605 (pthread_mutexattr_setprotocol): Likewise.
3606 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3607 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3608 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3609 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3610 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3612 (elf_machine_rela): Likewise.
3613 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3614 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3615 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
3616 * sysdeps/posix/rename.c (rename): Likewise.
3617 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
3618 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
3619 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
3620 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
3621 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3622 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
3623 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
3625 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
3627 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
3628 * time/tzfile.c (__tzfile_compute): Likewise.
3630 2019-02-22 Joseph Myers <joseph@codesourcery.com>
3632 * benchtests/bench-memmem.c (simple_memmem): Break lines before
3633 rather than after operators.
3634 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
3635 * crypt/md5.c (md5_finish_ctx): Likewise.
3636 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
3637 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
3638 * elf/cache.c (load_aux_cache): Likewise.
3639 * elf/dl-load.c (open_verify): Likewise.
3640 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3641 * elf/readelflib.c (process_elf_file): Likewise.
3642 * elf/rtld.c (dl_main): Likewise.
3643 * elf/sprof.c (generate_call_graph): Likewise.
3644 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
3645 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3646 * hurd/dtable.c (reauth_dtable): Likewise.
3647 * hurd/getdport.c (__getdport): Likewise.
3648 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
3649 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
3650 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
3652 * hurd/hurdioctl.c (fioctl): Likewise.
3653 * hurd/hurdselect.c (_hurd_select): Likewise.
3654 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
3655 (STOPSIGS): Likewise.
3656 * hurd/hurdstartup.c (_hurd_startup): Likewise.
3657 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
3658 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3659 * hurd/msgportdemux.c (msgport_server): Likewise.
3660 * hurd/setauth.c (_hurd_setauth): Likewise.
3661 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
3662 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
3663 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
3664 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
3665 * login/tst-utmp.c (do_check): Likewise.
3666 (simulate_login): Likewise.
3667 * mach/lowlevellock.h (lll_lock): Likewise.
3668 (lll_trylock): Likewise.
3669 * math/test-fenv.c (ALL_EXC): Likewise.
3670 * math/test-fenvinline.c (ALL_EXC): Likewise.
3671 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
3672 * nis/nis_call.c (__do_niscall3): Likewise.
3673 * nis/nis_callback.c (cb_prog_1): Likewise.
3674 * nis/nis_defaults.c (searchaccess): Likewise.
3675 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3676 * nis/nis_ismember.c (internal_ismember): Likewise.
3677 * nis/nis_local_names.c (nis_local_principal): Likewise.
3678 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
3679 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
3681 * nis/ypclnt.c (yp_match): Likewise.
3682 (yp_first): Likewise.
3683 (yp_next): Likewise.
3684 (yp_master): Likewise.
3685 (yp_order): Likewise.
3686 * nscd/hstcache.c (cache_addhst): Likewise.
3687 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3688 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
3689 (internal_getpwuid_r): Likewise.
3690 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
3691 * posix/glob.h (__GLOB_FLAGS): Likewise.
3692 * posix/regcomp.c (peek_token): Likewise.
3693 (peek_token_bracket): Likewise.
3694 (parse_expression): Likewise.
3695 * posix/regexec.c (sift_states_iter_mb): Likewise.
3696 (check_node_accept_bytes): Likewise.
3697 * posix/tst-spawn3.c (do_test): Likewise.
3698 * posix/wordexp-test.c (testit): Likewise.
3699 * posix/wordexp.c (parse_tilde): Likewise.
3700 (exec_comm): Likewise.
3701 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
3702 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
3703 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
3704 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
3705 * stdio-common/tst-fileno.c (do_test): Likewise.
3706 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
3707 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
3708 * stdlib/strtod_l.c (round_and_return): Likewise.
3709 (____STRTOF_INTERNAL): Likewise.
3710 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
3711 * string/strcspn.c (STRCSPN): Likewise.
3712 * string/test-memmem.c (simple_memmem): Likewise.
3713 * termios/tcsetattr.c (tcsetattr): Likewise.
3714 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
3715 * time/asctime.c (asctime_internal): Likewise.
3716 * time/strptime_l.c (__strptime_internal): Likewise.
3717 * time/sys/time.h (timercmp): Likewise.
3718 * time/tzfile.c (__tzfile_compute): Likewise.
3720 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
3723 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
3725 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3727 * argp/argp-help.c (__argp_error_internal): New function,
3728 renamed from __argp_error, but that takes a 'mode_flags'
3729 parameter to control the format of long double parameters.
3730 (__argp_error): Converted into a call __argp_error_internal.
3731 (__argp_failure_internal): New function, renamed from
3732 __argp_failure, but that takes a 'mode_flags' parameter.
3733 (__argp_failure): Converted into a call __argp_failure_internal.
3734 * misc/err.c (__vwarnx_internal): New function, renamed from
3735 vwarnx, but that takes a 'mode_flags' parameter.
3736 (vwarnx): Converted into a call to __vwarnx_internal.
3737 (__vwarn_internal): New function, renamed from vwarn, but that
3738 takes a 'mode_flags' parameter.
3739 (vwarn): Converted into a call to __vwarn_internal.
3740 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
3741 call to __vfxprintf with 'mode_flags'.
3742 (__error_internal): New function, renamed from error, but that
3743 takes a 'mode_flags' parameter.
3744 (error): Converted into a call to __error_internal.
3745 (__error_at_line_internal): New function, renamed from
3746 error_at_line, but that takes a 'mode_flags' parameter.
3747 (error_at_line): Converted into a call to
3748 __error_at_line_internal.
3749 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
3750 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
3753 2019-02-20 Martin Liska <mliska@suse.cz>
3755 * math/Makefile: Install math-vector-fortran.h.
3756 * bits/math-vector-fortran.h: New file.
3757 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
3759 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3761 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
3762 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
3764 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
3766 * nptl/pthread_mutex_trylock.c: Fix comment.
3768 2019-02-19 Carlos O'Donell <carlos@redhat.com>
3770 * nptl/pthread_tryjoin.c: Fix comment.
3772 2019-02-18 Joseph Myers <joseph@codesourcery.com>
3775 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
3776 after R_SPARC_H34 case.
3778 2019-02-18 Florian Weimer <fweimer@redhat.com>
3780 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
3781 (getanswer): Do not call Dprintf.
3782 (res_gethostbyname2_context): Likewise.
3783 (res_gethostbyaddr_context): Likewise.
3785 2019-02-18 Florian Weimer <fweimer@redhat.com>
3787 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
3789 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
3791 * libio/stdfiles.c: Update comment.
3792 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
3793 set _IO_stdin, _IO_stdout, _IO_stderr.
3794 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
3795 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
3797 (_IO_deallocate_file): New inline function.
3798 * libio/iolibio.h (_IO_vprintf): Remove definition.
3799 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
3800 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3801 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
3803 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
3804 __builtin_expect. Use _IO_legacy_file.
3806 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
3808 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
3809 Initialize ctid with a known value and remove update of ctid
3811 (wait_tid): Adjust arguments and call futex_wait with ctid_val
3812 as assumed current value of ctid_ptr.
3814 2019-02-16 Florian Weimer <fweimer@redhat.com>
3816 Check that non-sysdeps headers have wrapper headers.
3817 * scripts/check-wrapper-headers.py: New file.
3818 * Makefile (tests-special): Add check-wrapper-headers.out.
3819 (check-wrapper-headers.out): New target.
3820 * Rules (tests-special): Add check-wrapper-headers.out.
3821 (check-wrapper-headers.out): New target.
3823 2019-02-16 Florian Weimer <fweimer@redhat.com>
3825 Add missing header wrappers under include/.
3826 * include/ar.h: New file.
3827 * include/bits/mqueue2.h: Likewise.
3828 * include/bits/stdio.h: Likewise.
3829 * include/bits/stdio2.h: Likewise.
3830 * include/fstab.h: Likewise.
3831 * include/fts.h: Likewise.
3832 * include/lastlog.h: Likewise.
3833 * include/netinet/icmp6.h: Likewise.
3834 * include/netinet/igmp.h: Likewise.
3835 * include/netinet/ip6.h: Likewise.
3836 * include/re_comp.h: Likewise.
3837 * include/regexp.h: Likewise.
3838 * include/rpcsvc/bootparam.h: Likewise.
3839 * include/rpcsvc/yp_prot.h: Likewise.
3840 * include/sys/random.h: Likewise.
3841 * include/sys/stropts.h: Likewise.
3842 * include/sys/ttychars.h: Likewise.
3843 * include/sys/vfs.h: Likewise.
3844 * include/wait.h: Likewise.
3846 2019-02-16 Florian Weimer <fweimer@redhat.com>
3848 * nptl_db/proc_service.h: Move to ...
3849 * sysdeps/nptl/proc_service.h: ... here.
3850 * nptl_db/thread_db.h: Move to ...
3851 * sysdeps/nptl/thread_db.h: ... here.
3852 * nptl/descr.h: Include <thread_db.h>.
3854 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3856 * io/Makefile (tests): Add tst-lockf.
3857 * io/lockf.c (lockf): Use __fcntl and only define for
3858 !__OFF_T_MATCHES_OFF64_T.
3859 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
3860 __OFF_T_MATCHES_OFF64_T case.
3861 * io/tst-lockf.c: New file.
3862 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
3863 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
3864 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
3865 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
3866 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
3867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
3868 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
3869 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
3870 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
3872 2019-02-15 Florian Weimer <fweimer@redhat.com>
3875 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
3876 pd->result after the thread descriptor has been freed.
3878 2019-02-15 Joseph Myers <joseph@codesourcery.com>
3880 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
3881 from function return type.
3883 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
3885 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3887 * scripts/test_printers_common.py: Set TERM to a known harmless
3890 2019-02-14 Joseph Myers <joseph@codesourcery.com>
3892 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3893 (xdr_u_int): Likewise.
3894 (xdr_enum): Likewise.
3895 (xdr_bytes): Reword fall-through comment.
3896 (xdr_string): Likewise.
3898 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3901 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3902 (tests): Add tst-join8 tst-join9.
3903 * nptl/lll_timedwait_tid.c: Remove file.
3904 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3905 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3906 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3907 * nptl/pthread_join_common.c (timedwait_tid): New function.
3908 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3910 * nptl/tst-join5.c (thread_join): New function.
3911 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3913 * nptl/tst-join8.c: New file.
3914 * nptl/tst-join9.c: Likewise.
3915 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3916 lll_futex_timed_wait_cancel): Add generic macros.
3917 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3919 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3920 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3921 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3922 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3924 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3926 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3927 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3928 (lll_futex_timed_wait_cancel): New macro.
3930 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3932 * benchtests/Makefile: Add malloc-simple benchmark.
3933 * benchtests/bench-malloc-simple.c: New benchmark.
3935 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3937 * benchtests/bench-memmove.c (do_one_test): Remove unused
3940 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3944 2019-01-13 Jim Wilson <jimw@sifive.com>
3947 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3948 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3950 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3952 * nptl/Makefile (tests): Add tst-unwind-thread.
3953 (CFLAGS-tst-unwind-thread.c): Define.
3954 * nptl/tst-unwind-thread.c: New file.
3955 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3958 2019-02-13 Joseph Myers <joseph@codesourcery.com>
3960 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3962 * nis/nis_call.c (__do_niscall3): Likewise.
3964 * catgets/gencat.c (normalize_line): Use braces around empty
3966 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3967 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3968 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3969 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3970 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3971 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3972 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3975 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3978 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3980 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3981 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3982 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3983 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3984 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3985 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3986 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3987 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3988 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3989 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3990 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3991 * benchtests/bench-bcopy.c: Delete file.
3992 * benchtests/bench-bzero.c: Likewise.
3993 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3994 (simple_memccpy): Remove.
3995 (generic_memccpy): Add function.
3996 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3997 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3998 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3999 (generic_mempcpy): Add new function.
4000 * benchtests/bench-memset.c (simple_bzero): Remove.
4001 (builtin_bzero): Remove.
4002 (builtin_memset): Remove.
4003 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
4004 (generic_rawmemchr): Add new function.
4006 2019-02-12 Florian Weimer <fweimer@redhat.com>
4008 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
4010 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4013 * elf/Makefile (tests): Add tst-audit13.
4014 (modules-names): Add tst-audit13mod1.
4015 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4017 * elf/tst-audit13.c: New file.
4018 * elf/tst-audit13mod1.c: Likewise.
4020 2019-02-12 Florian Weimer <fweimer@redhat.com>
4023 * elf/rtld.c (unload_audit_module): New function.
4024 (report_audit_module_load_error): Likewise.
4025 (load_audit_module): Likewise. Extracted from dl_main. Call
4026 _dl_close if the laversion symbol cannot be found. Use early
4027 returns for error handling. Add malloc error check. Check for a
4028 zero return value from la_version. Remove spurious comment about
4029 static TLS initialization. Remove useless casts.
4030 (notify_audit_modules_of_loaded_object): New function. Extracted
4032 (load_audit_module): Likewise.
4033 (dl_main): Call load_audit_modules.
4035 2019-02-12 Joseph Myers <joseph@codesourcery.com>
4037 * elf/dl-exception.c (_dl_exception_create_format): Add
4038 fall-through comments.
4039 * elf/ldconfig.c (parse_conf_include): Likewise.
4040 * elf/rtld.c (print_statistics): Likewise.
4041 * locale/programs/charmap.c (parse_charmap): Likewise.
4042 * misc/mntent_r.c (__getmntent_r): Likewise.
4043 * posix/wordexp.c (parse_arith): Likewise.
4044 (parse_backtick): Likewise.
4045 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
4046 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4047 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4049 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
4051 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
4052 Use float instead of double.
4054 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4056 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
4058 2019-02-08 Joseph Myers <joseph@codesourcery.com>
4060 * sysdeps/powerpc/bits/mathinline.h: Remove.
4062 2019-02-08 Florian Weimer <fweimer@redhat.com>
4064 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
4065 * math/bits/math-finite.h: Move to ...
4066 * bits/math-finite.h: ... here.
4068 2019-02-08 Florian Weimer <fweimer@redhat.com>
4070 * sysdeps/generic/bits/unistd_ext.h: Move to ...
4071 * bits/unistd_ext.h: here.
4073 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
4076 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
4077 * nss/tst-nss-files-hosts-long.c: New file.
4078 * nss/tst-nss-files-hosts-long.root: New directory.
4079 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
4080 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
4082 2019-02-08 Florian Weimer <fweimer@redhat.com>
4084 * include/bits/unistd_ext.h: Remove file.
4085 * posix/bits/unistd_ext.h: Move to ...
4086 * sysdeps/generic/bits/unistd_ext.h: ... here.
4088 2019-02-08 Florian Weimer <fweimer@redhat.com>
4090 * include/bits/unistd_ext.h: New file.
4092 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
4094 * time/tst-strftime2.c: Use array_length macros instead of magic
4097 2019-02-08 Florian Weimer <fweimer@redhat.com>
4100 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
4102 * nptl/register-atfork.c (__run_fork_handlers): Only perform
4103 locking if the new do_locking argument is true.
4104 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
4105 __run_fork_handlers.
4107 2019-02-08 Florian Weimer <fweimer@redhat.com>
4110 Linux: Add gettid system call wrapper.
4111 * posix/Makefile (headers): Add bits/unistd_ext.h.
4112 * posix/bits/unistd_ext.h: New file.
4113 * posix/unistd.h: Include it.
4114 * manual/process.texi (Process Identification): Document gettid.
4115 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
4116 tst-gettid, tst-gettid-kill.
4117 (tst-gettid): Link with $(shared-thread-library).
4118 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
4119 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
4120 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
4121 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
4122 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
4123 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4125 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4127 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4128 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
4130 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
4132 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
4134 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
4136 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4138 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4140 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4142 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4143 (GLIBC_2.30): Likewise.
4144 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4145 (GLIBC_2.30): Likewise.
4146 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4147 (GLIBC_2.30): Likewise.
4148 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4149 (GLIBC_2.30): Likewise.
4150 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4153 (GLIBC_2.30): Likewise.
4154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4155 (GLIBC_2.30): Likewise.
4156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4157 (GLIBC_2.30): Likewise.
4158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4159 (GLIBC_2.30): Likewise.
4160 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4162 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4164 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4166 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4167 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4169 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4171 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4173 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4175 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
4177 2019-02-08 Florian Weimer <fweimer@redhat.com>
4179 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
4180 compatibility symbols.
4182 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
4185 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4186 Add compiler barriers and comments.
4188 2019-02-07 Florian Weimer <fweimer@redhat.com>
4190 * include/array_length.h (array_length): Do not use a statement
4191 expression and _Static_assert, so that array_length can be used at
4192 file scope and as a constant expression.
4194 2019-02-07 Florian Weimer <fweimer@redhat.com>
4196 * support/xdlfcn.h (xdlmopen): Declare.
4197 * support/xdlmopen.c: New file.
4198 * support/Makefile (libsupport-routines): Add xdlmopen.
4200 2019-02-06 Joseph Myers <joseph@codesourcery.com>
4202 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
4203 before return type, without separate inline.
4204 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
4205 * elf/dl-tunables.h (tunable_is_name): Likewise.
4206 * malloc/malloc.c (do_set_trim_threshold): Likewise.
4207 (do_set_top_pad): Likewise.
4208 (do_set_mmap_threshold): Likewise.
4209 (do_set_mmaps_max): Likewise.
4210 (do_set_mallopt_check): Likewise.
4211 (do_set_perturb_byte): Likewise.
4212 (do_set_arena_test): Likewise.
4213 (do_set_arena_max): Likewise.
4214 (do_set_tcache_max): Likewise.
4215 (do_set_tcache_count): Likewise.
4216 (do_set_tcache_unsorted_limit): Likewise.
4217 * nis/nis_subr.c (count_dots): Likewise.
4218 * nptl/allocatestack.c (advise_stack_range): Likewise.
4219 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
4221 (reduce_sincos): Likewise.
4222 (do_sincos): Likewise.
4223 * sysdeps/unix/sysv/linux/x86/elision-conf.c
4224 (do_set_elision_enable): Likewise.
4225 (TUNABLE_CALLBACK_FNDECL): Likewise.
4227 2019-02-06 Florian Weimer <fweimer@redhat.com>
4229 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
4230 (xdlsym): Use dlerror to detect a NULL symbol.
4232 2019-02-06 Florian Weimer <fweimer@redhat.com>
4234 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
4236 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4238 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4240 * libio/tst-bz24153.c (wide): Use wide char format specifier.
4242 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4244 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
4245 __wmemcmp and weak alias to wmemcmp.
4247 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
4250 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
4251 TLS_TCB_AT_TP tls variant.
4252 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
4253 Add alignment checks.
4254 * support/Makefile (libsupport-routines): Add xposix_memalign and
4256 * support/support.h: Add xposix_memalign.
4257 * support/xthread.h: Add xpthread_attr_setstack.
4258 * support/xposix_memalign.c: New File.
4259 * support/xpthread_attr_setstack.c: Likewise.
4261 2019-02-05 Florian Weimer <fweimer@redhat.com>
4264 arm: Use "nr" constraint for Systemtap probes, to avoid the
4265 compiler using memory operands for constants, due to the "o"
4266 alternative in the default "nor" constraint.
4267 * include/stap-probe.h [USE_STAP_PROBE]: Include
4268 <stap-probe-machine.h>
4269 * sysdeps/generic/stap-probe-machine.h: New file.
4270 * sysdeps/arm/stap-probe-machine.h: Likewise.
4272 2019-02-04 Joseph Myers <joseph@codesourcery.com>
4274 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
4275 with 0, not tcache->entries[tc_idx].
4277 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
4280 2019-02-04 Andreas Schwab <schwab@suse.de>
4284 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
4285 looking up collating elements match against (wide) character
4286 sequence instead of name. Correct alignment adjustment.
4287 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
4288 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
4289 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
4290 (LOCALES): Add cs_CZ.ISO-8859-2.
4291 * posix/tst-fnmatch4.c: New file.
4292 * posix/tst-fnmatch5.c: New file.
4293 * include/wchar.h (__wmemcmp): Declare.
4294 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
4295 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4296 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
4297 * sysdeps/s390/wmemcmp.c: Likewise.
4299 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
4303 * NEWS: Updated for CVE-2019-7309.
4304 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
4305 upper 32 bits of RDX register for x32. Use unsigned Jcc
4306 instructions, instead of signed.
4307 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
4308 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
4310 2019-02-04 Florian Weimer <fweimer@redhat.com>
4312 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
4313 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
4314 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
4316 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
4317 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
4318 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
4319 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
4321 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
4323 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
4325 (posix_spawn_file_actions_addopen): Likewise.
4326 (posix_spawn_file_actions_addclose): Likewise.
4327 (posix_spawn_file_actions_adddup2): Likewise.
4328 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
4330 (posix_spawn_file_actions_addfchdir_np): Likewise.
4332 2019-02-04 David Newall <glibc@davidnewall.com>
4334 elf: Implement --preload option for the dynamic linker.
4335 * elf/rtld.c (preloadarg): New variable.
4336 (handle_preload_list): Pass through “where” argument to
4338 (dl_main): Handle "--preload" and add second call to
4339 handle_preload_list.
4340 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
4341 (tst-rtld-preload-OBJS): Set variable.
4342 (tst-rtld-preload.out): New target.
4343 * elf/tst-rtld-preload.sh: New file.
4345 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
4347 * Makefile (testrun.sh): Exit in case of incorrect argument.
4349 2019-02-04 Florian Weimer <fweimer@redhat.com>
4351 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
4354 2019-02-03 Florian Weimer <fweimer@redhat.com>
4356 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
4357 implicit overflow checks.
4359 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
4361 * stdlib/isomac.c: Include <unistd.h>.
4363 2019-02-03 Florian Weimer <fweimer@redhat.com>
4365 * include/time.h (__tzfile_default): Use int, not long int, for
4367 * time/tzfile.c (struct ttinfo): Change type of the offset member
4369 (__tzfile_read): Remove useless cast.
4370 (__tzfile_default): Adjust prototype.
4371 * time/tzset.c (tz_rule): Change type of the offset member to int.
4372 (parse_offset): Change the type of the sign variable to int.
4374 2019-02-03 Florian Weimer <fweimer@redhat.com>
4377 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
4378 * libio/getchar.c (getchar): Likewise.
4379 * libio/getchar_u.c (getchar_unlocked): Likewise.
4380 * libio/getwchar.c (getwchar): Likewise.
4381 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4382 * libio/iogets.c (_IO_gets): Likewise.
4383 * libio/vscanf.c (_IO_vscanf): Likewise.
4384 * libio/vwscanf.c (__vwscanf): Likewise.
4385 * libio/tst-bz24153.c: New file.
4386 * libio/Makefile (tests): Add it.
4388 2019-02-02 Florian Weimer <fweimer@redhat.com>
4391 * manual/resource.texi (Basic Scheduling Functions): Add
4392 portability note. Change process to task throughout the section.
4393 Remove incorrect comment about sched_yield as it affects
4394 tasks/threads, not entire processes.
4395 * sysdeps/unix/sysv/linux/bits/posix_opt.h
4396 (_POSIX_PRIORITY_SCHEDULING): Update comment.
4398 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4400 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
4401 * configure: Regenerated.
4402 * manual/install.texi (Tools for Compilation): Update minimum GCC
4404 * INSTALL: Regenerated.
4406 2019-02-01 Florian Weimer <fweimer@redhat.com>
4408 * support/support_test_compare_string.c
4409 (support_test_compare_string): Use "string" in error message.
4410 * support/tst-test_compare_string.c (do_test): Adjust.
4412 2019-02-01 Florian Weimer <fweimer@redhat.com>
4414 * support/support_format_address_family.c
4415 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
4417 2019-02-01 Florian Weimer <fweimer@redhat.com>
4419 * manual/socket.texi (Internet Address Formats): Clarify the byte
4420 order of struct sockaddr_in, struct sockaddr_in6. Document
4421 sin6_flowinfo and sin6_scope_id.
4423 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
4425 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
4426 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
4427 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
4428 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
4429 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
4430 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
4432 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4434 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
4435 [!MEMCHR](MEMCHR): Set to __memchr.
4436 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4437 Add memchr_generic and memchr_nosimd.
4438 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4439 (__libc_ifunc_impl_list): Add memchr ifuncs.
4440 * sysdeps/aarch64/multiarch/memchr.c: New file.
4441 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
4442 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
4444 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4446 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4448 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4449 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
4450 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
4451 Add IS_EMAG check for ifunc dispatch.
4452 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
4453 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
4455 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4457 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
4458 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4460 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
4463 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
4465 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
4467 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
4469 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
4470 syscall-template file.
4472 2019-01-31 Carlos O'Donell <carlos@redhat.com>
4473 Torvald Riegel <triegel@redhat.com>
4474 Rik Prohaska <prohaska7@gmail.com>
4477 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
4478 tst-rwlock-trywrlock-stall.
4479 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4480 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
4481 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
4482 Set __wrphase_fute to 1 only if we started the write phase.
4483 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
4484 * nptl/tst-rwlock-trywrlock-stall.c: New file.
4485 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
4486 * support/xpthread_rwlock_destroy.c: New file.
4487 * support/xthread.h: Declare xpthread_rwlock_destroy.
4489 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4491 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4494 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4497 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
4498 * libio/fileops.c (_IO_new_file_underflow): Likewise
4499 * libio/wfileops.c (_IO_wfile_underflow): Likewise
4500 * libio/putchar.c (putchar): Likewise.
4501 * libio/putchar_u.c (putchar_unlocked): Likewise.
4502 * libio/putwchar.c (putchar): Likewise.
4503 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4504 * libio/tst-bz24051.c: New test.
4505 * libio/Makefile (tests): Add tst-bz24051
4507 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
4510 regex: fix read overrun [BZ #24114]
4511 Problem found by AddressSanitizer, reported by Hongxu Chen in:
4512 https://debbugs.gnu.org/34140
4513 * posix/regexec.c (proceed_next_node):
4514 Do not read past end of input buffer.
4516 2019-01-31 Florian Weimer <fweimer@redhat.com>
4519 * nss/nss_files/files-alias.c (get_next_alias): Handle
4520 continuation line without newline at the end.
4521 * nss/tst-nss-files-alias-truncated.c: New file.
4522 * nss/Makefile [$(build-shared)] (tests): Add
4523 tst-nss-files-alias-truncated.
4524 (tst-nss-files-alias-truncated): Link with libnss_files.so.
4525 * support/namespace.h (struct support_chroot_configuration): Add
4527 (struct support_chroot): Add path_aliases member.
4528 * support/support_chroot.c (support_chroot_create): Handle
4530 (support_chroot_free): Free path_aliases.
4532 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4534 * version.h (RELEASE): Set to "development".
4535 (VERSION): Set to "2.29.9000".
4536 * NEWS: Add section for 2.30.
4538 * version.h (RELEASE): Set to "stable".
4539 (VERSION): Set to "2.29".
4540 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
4542 * NEWS: Add the list of bugs fixed in 2.29.
4543 * manual/contrib.texi: Update contributors list with some more
4545 * manual/install.texi: Update latest versions of packages
4547 * INSTALL: Regenerated.
4549 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4551 * po/be.po: Update translations.
4552 * po/bg.po: Likewise.
4553 * po/ca.po: Likewise.
4554 * po/cs.po: Likewise.
4555 * po/da.po: Likewise.
4556 * po/de.po: Likewise.
4557 * po/el.po: Likewise.
4558 * po/eo.po: Likewise.
4559 * po/es.po: Likewise.
4560 * po/fi.po: Likewise.
4561 * po/fr.po: Likewise.
4562 * po/gl.po: Likewise.
4563 * po/hr.po: Likewise.
4564 * po/hu.po: Likewise.
4565 * po/ia.po: Likewise.
4566 * po/id.po: Likewise.
4567 * po/it.po: Likewise.
4568 * po/ja.po: Likewise.
4569 * po/ko.po: Likewise.
4570 * po/lt.po: Likewise.
4571 * po/nb.po: Likewise.
4572 * po/nl.po: Likewise.
4573 * po/pl.po: Likewise.
4574 * po/pt_BR.po: Likewise.
4575 * po/ru.po: Likewise.
4576 * po/rw.po: Likewise.
4577 * po/sk.po: Likewise.
4578 * po/sl.po: Likewise.
4579 * po/sv.po: Likewise.
4580 * po/tr.po: Likewise.
4581 * po/uk.po: Likewise.
4582 * po/vi.po: Likewise.
4583 * po/zh_CN.po: Likewise.
4584 * po/zh_TW.po: Likewise.
4586 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
4589 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
4590 of $f3 register on $y_is_neg path.
4592 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
4595 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
4596 sigaltstack.ss_flags.
4598 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
4601 * manual/time.texi (strftime): Document "%Ey".
4602 * time/strftime_l.c (__strftime_internal): Set the default width
4603 padding with zero of "%Ey" to 2.
4606 * manual/time.texi (strftime): Document "%EC" and "%EY".
4607 * time/Makefile (tests): Add tst-strftime2.
4608 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
4609 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
4610 override padding for "%Ey".
4611 If an optional flag ('_' or '-') is specified to "%EY", interpret the
4612 "%Ey" in the subformat as if decorated with that flag.
4613 * time/tst-strftime2.c: New file.
4615 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4617 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
4621 * elf/Makefile (tests): Add tst-audit13.
4622 (modules-names): Add tst-audit13mod1.
4623 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4625 * elf/rtld.c (dl_main): Handle invalid audit module version.
4626 * elf/tst-audit13.c: New file.
4627 * elf/tst-audit13mod1.c: Likewise.
4629 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4631 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
4632 returned by __hurd_at_flags.
4633 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
4634 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
4635 directly instead of __hurd_file_name_lookup.
4637 2019-01-21 Joseph Myers <joseph@codesourcery.com>
4639 * scripts/build-many-glibcs.py (Context.checkout): Default
4640 binutils version to 2.32 branch.
4642 2019-01-21 Florian Weimer <fweimer@redhat.com>
4646 resolv: Reject trailing characters in host names
4647 * include/arpa/inet.h (__inet_aton_exact): Declare.
4648 (inet_aton): Remove hidden prototype. No longer used internally.
4649 * nscd/gai.c (__inet_aton): Do not define.
4650 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
4651 * nss/digits_dots.c (__inet_aton): Likewise.
4652 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
4653 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
4654 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
4655 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
4656 (tst-resolv-trailing): Likewise.
4657 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
4659 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
4660 Make static. Add endp parameter.
4661 (__inet_aton_exact): New function.
4662 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
4663 (__inet_addr): Call inet_aton_end.
4664 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
4665 not just IPv6. Call __inet_aton_exact.
4666 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
4667 (tests): Make const. Add additional test cases with trailing
4669 (do_test): Use array_length.
4670 * resolv/tst-inet_aton_exact.c: New file.
4671 * resolv/tst-resolv-trailing.c: Likewise.
4672 * resolv/tst-resolv-nondecimal.c: Likewise.
4673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
4675 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4679 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
4680 Clear the upper 32 bits of RSI register.
4681 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
4682 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
4683 and tst-size_t-wcsnlen.
4684 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
4685 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
4687 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4691 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
4692 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4693 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4694 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
4695 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
4697 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4701 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
4702 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4703 * sysdeps/x86_64/strcmp.S: Likewise.
4704 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
4705 tst-size_t-strncmp and tst-size_t-wcsncmp.
4706 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
4707 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
4708 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
4710 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4714 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
4715 RDX_LP for length. Clear the upper 32 bits of RDX register.
4716 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
4717 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
4718 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
4719 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
4721 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4725 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
4726 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
4727 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
4728 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
4730 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4734 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
4735 length. Clear the upper 32 bits of RDX register.
4736 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4737 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4739 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4741 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
4743 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
4745 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4749 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
4750 length. Clear the upper 32 bits of RDX register.
4751 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4752 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4753 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
4755 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
4756 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
4758 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4762 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
4763 upper 32 bits of RDX register.
4764 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
4765 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
4767 * sysdeps/x86_64/x32/test-size_t.h: New file.
4768 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
4769 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
4771 2019-01-18 Florian Weimer <fweimer@redhat.com>
4774 resolv: Do not send queries for non-host-names in nss_dns.
4775 * resolv/nss_dns/dns-host.c (check_name): New function.
4776 (_nss_dns_gethostbyname2_r): Use it.
4777 (_nss_dns_gethostbyname_r): Likewise.
4778 (_nss_dns_gethostbyname4_r): Likewise.
4780 2019-01-21 Florian Weimer <fweimer@redhat.com>
4782 * resolv/inet_addr.c: Reformat to GNU style.
4783 (__inet_addr, __inet_aton): Update comment.
4785 2019-01-18 Florian Weimer <fweimer@redhat.com>
4787 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
4788 ("malloc: Use current (C11-style) atomics for fastbin access").
4789 This commit introduces a substantial performance regression on
4791 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
4792 (REMOVE_FB): Define.
4793 (_int_malloc): Use it and reindent.
4794 (_int_free): Use CAS loop with
4795 catomic_compare_and_exchange_val_rel.
4796 (malloc_consolidate): Use atomic_exchange_acq.
4799 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
4801 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
4803 (LDFLAGS-tst-minsigstksz-2): Likewise.
4804 (LDFLAGS-tst-minsigstksz-3): Likewise.
4805 (LDFLAGS-tst-minsigstksz-3a): Likewise.
4806 (LDFLAGS-tst-minsigstksz-4): Likewise.
4808 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
4810 * manual/time.texi (strftime): Fix the wording to "alternative" rather
4813 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
4815 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
4817 2019-01-16 Zack Weinberg <zackw@panix.com>
4819 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
4820 (xget_sigstack_location): New test support functions.
4821 * support/xsigstack.c: New file, implementing them.
4822 * support/tst-xsigstack.c: New test for them.
4823 * support/Makefile: Update.
4825 * signal/tst-minsigstksz-1.c
4826 * signal/tst-minsigstksz-2.c
4827 * signal/tst-minsigstksz-3.c
4828 * signal/tst-minsigstksz-3a.c
4829 * signal/tst-minsigstksz-4.c: New tests.
4830 * signal/Makefile: Run them.
4832 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4834 * po/libc.pot: Regenerate.
4836 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4838 * math/libm-test-fma.inc (fma_test_data): Set
4839 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
4841 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4843 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
4844 (do_test): Changed __vector __int128_t to __vector unsigned int.
4846 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4848 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4849 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
4850 stpcpy-avx2 and stpncpy-avx2.
4851 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
4852 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
4853 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
4855 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
4856 ifunc-strcpy.h}: rename header for a more generic name.
4857 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
4858 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
4859 AVX unaligned load is fast and vzeroupper is preferred.
4860 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
4861 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
4862 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
4863 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
4864 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
4865 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
4867 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
4869 * argp/argp-help.c: Fix typo in comment.
4870 * misc/sys/cdefs.h: Likewise.
4871 * posix/regexec.c (sift_states_iter_mb): Likewise.
4872 * socket/sockatmark.c: Likewise.
4873 * socket/sys/socket.h: Likewise.
4874 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4875 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4876 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4877 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4878 * sysdeps/unix/sockatmark.c: Likewise.
4879 * time/strptime_l.c: Likewise.
4881 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4883 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
4884 missing space after the cast of "_NL_CURRENT".
4886 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4888 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
4889 ifdef to fix read of VSCR.
4890 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4891 tst-ucontext-ppc64-vscr.c to test list.
4892 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4894 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4896 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4899 2019-01-09 Jim Wilson <jimw@sifive.com>
4901 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4903 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4905 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4906 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4907 __memcpy_falkor for ares.
4908 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4910 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4913 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4916 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4917 4_FP_W_TYPEs are used for IEEE quad precision.
4918 * soft-fp/extendhftf2.c: Likewise.
4919 * soft-fp/extendsftf2.c: Likewise.
4920 * soft-fp/extendxftf2.c: Likewise.
4921 * soft-fp/trunctfdf2.c: Likewise.
4922 * soft-fp/trunctfhf2.c: Likewise.
4923 * soft-fp/trunctfsf2.c: Likewise.
4924 * soft-fp/trunctfxf2.c: Likewise.
4925 * sysdeps/alpha/ots_cvttx.c: Likewise.
4926 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4927 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4928 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4929 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4930 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4931 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4932 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4933 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4934 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4935 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4936 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4937 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4938 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4939 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4940 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4941 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4942 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4944 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4947 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4948 code with -fmath-errno.
4949 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4950 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4951 * string/test-strerror-errno.c: New file.
4953 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4956 * localedata/locales/en_US (date_fmt): Add, set to
4957 "%a %d %b %Y %r %Z".
4959 2019-01-07 Florian Weimer <fweimer@redhat.com>
4962 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4963 instead of @var{errno}.
4964 (Parsing of Integers): Likewise.
4965 (Parsing of Floats): Likewise.
4966 * manual/filesys.texi (Working with Directory Trees): Likewise.
4967 (Temporary Files): Likewise.
4968 * manual/job.texi (Terminal Access Functions): Likewise.
4969 * manual/llio.texi (Synchronizing I/O): Likewise.
4970 * manual/math.texi (SVID Random): Likewise.
4971 * manual/message.texi (The catgets Functions): Likewise.
4972 (Translation with gettext): Likewise.
4973 (Locating gettext catalog): Likewise.
4974 (Charset conversion in gettext): Likewise.
4975 * manual/nss.texi (NSS Module Function Internals): Likewise.
4976 * manual/search.texi (Hash Search Function): Likewise.
4977 * manual/setjmp.texi (System V contexts): Likewise.
4978 * manual/time.texi (Sleeping): Likewise.
4979 * manual/users.texi (Lookup User): Likewise.
4980 (Lookup Group): Likewise.
4982 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4984 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4987 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
4990 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4991 __builtin_unreachable for default case in switch.
4992 (__ieee754_yn): Likewise.
4993 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4994 (__ieee754_ynl): Likewise.
4995 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4996 (__ieee754_ynl): Likewise.
4997 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4998 (__ieee754_ynl): Likewise.
5000 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
5002 * manual/maint.texi: Use @{ and @}.
5004 2019-01-04 Florian Weimer <fweimer@redhat.com>
5006 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
5008 (do_in_chroot_1): Call it.
5010 Improve error reporting in case it is not possible to create a
5011 collision for the PTY name required by the test.
5013 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5015 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
5016 lll_wait_tid with timeout.
5017 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
5018 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
5019 futex_reltimed_wait_cancelable for cancelabla mode.
5020 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
5021 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
5023 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
5024 * sysdeps/posix/waitid.c (__sigwait): Likewise.
5025 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
5026 SYSCALL_CANCEL_NCS): New macro.
5027 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
5028 (lll_timedwait_tid): Remove macro.
5029 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
5031 (lll_timedwait_tid): Likewise.
5032 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
5034 (lll_timedwait_tid): Likewise.
5035 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
5037 (lll_timedwait_tid): Likewise.
5038 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
5039 Use INTERNAL_SYSCALL_CANCEL.
5040 * sysdeps/unix/sysv/linux/futex-internal.h
5041 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
5042 instead of __pthread_{enable,disable}_asynccancel.
5043 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5044 (lll_futex_wait_cancel): New macro.
5046 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5047 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5049 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5050 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5052 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
5053 in backtrace analysis.
5054 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
5056 (tf_send): Likewise.
5058 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
5059 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
5060 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
5061 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
5062 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5063 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5064 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
5065 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
5066 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
5067 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
5068 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
5069 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
5071 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
5072 tst-cancel-wrappers.sh.
5073 (generated): Remove tst-cancel-wrappers.out.
5074 (tst-cancel-wrappers.out): Remove rule.
5075 * nptl/tst-cancel-wrappers.sh: Remove file.
5077 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5079 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
5080 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5083 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5086 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
5087 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
5088 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
5089 close-on-exec reset for adddup2 file action.
5090 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5092 2019-01-03 Zack Weinberg <zackw@panix.com>
5094 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
5095 parameter. Only use deprecated scanf when __USE_GNU is defined
5096 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
5097 than 201103L, whichever is relevant for the language being compiled.
5099 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
5100 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
5101 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
5102 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
5103 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
5107 * libio/iovswscanf.c
5112 * stdio-common/fscanf.c
5113 * stdio-common/scanf.c
5114 * stdio-common/vfscanf.c
5115 * stdio-common/vfwscanf.c
5116 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5117 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
5118 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
5119 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
5120 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
5121 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
5122 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
5123 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
5124 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
5125 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
5126 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
5127 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
5128 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
5129 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
5130 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
5132 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
5133 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
5134 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
5136 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
5137 with a preprocessor macro.
5139 * stdio-common/bug21.c, stdio-common/scanf14.c:
5140 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
5141 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5142 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
5143 to xscanf, xfscanf, xsscanf.
5145 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
5146 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5147 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
5148 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
5150 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
5151 override feature selection macros or provide definitions of u_char etc.
5152 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
5153 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
5154 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
5157 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5160 bits/termios-misc.h.
5161 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
5162 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5163 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5164 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5165 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
5166 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
5168 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
5169 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5170 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
5171 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
5172 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
5173 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
5175 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
5176 (sysdep_headers): Add termios-misc.h.
5178 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
5179 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5180 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5182 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5184 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
5185 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
5186 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
5187 TCSAFLUSH): Move to termios-tcflow.h.
5188 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5189 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5190 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5191 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5195 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
5196 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
5197 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
5198 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
5199 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
5200 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
5201 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
5202 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
5204 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5205 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5206 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5207 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5211 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
5212 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
5213 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
5214 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
5215 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
5217 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5218 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5219 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5220 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5223 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5225 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
5226 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
5227 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
5228 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
5229 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
5230 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
5231 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
5232 __MAX_BAUD): Move to termios-baud.h.
5233 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
5234 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
5235 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5236 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5237 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5239 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5241 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
5242 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
5243 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
5244 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
5245 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
5246 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
5248 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
5249 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
5251 [USE_MISC] (XTABS): Likewise.
5252 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5253 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5254 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5255 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
5257 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5259 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
5260 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
5261 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
5262 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
5263 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
5264 IUTF8): Move to termios-c_iflag.h.
5265 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5266 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5267 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5268 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5270 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5272 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
5273 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
5274 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
5275 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
5276 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
5277 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
5278 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
5279 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
5280 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5281 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5282 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5283 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5285 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
5286 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
5287 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
5288 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
5289 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5291 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
5293 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
5295 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
5297 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
5299 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
5301 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
5302 _HAVE_C_OSPEED): Define.
5303 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
5304 _HAVE_C_OSPEED): Likewise.
5305 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
5306 _HAVE_C_OSPEED): Likewise.
5307 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
5308 (cfsetospeed): Check for define value instead of existence.
5309 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
5310 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5311 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
5312 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5313 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
5316 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
5318 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5319 (TIOCSER_TEMT): Likewise.
5320 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
5321 (TEOCSER_TEMT): Likewise.
5323 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
5326 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
5328 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5330 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5332 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5334 * sysdeps/htl/pt-barrierattr-setpshared.c
5335 (pthread_barrierattr_setpshared): Add stub warning.
5336 * sysdeps/htl/pt-condattr-setpshared.c
5337 (pthread_condattr_setpshared): Likewise.
5338 * sysdeps/htl/pt-mutexattr-setpshared.c
5339 (pthread_mutexattr_setpshared): Likewise.
5340 * sysdeps/htl/pt-rwlockattr-setpshared.c
5341 (pthread_rwlockattr_setpshared): Likewise.
5342 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
5343 (pthread_mutexattr_setpshared): Likewise.
5345 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5347 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
5348 constants to match with Linux 4.20.
5350 * sysdeps/mips/mips32/libm-test-ulps: Update.
5351 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5353 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
5356 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
5357 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
5358 than __typeof (...) for the a_ptr variable.
5360 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5362 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
5363 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
5364 * libio/Makefile (tests): Add tst-sprintf-ub and
5366 (CFLAGS-tst-sprintf-ub.c): New variable.
5367 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
5368 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
5369 destination buffer and check for overflows in fortified mode.
5370 * libio/libioP.h (PRINTF_CHK): New macro.
5371 * libio/tst-sprintf-chk-ub.c: New file.
5372 * libio/tst-sprintf-ub.c: Likewise.
5374 2019-01-02 Florian Weimer <fweimer@redhat.com>
5377 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
5380 2019-01-02 Florian Weimer <fweimer@redhat.com>
5382 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
5384 2019-01-01 Joseph Myers <joseph@codesourcery.com>
5386 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
5389 * sysdeps/unix/sysv/linux/netpacket/packet.h
5390 (PACKET_IGNORE_OUTGOING): New macro.
5392 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
5395 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5397 (riscv_flush_icache): New syscall.
5399 * manual/texinfo.tex: Update to version 2018-12-28.17 with
5400 trailing whitespace removed.
5401 * scripts/config.guess: Update to version 2019-01-01.
5402 * scripts/config.sub: Update to version 2019-01-01.
5403 * scripts/move-if-change: Update from gnulib.
5405 * NEWS: Update copyright dates.
5406 * catgets/gencat.c (print_version): Likewise.
5407 * csu/version.c (banner): Likewise.
5408 * debug/catchsegv.sh: Likewise.
5409 * debug/pcprofiledump.c (print_version): Likewise.
5410 * debug/xtrace.sh (do_version): Likewise.
5411 * elf/ldconfig.c (print_version): Likewise.
5412 * elf/ldd.bash.in: Likewise.
5413 * elf/pldd.c (print_version): Likewise.
5414 * elf/sotruss.sh: Likewise.
5415 * elf/sprof.c (print_version): Likewise.
5416 * iconv/iconv_prog.c (print_version): Likewise.
5417 * iconv/iconvconfig.c (print_version): Likewise.
5418 * locale/programs/locale.c (print_version): Likewise.
5419 * locale/programs/localedef.c (print_version): Likewise.
5420 * login/programs/pt_chown.c (print_version): Likewise.
5421 * malloc/memusage.sh (do_version): Likewise.
5422 * malloc/memusagestat.c (print_version): Likewise.
5423 * malloc/mtrace.pl: Likewise.
5424 * manual/libc.texinfo: Likewise.
5425 * nptl/version.c (banner): Likewise.
5426 * nscd/nscd.c (print_version): Likewise.
5427 * nss/getent.c (print_version): Likewise.
5428 * nss/makedb.c (print_version): Likewise.
5429 * posix/getconf.c (main): Likewise.
5430 * scripts/test-installation.pl: Likewise.
5431 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5433 * All files with FSF copyright notices: Update copyright dates
5434 using scripts/update-copyrights.
5435 * locale/programs/charmap-kw.h: Regenerated.
5436 * locale/programs/locfile-kw.h: Likewise.
5438 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5440 * timezone/zdump.c: Update from tzcode 2018i.
5441 * timezone/zic.c: Likewise.
5443 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
5445 regex: improve Gnulib port to AIX
5446 From the glibc point of view, this removes duplicate macro
5447 definitions and is obviously safe.
5448 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
5449 * posix/regex_internal.h:
5450 (__attribute__, __attribute_warn_unused_result__):
5451 Remove; already defined elsewhere.
5453 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
5456 * malloc/malloc.c (_int_realloc): Always call memcpy for the
5457 copying operation. (ncopies had the wrong type, resulting in an
5458 integer wraparound and too few elements being copied.)
5460 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
5463 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
5464 <asm/syscalls.h> exists with __has_include__ before including it.
5466 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5468 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5471 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
5473 * hurd/lookup-retry: Include <unistd.h>.
5474 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
5475 Release it on return. Handle "pid" magical lookup retry.
5477 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5480 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
5481 (t_fmt_ampm): Likewise.
5482 * localedata/locales/aa_ER (t_fmt): Likewise.
5483 (t_fmt_ampm): Likewise.
5484 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
5485 (t_fmt_ampm): Likewise.
5486 * localedata/locales/aa_ET (t_fmt): Likewise.
5487 (t_fmt_ampm): Likewise.
5488 * localedata/locales/am_ET (t_fmt): Likewise.
5489 (t_fmt_ampm): Likewise.
5490 * localedata/locales/byn_ER (t_fmt): Likewise.
5491 (t_fmt_ampm): Likewise.
5492 * localedata/locales/om_ET (t_fmt): Likewise.
5493 (t_fmt_ampm): Likewise.
5494 * localedata/locales/sid_ET (t_fmt): Likewise.
5495 (t_fmt_ampm): Likewise.
5496 * localedata/locales/so_DJ (t_fmt): Likewise.
5497 (t_fmt_ampm): Likewise.
5498 * localedata/locales/so_ET (t_fmt): Likewise.
5499 (t_fmt_ampm): Likewise.
5500 * localedata/locales/so_SO (t_fmt): Likewise.
5501 (t_fmt_ampm): Likewise.
5502 * localedata/locales/ti_ER (t_fmt): Likewise.
5503 (t_fmt_ampm): Likewise.
5504 * localedata/locales/ti_ET (t_fmt): Likewise.
5505 (t_fmt_ampm): Likewise.
5506 * localedata/locales/tig_ER (t_fmt): Likewise.
5507 (t_fmt_ampm): Likewise.
5508 * localedata/locales/wal_ET (t_fmt): Likewise.
5509 (t_fmt_ampm): Likewise.
5511 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
5512 * localedata/locales/ar_IN (t_fmt): Likewise.
5513 * localedata/locales/bhb_IN (t_fmt): Likewise.
5514 * localedata/locales/bho_IN (t_fmt): Likewise.
5515 * localedata/locales/bi_VU (t_fmt): Likewise.
5516 * localedata/locales/bn_BD (t_fmt): Likewise.
5517 * localedata/locales/bn_IN (t_fmt): Likewise.
5518 * localedata/locales/brx_IN (t_fmt): Likewise.
5519 * localedata/locales/doi_IN (t_fmt): Likewise.
5520 * localedata/locales/en_HK (t_fmt): Likewise.
5521 (t_fmt_ampm): Likewise.
5522 * localedata/locales/en_IN (t_fmt): Likewise.
5523 * localedata/locales/en_PH (t_fmt): Likewise.
5524 * localedata/locales/gu_IN (t_fmt): Likewise.
5525 * localedata/locales/hi_IN (t_fmt): Likewise.
5526 * localedata/locales/hif_FJ (t_fmt): Likewise.
5527 * localedata/locales/hne_IN (t_fmt): Likewise.
5528 * localedata/locales/kn_IN (t_fmt): Likewise.
5529 * localedata/locales/kok_IN (t_fmt): Likewise.
5530 * localedata/locales/ks_IN (t_fmt): Likewise.
5531 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
5532 * localedata/locales/mag_IN (t_fmt): Likewise.
5533 * localedata/locales/mai_IN (t_fmt): Likewise.
5534 * localedata/locales/mjw_IN (t_fmt): Likewise.
5535 * localedata/locales/ml_IN (t_fmt): Likewise.
5536 * localedata/locales/mni_IN (t_fmt): Likewise.
5537 * localedata/locales/mr_IN (t_fmt): Likewise.
5538 * localedata/locales/ms_MY (t_fmt): Likewise.
5539 * localedata/locales/pa_IN (t_fmt): Likewise.
5540 * localedata/locales/raj_IN (t_fmt): Likewise.
5541 * localedata/locales/sa_IN (t_fmt): Likewise.
5542 * localedata/locales/sat_IN (t_fmt): Likewise.
5543 * localedata/locales/sd_IN (t_fmt): Likewise.
5544 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
5545 * localedata/locales/tcy_IN (t_fmt): Likewise.
5546 * localedata/locales/the_NP (t_fmt): Likewise.
5547 * localedata/locales/to_TO (t_fmt): Likewise.
5548 * localedata/locales/ur_IN (t_fmt): Likewise.
5550 * localedata/locales/hif_FJ (d_t_fmt): Set to
5551 "%A %d %b %Y %I:%M:%S %p".
5552 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
5554 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
5555 * localedata/locales/ar_BH (t_fmt): Likewise.
5556 * localedata/locales/ar_DZ (t_fmt): Likewise.
5557 * localedata/locales/ar_EG (t_fmt): Likewise.
5558 * localedata/locales/ar_IQ (t_fmt): Likewise.
5559 * localedata/locales/ar_JO (t_fmt): Likewise.
5560 * localedata/locales/ar_KW (t_fmt): Likewise.
5561 * localedata/locales/ar_LB (t_fmt): Likewise.
5562 * localedata/locales/ar_LY (t_fmt): Likewise.
5563 * localedata/locales/ar_OM (t_fmt): Likewise.
5564 * localedata/locales/ar_QA (t_fmt): Likewise.
5565 * localedata/locales/ar_SD (t_fmt): Likewise.
5566 * localedata/locales/ar_SS (t_fmt): Likewise.
5567 * localedata/locales/ar_SY (t_fmt): Likewise.
5568 * localedata/locales/ar_TN (t_fmt): Likewise.
5569 * localedata/locales/ar_YE (t_fmt): Likewise.
5571 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
5572 (t_fmt_ampm): Likewise.
5573 * localedata/locales/gez_ET (t_fmt): Likewise.
5574 (t_fmt_ampm): Likewise.
5576 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
5577 (t_fmt_ampm): Likewise.
5578 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
5580 * localedata/locales/zh_HK (t_fmt):
5581 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
5583 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
5584 because this locale does not use the 12-hour clock.
5585 (t_fmt): Set to "%Z %H:%M:%S".
5586 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
5588 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
5589 because this locale does not use the 12-hour clock.
5590 (t_fmt): Set to "%H:%M:%S %Z".
5591 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
5593 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
5594 because this locale does not use the 12-hour clock.
5595 (t_fmt): Set to "%T".
5596 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
5597 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
5599 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
5600 because this locale does not use the 12-hour clock.
5601 (t_fmt): Set to "%H:%M:%S %Z".
5602 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
5604 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
5605 because this locale does not use the 12-hour clock.
5606 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
5607 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
5609 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5613 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
5614 (t_fmt_ampm): Likewise.
5615 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
5616 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
5617 (d_fmt): Set to "%-d.%-m.%y".
5619 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5621 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
5622 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
5623 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
5625 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5626 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
5627 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
5629 * support/blob_repeat.c (check_mul_overflow_size_t,
5630 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
5632 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
5634 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
5636 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
5638 regex: simplify Gnulib port
5639 This simplifies the code, by removing stuff intended for porting
5640 to Gnulib but no longer needed there.
5641 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
5642 uses of libc_hidden_def, weak_alias.
5643 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
5644 _Restrict_ except for public-facing headers.
5645 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
5646 Remove; already defined elsewhere.
5647 * posix/regex.c, posix/regex_internal.h:
5648 Use __GNUC_PREREQ instead of rolling our own.
5649 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
5651 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
5653 * benchtests/bench-strlen.c (generic_strlen): New function.
5654 (memchr_strlen): New function.
5656 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5658 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
5659 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
5660 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
5662 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5664 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5666 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5668 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
5669 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
5670 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
5671 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
5672 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
5673 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
5674 <sysdeps/ieee754/flt-32/s_sincosf.c>.
5676 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5679 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
5680 PLT reference in libc.so.
5681 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
5682 _Q_lltoq and _Q_qtod PLT references in libc.so.
5684 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
5686 * benchtests/bench-memchr.c: Cleanup defines.
5687 * benchtests/bench-memcmp.c: Likewise.
5688 * benchtests/bench-memset.c: Likewise.
5689 * benchtests/bench-memset-large.c: Likewise.
5690 * benchtests/bench-memset-walk.c: Likewise.
5691 * benchtests/bench-stpcpy.c: Likewise.
5692 * benchtests/bench-stpncpy.c: Likewise.
5693 * benchtests/bench-strcat.c: Likewise.
5694 * benchtests/bench-strchr.c: Likewise.
5695 * benchtests/bench-strcmp.c: Likewise.
5696 * benchtests/bench-strcpy.c: Likewise.
5697 * benchtests/bench-strcspn.c: Likewise.
5698 * benchtests/bench-string.h: Likewise.
5699 * benchtests/bench-strlen.c: Likewise.
5700 * benchtests/bench-strncat.c: Likewise.
5701 * benchtests/bench-strncmp.c: Likewise.
5702 * benchtests/bench-strncpy.c: Likewise.
5703 * benchtests/bench-strnlen.c: Likewise.
5704 * benchtests/bench-strpbrk.c: Likewise.
5705 * benchtests/bench-strrchr.c: Likewise.
5706 * benchtests/bench-strspn.c: Likewise.
5708 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5710 * stdlib/longlong.h: Update from GCC.
5713 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
5714 * configure: Regenerated.
5715 * manual/install.texi (Tools for Compilation): Update minimum GCC
5717 * INSTALL: Regenerated.
5719 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
5721 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
5723 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
5725 * malloc/malloc.c (mremap_chunk): Additional checks.
5727 2018-12-21 Mao Han <han_mao@c-sky.com>
5729 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
5730 * scripts/build-many-glibcs.py: Add C-SKY targets.
5731 * sysdeps/csky/Implies: New file.
5732 * sysdeps/csky/Makefile: Likewise.
5733 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
5734 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
5735 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
5736 * sysdeps/csky/abiv2/memcmp.S: Likewise.
5737 * sysdeps/csky/abiv2/memcpy.S: Likewise.
5738 * sysdeps/csky/abiv2/memmove.S: Likewise.
5739 * sysdeps/csky/abiv2/memset.S: Likewise.
5740 * sysdeps/csky/abiv2/setjmp.S: Likewise.
5741 * sysdeps/csky/abiv2/start.S: Likewise.
5742 * sysdeps/csky/abiv2/strcmp.S: Likewise.
5743 * sysdeps/csky/abiv2/strcpy.S: Likewise.
5744 * sysdeps/csky/abiv2/strlen.S: Likewise.
5745 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
5746 * sysdeps/csky/abort-instr.h: Likewise.
5747 * sysdeps/csky/atomic-machine.h: Likewise.
5748 * sysdeps/csky/bits/endian.h: Likewise.
5749 * sysdeps/csky/bits/fenv.h: Likewise.
5750 * sysdeps/csky/bits/link.h: Likewise.
5751 * sysdeps/csky/bits/setjmp.h: Likewise.
5752 * sysdeps/csky/bsd-_setjmp.S: Likewise.
5753 * sysdeps/csky/bsd-setjmp.S: Likewise.
5754 * sysdeps/csky/configure: Likewise.
5755 * sysdeps/csky/configure.ac: Likewise.
5756 * sysdeps/csky/dl-machine.h: Likewise.
5757 * sysdeps/csky/dl-procinfo.c: Likewise.
5758 * sysdeps/csky/dl-procinfo.h: Likewise.
5759 * sysdeps/csky/dl-sysdep.h: Likewise.
5760 * sysdeps/csky/dl-tls.h: Likewise.
5761 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
5762 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
5763 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
5764 * sysdeps/csky/fpu/fegetenv.c: Likewise.
5765 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
5766 * sysdeps/csky/fpu/fegetmode.c: Likewise.
5767 * sysdeps/csky/fpu/fegetround.c: Likewise.
5768 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
5769 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
5770 * sysdeps/csky/fpu/fenv_private.h: Likewise.
5771 * sysdeps/csky/fpu/fesetenv.c: Likewise.
5772 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
5773 * sysdeps/csky/fpu/fesetmode.c: Likewise.
5774 * sysdeps/csky/fpu/fesetround.c: Likewise.
5775 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
5776 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
5777 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
5778 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
5779 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
5780 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
5781 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
5782 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
5783 * sysdeps/csky/fpu_control.h: Likewise.
5784 * sysdeps/csky/gccframe.h: Likewise.
5785 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
5786 * sysdeps/csky/ldsodefs.h: Likewise.
5787 * sysdeps/csky/libc-tls.c: Likewise.
5788 * sysdeps/csky/linkmap.h: Likewise.
5789 * sysdeps/csky/machine-gmon.h: Likewise.
5790 * sysdeps/csky/memusage.h: Likewise.
5791 * sysdeps/csky/nofpu/Implies: Likewise.
5792 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
5793 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
5794 * sysdeps/csky/nptl/Makefile: Likewise.
5795 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
5796 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
5797 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
5798 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
5799 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
5800 * sysdeps/csky/nptl/tls.h: Likewise.
5801 * sysdeps/csky/preconfigure: Likewise.
5802 * sysdeps/csky/sfp-machine.h: Likewise.
5803 * sysdeps/csky/sotruss-lib.c: Likewise.
5804 * sysdeps/csky/stackinfo.h: Likewise.
5805 * sysdeps/csky/sysdep.h: Likewise.
5806 * sysdeps/csky/tininess.h: Likewise.
5807 * sysdeps/csky/tst-audit.h: Likewise.
5808 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
5809 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
5810 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
5811 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
5812 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5813 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
5814 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5815 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
5816 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
5817 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
5818 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
5819 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
5820 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
5821 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
5822 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
5823 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
5824 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
5825 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
5826 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
5827 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
5828 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
5829 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
5830 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
5831 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
5832 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
5833 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
5834 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
5835 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
5836 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
5837 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
5838 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
5839 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
5840 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
5841 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
5842 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
5843 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
5844 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
5845 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
5846 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
5847 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
5848 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
5849 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
5850 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
5851 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
5853 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5855 * include/time.h (__difftime64): Add.
5856 * time/difftime.c (subtract): convert to 64-bit time.
5857 * time/difftime.c (__difftime64): Add.
5858 * time/difftime.c (__difftime): Wrap around __difftime64.
5860 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
5862 * manual/examples/add.c: Remove redundant "if not".
5863 * manual/examples/argp-ex1.c: Likewise.
5864 * manual/examples/argp-ex2.c: Likewise.
5865 * manual/examples/argp-ex3.c: Likewise.
5866 * manual/examples/argp-ex4.c: Likewise.
5867 * manual/examples/atexit.c: Likewise.
5868 * manual/examples/db.c: Likewise.
5869 * manual/examples/dir.c: Likewise.
5870 * manual/examples/dir2.c: Likewise.
5871 * manual/examples/execinfo.c: Likewise.
5872 * manual/examples/filecli.c: Likewise.
5873 * manual/examples/filesrv.c: Likewise.
5874 * manual/examples/fmtmsgexpl.c: Likewise.
5875 * manual/examples/genpass.c: Likewise.
5876 * manual/examples/inetcli.c: Likewise.
5877 * manual/examples/inetsrv.c: Likewise.
5878 * manual/examples/isockad.c: Likewise.
5879 * manual/examples/longopt.c: Likewise.
5880 * manual/examples/memopen.c: Likewise.
5881 * manual/examples/memstrm.c: Likewise.
5882 * manual/examples/mkdirent.c: Likewise.
5883 * manual/examples/mkfsock.c: Likewise.
5884 * manual/examples/mkisock.c: Likewise.
5885 * manual/examples/mygetpass.c: Likewise.
5886 * manual/examples/pipe.c: Likewise.
5887 * manual/examples/popen.c: Likewise.
5888 * manual/examples/rprintf.c: Likewise.
5889 * manual/examples/search.c: Likewise.
5890 * manual/examples/select.c: Likewise.
5891 * manual/examples/setjmp.c: Likewise.
5892 * manual/examples/sigh1.c: Likewise.
5893 * manual/examples/sigusr.c: Likewise.
5894 * manual/examples/stpcpy.c: Likewise.
5895 * manual/examples/strdupa.c: Likewise.
5896 * manual/examples/strftim.c: Likewise.
5897 * manual/examples/subopt.c: Likewise.
5898 * manual/examples/swapcontext.c: Likewise.
5899 * manual/examples/termios.c: Likewise.
5900 * manual/examples/testopt.c: Likewise.
5901 * manual/examples/testpass.c: Likewise.
5902 * manual/examples/timeval_subtract.c: Likewise.
5904 2018-12-19 Joseph Myers <joseph@codesourcery.com>
5906 * sysdeps/x86/fpu/math_private.h: New file.
5907 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5909 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5914 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5916 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5917 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5918 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5919 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5921 (_dl_show_auxv): Give a special treatment to
5922 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5923 and AT_L3_CACHEGEOMETRY.
5924 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5925 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5926 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5927 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5929 2018-12-19 Andreas Schwab <schwab@suse.de>
5931 * nscd/connections.c (check_use): Don't abort on invalid len.
5933 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5935 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5936 values in the 64bit value cases.
5938 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5944 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5950 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5953 (__gmtime64_r): Add.
5955 (__gmtime64_r): Add.
5956 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5962 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5965 (__localtime64_r): Add.
5967 (__localtime64_r): Add.
5968 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5970 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5972 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5973 kernel_sigction definition.
5975 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5977 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5979 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5980 __syscall_rt_sigaction.
5981 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5982 (kernel_sigaction): Use Linux generic defintion.
5984 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5985 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5986 (__syscall_rt_sigaction): Remove implementation.
5987 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5989 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5990 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5991 INTERNAL_SYSCALL): Remove definitions.
5992 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5993 action and signal set size.
5994 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5995 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5997 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5998 James Clarke <jrtc27@jrtc27.com>
6001 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
6002 Define if SA_RESTORER is defined.
6003 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
6004 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
6006 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
6007 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
6009 (HAS_SA_RESTORER): Define.
6010 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
6011 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
6012 (HAS_SA_RESTORER): Define.
6013 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
6014 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
6015 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
6016 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
6017 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6019 2018-12-18 Joseph Myers <joseph@codesourcery.com>
6021 * sysdeps/unix/sysv/linux/kernel-features.h
6022 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
6023 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6024 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
6025 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6026 (__ASSUME_ST_INO_64_BIT): Likewise.
6027 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6028 <kernel-features.h>.
6029 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6030 Remove conditional code.
6031 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6032 <kernel-features.h>.
6033 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6034 Remove conditional code.
6035 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
6036 <kernel-features.h>.
6037 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6038 Remove conditional code.
6039 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
6040 <kernel-features.h>.
6041 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
6042 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
6044 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6046 * sysdeps/s390/multiarch/ifunc-resolve.h
6047 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
6048 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
6049 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
6050 Delete macro definition.
6051 (s390_libc_ifunc_init): Rename to
6052 s390_libc_ifunc_expr_stfle_init.
6053 * sysdeps/s390/bzero: Use
6054 s390_libc_ifunc_expr_stfle_init instead of
6055 s390_libc_ifunc_init.
6056 * sysdeps/s390/memcmp.c: Likewise.
6057 * sysdeps/s390/memcpy.c: Likewise.
6058 * sysdeps/s390/mempcpy.c: Likewise.
6059 * sysdeps/s390/memset.c: Likewise.
6061 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6063 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
6064 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
6066 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6068 * sysdeps/s390/multiarch/Makefile
6069 (sysdep_routines): Remove wmemcmp variants.
6070 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
6071 * sysdeps/s390/multiarch/ifunc-impl-list.c
6072 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
6073 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
6074 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
6075 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
6076 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
6077 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
6078 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
6079 * sysdeps/s390/ifunc-wmemcmp.h: New file.
6081 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6083 * sysdeps/s390/multiarch/Makefile
6084 (sysdep_routines): Remove wmemset variants.
6085 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
6086 * sysdeps/s390/multiarch/ifunc-impl-list.c
6087 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
6088 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
6089 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
6090 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
6091 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
6092 * sysdeps/s390/multiarch/wmemset.c: Move to ...
6093 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
6094 * sysdeps/s390/ifunc-wmemset.h: New file.
6096 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6098 * sysdeps/s390/multiarch/Makefile
6099 (sysdep_routines): Remove wmemchr variants.
6100 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
6101 * sysdeps/s390/multiarch/ifunc-impl-list.c
6102 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
6103 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
6104 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
6105 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
6106 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
6107 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
6108 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
6109 * sysdeps/s390/ifunc-wmemchr.h: New file.
6111 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6113 * sysdeps/s390/multiarch/Makefile
6114 (sysdep_routines): Remove wcscspn variants.
6115 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
6116 * sysdeps/s390/multiarch/ifunc-impl-list.c
6117 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
6118 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
6119 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
6120 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
6121 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
6122 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
6123 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
6124 * sysdeps/s390/ifunc-wcscspn.h: New file.
6126 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6128 * sysdeps/s390/multiarch/Makefile
6129 (sysdep_routines): Remove wcspbrk variants.
6130 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
6131 * sysdeps/s390/multiarch/ifunc-impl-list.c
6132 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
6133 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
6134 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
6135 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
6136 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
6137 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
6138 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
6139 * sysdeps/s390/ifunc-wcspbrk.h: New file.
6141 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6143 * sysdeps/s390/multiarch/Makefile
6144 (sysdep_routines): Remove wcsspn variants.
6145 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
6146 * sysdeps/s390/multiarch/ifunc-impl-list.c
6147 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
6148 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
6149 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
6150 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
6151 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
6152 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
6153 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
6154 * sysdeps/s390/ifunc-wcsspn.h: New file.
6156 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6158 * sysdeps/s390/multiarch/Makefile
6159 (sysdep_routines): Remove wcsrchr variants.
6160 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
6161 * sysdeps/s390/multiarch/ifunc-impl-list.c
6162 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
6163 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
6164 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
6165 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
6166 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
6167 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
6168 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
6169 * sysdeps/s390/ifunc-wcsrchr.h: New file.
6171 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6173 * sysdeps/s390/multiarch/Makefile
6174 (sysdep_routines): Remove wcschrnul variants.
6175 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
6176 * sysdeps/s390/multiarch/ifunc-impl-list.c
6177 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
6178 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
6179 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
6180 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
6181 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
6182 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
6183 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
6184 * sysdeps/s390/ifunc-wcschrnul.h: New file.
6186 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6188 * sysdeps/s390/multiarch/Makefile
6189 (sysdep_routines): Remove wcschr variants.
6190 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
6191 * sysdeps/s390/multiarch/ifunc-impl-list.c
6192 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
6193 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
6194 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
6195 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
6196 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
6197 * sysdeps/s390/multiarch/wcschr.c: Move to ...
6198 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
6199 * sysdeps/s390/ifunc-wcschr.h: New file.
6201 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6203 * sysdeps/s390/multiarch/Makefile
6204 (sysdep_routines): Remove wcsncmp variants.
6205 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
6206 * sysdeps/s390/multiarch/ifunc-impl-list.c
6207 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
6208 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
6209 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
6210 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
6211 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
6212 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
6213 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
6214 * sysdeps/s390/ifunc-wcsncmp.h: New file.
6216 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6218 * sysdeps/s390/multiarch/Makefile
6219 (sysdep_routines): Remove wcscmp variants.
6220 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
6221 * sysdeps/s390/multiarch/ifunc-impl-list.c
6222 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
6223 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
6224 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
6225 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
6226 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
6227 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
6228 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
6229 * sysdeps/s390/ifunc-wcscmp.h: New file.
6231 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6233 * sysdeps/s390/multiarch/Makefile
6234 (sysdep_routines): Remove wcsncat variants.
6235 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
6236 * sysdeps/s390/multiarch/ifunc-impl-list.c
6237 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
6238 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
6239 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
6240 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
6241 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
6242 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
6243 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
6244 * sysdeps/s390/ifunc-wcsncat.h: New file.
6246 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6248 * sysdeps/s390/multiarch/Makefile
6249 (sysdep_routines): Remove wcscat variants.
6250 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
6251 * sysdeps/s390/multiarch/ifunc-impl-list.c
6252 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
6253 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
6254 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
6255 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
6256 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
6257 * sysdeps/s390/multiarch/wcscat.c: Move to ...
6258 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
6259 * sysdeps/s390/ifunc-wcscat.h: New file.
6261 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6263 * sysdeps/s390/multiarch/Makefile
6264 (sysdep_routines): Remove wcpncpy variants.
6265 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
6266 * sysdeps/s390/multiarch/ifunc-impl-list.c
6267 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
6268 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
6269 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
6270 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
6271 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
6272 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
6273 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
6274 * sysdeps/s390/ifunc-wcpncpy.h: New file.
6276 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6278 * sysdeps/s390/multiarch/Makefile
6279 (sysdep_routines): Remove wcsncpy variants.
6280 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
6281 * sysdeps/s390/multiarch/ifunc-impl-list.c
6282 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
6283 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
6284 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
6285 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
6286 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
6287 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
6288 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
6289 * sysdeps/s390/ifunc-wcsncpy.h: New file.
6291 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6293 * sysdeps/s390/multiarch/Makefile
6294 (sysdep_routines): Remove wcpcpy variants.
6295 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
6296 * sysdeps/s390/multiarch/ifunc-impl-list.c
6297 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
6298 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
6299 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
6300 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
6301 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
6302 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
6303 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
6304 * sysdeps/s390/ifunc-wcpcpy.h: New file.
6306 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6308 * sysdeps/s390/multiarch/Makefile
6309 (sysdep_routines): Remove wcscpy variants.
6310 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
6311 * sysdeps/s390/multiarch/ifunc-impl-list.c
6312 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
6313 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
6314 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
6315 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
6316 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
6317 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
6318 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
6319 * sysdeps/s390/ifunc-wcscpy.h: New file.
6321 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6323 * sysdeps/s390/multiarch/Makefile
6324 (sysdep_routines): Remove wcsnlen variants.
6325 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
6326 * sysdeps/s390/multiarch/ifunc-impl-list.c
6327 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
6328 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
6329 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
6330 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
6331 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
6332 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
6333 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
6334 * sysdeps/s390/ifunc-wcsnlen.h: New file.
6336 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6338 * sysdeps/s390/multiarch/Makefile
6339 (sysdep_routines): Remove wcslen variants.
6340 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
6341 * sysdeps/s390/multiarch/ifunc-impl-list.c
6342 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
6343 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
6344 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
6345 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
6346 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
6347 * sysdeps/s390/multiarch/wcslen.c: Move to ...
6348 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
6349 * sysdeps/s390/ifunc-wcslen.h: New file.
6351 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6353 * sysdeps/s390/multiarch/Makefile
6354 (sysdep_routines): Remove memrchr variants.
6355 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
6356 * sysdeps/s390/multiarch/ifunc-impl-list.c
6357 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
6358 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
6359 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
6360 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
6361 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
6362 * sysdeps/s390/multiarch/memrchr.c: Move to ...
6363 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
6364 * sysdeps/s390/ifunc-memrchr.h: New file.
6366 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6368 * sysdeps/s390/multiarch/Makefile
6369 (sysdep_routines): Remove memccpy variants.
6370 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
6371 * sysdeps/s390/multiarch/ifunc-impl-list.c
6372 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
6373 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
6374 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
6375 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
6376 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
6377 * sysdeps/s390/multiarch/memccpy.c: Move to ...
6378 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
6379 * sysdeps/s390/ifunc-memccpy.h: New file.
6381 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6383 * sysdeps/s390/multiarch/Makefile
6384 (sysdep_routines): Remove rawmemchr variants.
6385 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
6386 * sysdeps/s390/multiarch/ifunc-impl-list.c
6387 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
6388 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
6389 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
6390 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
6391 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
6392 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
6393 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
6394 * sysdeps/s390/ifunc-rawmemchr.h: New file.
6396 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6398 * sysdeps/s390/multiarch/Makefile
6399 (sysdep_routines): Remove memchr variants.
6400 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
6401 * sysdeps/s390/multiarch/ifunc-impl-list.c
6402 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
6403 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
6404 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
6405 * sysdeps/s390/multiarch/memchr.c: Move to ...
6406 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
6407 * sysdeps/s390/ifunc-memchr.h: New file.
6408 * sysdeps/s390/s390-64/memchr.S: Move to ...
6409 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
6410 for 31/64bit and ifunc handling.
6411 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
6412 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6413 * sysdeps/s390/s390-32/memchr.S: Likewise.
6415 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6417 * sysdeps/s390/multiarch/Makefile
6418 (sysdep_routines): Remove strcspn variants.
6419 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
6420 * sysdeps/s390/multiarch/ifunc-impl-list.c
6421 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
6422 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
6423 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
6424 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
6425 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
6426 * sysdeps/s390/multiarch/strcspn.c: Move to ...
6427 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
6428 * sysdeps/s390/ifunc-strcspn.h: New file.
6430 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6432 * sysdeps/s390/multiarch/Makefile
6433 (sysdep_routines): Remove strpbrk variants.
6434 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
6435 * sysdeps/s390/multiarch/ifunc-impl-list.c
6436 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
6437 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
6438 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
6439 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
6440 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
6441 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
6442 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
6443 * sysdeps/s390/ifunc-strpbrk.h: New file.
6445 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6447 * sysdeps/s390/multiarch/Makefile
6448 (sysdep_routines): Remove strspn variants.
6449 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
6450 * sysdeps/s390/multiarch/ifunc-impl-list.c
6451 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
6452 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
6453 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
6454 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
6455 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
6456 * sysdeps/s390/multiarch/strspn.c: Move to ...
6457 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
6458 * sysdeps/s390/ifunc-strspn.h: New file.
6460 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6462 * sysdeps/s390/multiarch/Makefile
6463 (sysdep_routines): Remove strrchr variants.
6464 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
6465 * sysdeps/s390/multiarch/ifunc-impl-list.c
6466 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
6467 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
6468 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
6469 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
6470 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
6471 * sysdeps/s390/multiarch/strrchr.c: Move to ...
6472 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
6473 * sysdeps/s390/ifunc-strrchr.h: New file.
6475 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6477 * sysdeps/s390/multiarch/Makefile
6478 (sysdep_routines): Remove strchrnul variants.
6479 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
6480 * sysdeps/s390/multiarch/ifunc-impl-list.c
6481 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
6482 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
6483 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
6484 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
6485 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
6486 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
6487 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
6488 * sysdeps/s390/ifunc-strchrnul.h: New file.
6490 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6492 * sysdeps/s390/multiarch/Makefile
6493 (sysdep_routines): Remove strchr variants.
6494 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
6495 * sysdeps/s390/multiarch/ifunc-impl-list.c
6496 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
6497 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
6498 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
6499 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
6500 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
6501 * sysdeps/s390/multiarch/strchr.c: Move to ...
6502 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
6503 * sysdeps/s390/ifunc-strchr.h: New file.
6505 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6507 * sysdeps/s390/multiarch/Makefile
6508 (sysdep_routines): Remove strncmp variants.
6509 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
6510 * sysdeps/s390/multiarch/ifunc-impl-list.c
6511 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
6512 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
6513 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
6514 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
6515 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
6516 * sysdeps/s390/multiarch/strncmp.c: Move to ...
6517 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
6518 * sysdeps/s390/ifunc-strncmp.h: New file.
6520 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6522 * sysdeps/s390/multiarch/Makefile
6523 (sysdep_routines): Remove strcmp variants.
6524 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
6525 * sysdeps/s390/multiarch/ifunc-impl-list.c
6526 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
6527 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
6528 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
6529 * sysdeps/s390/multiarch/strcmp.c: Move to ...
6530 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
6531 * sysdeps/s390/ifunc-strcmp.h: New file.
6532 * sysdeps/s390/s390-64/strcmp.S: Move to ...
6533 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
6534 for 31/64bit and ifunc handling.
6535 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
6536 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6537 * sysdeps/s390/s390-32/strcmp.S: Likewise.
6539 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6541 * sysdeps/s390/multiarch/Makefile
6542 (sysdep_routines): Remove strncat variants.
6543 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
6544 * sysdeps/s390/multiarch/ifunc-impl-list.c
6545 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
6546 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
6547 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
6548 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
6549 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
6550 * sysdeps/s390/multiarch/strncat.c: Move to ...
6551 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
6552 * sysdeps/s390/ifunc-strncat.h: New file.
6554 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6556 * sysdeps/s390/multiarch/Makefile
6557 (sysdep_routines): Remove strcat variants.
6558 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
6559 * sysdeps/s390/multiarch/ifunc-impl-list.c
6560 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
6561 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
6562 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
6563 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
6564 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
6565 * sysdeps/s390/multiarch/strcat.c: Move to ...
6566 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
6567 * sysdeps/s390/ifunc-strcat.h: New file.
6569 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6571 * sysdeps/s390/multiarch/Makefile
6572 (sysdep_routines): Remove stpncpy variants.
6573 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
6574 * sysdeps/s390/multiarch/ifunc-impl-list.c
6575 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
6576 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
6577 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
6578 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
6579 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
6580 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
6581 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
6582 * sysdeps/s390/ifunc-stpncpy.h: New file.
6584 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6586 * sysdeps/s390/multiarch/Makefile
6587 (sysdep_routines): Remove strncpy variants.
6588 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
6589 * sysdeps/s390/multiarch/ifunc-impl-list.c
6590 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
6591 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
6592 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
6593 * sysdeps/s390/multiarch/strncpy.c: Move to ...
6594 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
6595 * sysdeps/s390/ifunc-strncpy.h: New file.
6596 * sysdeps/s390/s390-64/strncpy.S: Move to ...
6597 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
6598 and adjust ifunc handling.
6599 * sysdeps/s390/s390-32/strncpy.S: Move to ...
6600 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
6601 and adjust ifunc handling.
6602 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
6603 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6605 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6607 * sysdeps/s390/multiarch/Makefile
6608 (sysdep_routines): Remove stpcpy variants.
6609 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
6610 * sysdeps/s390/multiarch/ifunc-impl-list.c
6611 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
6612 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
6613 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
6614 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
6615 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
6616 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
6617 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
6618 * sysdeps/s390/ifunc-stpcpy.h: New file.
6620 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6622 * sysdeps/s390/multiarch/Makefile
6623 (sysdep_routines): Remove strcpy variants.
6624 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
6625 * sysdeps/s390/multiarch/ifunc-impl-list.c
6626 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
6627 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
6628 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
6629 * sysdeps/s390/multiarch/strcpy.c: Move to ...
6630 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
6631 * sysdeps/s390/ifunc-strcpy.h: New file.
6632 * sysdeps/s390/s390-64/strcpy.S: Move to ...
6633 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
6634 for 31/64bit and ifunc handling.
6635 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
6636 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6637 * sysdeps/s390/s390-32/strcpy.S: Likewise.
6639 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6641 * sysdeps/s390/multiarch/Makefile
6642 (sysdep_routines): Remove strnlen variants.
6643 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
6644 * sysdeps/s390/multiarch/ifunc-impl-list.c
6645 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
6646 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
6647 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
6648 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
6649 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
6650 * sysdeps/s390/multiarch/strnlen.c: Move to ...
6651 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
6652 * sysdeps/s390/ifunc-strnlen.h: New file.
6654 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6656 * sysdeps/s390/multiarch/Makefile
6657 (sysdep_routines): Remove strlen variants.
6658 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
6659 * sysdeps/s390/multiarch/ifunc-impl-list.c
6660 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
6661 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
6662 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
6663 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
6664 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
6665 * sysdeps/s390/multiarch/strlen.c: Move to ...
6666 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
6667 * sysdeps/s390/ifunc-strlen.h: New file.
6669 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6671 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
6672 * sysdeps/s390/multiarch/ifunc-impl-list.c
6673 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
6674 * sysdeps/s390/ifunc-memmem.h: New file.
6675 * sysdeps/s390/memmem.c: Likewise.
6676 * sysdeps/s390/memmem-c.c: Likewise.
6677 * sysdeps/s390/memmem-vx.c: Likewise.
6679 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6681 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
6682 * sysdeps/s390/multiarch/ifunc-impl-list.c
6683 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
6684 * sysdeps/s390/ifunc-strstr.h: New file.
6685 * sysdeps/s390/strstr.c: Likewise.
6686 * sysdeps/s390/strstr-c.c: Likewise.
6687 * sysdeps/s390/strstr-vx.c: Likewise.
6689 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6691 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
6692 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
6693 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
6694 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
6696 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
6697 * sysdeps/s390/memmove-c.c: New file.
6698 * sysdeps/s390/memmove.c: Likewise.
6699 * sysdeps/s390/multiarch/ifunc-impl-list.c
6700 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
6702 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6704 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
6705 * sysdeps/s390/configure.ac: Add check for z13 support.
6706 * sysdeps/s390/configure: Regenerated.
6708 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6710 * sysdeps/s390/memcopy.h: New file.
6712 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6714 * sysdeps/s390/s390-32/bcopy.S: Remove.
6715 * sysdeps/s390/s390-64/bcopy.S: Likewise.
6717 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6719 * sysdeps/s390/ifunc-memcpy.h: New File.
6720 * sysdeps/s390/memcpy.S: Move to ...
6721 * sysdeps/s390/memcpy-z900.S ... here.
6722 Move implementations from memcpy-s390x.s to here.
6723 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
6724 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6725 Remove memcpy/mempcpy variants.
6726 * sysdeps/s390/Makefile (sysdep_routines):
6727 Add memcpy/mempcpy variants.
6728 * sysdeps/s390/multiarch/ifunc-impl-list.c
6729 (__libc_ifunc_impl_list): Adjust ifunc variants for
6731 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
6733 * sysdeps/s390/memcpy.c: ... here.
6734 Adjust ifunc variants for memcpy.
6735 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
6736 * sysdeps/s390/mempcpy.c: ... here.
6737 Adjust ifunc variants for mempcpy.
6738 * sysdeps/s390/mempcpy.S: Delete file.
6740 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6742 * sysdeps/s390/s390-64/memcpy.S: Move to ...
6743 * sysdeps/s390/memcpy.S: ... here.
6744 Adjust to be usable for 31/64bit.
6745 * sysdeps/s390/s390-32/memcpy.S: Delete File.
6746 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
6747 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
6748 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6749 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
6750 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
6751 Adjust to be usable for 31/64bit.
6752 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
6753 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
6754 * sysdeps/s390/multiarch/memcpy.c: ... here.
6755 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
6757 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6759 * sysdeps/s390/ifunc-memcmp.h: New File.
6760 * sysdeps/s390/memcmp.S: Move to ...
6761 * sysdeps/s390/memcmp-z900.S ... here.
6762 Move implementations from memcmp-s390x.s to here.
6763 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
6764 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6765 Remove memcmp variants.
6766 * sysdeps/s390/Makefile (sysdep_routines):
6767 Add memcmp variants.
6768 * sysdeps/s390/multiarch/ifunc-impl-list.c
6769 (__libc_ifunc_impl_list): Adjust ifunc variants for
6771 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
6773 * sysdeps/s390/memcmp.c: ... here.
6774 Adjust ifunc variants for memcmp.
6776 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6778 * sysdeps/s390/s390-64/memcmp.S: Move to ...
6779 * sysdeps/s390/memcmp.S: ... here.
6780 Adjust to be usable for 31/64bit.
6781 * sysdeps/s390/s390-32/memcmp.S: Delete File.
6782 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
6783 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6785 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6786 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
6787 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
6788 Adjust to be usable for 31/64bit.
6789 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
6790 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
6791 * sysdeps/s390/multiarch/memcmp.c: ... here.
6792 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
6794 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6796 * sysdeps/s390/s390-32/bzero.S: Delete file.
6797 * sysdeps/s390/s390-64/bzero.S: Likewise.
6798 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
6799 * sysdeps/s390/bzero.c: New file.
6800 * sysdeps/s390/memset-z900.S: Add bzero entry points.
6801 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
6802 * sysdeps/s390/multiarch/ifunc-impl-list.c
6803 (__libc_ifunc_impl_list): Add bzero ifunc variants.
6805 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6807 * sysdeps/s390/ifunc-memset.h: New File.
6808 * sysdeps/s390/memset.S: Move to ...
6809 * sysdeps/s390/memset-z900.S ... here.
6810 Move implementations from memset-s390x.s to here.
6811 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
6812 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6813 Remove memset variants.
6814 * sysdeps/s390/Makefile (sysdep_routines):
6815 Add memset variants.
6816 * sysdeps/s390/multiarch/ifunc-impl-list.c
6817 (__libc_ifunc_impl_list): Adjust ifunc variants for
6819 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
6821 * sysdeps/s390/memset.c: ... here.
6822 Adjust ifunc variants for memset.
6824 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6826 * sysdeps/s390/s390-64/memset.S: Move to ...
6827 * sysdeps/s390/memset.S: ... here.
6828 Adjust to be usable for 31/64bit.
6829 * sysdeps/s390/s390-32/memset.S: Delete File.
6830 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
6831 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6833 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6834 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
6835 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
6836 Adjust to be usable for 31/64bit.
6837 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
6838 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
6839 * sysdeps/s390/multiarch/memset.c: ... here.
6840 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
6842 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6844 * sysdeps/s390/multiarch/ifunc-resolve.h
6845 (s390_libc_ifunc_init, s390_libc_ifunc,
6846 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
6848 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6850 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
6851 * sysdeps/s390/configure.ac: Add check for z10 support.
6852 * sysdeps/s390/configure: Regenerated.
6854 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
6856 * sysdeps/i386/atomic-machine.h: Merged with ...
6857 * sysdeps/x86_64/atomic-machine.h: To ...
6858 * sysdeps/x86/atomic-machine.h: This. New file.
6860 2018-12-18 Florian Weimer <fweimer@redhat.com>
6862 Rewrite locale/gen-translit.pl in Python.
6863 * locale/Makefile (generated): Add C-translit.h.
6864 (before-compile): Add $(objpfx)C-translit.h.
6865 (C-translit.h): Move to $(objpfx). Create target directory.
6866 Build using Python script.
6867 * locale/gen-translit.py: New file.
6868 * locale/gen-translit.pl: Remove file.
6869 * locale/C-translit.h.in: Change comment character to '#' for
6870 easier parsing without a C preprocessor.
6871 * locale/C-translit.h: Remove generated file.
6872 * manual/install.texi (Tools for Compilation): Do not mention
6874 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6875 Remove locale/C-translit.h.
6876 * scripts/update-copyrights: Likewise.
6877 * INSTALL: Regenerate.
6879 2018-12-18 Florian Weimer <fweimer@redhat.com>
6882 * localedata/locales/bi_VU: Remove executable bit from file.
6884 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6887 (__localtime64): Add.
6888 * manual/maint.texi: Document Y2038 symbol handling.
6890 (__localtime64): Add.
6891 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6893 2018-12-17 Joseph Myers <joseph@codesourcery.com>
6895 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6898 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6899 to allow extra macros from first or second sources.
6900 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6901 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6902 (tests-special): Add $(objpfx)tst-mman-consts.out.
6903 ($(objpfx)tst-mman-consts.out): New makefile target.
6905 2018-12-17 Mao Han <han_mao@c-sky.com>
6907 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6908 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6909 without stat64 system call support.
6910 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6911 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6912 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6913 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6914 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6915 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6916 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6917 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6918 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6919 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6920 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6922 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6924 regex: fix storage-exhaustion error
6926 * posix/regexec.c (get_subexp):
6927 Do not continue if storage is exhausted.
6929 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
6931 regex: fix heap-use-after-free error
6933 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6934 https://debbugs.gnu.org/32592
6935 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6936 call extend_buffers which reallocates the re_string_t internal buffer.
6937 Local variable 'buf' was not updated in such case, resulting in
6939 * posix/regexec.c (get_subexp): Update 'buf' after call to
6942 2018-12-15 Florian Weimer <fweimer@redhat.com>
6944 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6945 (minimum_stride_size): Use it.
6946 (support_blob_repeat_allocate): Likewise.
6948 2018-12-14 Joseph Myers <joseph@codesourcery.com>
6950 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6955 2018-12-14 Florian Weimer <fweimer@redhat.com>
6957 * manual/process.texi (Process Creation Concepts): Remove
6958 documentation of process (ID) lifetime. List more process
6959 creation functions. Reference Process Identification section.
6960 (Process Identification): Add information about process ID
6961 lifetime. Describe Linux thread/task IDs.
6962 * manual/signal.texi (Signaling Another Process): Mention that the
6963 signal is always sent to the process.
6965 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6967 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6968 and tst-ldbl-efgcvt.
6969 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6970 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6971 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6972 (fcvt_tests, output_error, output_r_error, do_test): Use the
6973 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6974 select the type of floating-point variables and arguments; to
6975 produce extra tests for double and conversion specifiers for
6976 printf; and to set the names of called functions.
6977 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6978 in tst-efgcvt-template.c.
6979 * misc/tst-ldbl-efgcvt.c: Likewise.
6981 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
6983 * nss/Makefile (tst-nss-test3.out): New rule.
6985 2018-12-13 Joseph Myers <joseph@codesourcery.com>
6987 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6990 2018-12-13 fanjinke <fanjinke@hygon.cn>
6992 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6995 2018-12-13 Andreas Schwab <schwab@suse.de>
6998 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
6999 (__pthread_rwlock_rdlock_full): Update expected value for
7000 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
7001 * nptl/tst-rwlock-pwn.c: New file.
7002 * nptl/Makefile (tests): Add tst-rwlock-pwn.
7004 2018-12-12 Joseph Myers <joseph@codesourcery.com>
7006 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
7009 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7011 * benchtests/scripts/compare_bench.py (do_compare): write to
7012 stderr in casestat is not present.
7013 * benchtests/scripts/compare_bench.py (plot_graphs): write to
7014 stderr in case timings field is not present. Also string showing
7015 the output filename goes into the stderr.
7017 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7019 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
7020 and ZeroDivisorError exceptions.
7021 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
7022 argument to loop through user provided statistics.
7023 * benchtests/scripts/compare_bench.py (main): Include the --stats
7026 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7028 * benchtests/scripts/compare_bench.py (compare_runs): Continue
7031 2018-12-12 Florian Weimer <fweimer@redhat.com>
7033 * sysdeps/posix/timespec_get.c: Add missing “any later version”
7034 clause to copyright header.
7036 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7039 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
7040 registers saved in the stack frame.
7041 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
7042 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
7044 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7046 * include/bits/monetary-ldbl.h: New file.
7047 * include/bits/printf-ldbl.h: Likewise.
7048 * include/bits/stdio-ldbl.h: Likewise.
7049 * include/bits/stdlib-ldbl.h: Likewise.
7050 * include/bits/syslog-ldbl.h: Likewise.
7051 * include/bits/wchar-ldbl.h: Likewise.
7053 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7055 * libio/libio.h: Remove redirection for _IO_vfprintf.
7057 2018-12-11 Andreas Schwab <schwab@suse.de>
7059 * Makerules: Remove all references to abilist-pattern.
7060 (update-all-abi): Simplify find expression.
7062 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7065 * math/auto-libm-test-in: Add new test case.
7066 * math/auto-libm-test-out-pow: Regenerated.
7067 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
7069 2018-12-10 DJ Delorie <dj@redhat.com>
7072 * support/test-container.c: Move postclean step to before we
7075 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7077 * scripts/gen-as-const.py (main): Handle --python option.
7078 * scripts/gen-py-const.awk: Remove.
7079 * Makerules (py-const-script): Use gen-as-const.py.
7080 ($(py-const)): Likewise.
7081 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
7082 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
7083 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
7084 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
7085 ~PTHREAD_MUTEX_NO_ELISION_NP.
7086 * manual/README.pretty-printers: Update reference to
7089 * scripts/glibcextract.py: New file.
7090 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
7091 or tempfile. Import glibcexctract.
7092 (compute_c_consts): Remove. Moved to glibcextract.py.
7093 (gen_test): Update reference to compute_c_consts.
7095 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
7096 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
7097 * sysdeps/unix/sysv/linux/Makefile
7098 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
7099 Redirect stderr as well as stdout.
7101 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
7104 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
7105 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
7106 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
7107 ALWAYS_USE_VSYSCALL.
7108 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
7109 ALWAYS_USE_VSYSCALL.
7110 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
7111 ALWAYS_USE_VSYSCALL.
7113 2018-12-10 Florian Weimer <fweimer@redhat.com>
7116 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
7117 offset instead of count for clarity. Fix typo in comment.
7118 (__old_getdents64): Keep track of previous offset. Use it to call
7120 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
7121 that d_off is never zero.
7123 2018-12-10 Andreas Schwab <schwab@suse.de>
7125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
7126 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
7127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
7128 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
7129 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
7131 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7133 * timezone/private.h: Update from tzcode 2018g.
7134 * timezone/tzfile.h: Likewise.
7135 * timezone/tzselect.ksh: Likewise.
7136 * timezone/zdump.c: Likewise.
7137 * timezone/zic.c: Likewise.
7139 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7142 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
7143 (do_test): Adjust buffer size and fix format.
7145 2018-12-07 DJ Delorie <dj@redhat.com>
7148 * malloc/tst-tcfree3.c: New.
7149 * malloc/Makefile: Add it.
7151 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7153 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
7155 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7157 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
7158 used as a mask for the mode argument of __vfscanf_internal and
7159 __vfwscanf_internal.
7160 * stdio-common/vfscanf-internal.c
7161 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
7162 (__strtof128_internal): Define to __wcstof128_internal.
7163 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
7164 __strtof128_internal or __wcstof128_internal when the format of
7165 long double is the same as _Float128.
7167 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
7169 * include/unistd.h (__confstr): Add prototype and hidden prototype.
7170 * posix/confstr.c (confstr): Rename to __confstr.
7171 (__confstr): Add hidden def.
7172 (confstr): Add weak alias for __confstr.
7173 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
7176 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7178 * NEWS: Mention getcpu.
7179 * include/sched.h (__getcpu): New libc_hidden_proto.
7180 * manual/resource.texi: Document getcpu.
7181 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
7182 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
7183 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
7184 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7185 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7186 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7187 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7188 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7189 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7190 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7191 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7192 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7193 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
7195 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7196 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7197 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
7206 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7207 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7208 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7209 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7210 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7211 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7212 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7213 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7214 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
7215 * sysdeps/unix/sysv/linux/getcpu.c: New file.
7216 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
7219 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
7221 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
7223 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
7225 2018-12-07 Florian Weimer <fweimer@redhat.com>
7228 * posix/Makefile (routines): Add spawn_faction_addfchdir.
7229 * posix/Versions (GLIBC_2.29): Export
7230 posix_spawn_file_actions_addfchdir_np.
7231 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
7232 * posix/spawn_faction_destroy.c
7233 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
7234 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
7235 and the field action.fchdir_action.
7236 * posix/tst-spawn-chdir.c (add_chdir): New function.
7237 (do_test): Add do_fchdir loop. Call add_chdir.
7238 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
7239 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7240 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7241 posix_spawn_file_actions_addfchdir_np.
7242 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7244 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7246 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7247 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7249 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7251 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7253 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7255 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7257 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7259 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7260 (GLIBC_2.29): Likewise.
7261 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7262 (GLIBC_2.29): Likewise.
7263 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7264 (GLIBC_2.29): Likewise.
7265 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7266 (GLIBC_2.29): Likewise.
7267 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7270 (GLIBC_2.29): Likewise.
7271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7272 (GLIBC_2.29): Likewise.
7273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7274 (GLIBC_2.29): Likewise.
7275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7276 (GLIBC_2.29): Likewise.
7277 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7279 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7281 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7283 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7284 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7286 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7288 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7290 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7293 2018-12-06 Joseph Myers <joseph@codesourcery.com>
7295 * manual/texinfo.tex: Update to version 2018-09-21.20 with
7296 trailing whitespace removed.
7297 * scripts/config.guess: Update to version 2018-11-28.
7298 * scripts/config.sub: Update to version 2018-11-28.
7299 * scripts/install-sh: Update to version 2018-03-11.20.
7300 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
7301 * scripts/move-if-change: Update to version 2018-03-07 03:47.
7303 2018-12-07 Florian Weimer <fweimer@redhat.com>
7307 * inet/tst-if_index-long.c: New file.
7308 * inet/Makefile (tests): Add tst-if_index-long.
7310 2018-12-07 Florian Weimer <fweimer@redhat.com>
7312 * support/check.h (support_record_failure_is_failed): Declare.
7313 * support/descriptors.h: New file.
7314 * support/support_descriptors.c: Likewise.
7315 * support/tst-support_descriptors.c: Likewise.
7316 * support/support_record_failure.c
7317 (support_record_failure_is_failed): New function.
7318 * support/Makefile (libsupport-routines): Add support_descriptors.
7319 (tests): Add tst-support_descriptors.
7321 2018-12-05 Zack Weinberg <zackw@panix.com>
7322 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7324 * stdio-common/vfprintf-internal.c
7325 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
7326 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
7327 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
7328 and __no_long_double.
7329 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
7330 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
7331 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
7332 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
7333 and __nldbl_*syslog* functions.
7334 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
7335 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
7336 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
7337 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
7338 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
7339 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
7340 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
7341 (__nldbl_vwprintf, __nldbl_wprintf):
7342 Directly call the appropriate __v*printf_internal routine, passing
7343 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
7345 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
7346 (__nldbl___printf_chk, __nldbl___snprintf_chk)
7347 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
7348 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
7349 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
7350 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7351 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
7352 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
7353 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
7354 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
7355 Likewise, and also pass PRINTF_FORTIFY when appropriate.
7356 (__nldbl_syslog, __nldbl_vsyslog):
7357 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
7358 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7360 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7363 2018-12-05 Zack Weinberg <zackw@panix.com>
7364 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7367 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
7368 Moved here from debug/vsprintf_chk.c.
7369 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
7370 and completion logic for the strfile to match exactly what
7371 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
7372 _IO_str_init_static_internal instead of maxlen-1.
7373 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7374 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
7375 __vsprintf_internal.
7377 * debug/vsprintf_chk.c (__vsprintf_chk)
7378 * debug/sprintf_chk.c (__sprintf_chk):
7379 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
7380 'flags' argument is positive, and slen as maxlen. No need to lock
7381 the FILE and/or construct a temporary FILE. Minimize and normalize
7382 header inclusions and variable names. Do not libc_hidden_def anything.
7384 * debug/asprintf_chk.c (__asprintf_chk)
7385 * debug/dprintf_chk.c (__dprintf_chk)
7386 * debug/fprintf_chk.c (__fprintf_chk)
7387 * debug/fwprintf_chk.c (__fwprintf_chk)
7388 * debug/printf_chk.c (__printf_chk)
7389 * debug/snprintf_chk.c (__snprintf_chk)
7390 * debug/swprintf_chk.c (__swprintf_chk)
7391 * debug/vasprintf_chk.c (__vasprintf_chk)
7392 * debug/vdprintf_chk.c (__vdprintf_chk)
7393 * debug/vfprintf_chk.c (__vfprintf_chk)
7394 * debug/vfwprintf_chk.c (__vfwprintf_chk)
7395 * debug/vprintf_chk.c (__vprintf_chk)
7396 * debug/vsnprintf_chk.c (__vsnprintf_chk)
7397 * debug/vswprintf_chk.c (__vswprintf_chk)
7398 * debug/vwprintf_chk.c (__vwprintf_chk)
7399 * debug/wprintf_chk.c (__wprintf_chk):
7400 Directly call the corresponding vxxprintf_internal function, passing
7401 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
7402 the FILE and/or construct a temporary FILE. Minimize and normalize
7403 header inclusions and variable names. Do not libc_hidden_def anything.
7405 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
7406 __obstack_vprintf_internal.
7407 (__obstack_vprintf_chk): Convert into a wrapper that calls
7408 __obstack_vprintf_internal (these two functions already had the
7409 same code) and move to new file...
7410 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
7412 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
7413 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
7414 * debug/Makefile (routines): Add vobprintf_chk.
7416 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7417 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7418 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
7419 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7420 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
7421 (__nldbl___obstack_vfprintf_chk):
7422 Directly call the corresponding vxxprintf_internal function,
7423 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
7424 duplicate comparison of slen with 0 or maxlen from the corresponding
7425 non-__nldbl function.
7427 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
7428 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
7429 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
7430 Remove libc_hidden_proto.
7432 * stdio-common/vfprintf-internal.c
7433 (__vfprintf_internal, __vfwprintf_internal):
7434 Do not check _IO_FLAGS2_FORTIFY.
7435 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
7436 * libio/libioP.h: Update prototype of __vsprintf_internal and add
7437 a comment explaining why it has the maxlen argument.
7438 (_IO_acquire_lock_clear_flags2_fct): Remove.
7439 (_IO_acquire_lock_clear_flags2): Remove.
7440 (_IO_release_lock): Remove conditional statement which will
7442 (_IO_acquire_lock): Remove variable which is now unused.
7443 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7444 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7446 * stdio-common/Makefile (tests): Add tst-bz11319 and
7447 tst-bz11319-fortify2.
7448 (CFLAGS-tst-bz11319-fortify2.c): New macro.
7449 * stdio-common/tst-bz11319-fortify2.c: New file.
7450 * stdio-common/tst-bz11319.c: Likewise.
7452 2018-12-05 Zack Weinberg <zackw@panix.com>
7453 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7455 * misc/syslog.c: Include libioP.h, not iolibio.h.
7456 (__vsyslog_internal): New function with the former body of
7457 __vsyslog_chk; takes mode_flags argument same as
7458 __v*printf_internal. Call __vfprintf_internal directly.
7460 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
7461 Remove libc_hidden_def.
7462 (__syslog, __syslog_chk): Use __vsyslog_internal.
7463 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
7465 * include/sys/syslog.h: Add multiple inclusion guard.
7466 Add prototype for __vsyslog_internal.
7467 Remove declaration and libc_hidden_proto for __vsyslog_chk.
7469 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
7470 Use __vsyslog_internal.
7472 2018-12-05 Zack Weinberg <zackw@panix.com>
7473 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7475 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
7476 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
7477 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
7479 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
7480 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
7482 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
7483 Include wctype.h here if COMPILE_WPRINTF is defined.
7484 Define __vfprintf_internal or __vfwprintf_internal, depending
7486 Temporarily, on entry to this function, update mode_flags
7487 according to the environmental settings corresponding to
7488 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
7489 Throughout, check mode_flags instead of __ldbl_is_dbl and
7490 _IO_FLAGS2_FORTIFY on the destination FILE.
7491 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
7492 Include vfprintf-internal.c. Don't include wctype.h.
7493 * stdio-common/vfprintf.c: New file. Just define __vfprintf
7494 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
7496 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
7497 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
7499 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
7501 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
7502 and add mode_flags argument; use __vfprintf_internal.
7503 (__vdprintf): New function. Alias vdprintf to this.
7504 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
7505 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
7506 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
7507 (__obstack_printf): Use __obstack_printf_internal.
7508 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
7509 public aliases __vsnprintf and vsnprintf.
7510 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
7512 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
7513 public aliases _IO_vsprintf and vsprintf.
7514 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
7515 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
7516 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
7517 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
7518 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
7520 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
7521 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
7522 * stdio-common/fprintf.c, stdio-common/fxprintf.c
7523 * stdio-common/printf.c: Use __vfprintf_internal.
7525 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
7526 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
7527 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
7529 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
7530 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
7531 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
7532 __vfwprintf_internal.
7534 * libio/libio.h: Remove libc_hidden_proto and declaration for
7536 Remove declaration of _IO_vfwprintf.
7537 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
7539 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
7541 * include/stdio.h: Add prototype for __vasprintf.
7542 (__vsnprintf): Remove declaration, because there are no more
7544 * include/wchar.h (__vfwprintf, __vswprintf): Remove
7545 declaration, because there are no more internal calls.
7547 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
7548 __vsnprintf_internal, instead of _IO_vsnprintf.
7549 * argp/argp-help.c (__argp_error, __argp_failure): Use
7550 __vasprintf_internal, instead of _IO_vasprintf.
7551 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
7552 redefine, because there are no more internal calls.
7554 2018-12-05 Zack Weinberg <zackw@panix.com>
7555 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7557 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
7558 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
7559 Include libio/strfile.h instead of libioP.h.
7560 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
7561 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
7562 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
7563 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
7564 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
7565 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
7566 necessary. Do not set __no_long_double. Normalize variable names.
7567 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
7568 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
7569 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
7570 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
7571 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
7572 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
7573 Call __vfscanf_internal / __vfwscanf_internal directly, passing
7574 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
7575 Do not set __no_long_double. Normalize variable names.
7577 2018-12-05 Zack Weinberg <zackw@panix.com>
7578 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7580 * stdio-common/isoc99_scanf.c
7581 * stdio-common/isoc99_fscanf.c
7582 * stdio-common/isoc99_sscanf.c
7583 * stdio-common/isoc99_vscanf.c
7584 * stdio-common/isoc99_vfscanf.c
7585 * stdio-common/isoc99_vsscanf.c
7586 * wcsmbs/isoc99_wscanf.c
7587 * wcsmbs/isoc99_fwscanf.c
7588 * wcsmbs/isoc99_swscanf.c
7589 * wcsmbs/isoc99_vwscanf.c
7590 * wcsmbs/isoc99_vfwscanf.c
7591 * wcsmbs/isoc99_vswscanf.c:
7592 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
7593 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
7594 No need to lock and unlock the FILE passed to that function.
7596 * stdio-common/vfscanf-internal.c
7597 (__vfscanf_internal, __vfwscanf_internal):
7598 Don't look at _IO_FLAGS2_SCANF_STD.
7599 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
7600 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
7601 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
7603 2018-12-05 Zack Weinberg <zackw@panix.com>
7604 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7606 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
7607 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
7608 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
7609 * libio/strfile.h: Add multiple inclusion guard.
7610 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
7612 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
7613 consistency with the other version of this file.
7614 (ldbl_compat_symbol): New macro.
7615 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
7618 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
7619 Define __vfscanf_internal or __vfwscanf_internal, depending on
7620 COMPILE_WSCANF; don't define any other public symbols.
7621 Remove errval and code to set errp.
7622 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
7623 as the mode_flags argument.
7624 (encode_error, conv_error, input_error): Don't set errval.
7625 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
7626 Include vfscanf-internal.c.
7627 * stdio-common/vfscanf.c: New file defining the public entry
7628 point vfscanf, which calls __vfscanf_internal.
7629 * stdio-common/vfwscanf.c: New file defining the public entry
7630 point vfwscanf, which calls __vfwscanf_internal.
7632 * stdio-common/iovfscanf.c: New file.
7633 * stdio-common/iovfwscanf.c: Likewise.
7635 * stdio-common/Makefile (routines): Add vfscanf-internal,
7636 vfwscanf-internal, iovfscanf, iovfwscanf.
7637 * stdio-common/Versions: Mention GLIBC_2.29, so that
7638 it can be used in SHLIB_COMPAT expressions.
7639 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
7640 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
7641 Call __vfscanf_internal, instead of _IO_vfscanf.
7642 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
7644 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
7647 * libio/iovsscanf.c: Clean up includes, when possible. Use
7648 _IO_strfile_read or _IO_strfile_readw, when needed. Call
7649 __vfscanf_internal or __vfwscanf_internal directly.
7650 * libio/iovswscanf.c: Likewise.
7651 * libio/swscanf.c: Likewise.
7652 * libio/vscanf.c: Likewise.
7653 * libio/vwscanf.c: Likewise.
7654 * libio/wscanf.c: Likewise.
7655 * stdio-common/isoc99_fscanf.c: Likewise.
7656 * stdio-common/isoc99_scanf.c: Likewise.
7657 * stdio-common/isoc99_sscanf.c: Likewise.
7658 * stdio-common/isoc99_vfscanf.c: Likewise.
7659 * stdio-common/isoc99_vscanf.c: Likewise.
7660 * stdio-common/isoc99_vsscanf.c: Likewise.
7661 * stdio-common/scanf.c: Likewise.
7662 * stdio-common/sscanf.c: Likewise.
7663 * wcsmbs/isoc99_fwscanf.c: Likewise.
7664 * wcsmbs/isoc99_swscanf.c: Likewise.
7665 * wcsmbs/isoc99_vfwscanf.c: Likewise.
7666 * wcsmbs/isoc99_vswscanf.c: Likewise.
7667 * wcsmbs/isoc99_vwscanf.c: Likewise.
7668 * wcsmbs/isoc99_wscanf.c: Likewise.
7670 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
7673 (__tz_compute): Replace time_t with __time64_t.
7674 (__tz_convert): Replace time_t* with __time64_t.
7675 (__offtime): Replace time_t* with __time64_t.
7677 (__gmtime_r): Adjust call to __tz_convert.
7680 (__localtime_r): Likewise.
7681 (localtime): Likewise.
7682 * time/offtime.c: Replace time_t with __time64_t.
7683 * time/tzset.c: Likewise.
7685 2018-12-04 Joseph Myers <joseph@codesourcery.com>
7687 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
7688 dynamic linker unless [$(run-built-tests) = yes].
7690 2018-12-03 DJ Delorie <dj@delorie.com>
7692 * support/test-container.c (check_for_unshare_hints): New.
7693 (main): Call it if unshare fails. Add support for "su" scriptlet
7696 2018-12-03 Joseph Myers <joseph@codesourcery.com>
7698 * scripts/gen-as-const.py (compute_c_consts): Take an argument
7699 'START' to indicate that start text should be output.
7700 (gen_test): Likewise.
7701 (main): Generate 'START' for first symbol or '--' line, or at end
7702 of input if not previously generated.
7704 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
7707 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
7708 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
7709 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
7710 ALWAYS_USE_VSYSCALL.
7712 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7715 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
7718 2018-12-03 Carlos O'Donell <carlos@redhat.com>
7721 * locale/programs/localedef.c: Declare boolean hard_links default true.
7722 (options): Add --no-hard-links option.
7723 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
7724 * locale/programs/localedef.h: Declare prototype for hard_links.
7725 * locale/programs/locfile.c (write_locale_data): Don't use hard
7726 links if hard_links is false.
7728 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
7730 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
7732 (__cache_sysconf): Likewise.
7733 (init_cacheinfo): Likewise.
7734 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
7735 populate COMMON_CPUID_INDEX_80000007 and
7736 COMMON_CPUID_INDEX_80000008.
7737 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
7738 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
7739 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
7740 (init_cpu_features): Use _Static_assert on
7741 index_arch_Fast_Unaligned_Load.
7742 __get_cpuid_registers and __get_arch_feature. Updated for
7743 cpu_features_basic. Set stepping in cpu_features.
7744 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
7745 (FEATURE_INDEX_2): New.
7746 (FEATURE_INDEX_MAX): Changed to enum.
7747 (COMMON_CPUID_INDEX_D_ECX_1): New.
7748 (COMMON_CPUID_INDEX_80000007): Likewise.
7749 (COMMON_CPUID_INDEX_80000008): Likewise.
7750 (cpuid_registers): Likewise.
7751 (cpu_features_basic): Likewise.
7752 (CPU_FEATURE_USABLE): Likewise.
7753 (bit_arch_XXX_Usable): Likewise.
7754 (cpu_features): Use cpuid_registers and cpu_features_basic.
7755 (bit_arch_XXX): Reweritten.
7756 (bit_cpu_XXX): Likewise.
7757 (index_cpu_XXX): Likewise.
7758 (reg_XXX): Likewise.
7759 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
7761 (CHECK_CPU_FEATURE): New.
7762 (CHECK_CPU_FEATURE_USABLE): Likewise.
7763 (cpu_kinds): Likewise.
7764 (do_test): Print vendor, family, model and stepping. Check
7765 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
7766 (TEST_FUNCTION): Removed.
7767 Include <support/test-driver.c> instead of
7768 "../../test-skeleton.c".
7769 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
7770 Check POPCNT instead of POPCOUNT.
7771 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
7773 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7775 * scripts/gen-as-const.py (main): Avoid emitting empty line when
7776 there is no element in `consts'.
7778 2018-12-01 Florian Weimer <fweimer@redhat.com>
7780 * support/support_capture_subprocess.c
7781 (support_capture_subprocess): Check that pipe descriptors have
7782 expected values. Close original pipe descriptors in subprocess.
7784 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7787 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
7788 attr with __pthread_default_barrierattr.
7789 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
7790 attr with __pthread_default_condattr.
7791 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
7792 attr with __pthread_default_mutexattr.
7793 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
7794 attr with __pthread_default_rwlockattr.
7796 2018-12-01 Kemi Wang <kemi.wang@intel.com>
7798 * manual/tunables.texi (POSIX Thread Tunables): New node.
7799 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
7800 * nptl/nptl-init.c: Include pthread_mutex_conf.h
7801 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
7802 __pthread_tunables_init.
7803 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
7804 (max_adaptive_count): Define.
7805 * nptl/pthread_mutex_conf.c: New file.
7806 * nptl/pthread_mutex_conf.h: New file.
7807 * sysdeps/generic/adaptive_spin_count.h: New file.
7808 * sysdeps/nptl/dl-tunables.list: New file.
7809 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7810 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
7811 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
7814 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7817 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
7818 * stdlib/on_exit.c (__on_exit): Likewise.
7819 * stdlib/Makefile (tests): Add tst-bz20544.
7820 * stdlib/tst-bz20544.c: New test.
7822 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
7825 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
7826 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
7829 2018-11-30 Florian Weimer <fweimer@redhat.com>
7831 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
7832 Extend error logging.
7833 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
7836 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7838 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
7839 __sigismember instead of sigismember.
7840 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
7841 cancel_handler): New definitions.
7842 (do_system): Use posix_spawn instead of fork and execl and remove
7844 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
7845 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
7846 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
7847 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7848 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7849 * sysdeps/unix/sysv/linux/system.c: Likewise.
7853 * NEWS: Add new semantic for atfork with popen and system.
7854 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
7857 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7860 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
7861 modification order when accessing reloc_result->addr.
7862 * include/link.h (reloc_result): Add field init.
7863 * nptl/Makefile (tests): Add tst-audit-threads.
7864 (modules-names): Add tst-audit-threads-mod1 and
7865 tst-audit-threads-mod2.
7866 Add rules to build tst-audit-threads.
7867 * nptl/tst-audit-threads-mod1.c: New file.
7868 * nptl/tst-audit-threads-mod2.c: Likewise.
7869 * nptl/tst-audit-threads.c: Likewise.
7870 * nptl/tst-audit-threads.h: Likewise.
7872 2018-11-30 Joseph Myers <joseph@codesourcery.com>
7874 * scripts/gen-as-const.py: New file.
7875 * scripts/gen-as-const.awk: Remove.
7876 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
7878 ($(objpfx)test-as-const-%.c): Likewise.
7880 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7882 * elf/dl-exception.c: Include <_itoa.h>.
7884 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7886 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
7887 returned by __f_setlk.
7889 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7890 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7892 * elf/Makefile (tests-internal): Add tst-create_format1.
7893 * elf/dl-exception.c (_dl_exception_create_format): Support
7895 * elf/tst-create_format1.c: New file.
7897 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7899 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7900 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7902 * argp/argp-help.c (__argp_failure): Likewise.
7904 2018-11-29 Mao Han <han_mao@c-sky.com>
7906 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7907 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7908 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7909 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7910 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7911 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7912 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7913 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7914 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7915 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7916 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7917 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7918 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7919 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7920 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7921 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7922 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7923 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7924 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7925 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7926 (R_CKCORE_TLS_TPOFF32): New defines.
7928 2018-11-29 Florian Weimer <fweimer@redhat.com>
7930 * posix/Makefile (before-compile): Remove testcases.h and
7932 (generated): Add testcases.h and ptestcases.h.
7933 (testcases.h, ptestcases.h): Move to $(objpfx).
7934 (runtests.o): Add dependency on testcases.h.
7935 (runptests.o): Add dependency on ptestcases.h.
7936 * posix/testcases.h, posix/ptestcases.h: Remove files.
7937 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7938 not touch posix/testcases.h and posix/ptestcases.h.
7940 2018-11-28 Florian Weimer <fweimer@redhat.com>
7942 support: Add signal support to support_capture_subprocess_check.
7943 * support/capture_subprocess.h (support_capture_subprocess_check):
7944 Adjust comment and rename parameter.
7945 * support/support_capture_subprocess_check.c
7946 (print_actual_status): New function.
7947 (support_capture_subprocess_check): Support negative
7948 status_or_signal. Call print_actual_status.
7949 * support/tst-support_capture_subprocess.c (do_test): Call
7950 support_capture_subprocess_check.
7951 * libio/tst-vtables-common.c (termination_status)
7952 (init_termination_status): Remove.
7953 (check_for_termination): Adjust support_capture_subprocess_check
7955 (do_test): Remove call to init_termination_status.
7957 2018-11-28 Joseph Myers <joseph@codesourcery.com>
7959 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7960 source directory instead of a copy.
7961 (CommandList.create_copy_dir): Remove.
7963 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
7965 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7967 2018-11-28 Florian Weimer <fweimer@redhat.com>
7969 * support/support.h (support_quote_string): Do not use str
7972 2018-11-27 Joseph Myers <joseph@codesourcery.com>
7974 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7975 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7977 2018-11-27 Florian Weimer <fweimer@redhat.com>
7979 * support/support.h (support_quote_string): Declare.
7980 * support/support_quote_string.c: New file.
7981 * support/tst-support_quote_string.c: Likewise.
7982 * support/Makefile (libsupport-routines): Add
7983 support_quote_string.
7984 (tests): Add tst-support_quote_string.
7986 2018-11-27 Florian Weimer <fweimer@redhat.com>
7990 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7991 descriptor leak in case of ENODEV error.
7993 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7996 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7997 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7998 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
8000 2018-11-26 Carlos O'Donell <carlos@redhat.com>
8002 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
8003 Error for unknown lines.
8005 2018-11-26 Joseph Myers <joseph@codesourcery.com>
8007 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8008 Touch additional files.
8010 2018-11-26 Florian Weimer <fweimer@redhat.com>
8013 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
8016 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
8019 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
8020 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
8021 SHARED. Include sysdep.h.
8022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
8023 ALWAYS_USE_VSYSCALL.
8024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
8025 ALWAYS_USE_VSYSCALL.
8027 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
8030 * nptl/Makefile (tests-static): Add tst-cond11-static.
8032 * nptl/tst-cond11-static.c: New File.
8033 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
8034 tst-affinity-static.
8036 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
8038 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
8039 (USE_VSYSCALL): Likewise.
8040 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
8041 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
8043 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
8045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
8048 2018-11-23 Joseph Myers <joseph@codesourcery.com>
8051 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8052 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
8055 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
8057 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
8058 (tst-cet-legacy-1a-ARGS): New.
8059 ($(objpfx)tst-cet-legacy-1a): New target.
8060 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
8062 2018-11-22 Joseph Myers <joseph@codesourcery.com>
8064 * conform/conformtest.py (CompileSubTest.__init__): Set
8065 self.run_early to False.
8066 (ExecuteSubTest.__init__): Likewise.
8067 (HeaderTests.run): Try running all non-optional, non-XFAILed
8068 compilation tests in a single execution of the compiler.
8070 * conform/conformtest.py (CompileSubTest): New class.
8071 (ExecuteSubTest): Likewise.
8072 (ElementTest.run): Rename to gen_subtests. Append tests to
8073 self.subtests instead of running them.
8074 (ConstantTest.run): Likewise.
8075 (SymbolTest.run): Likewise.
8076 (TypeTest.run): Likewise.
8077 (TagTest.run): Likewise.
8078 (FunctionTest.run): Likewise.
8079 (VariableTest.run): Likewise.
8080 (MacroFunctionTest.run): Likewise.
8081 (MacroStrTest.run): Likewise.
8082 (HeaderTests.handle_test_line): Generate subtests for tests.
8083 (HeaderTests.run): Run subtests for tests.
8085 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8087 * math/Versions (GLIBC_2.29): Add pow.
8088 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
8090 * math/w_pow.c: New file.
8091 * sysdeps/i386/fpu/w_pow.c: New file.
8092 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
8093 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
8094 and add necessary aliases.
8095 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
8096 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
8097 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8098 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8099 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8100 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8101 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8102 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8103 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8104 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8105 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8106 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8107 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8108 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8109 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8114 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8115 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8116 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8117 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8118 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8119 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8120 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8121 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
8123 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
8124 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
8125 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
8127 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8129 * math/Versions (GLIBC_2.29): Add log2.
8130 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
8132 * math/w_log2.c: New file.
8133 * sysdeps/i386/fpu/w_log2.c: New file.
8134 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
8135 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
8136 and add necessary aliases.
8137 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
8138 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
8139 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8140 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8141 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8142 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8143 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8144 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8145 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8146 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8147 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8148 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8149 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8150 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8151 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8156 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8157 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8158 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8159 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8160 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8161 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8162 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8164 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8166 * math/Versions (GLIBC_2.29): Add log.
8167 * math/w_log_compat.c (__log_compat): Change to versioned compat
8169 * math/w_log.c: New file.
8170 * sysdeps/i386/fpu/w_log.c: New file.
8171 * sysdeps/ia64/fpu/e_log.S: Update.
8172 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
8173 and add necessary aliases.
8174 * sysdeps/ieee754/dbl-64/w_log.c: New file.
8175 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
8176 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8177 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8178 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8179 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8180 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8181 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8182 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8183 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8184 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8185 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8186 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8187 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8188 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8193 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8194 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8195 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8196 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8197 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8198 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8199 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8200 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
8202 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
8203 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
8204 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
8205 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
8207 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8209 * math/Versions (GLIBC_2.29): Add exp and exp2.
8210 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
8211 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
8212 * math/w_exp_compat.c (__exp_compat): Likewise.
8213 * math/w_exp.c: New file.
8214 * math/w_exp2.c: New file.
8215 * sysdeps/i386/fpu/w_exp.c: New file.
8216 * sysdeps/i386/fpu/w_exp2.c: New file.
8217 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
8218 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
8219 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
8220 and add necessary aliases.
8221 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
8222 and add necessary aliases.
8223 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
8224 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
8225 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
8226 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
8227 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8228 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8229 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8230 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8231 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8232 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8233 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8234 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8235 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8236 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8237 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8238 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8239 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8244 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8245 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8246 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8247 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8248 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8249 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8250 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8251 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
8252 (__ieee754_exp): Rename to __exp.
8253 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
8254 (__ieee754_exp): Rename to __exp.
8255 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
8256 (__ieee754_exp): Rename to __exp.
8257 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
8259 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
8261 2018-11-20 DJ Delorie <dj@redhat.com>
8263 * malloc/malloc.c (tcache_entry): Add key field.
8264 (tcache_put): Set it.
8265 (tcache_get): Likewise.
8266 (_int_free): Check for double free in tcache.
8267 * malloc/tst-tcfree1.c: New.
8268 * malloc/tst-tcfree2.c: New.
8269 * malloc/Makefile: Run the new tests.
8270 * manual/probes.texi: Document memory_tcache_double_free probe.
8272 * dlfcn/dlerror.c (check_free): Prevent double frees.
8274 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
8276 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
8278 2018-11-20 Joseph Myers <joseph@codesourcery.com>
8280 * conform/conformtest.py (ElementTest.run): Use unique identifiers
8281 in tests. Use names for format arguments.
8282 (ConstantTest.run): Likewise.
8283 (SymbolTest.run): Likewise.
8284 (TypeTest.run): Likewise.
8285 (TagTest.run): Likewise.
8286 (FunctionTest.run): Likewise.
8287 (VariableTest.run): Likewise.
8288 (MacroFunctionTest.run): Likewise.
8289 (MacroStrTest.run): Likewise.
8290 (HeaderTests.__init__): Set self.num_tests.
8291 (HeaderTests.handle_test_line): Set test.num. Increment
8294 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
8296 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
8297 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
8300 2018-11-19 Mao Han <han_mao@c-sky.com>
8302 * scripts/config.guess: Update to version 2018-08-29.
8303 * scripts/config.sub: Update to version 2018-08-29.
8305 2018-11-19 Florian Weimer <fweimer@redhat.com>
8307 support: Print timestamps in timeout handler.
8308 * support/support_test_main.c (print_timestamp): New function.
8309 (signal_handler): Use it to print the termination time and the
8310 time of the last write to standard output.
8312 2018-11-16 Zack Weinberg <zackw@panix.com>
8313 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8315 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
8316 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
8318 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
8319 and add flags argument. Check flags instead of __ldbl_is_dbl when
8320 deciding whether to set is_long_double.
8321 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
8322 passing zero for flags argument.
8323 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
8325 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8326 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
8327 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
8328 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
8329 variable names. Remove libc_hidden_def/libc_hidden_proto from
8330 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
8331 longer called from within the library.
8332 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
8333 for __nldbl___vstrfmon_l, declare it explicitly.
8335 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
8337 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8339 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
8341 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
8342 F_SETLK64, F_SETLKW64, respectively.
8343 * sysdeps/mach/hurd/f_setlk.c: New file.
8344 * sysdeps/mach/hurd/f_setlk.h: New file.
8345 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
8347 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
8348 (__libc_fcntl): Move non-flock operations to...
8349 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
8350 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
8352 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
8354 mktime: DEBUG_MKTIME cleanup
8355 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
8356 And it’s no longer needed now that glibc and Gnulib both have
8357 their own testing mechanisms for mktime.
8358 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
8360 mktime: fix non-EOVERFLOW errno handling
8362 mktime was not properly reporting failures when the underlying
8363 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
8364 them like EOVERFLOW failures, and set errno to EOVERFLOW.
8365 The problem could happen on non-glibc platforms, with Gnulib.
8366 * time/mktime.c (guess_time_tm): Remove, replacing with ...
8367 (tm_diff): ... this simpler function, which does not change errno.
8368 All callers changed to deal with errno themselves.
8369 (ranged_convert, __mktime_internal): Return failure immediately if
8370 the underlying function reports any failure other than EOVERFLOW.
8371 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
8374 mktime: fix bug with Y2038 DST transition
8376 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
8377 mishandle a DST transition that jumps over the Y2038 boundary.
8378 No such DST transitions are known so this is only a theoretical
8379 bug, but we might as well do things right.
8381 mktime: make more room for overflow
8383 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
8384 This is so that we can add tm_diff results to a previous guess,
8385 which will be useful in a later patch.
8387 mktime: simplify offset guess
8389 * time/mktime.c (__mktime_internal): Omit excess precision.
8391 mktime: new test for mktime failure
8393 Based on a test suggested by Albert Aribaud in:
8394 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
8395 * time/Makefile (tests): Add bug-mktime4.
8396 * time/bug-mktime4.c: New file.
8398 mktime: fix EOVERFLOW bug
8400 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
8401 Include libc-config.h, not config.h, for __set_errno.
8402 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
8404 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8406 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
8407 __attribute_copy__ to copy attributes from name. Drop static qualifier
8408 to avoid warnings about leaf attribute not having effect on static
8411 2018-11-13 Florian Weimer <fweimer@redhat.com>
8413 * malloc/malloc.c (fastbin_push_entry): New function.
8414 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
8415 (REMOVE_FB): Remove macro.
8416 (_int_malloc): Use fastbin_pop_entry and reindent.
8417 (_int_free): Use fastbin_push_entry.
8418 (malloc_consolidate): Use atomic_exchange_acquire.
8420 2018-11-13 Joseph Myers <joseph@codesourcery.com>
8422 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
8423 alias attribute, not with strong_alias.
8425 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
8426 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
8427 with additional parameter thread.
8428 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
8429 in terms of __hidden_ver2.
8430 (hidden_tls_def): New macro.
8431 (libc_hidden_tls_def): Likewise.
8432 (rtld_hidden_tls_def): Likewise.
8433 (libm_hidden_tls_def): Likewise.
8434 (libmvec_hidden_tls_def): Likewise.
8435 (libresolv_hidden_tls_def): Likewise.
8436 (librt_hidden_tls_def): Likewise.
8437 (libdl_hidden_tls_def): Likewise.
8438 (libnss_files_hidden_tls_def): Likewise.
8439 (libnsl_hidden_tls_def): Likewise.
8440 (libnss_nisplus_hidden_tls_def): Likewise.
8441 (libutil_hidden_tls_def): Likewise.
8442 (libutil_hidden_tls_def): Likweise.
8443 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
8444 libc_hidden_tls_def.
8445 (__sim_disabled_exceptions_thread): Likewise.
8446 (__sim_round_mode_thread): Likewise.
8448 * sysdeps/sparc/sparc-ifunc.h [SHARED]
8449 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
8450 copy attributes from name.
8452 2018-11-12 Joseph Myers <joseph@codesourcery.com>
8454 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
8455 Use __attribute_copy__ to copy attributes from name.
8457 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
8458 with __hidden_ver1 call.
8459 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
8460 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
8461 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
8462 (__cosf): Do not declare here.
8463 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
8464 (__sincosf): Do not declare here.
8465 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
8466 (__sinf): Do not declare here.
8468 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
8469 (__BIG_ENDIAN): Likewise.
8470 (__BYTE_ORDER): Likewise.
8471 (strong_alias): Likewise.
8472 (_strong_alias): Likewise.
8474 2018-11-12 Florian Weimer <fweimer@redhat.com>
8476 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
8477 function. Move after the definition of in_smallbin_range. Do not
8478 use __builtin_expect for paths that lead to a noreturn function.
8479 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
8480 because it is unclear whether this is in fact an unlikely
8482 (_int_malloc, _int_free): Adjust.
8483 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
8485 * malloc/arena.c (heap_trim): Likewise.
8487 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8489 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
8490 it, free it if needed.
8491 (reauthenticate): Test and use ccwdir.
8492 (child_init_port): In non-resetids case, test and use ccwdir.
8493 (child_chdir): New nested function to set ccwdir.
8494 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
8495 * hurd/hurd/port.h (_hurd_port_move): New function.
8496 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
8497 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
8498 * hurd/Versions (_hurd_port_move): Export function.
8499 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
8501 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
8502 of dtablesize for allocating dtable_cloexec.
8504 2018-11-09 Martin Sebor <msebor@redhat.com>
8506 * include/libc-symbols.h (__attribute_copy__): Define macro unless
8507 it's already defined.
8508 (_strong_alias): Use __attribute_copy__.
8509 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
8510 * misc/sys/cdefs.h (__attribute_copy__): New macro.
8511 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
8512 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
8513 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
8514 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
8515 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
8516 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
8517 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
8518 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
8519 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
8520 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
8521 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
8522 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
8523 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
8524 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
8525 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
8526 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
8527 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
8529 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8531 * misc/tst-efgcvt.c: Include support/check.h and
8532 support/test-driver.c. Do not include test-skeleton.c.
8533 (error_count): Remove.
8534 (output_error): Replace increments to error_count with calls to
8535 support_record_failure.
8536 (output_r_error): Likewise.
8537 (special): Likewise.
8538 (do_test): Unconditionally return zero.
8539 (TEST_FUNCTION): Remove.
8541 2018-11-09 Joseph Myers <joseph@codesourcery.com>
8543 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
8545 ($(linknamespace-header-tests)): Likewise.
8547 * conform/conformtest.py: New file.
8548 * conform/conformtest.pl: Remove.
8549 * conform/GlibcConform.pm: Likewise.
8550 * conform/glibcconform.py (KEYWORDS_C90): New constant.
8551 (KEYWORDS_C99): Likewise.
8552 (KEYWORDS): Likewise.
8553 * conform/Makefile ($(conformtest-header-tests)): Use
8554 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
8555 option. Use --header instead of --headers.
8556 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
8558 * conform/data/spawn.h-data: Likewise.
8559 * conform/data/fcntl.h-data (openat): Add space after function
8561 * conform/data/wchar.h-data (wcscasecmp): Likewise.
8562 (wcscasecmp_l): Likewise.
8563 * conform/data/termios.h-data (c_cc): Add space after element
8566 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8568 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
8569 instead of manually comparing and reporting mismatching strings.
8570 * misc/tst-ldbl-error.c (do_one_test): Likewise.
8571 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
8573 2018-11-08 Joseph Myers <joseph@codesourcery.com>
8575 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
8576 __ASSUME_SOCKETCALL.
8577 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8578 (__ASSUME_SOCKETCALL): Remove.
8579 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8580 (__ASSUME_SOCKETCALL): Likewise.
8581 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8582 (__ASSUME_SOCKETCALL): Likewise.
8583 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8584 (__ASSUME_SOCKETCALL): Likewise.
8585 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8586 (__ASSUME_SOCKETCALL): Likewise.
8587 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8588 (__ASSUME_SOCKETCALL): Likewise.
8589 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8590 (__ASSUME_SOCKETCALL): Likewise.
8592 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
8595 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
8596 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
8597 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
8598 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
8599 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
8602 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
8605 * resolv/tst-resolv-network.c: Add test for getnetbyname.
8607 2018-11-07 Joseph Myers <joseph@codesourcery.com>
8610 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8611 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8612 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8613 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8615 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8617 * support/support_test_compare_string.c
8618 (support_test_compare_string): Fix printf format.
8620 2018-11-07 Florian Weimer <fweimer@redhat.com>
8622 Implement TEST_COMPARE_STRING.
8623 * support/check.h (TEST_COMPARE_STRING): Define.
8624 (support_test_compare_string): Declare.
8625 * support/Makefile (libsupport-routines): Add
8626 support_test_compare_string.
8627 (tests): Add tst-test_compare_string.
8628 * support/support_test_compare_string.c: New file.
8629 * support/tst-test_compare_string.c: Likewise.
8631 2018-11-07 Andreas Schwab <schwab@suse.de>
8634 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
8635 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
8638 2018-11-06 Joseph Myers <joseph@codesourcery.com>
8641 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8642 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
8643 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
8644 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
8647 2018-11-06 Florian Weimer <fweimer@redhat.com>
8650 * posix/Makefile (routines): Add spawn_faction_addchdir.
8651 (tests): Add tst-spawn-chdir.
8652 * posix/Versions (GLIBC_2.29): Add
8653 posix_spawn_file_actions_addchdir_np.
8654 * posix/spawn_faction_addchdir.c: New file.
8655 * posix/spawn_faction_destroy.c
8656 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
8657 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
8658 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
8660 * posix/tst-spawn-chdir.c: New file.
8661 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
8662 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8663 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8664 posix_spawn_file_actions_addchdir_np.
8665 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8667 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8669 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8670 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8672 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8674 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8676 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8678 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8680 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8682 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8683 (GLIBC_2.29): Likewise.
8684 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8685 (GLIBC_2.29): Likewise.
8686 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8687 (GLIBC_2.29): Likewise.
8688 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8689 (GLIBC_2.29): Likewise.
8690 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8693 (GLIBC_2.29): Likewise.
8694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8695 (GLIBC_2.29): Likewise.
8696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8697 (GLIBC_2.29): Likewise.
8698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8699 (GLIBC_2.29): Likewise.
8700 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8702 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8704 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8706 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8707 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8709 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8711 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8713 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8716 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8718 * misc/Makefile (tests): Add tst-ldbl-error.
8719 * misc/tst-ldbl-error.c: New file.
8721 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8723 * misc/Makefile (tests): Add tst-ldbl-warn.
8724 * misc/tst-ldbl-warn.c: New file.
8726 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8728 * argp/Makefile (tests): Add tst-ldbl-argp.
8729 * argp/tst-ldbl-argp.c: New file.
8731 2018-11-05 Arjun Shankar <arjun@redhat.com>
8733 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
8734 __gconv_path_elem and call __gconv_get_path unconditionally.
8736 2018-11-05 Andreas Schwab <schwab@suse.de>
8739 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
8740 creating the first helper thread failed.
8742 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8744 * sysdeps/mach/hurd/msync.c: New file.
8746 2018-11-02 Florian Weimer <fweimer@redhat.com>
8748 * support/shell-container.c (copy_func): Call
8749 support_copy_file_range instead of copy_file_range to support
8750 cross-device copies.
8752 2018-11-02 Florian Weimer <fweimer@redhat.com>
8754 * support/test-container.c: Include <libc-pointer-arith.h> for
8757 2018-11-01 Zong Li <zong@andestech.com>
8759 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
8760 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
8761 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
8762 (__FP_FRAC_SET_8): Add implementation for RV32 use.
8764 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
8765 variable to avoid overlap arguments.
8767 2018-11-01 Joseph Myers <joseph@codesourcery.com>
8769 * posix/bug-regex22.c (main): Use puts with distinct error
8770 messages for unexpected success of re_compile_pattern, not printf
8771 with NULL argument to %s.
8773 * stdio-common/bug22.c: Include <libc-diag.h>.
8774 (do_test): Disable -Wformat-overflow= warnings around fprintf
8775 calls outputting more than INT_MAX characters.
8776 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
8777 around printf call with NULL %s argument.
8780 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
8781 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
8783 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8784 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8785 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8786 (__ASSUME_SENDTO_SYSCALL): Likewise.
8787 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8788 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
8790 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8791 (__ASSUME_CONNECT_SYSCALL): Likewise.
8792 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8793 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8794 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
8796 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
8798 [__LINUX_KERNEL_VERSION >= 0x040400]
8799 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8800 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
8803 (setsockopt): Likewise.
8805 2018-11-01 Fredrik Noring <noring@nocrew.org>
8807 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
8808 with the ISA override.
8810 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
8812 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
8815 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8817 * manual/errno.texi (EIEIO): Document how translators should
8818 translate the error message.
8819 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
8820 printing trailing whitespaces refused by git.
8821 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
8822 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8823 * hurd/Makefile (user-interfaces): Add pci.
8825 2018-10-30 Joseph Myers <joseph@codesourcery.com>
8827 * conform/linknamespace.py: New file.
8828 * conform/linknamespace.pl: Remove file.
8829 * conform/Makefile ($(linknamespace-header-tests)): Use
8830 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
8833 2018-10-30 Florian Weimer <fweimer@redhat.com>
8835 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
8838 2018-10-30 Florian Weimer <fweimer@redhat.com>
8840 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
8842 2018-10-30 Florian Weimer <fweimer@redhat.com>
8844 * stdlib/tst-strtod-overflow.c (do_test): Switch to
8845 support_blob_repeat.
8847 2018-10-30 Florian Weimer <fweimer@redhat.com>
8849 Avoid spurious test failures in stdlib/test-bz22786.
8850 * support/Makefile (libsupport-routines): Add blob_repeat.
8851 (tests): Add tst-support_blob_repeat.
8852 * support/blob_repeat.h: New file.
8853 * support/blob_repeat.c: Likewise.
8854 * support/tst-support_blob_repeat.c: Likewise.
8855 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
8856 support_blob_repeat_allocate.
8858 2018-10-30 Andreas Schwab <schwab@suse.de>
8861 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
8862 Don't use tail call.
8863 * elf/tst-unwind-main.c: New file.
8864 * elf/Makefile (tests): Add tst-unwind-main.
8865 (CFLAGS-tst-unwind-main.c): Define.
8867 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
8870 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
8872 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
8874 2018-10-29 Joseph Myers <joseph@codesourcery.com>
8876 * conform/glibcconform.py: Do not import shutil.
8877 (list_exported_functions): Use tempfile.TemporaryDirectory instead
8880 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
8881 critic_missing for versions before 3.4.
8882 * configure: Regenerated.
8883 * manual/install.texi (Tools for Compilation): Document
8884 requirement for Python to build glibc.
8885 * INSTALL: Regenerated.
8886 * Rules [PYTHON]: Make code unconditional.
8887 * benchtests/Makefile [PYTHON]: Likewise.
8888 * conform/Makefile [PYTHON]: Likewise.
8889 * manual/Makefile [PYTHON]: Likewise.
8890 * math/Makefile [PYTHON]: Likewise.
8892 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8894 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
8895 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
8896 answer to interrupt_operation, return EIEIO instead of EINTR.
8897 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8898 _hurd_intr_rpc_msg_about_to global point to start of controlled
8899 assembly snippet. Make it check canceled flag.
8900 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8901 the _hurd_intr_rpc_msg_about_to point.
8902 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8903 issue, remove cancel flag check.
8905 2018-10-26 Joseph Myers <joseph@codesourcery.com>
8907 * scripts/build-many-glibcs.py: Remove compatibility for missing
8908 os.cpu_count and re.fullmatch.
8910 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8913 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8914 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8915 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8917 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8919 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8922 2018-10-25 Florian Weimer <fweimer@redhat.com>
8926 XFAIL siginfo_t si_band conform test on sparc64.
8927 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8928 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8929 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8930 (conformtest-xfail-conds): Add sparc64-linux.
8931 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8933 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8935 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8937 * elf/elf.h (NT_MIPS_DSP): New macro.
8938 (NT_MIPS_FP_MODE): Likewise.
8940 2018-10-25 Zong Li <zong@andestech.com>
8942 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8943 name by adding the file extension (.so).
8945 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8947 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8948 (test-xfail-ISO11/threads.h/linknamespace,
8949 test-xfail-ISO11/threads.h/conform): Add.
8951 2018-10-24 Joseph Myers <joseph@codesourcery.com>
8953 * math/gen-libm-test.py: Import os.
8954 (ALL_FLOATS_MANUAL): New constant.
8955 (ALL_FLOATS_SUFFIX): Likewise.
8956 (Ulps.all_functions): New function.
8957 (real_all_ulps): Likewise.
8958 (generate_err_table_sub): Likewise.
8959 (generate_err_table): Likewise.
8960 (main): Handle -s and -m options.
8961 * manual/libm-err-tab.pl: Remove.
8962 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8963 instead of libm-err-tab.pl.
8964 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8966 * manual/install.texi (Tools for Compilation): Document
8967 requirement for Python to build manual.
8968 * INSTALL: Regenerated.
8970 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8972 * bits/time64.h: New file.
8973 * include/time.h: Replace internal_time_t with __time64_t.
8974 * posix/bits/types (__time64_t): Add.
8975 * stdlib/Makefile: Add bits/time64.h to includes.
8976 * time/tzfile.c: Replace internal_time_t with __time64_t.
8978 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8980 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8981 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8982 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8983 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8984 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8986 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8987 * posix/spawn_faction_addclose.c
8988 (__posix_spawn_file_actions_addclose): Add hidden definition.
8989 * posix/spawn_faction_adddup2.c
8990 (__posix_spawn_file_actions_adddup2): Likewise.
8991 * posix/spawn_faction_destroy.c
8992 (__posix_spawn_file_actions_destroy): Likewise.
8993 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8995 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8996 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8997 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8999 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
9000 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
9003 2018-10-24 Andreas Schwab <schwab@suse.de>
9006 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
9008 * elf/cache.c (print_cache): Likewise.
9010 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9012 * bits/timesize.h: New file.
9013 * stdlib/Makefile (headers): Add bits/timesize.h.
9014 * sysdeps/unix/sysv/linux/bits/msq-pad.h
9015 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
9016 * sysdeps/unix/sysv/linux/bits/sem-pad.h
9017 (__SEM_PAD_AFTER_TIME): Likewise.
9018 * sysdeps/unix/sysv/linux/bits/shm-pad.h
9019 (__SHM_PAD_AFTER_TIME): Likewise.
9020 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
9021 (__MSQ_PAD_BEFORE_TIME): Likewise.
9022 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
9023 (__SEM_PAD_BEFORE_TIME): Likewise.
9024 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
9025 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9026 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
9027 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
9028 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
9029 (__MSQ_PAD_BEFORE_TIME): Likewise.
9030 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
9031 (__SEM_PAD_BEFORE_TIME): Likewise.
9032 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
9033 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9034 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
9035 (__MSQ_PAD_BEFORE_TIME): Likewise.
9036 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
9037 (__SEM_PAD_BEFORE_TIME): Likewise.
9038 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
9039 (__SHM_PAD_BEFORE_TIME): Likewise.
9040 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
9041 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9042 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
9044 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
9046 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
9047 USE_RDTSCP is defined.
9048 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
9049 USE_RDTSCP is defined.
9051 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9053 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
9057 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
9058 independently of other flags.
9060 2018-10-23 Florian Weimer <fweimer@redhat.com>
9062 * time/tst-mktime2.c (N_STRINGS): Remove.
9063 (set_timezone): New function.
9064 (spring_forward_gap): Call it. Use FAIL_EXIT1.
9065 (mktime_test1): Report localtime failure and check errno value.
9067 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
9068 (do_test): Remove alarm call. Use set_timezone and array_length.
9070 2018-10-23 Andreas Schwab <schwab@suse.de>
9072 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
9073 (__start_context): Use END instead of PSEUDO_END.
9075 2018-10-22 Joseph Myers <joseph@codesourcery.com>
9077 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9080 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9084 * wcsmbs/c32rtomb.c: New file.
9085 * wcsmbs/mbrtoc32.c: Likewise.
9086 * wcsmbs/tst-c32-state.c: Likewise.
9087 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
9088 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
9089 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
9090 (tests): Add tst-c32-state.
9091 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
9094 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
9096 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
9097 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
9099 2018-10-19 Joseph Myers <joseph@codesourcery.com>
9102 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
9103 pair and return 0 in that case, and use saved character to
9104 interpret following character.
9105 * wcsmbs/tst-c16-surrogate.c: New file.
9106 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
9107 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
9108 Depend on $(gen-locales)
9110 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
9113 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
9114 (struct siginfo_t): Use correct type for si_band.
9116 2018-10-19 Florian Weimer <fweimer@redhat.com>
9119 * resource/bits/types/struct_rusage.h (struct rusage): Update
9120 comment on struct. Remove extraneous field comment.
9122 2018-10-18 David S. Miller <davem@davemloft.net>
9124 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
9125 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
9126 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
9127 sysdep_routines in subdir elf.
9128 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
9129 version for __vdso_clock_gettime.
9130 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
9132 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9133 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9135 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9137 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
9139 * sysdeps/i386/init-arch.h: Removed.
9140 * sysdeps/i386/i586/init-arch.h: Likewise.
9141 * sysdeps/i386/i686/init-arch.h: Likewise.
9142 * sysdeps/i386/i686/hp-timing.h: Likewise.
9143 * sysdeps/x86_64/hp-timing.h: Likewise.
9144 * sysdeps/i386/isa.h: New file.
9145 * sysdeps/i386/i586/isa.h: Likewise.
9146 * sysdeps/i386/i686/isa.h: Likewise.
9147 * sysdeps/x86_64/isa.h: Likewise.
9148 * sysdeps/x86/hp-timing.h: New file.
9149 * sysdeps/x86/init-arch.h: Include <isa.h>.
9151 2018-10-17 Joseph Myers <joseph@codesourcery.com>
9153 * math/libm-test-pow.inc (pow_test_data): Do not allow
9154 divide-by-zero exception for pow(+/- 0, -Inf).
9156 2018-10-17 Zack Weinberg <zackw@panix.com>
9158 * manual/job.texi (Job Control is Optional): Remove node, as
9159 job control has not been optional in quite some time.
9160 (Job Control): Mention briefly that systems older than
9161 POSIX.1-2001 might not support job control.
9162 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
9163 defined on systems conforming to POSIX.1-2001.
9165 2018-10-17 Arjun Shankar <arjun@redhat.com>
9168 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
9170 * (__gconv_read_conf): Mark function static.
9171 * (once): New static variable.
9172 * (__gconv_load_conf): New function.
9173 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
9174 * iconv/gconv_db.c (once): Remove static variable.
9175 * (__gconv_compare_alias): Use __gconv_load_conf instead of
9177 * (__gconv_find_transform): Likewise.
9178 * iconv/tst-iconv-mt.c: New test.
9179 * iconv/Makefile: Add tst-iconv_mt.
9181 2018-10-17 Joseph Myers <joseph@codesourcery.com>
9183 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9185 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
9186 (shmatt_t): Define as __syscall_ulong_t.
9187 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
9188 and [__SHM_PAD_AFTER_TIME].
9189 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
9190 Define shm_segsz and associated padding based on
9191 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
9192 Use __syscall_ulong_t instead of unsigned long int.
9193 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
9195 [__USE_MISC] (struct shm_info): Likewise.
9196 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
9197 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
9198 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
9199 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
9200 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
9201 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9202 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
9203 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
9204 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9205 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9206 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9208 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9210 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
9211 (SHMLBA): Remove macro.
9212 (__getpagesize): Remove function declaration.
9213 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
9215 (SHMLBA): Remove macro.
9216 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
9218 (SHMLBA): Remove macro.
9219 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
9221 (SHMLBA): Remove macro.
9222 (__getpagesize): Remove function declaration.
9223 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
9225 (SHMLBA): Remove macro.
9226 (__getshmlba): Remove function declaration.
9227 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
9228 (SHMLBA): Remove macro.
9229 (__getpagesize): Remove function declaration.
9230 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
9231 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
9232 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9233 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
9234 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
9235 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
9236 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
9237 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
9238 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
9239 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
9241 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
9244 * nptl/tst-mutex10.c: New File.
9245 * nptl/Makefile (tests): Add tst-mutex10.
9246 (tst-mutex10-ENV): New variable.
9247 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
9248 Ensure that elision path is used if elision is available.
9249 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
9251 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
9253 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
9254 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
9255 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
9256 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
9258 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
9259 (__pthread_mutex_cond_lock_adjust): Likewise.
9260 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9262 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
9263 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9264 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9265 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
9267 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9268 Use atomic_load_relaxed and atomic_store_relaxed.
9269 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
9270 Use atomic_store_relaxed.
9272 2018-10-17 Andreas Schwab <schwab@suse.de>
9274 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
9275 * crypt/badsalttest.c (TIMEOUT): Likewise.
9276 * crypt/sha256c-test.c (TIMEOUT): Likewise.
9277 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
9278 * io/test-lfs.c (TIMEOUT): Likewise.
9279 * libio/tst-atime.c (TIMEOUT): Likewise.
9280 * localedata/tst-leaks.c (TIMEOUT): Likewise.
9281 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
9282 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
9283 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
9284 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
9285 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
9286 * nptl/tst-cond11.c (TIMEOUT): Likewise.
9287 * nptl/tst-cond14.c (TIMEOUT): Likewise.
9288 * nptl/tst-cond15.c (TIMEOUT): Likewise.
9289 * nptl/tst-cond24.c (TIMEOUT): Likewise.
9290 * nptl/tst-cond25.c (TIMEOUT): Likewise.
9291 * nptl/tst-kill2.c (TIMEOUT): Likewise.
9292 * nptl/tst-kill3.c (TIMEOUT): Likewise.
9293 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
9294 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
9295 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
9296 * nptl/tst-once2.c (TIMEOUT): Likewise.
9297 * nptl/tst-once3.c (TIMEOUT): Likewise.
9298 * nptl/tst-once4.c (TIMEOUT): Likewise.
9299 * nptl/tst-robust8.c (TIMEOUT): Likewise.
9300 * nptl/tst-robust9.c (TIMEOUT): Likewise.
9301 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
9302 * nptl/tst-sem14.c (TIMEOUT): Likewise.
9303 * nptl/tst-sem6.c (TIMEOUT): Likewise.
9304 * nptl/tst-signal3.c (TIMEOUT): Likewise.
9305 * nptl/tst-spin4.c (TIMEOUT): Likewise.
9306 * nptl/tst-tls3.c (TIMEOUT): Likewise.
9307 * nptl/tst-tls4.c (TIMEOUT): Likewise.
9308 * posix/tst-chmod.c (TIMEOUT): Likewise.
9309 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
9310 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
9311 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
9312 * posix/tst-regex2.c (TIMEOUT): Likewise.
9313 * posix/tst-waitid.c (TIMEOUT): Likewise.
9314 * rt/tst-aio.c (TIMEOUT): Likewise.
9315 * rt/tst-aio10.c (TIMEOUT): Likewise.
9316 * rt/tst-aio4.c (TIMEOUT): Likewise.
9317 * rt/tst-aio5.c (TIMEOUT): Likewise.
9318 * rt/tst-aio6.c (TIMEOUT): Likewise.
9319 * rt/tst-aio64.c (TIMEOUT): Likewise.
9320 * rt/tst-aio7.c (TIMEOUT): Likewise.
9321 * rt/tst-aio9.c (TIMEOUT): Likewise.
9322 * rt/tst-clock.c (TIMEOUT): Likewise.
9323 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
9324 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
9325 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
9326 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
9327 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
9328 * rt/tst-timer4.c (TIMEOUT): Likewise.
9329 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
9330 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
9331 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
9332 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
9333 * time/tst-ftime.c (TIMEOUT): Likewise.
9334 * timezone/tst-tzset.c (TIMEOUT): Likewise.
9336 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
9338 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
9339 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
9342 2018-10-15 Joseph Myers <joseph@codesourcery.com>
9344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9346 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
9347 instead of <bits/wordsize.h>.
9348 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
9349 and [__SEM_PAD_AFTER_TIME].
9350 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
9351 __syscall_ulong_t instead of unsigned long int.
9352 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
9353 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
9354 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
9355 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
9356 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
9357 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
9358 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
9359 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
9360 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9361 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9362 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9364 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
9366 regex: simplify by using intprops.h
9368 * posix/regex_internal.h [_LIBC]: Include intprops.h.
9369 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
9370 intprops.h defines them.
9372 regex: __builtin_expect → __glibc_unlikely
9374 This refactoring was prompted by a problem when the regex code is
9375 used as part of Gnulib and when the builder’s compiler does not grok
9376 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
9377 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
9378 Although this refactoring does not fix the problem directly,
9379 we might as well have Gawk use the now-preferred glibc style for when
9380 __builtin_expect is unavailable.
9381 * posix/regex_internal.h (BE): Remove.
9382 All uses replaced by __glibc_unlikely or __glibc_likely.
9384 2018-10-11 Joseph Myers <joseph@codesourcery.com>
9386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9388 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
9389 instead of <bits/wordsize.h>.
9390 (msgqnum_t): Define as __syscall_ulong_t.
9391 (msglen_t): Likewise.
9392 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
9393 and [__MSQ_PAD_AFTER_TIME].
9394 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
9395 __syscall_ulong_t instead of unsigned long int.
9396 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
9397 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
9398 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
9399 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
9400 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
9401 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
9402 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
9403 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
9404 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9405 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9406 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9408 2018-10-10 Joseph Myers <joseph@codesourcery.com>
9410 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
9411 (struct shmid_ds): Condition padding after time fields on
9413 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
9414 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
9415 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9417 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
9418 (struct semid_ds): Condition padding after time fields on
9420 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
9421 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
9422 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
9423 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9425 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
9426 (struct msqid_ds): Condition padding after time fields on
9428 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
9429 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
9430 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
9431 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9433 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9435 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
9437 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9439 * libio/tst-readline.c (TIMEOUT): Define.
9441 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
9443 mktime fix for Gnulib + coreutils
9445 This fix affects only Gnulib. Problem discovered when
9446 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
9448 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
9449 Do not define since it is not used. Defining an unused static
9450 function prompts a warning from GCC when Coreutils is configured
9451 with --enable-gcc-warnings.
9453 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9455 * benchtests/scripts/compare_bench.py (main): set float type on
9458 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
9461 * localedata/locales/kl_GL (mon): Update, the relative case.
9462 (alt_mon): Add, fill with month names in the nominative case.
9463 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
9464 (d_fmt): Set to "%b %d %Y".
9466 2018-10-04 Joseph Myers <joseph@codesourcery.com>
9468 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
9469 <bits/mman-linux.h>.
9470 (PROT_READ): Don't define here.
9471 (PROT_WRITE): Likewise.
9472 (PROT_EXEC): Likewise.
9473 (PROT_NONE): Likewise.
9474 (PROT_GROWSDOWN): Likewise.
9475 (PROT_GROWSUP): Likewise.
9476 (MAP_SHARED): Likewise.
9477 (MAP_PRIVATE): Likewise.
9478 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
9479 [__USE_MISC] (MAP_FILE): Likewise.
9480 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
9481 [__USE_MISC] (MAP_ANON): Likewise.
9482 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
9483 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
9484 (MCL_CURRENT): Likewise.
9485 (MCL_FUTURE): Likewise.
9486 (MCL_ONFAULT): Likewise.
9487 [__USE_MISC] (MADV_NORMAL): Likewise.
9488 [__USE_MISC] (MADV_RANDOM): Likewise.
9489 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
9490 [__USE_MISC] (MADV_WILLNEED): Likewise.
9491 [__USE_MISC] (MADV_DONTNEED): Likewise.
9492 [__USE_MISC] (MADV_FREE): Likewise.
9493 [__USE_MISC] (MADV_REMOVE): Likewise.
9494 [__USE_MISC] (MADV_DONTFORK): Likewise.
9495 [__USE_MISC] (MADV_DOFORK): Likewise.
9496 [__USE_MISC] (MADV_HWPOISON): Likewise.
9497 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
9498 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
9499 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
9500 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
9501 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
9502 (__MAP_ANONYMOUS): New macro.
9503 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
9504 <bits/mman-linux.h> inclusion.
9505 (MAP_FIXED): Likewise.
9506 (MS_SYNC): Likewise.
9507 (MS_ASYNC): Likewise.
9508 (MS_INVALIDATE): Likewise.
9509 [__USE_MISC] (MADV_MERGEABLE): Likewise.
9510 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
9511 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
9512 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
9513 [__USE_MISC] (MADV_DONTDUMP): Likewise.
9514 [__USE_MISC] (MADV_DODUMP): Likewise.
9515 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
9516 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
9519 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
9521 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
9522 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
9523 Add test-nldbl-redirect.
9524 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
9525 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
9526 $(objpfx)libnldbl_nonshared.a.
9528 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
9530 * support/support.h (support_objdir_elf_ldso): New variable.
9531 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
9532 * support/Makefile (CFLAGS-support_paths.c): Add definition
9533 for OBJDIR_ELF_LDSO_PATH.
9534 * support/test-container.c (main): Search for the ld.so
9535 which is also used by the testsuite.
9537 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
9540 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
9541 should be "sap" rather than "sab".
9542 (day): Fix spelling of Sunday, should be "sapaat" rather than
9545 2018-10-02 Joseph Myers <joseph@codesourcery.com>
9547 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9549 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
9552 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
9553 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
9554 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
9556 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9558 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
9560 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
9562 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
9564 (CFLAGS-elision-unlock.c): Likewise.
9565 (CFLAGS-elision-timed.c): Likewise.
9566 (CFLAGS-elision-trylock.c): Likewise.
9567 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
9569 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9572 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
9573 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
9574 new fd_to_filename interface.
9575 * libio/freopen64.c (freopen64): Likewise.
9576 * libio/tst-memstream.h: New file.
9577 * libio/tst-memstream4.c: Likewise.
9578 * libio/tst-wmemstream4.c: Likewise.
9579 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
9580 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
9581 and remove internal dynamic allocation.
9583 2018-10-01 Joseph Myers <joseph@codesourcery.com>
9585 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
9586 (MREMAP_MAYMOVE): Do not define here.
9587 [__USE_GNU] (MREMAP_FIXED): Likewise.
9588 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
9589 (MREMAP_MAYMOVE): Define here instead.
9590 [__USE_GNU] (MREMAP_FIXED): Likewise.
9591 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
9592 (MREMAP_MAYMOVE): Remove.
9593 [__USE_GNU] (MREMAP_FIXED): Likewise.
9595 2018-09-28 Joseph Myers <joseph@codesourcery.com>
9597 * math/fromfp.h: Do not include <math_private.h>.
9598 * math/s_cacosh_template.c: Likewise.
9599 * math/s_casin_template.c: Likewise.
9600 * math/s_casinh_template.c: Likewise.
9601 * math/s_ccos_template.c: Likewise.
9602 * math/s_cproj_template.c: Likewise.
9603 * math/s_fdim_template.c: Likewise.
9604 * math/s_fmaxmag_template.c: Likewise.
9605 * math/s_fminmag_template.c: Likewise.
9606 * math/s_iseqsig_template.c: Likewise.
9607 * math/s_ldexp_template.c: Likewise.
9608 * math/s_nextdown_template.c: Likewise.
9609 * math/w_log1p_template.c: Likewise.
9610 * math/w_scalbln_template.c: Likewise.
9611 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9612 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9613 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9614 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9615 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
9616 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
9617 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
9618 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
9619 * sysdeps/i386/fpu/s_atanl.c: Likewise.
9620 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
9621 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9622 * sysdeps/i386/fpu/s_fdim.c: Likewise.
9623 * sysdeps/i386/fpu/s_logbl.c: Likewise.
9624 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9625 * sysdeps/i386/fpu/s_significandl.c: Likewise.
9626 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
9627 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
9628 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9629 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9630 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9631 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9632 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9633 * sysdeps/ieee754/k_standardf.c: Likewise.
9634 * sysdeps/ieee754/k_standardl.c: Likewise.
9635 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9636 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9637 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
9638 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9639 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9640 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9641 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9642 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9643 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9644 * sysdeps/ieee754/s_signgam.c: Likewise.
9645 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9646 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
9647 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
9648 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9649 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9650 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9651 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9652 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9653 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9654 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9655 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9656 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9657 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9658 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9659 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9660 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9661 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9662 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9663 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9664 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9665 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9666 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9667 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9668 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9669 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9670 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9671 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9672 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9673 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9674 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9675 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9676 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9677 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9678 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9679 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9680 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9681 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
9683 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9685 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
9688 * sysdeps/i386/dl-cet.c: Removed.
9689 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
9691 (_dl_runtime_profile_shstk): Likewise.
9692 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
9693 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
9695 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9698 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
9699 do_test_with_invalid_iov): New tests.
9700 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
9701 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
9702 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
9704 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9705 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9706 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9708 2018-09-27 Joseph Myers <joseph@codesourcery.com>
9710 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9711 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
9712 (MATH_REDIRECT_BINARY_ARGS): New macro.
9713 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9714 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
9715 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
9717 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
9718 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9719 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
9720 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9721 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9722 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9723 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
9728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
9730 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
9731 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
9732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
9734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
9736 * sysdeps/generic/math_private_calls.h
9737 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
9738 Do not declare and define as an inline function.
9739 * math/divtc3.c (__divtc3): Use copysign functions instead of
9740 __copysign variants.
9741 * math/multc3.c (__multc3): Likewise.
9742 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
9743 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
9744 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9745 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9747 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9748 (__ieee754_yn): Likewise.
9749 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9750 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
9751 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9752 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9753 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
9755 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9756 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9758 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9760 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9762 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9763 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9765 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9766 (__ieee754_ynf): Likewise.
9767 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9768 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9769 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9770 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9772 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9773 (__ieee754_ynl): Likewise.
9774 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9775 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9776 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9778 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9779 (__ieee754_ynl): Likewise.
9780 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
9781 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9782 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9783 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9785 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9787 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
9788 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9789 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
9790 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9791 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9793 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9794 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
9795 using MATH_REDIRECT.
9796 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
9798 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
9799 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9800 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9801 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
9802 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9803 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9804 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
9806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
9807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
9808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
9809 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9810 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9811 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9812 (round): Redirect to __round.
9813 (__roundl): Call round instead of __round.
9814 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
9816 [_ARCH_PWR5X] (__roundf): Likewise.
9817 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
9818 functions instead of __round variants.
9819 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9820 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9822 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9824 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9826 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
9827 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
9829 (__ieee754_expl): Call roundl instead of __roundl.
9831 2018-09-27 Andreas Schwab <schwab@suse.de>
9834 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
9835 (do_test): Make st1 static.
9837 2018-09-26 Andreas Schwab <schwab@suse.de>
9840 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
9841 * elf/Makefile (tests): Add tst-unwind-ctor.
9842 (modules-names): Add tst-unwind-ctor-lib.
9843 ($(objpfx)tst-unwind-ctor): Depend on
9844 $(objpfx)tst-unwind-ctor-lib.so.
9846 2018-09-26 Joseph Myers <joseph@codesourcery.com>
9848 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
9849 file. Most contents moved from ....
9850 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
9851 and include <bits/mman-map-flags-generic.h>.
9852 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9853 (sysdep_headers): Add bits/mman-map-flags-generic.h.
9854 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
9855 <bits/mman-map-flags-generic.h>.
9856 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
9857 macros defined in <bits/mman-map-flags-generic.h>.
9858 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
9859 <bits/mman-map-flags-generic.h>.
9860 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
9861 defined in <bits/mman-map-flags-generic.h>.
9863 2018-09-26 Andreas Schwab <schwab@suse.de>
9865 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
9868 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
9869 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9870 Fangrui Song <maskray@google.com>
9873 * config.make.in (have-textrel_ifunc): New define.
9874 * configure.ac: Add check if linker supports textrel relocation with
9876 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
9878 (CFLAGS-tst-ifunc-textrel.c): New rule.
9879 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
9880 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
9881 * elf/tst-ifunc-textrel.c: New file.
9883 2018-09-25 Joseph Myers <joseph@codesourcery.com>
9885 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9886 <bits/procfs-prregset.h>.
9887 (prgregset_t): Define using __prgregset_t.
9888 (prfpregset_t): Define using __prfpregset_t.
9889 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9890 (sysdep_headers): Add bits/procfs-prregset.h.
9891 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9892 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9893 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9894 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9896 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9897 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9898 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9900 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9901 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9902 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9903 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9904 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9905 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9906 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9907 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9908 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9909 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9910 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9911 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9912 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9913 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9914 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9915 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9916 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9917 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9918 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9919 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9920 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9921 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9922 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9923 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9925 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9926 AArch64 version. Include <bits/procfs.h>.
9927 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9928 (sysdep_headers): Add bits/procfs.h.
9929 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9930 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9931 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9932 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9933 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9934 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9935 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9936 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9937 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9938 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9939 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9940 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9941 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9942 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9943 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9944 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9945 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9947 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9949 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9952 2018-09-25 Arjun Shankar <arjun@redhat.com>
9954 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9955 (__gconv_max_path_elem_len): Likewise.
9956 (__gconv_nmodules): Likewise.
9957 (__gconv_get_path): Likewise.
9958 (path_elem): Move to ...
9959 * iconv/gconv_conf.c: ... here.
9960 (__gconv_get_path): Mark function static.
9961 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9962 * iconv/gconv_open.c: ... here.
9964 2018-09-24 Andreas Schwab <schwab@suse.de>
9966 * scripts/haveversions.awk: New file.
9967 * Makerules ($(common-objpfx)Versions.def)
9968 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9969 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9971 * Makeconfig ($(common-objpfx)Versions.def)
9972 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9973 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9975 ($(common-objpfx)Versions.mk): New rule. Include it.
9976 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9977 Emit error if build-obsolete-nsl = yes.
9978 * manual/install.texi (Configuring and compiling): Describe
9979 --enable-obsolete-nsl as unavaiable after version 2.28.
9980 * INSTALL: Regenerate.
9982 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9984 * NEWS: Add note about new TLE support on powerpc64le.
9985 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9986 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9988 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9989 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9990 * sysdeps/powerpc/powerpc32/sysdep.h,
9991 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9992 ABORT_TRANSACTION): Remove macros.
9993 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9994 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9995 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9997 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9998 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
10000 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
10002 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
10005 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
10006 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
10007 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
10008 which is the same as in it_IT.
10009 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
10010 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
10012 2018-09-20 Joseph Myers <joseph@codesourcery.com>
10014 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10015 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
10016 using MATH_REDIRECT.
10017 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
10019 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
10020 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10021 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
10022 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10023 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10024 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
10026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
10027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
10028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
10029 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10030 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10031 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10032 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10033 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
10034 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
10035 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
10036 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10037 (ceil): Redirect to __ceil.
10038 (floor): Redirect to __floor.
10039 (trunc): Redirect to __trunc.
10040 (__truncl): Call trunc instead of __trunc.
10041 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
10043 [_ARCH_PWR5X] (__truncf): Likewise.
10044 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
10045 trunc functions instead of __trunc variants.
10046 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10048 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10050 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10052 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10055 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
10056 [__i586__ || __pentium__].
10057 [__i486__]: Handle explicitly.
10058 (HAS_CPUID): Define to 1 if above macros are undefined.
10059 (HAS_I586): Likewise.
10060 (HAS_I686): Likewise.
10062 2018-09-20 Florian Weimer <fweimer@redhat.com>
10064 * misc/tst-gethostid.c: New file.
10065 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
10066 (tst-gethostid): Link with -ldl.
10068 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
10070 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
10071 value from gethostbyname_r.
10073 2018-09-19 Carlos O'Donell <carlos@redhat.com>
10075 * stdlib/tst-setcontext9.c (f1): Rename to...
10077 (f1b): New function implementing lower half of f1 in alternate stack.
10079 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
10081 Fix mktime localtime offset confusion
10083 * include/time.h (__mktime_internal): The localtime offset is now
10084 of type long int instead of time_t. This is the longstanding type
10085 in glibc, and it is more than enough to represent difference
10086 between localtime and gmtime even if it is 32 bits and time_t is
10087 64. Changing it now will let us avoid an unnecessary change when
10088 time_t is widened to 64 bits on 32-bit platforms.
10089 * time/mktime-internal.h (mktime_offset_t): Now long int.
10091 Merge mktime, timegm from upstream Gnulib
10092 [BZ #23603][BZ #16346]
10093 This fixes some obscure problems with integer overflow.
10094 Although it looks scary, it is almost all a byte-for-byte copy
10095 from Gnulib, and the Gnulib code has been tested reasonably well.
10096 * include/intprops.h: New file, copied from Gnulib.
10097 * include/verify.h, time/mktime-internal.h:
10098 New tiny files, simplified from Gnulib.
10099 * time/mktime.c: Copy from Gnulib. This has the following changes:
10100 Do not include config.h if DEBUG_MKTIME is nonzero.
10101 Include stdbool.h, intprops.h, verify.h.
10102 Include string.h only if needed.
10103 Include stdlib.h on MS-Windows.
10104 Include mktime-internal.h.
10105 (DEBUG_MKTIME): Default to 0, and simplify later uses.
10106 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
10107 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
10108 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
10109 simplify later conditionals; default the others to zero. Use
10110 these conditionals to express only the code needed on the current
10111 platform. In uses of these conditionals, explicitly spell out how
10112 _LIBC affects things, so it’s easier to review from a glibc
10114 (WRAPV): Remove; no longer needed now that we have
10115 systematic overflow checking.
10116 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
10117 compartmentalize tzset issues. Move system-dependent tzsettish
10118 code here from mktime.
10119 (verify): Remove; now done by verify.h. All uses changed.
10120 (long_int): Use a more-conservative definition, to avoid
10122 (SHR): Remove, replacing with ...
10123 (shr): New function, which means we needn’t worry about side
10124 effects in args, and conversion analysis is simpler.
10125 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
10126 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
10127 (time_t_avg, time_t_add_ok): Remove.
10128 (mktime_min, mktime_max): New constants.
10129 (leapyear, isdst_differ): Use bool for booleans.
10130 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
10131 Use long_int, not time_t, for mktime differences.
10132 (long_int_avg): New function, replacing time_t_avg.
10133 INT_ADD_WRAPV replaces time_t_add_ok.
10134 (guess_time_tm): 6th arg is now long_int, not time_t const *.
10136 (convert_time): New function.
10137 (ranged_convert): Use it.
10138 (__mktime_internal): Last arg now points to mktime_offset_t, not
10139 time_t. All uses changed. This is a no-op on glibc, where
10140 mktime_offset_t is always time_t. Use int, not time_t, for UTC
10141 offset guess. Directly check for integer overflow instead of
10142 using a heuristic that works only 99.9...% of the time.
10143 Access *OFFSET only once, to avoid an unlikely race if the
10144 compiler delays a load and if this cascades into a signed integer
10146 (mktime): Move tzsettish code to my_tzset, and move
10147 localtime_offset to within mktime so that it doesn’t
10148 need a separate ifdef.
10149 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
10150 instead of localtime.
10151 * time/timegm.c: Copy from Gnulib. This has the following changes:
10152 Include mktime-internal.h.
10153 [!_LIBC]: Include config.h and time.h. Do not include
10154 timegm.h or time_r.h. Make __mktime_internal a macro,
10155 and include mktime-internal.h to get its declaration.
10156 (timegm): Temporary is now mktime_offset_t, not time_t.
10157 This affects only Gnulib.
10159 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10162 * string/test-strstr.c (pr23637): New function.
10163 (test_main): Add tests with longer needles.
10164 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
10165 * string/strstr.c (AVAILABLE): Likewise.
10167 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10169 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
10171 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10173 * NEWS: Mention pow improvements.
10174 * math/Makefile (type-double-routines): Add e_pow_log_data.
10175 * sysdeps/generic/math_private.h (__exp1): Remove.
10176 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
10177 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
10178 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
10180 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
10181 (exp_inline): Remove.
10182 (__ieee754_exp): Only single double input is handled.
10183 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
10184 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
10185 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
10186 (__pow_log_data): Define.
10187 * sysdeps/ieee754/dbl-64/upow.h: Remove.
10188 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
10189 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
10190 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
10192 (CFLAGS-e_pow-fma4.c): Likewise.
10194 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
10196 Simplify tzfile fstat failure code
10198 * time/tzfile.c (__tzfile_read): Simplify slightly.
10200 Fix tzfile low-memory assertion failure
10202 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
10203 when registering time zone abbreviations.
10205 2018-09-18 Joseph Myers <joseph@codesourcery.com>
10207 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
10208 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
10209 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10210 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10211 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
10212 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
10213 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
10214 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10215 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10217 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
10219 (__ceill): Call ceil instead of __ceil.
10220 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
10222 (__floorl): Call floor instead of __floor.
10224 2018-09-17 Joseph Myers <joseph@codesourcery.com>
10226 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10227 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
10228 using MATH_REDIRECT.
10229 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
10231 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
10232 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10233 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10234 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
10235 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10237 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10238 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
10239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
10240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
10241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
10242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
10243 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10244 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10246 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10247 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10248 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10249 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
10251 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
10252 functions instead of __ceil variants.
10253 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10254 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10256 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10258 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10259 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10261 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10262 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10265 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
10267 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
10268 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
10269 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
10270 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
10271 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
10272 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
10273 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
10274 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
10275 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
10276 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
10277 (ILL_BADIADDR): Remove constant.
10278 (TRAP_BRANCH): Likewise.
10279 (TRAP_HWBKPT): Likewise.
10281 2018-09-14 Joseph Myers <joseph@codesourcery.com>
10284 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
10285 Remove [_MIPS_SIM = _ABIN32] conditional case.
10286 (struct elf_prpsinfo): Likewise.
10289 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
10290 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
10291 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
10293 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
10294 elf_prpsinfo): Likewise.
10295 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
10296 elf_prpsinfo): Likewise.
10297 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
10300 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10301 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
10302 using MATH_REDIRECT.
10303 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
10305 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
10306 * sysdeps/alpha/fpu/s_rint.c: Likewise.
10307 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
10308 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10309 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10310 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10311 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
10312 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10313 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10315 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
10316 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
10317 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
10318 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
10319 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
10320 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10321 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10322 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
10323 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
10325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
10326 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
10327 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
10328 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10329 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10330 * sysdeps/x86_64/fpu/math_private.h: Remove file.
10331 * math/e_scalb.c (invalid_fn): Use rint functions instead of
10333 * math/e_scalbf.c (invalid_fn): Likewise.
10334 * math/e_scalbl.c (invalid_fn): Likewise.
10335 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10337 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10339 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10340 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
10341 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10343 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10345 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10347 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
10348 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
10350 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10351 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
10353 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10354 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
10355 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10356 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
10357 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10358 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
10359 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10360 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
10361 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10362 && !NO_MATH_REDIRECT] (floor): Likewise.
10363 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
10365 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
10366 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10367 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10368 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
10369 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10370 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10371 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10372 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
10373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
10374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
10375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
10376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
10377 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10378 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10379 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10380 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10381 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10382 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10383 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
10385 [_ARCH_PWR5X] (__floorf): Likewise.
10386 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
10388 [__SSE4_1__] (__floorf): Likewise.
10389 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
10390 instead of __floor variants.
10391 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
10392 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
10393 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
10394 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
10395 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
10396 * math/w_tgamma_compat.c (__tgamma): Likewise.
10397 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
10398 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
10399 * math/w_tgammal_compat.c (__tgammal): Likewise.
10400 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
10401 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10403 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10404 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
10405 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10406 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10408 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10409 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
10411 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10412 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
10414 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10415 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
10417 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10418 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10419 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10420 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
10421 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10422 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10424 2018-09-12 Joseph Myers <joseph@codesourcery.com>
10426 * elf/Makefile (modules-names-tests): New variable.
10428 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10430 * NEWS: Mention log2 improvements.
10431 * math/Makefile (type-double-routines): Add e_log2_data.
10432 * sysdeps/i386/fpu/e_log2_data.c: New file.
10433 * sysdeps/ia64/fpu/e_log2_data.c: New file.
10434 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
10435 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
10436 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
10437 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
10438 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
10440 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10442 * NEWS: Mention log improvement.
10443 * math/Makefile (type-double-routines): Add e_log_data.
10444 * sysdeps/i386/fpu/e_log_data.c: New file.
10445 * sysdeps/ia64/fpu/e_log_data.c: New file.
10446 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
10447 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
10448 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
10449 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
10450 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
10451 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
10453 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
10454 Xuepeng Guo <xuepeng.guo@intel.com>
10457 * sysdeps/i386/start.S: Include <sysdep.h>
10458 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
10459 enabled. Add cfi_undefined (eip).
10461 2018-09-11 Joseph Myers <joseph@codesourcery.com>
10463 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
10465 (EXTRACT_WORDS64): Likewise.
10466 (INSERT_WORDS64): Likewise.
10467 (GET_FLOAT_WORD): Likewise.
10468 (SET_FLOAT_WORD): Likewise.
10470 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
10472 (Config.build_gcc): Use --disable-libsanitizer for first GCC
10473 build, but not for second build if --full-gcc. Use
10474 --enable-languages=all for second build if --full-gcc.
10475 (get_parser): Add --full-gcc option.
10476 (main): Update call to Context.
10478 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
10481 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
10482 Single Quotation Mark).
10483 (thousands_sep): Likewise.
10484 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
10485 * localedata/locales/it_IT (thousands_sep): Use ".".
10486 (grouping): Use "3;3".
10488 2018-09-10 Joseph Myers <joseph@codesourcery.com>
10490 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10491 x86_64 and i686 configs using --enable-obsolete-rpc
10492 --enable-obsolete-nsl.
10494 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10496 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10498 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10500 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
10501 Increment size of new_argv by one.
10503 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
10506 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
10507 * localedata/locales/ar_IN (d_fmt): Likewise.
10508 * localedata/locales/bhb_IN (d_fmt): Likewise.
10509 * localedata/locales/bho_IN (d_fmt): Likewise.
10510 * localedata/locales/bn_BD (d_fmt): Likewise.
10511 * localedata/locales/bn_IN (d_fmt): Likewise.
10512 * localedata/locales/doi_IN (d_fmt): Likewise.
10513 * localedata/locales/gu_IN (d_fmt): Likewise.
10514 * localedata/locales/hi_IN (d_fmt): Likewise.
10515 * localedata/locales/hne_IN (d_fmt): Likewise.
10516 * localedata/locales/kn_IN (d_fmt): Likewise.
10517 * localedata/locales/mag_IN (d_fmt): Likewise.
10518 * localedata/locales/mai_IN (d_fmt): Likewise.
10519 * localedata/locales/mjw_IN (d_fmt): Likewise.
10520 * localedata/locales/ml_IN (d_fmt): Likewise.
10521 * localedata/locales/mni_IN (d_fmt): Likewise.
10522 * localedata/locales/mr_IN (d_fmt): Likewise.
10523 * localedata/locales/pa_IN (d_fmt): Likewise.
10524 * localedata/locales/raj_IN (d_fmt): Likewise.
10525 * localedata/locales/sat_IN (d_fmt): Likewise.
10526 * localedata/locales/sd_IN (d_fmt): Likewise.
10527 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
10528 * localedata/locales/ta_IN (d_fmt): Likewise.
10529 * localedata/locales/ta_LK (d_fmt): Likewise.
10530 * localedata/locales/tcy_IN (d_fmt): Likewise.
10531 * localedata/locales/ur_IN (d_fmt): Likewise.
10533 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
10534 * localedata/locales/ks_IN (d_fmt): Likewise.
10535 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
10537 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
10538 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
10539 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
10540 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
10542 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
10544 * NEWS: Mention exp and exp2 improvements.
10545 * math/Makefile (libm-support): Remove t_exp.
10546 (type-double-routines): Add math_err and e_exp_data.
10547 * sysdeps/aarch64/libm-test-ulps: Update.
10548 * sysdeps/arm/libm-test-ulps: Update.
10549 * sysdeps/i386/fpu/e_exp_data.c: New file.
10550 * sysdeps/i386/fpu/math_err.c: New file.
10551 * sysdeps/i386/fpu/t_exp.c: Remove.
10552 * sysdeps/ia64/fpu/e_exp_data.c: New file.
10553 * sysdeps/ia64/fpu/math_err.c: New file.
10554 * sysdeps/ia64/fpu/t_exp.c: Remove.
10555 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
10556 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
10557 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
10558 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
10559 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
10560 * sysdeps/ieee754/dbl-64/math_config.h: New file.
10561 * sysdeps/ieee754/dbl-64/math_err.c: New file.
10562 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
10563 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
10564 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
10565 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
10566 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
10567 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
10568 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
10569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10572 2018-09-05 Joseph Myers <joseph@codesourcery.com>
10574 * sysdeps/alpha/fpu/math_private.h: Remove.
10576 * sysdeps/generic/math_private.h
10577 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
10578 Move this inline function ....
10579 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
10580 * include/math.h [!_ISOMAC]: To here....
10582 2018-09-04 Joseph Myers <joseph@codesourcery.com>
10584 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
10586 [!FE_HAVE_ROUNDING_MODES]: And this code ....
10587 * include/fenv.h [!_ISOMAC]: ... to here.
10588 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
10589 (feraiseexcept): Likewise.
10590 * math/fromfp.h: Do not include <fenv_private.h>.
10591 * math/s_cexp_template.c: Likewise.
10592 * math/s_csin_template.c: Likewise.
10593 * math/s_csinh_template.c: Likewise.
10594 * math/s_ctan_template.c: Likewise.
10595 * math/s_ctanh_template.c: Likewise.
10596 * math/s_iseqsig_template.c: Likewise.
10597 * math/w_acos_compat.c: Likewise.
10598 * math/w_acosf_compat.c: Likewise.
10599 * math/w_acosl_compat.c: Likewise.
10600 * math/w_asin_compat.c: Likewise.
10601 * math/w_asinf_compat.c: Likewise.
10602 * math/w_asinl_compat.c: Likewise.
10603 * math/w_j0_compat.c: Likewise.
10604 * math/w_j0f_compat.c: Likewise.
10605 * math/w_j0l_compat.c: Likewise.
10606 * math/w_j1_compat.c: Likewise.
10607 * math/w_j1f_compat.c: Likewise.
10608 * math/w_j1l_compat.c: Likewise.
10609 * math/w_jn_compat.c: Likewise.
10610 * math/w_jnf_compat.c: Likewise.
10611 * math/w_log10_compat.c: Likewise.
10612 * math/w_log10f_compat.c: Likewise.
10613 * math/w_log10l_compat.c: Likewise.
10614 * math/w_log2_compat.c: Likewise.
10615 * math/w_log2f_compat.c: Likewise.
10616 * math/w_log2l_compat.c: Likewise.
10617 * math/w_log_compat.c: Likewise.
10618 * math/w_logf_compat.c: Likewise.
10619 * math/w_logl_compat.c: Likewise.
10620 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10621 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10622 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10623 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10624 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10625 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10626 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10627 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10628 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10629 * sysdeps/ieee754/k_standardl.c: Likewise.
10630 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10631 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10632 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10633 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10634 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10635 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10636 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10637 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10638 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10639 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10640 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10641 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10642 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10643 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10644 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10645 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10646 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10647 * math/w_ilogb_template.c: Include <fenv.h> instead of
10649 * math/w_llogb_template.c: Likewise.
10650 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10651 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10653 2018-09-03 Joseph Myers <joseph@codesourcery.com>
10655 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
10656 * math/fromfp.h: Include <fenv_private.h>.
10657 * math/math-narrow.h: Likewise.
10658 * math/s_cexp_template.c: Likewise.
10659 * math/s_csin_template.c: Likewise.
10660 * math/s_csinh_template.c: Likewise.
10661 * math/s_ctan_template.c: Likewise.
10662 * math/s_ctanh_template.c: Likewise.
10663 * math/s_iseqsig_template.c: Likewise.
10664 * math/w_acos_compat.c: Likewise.
10665 * math/w_acosf_compat.c: Likewise.
10666 * math/w_acosl_compat.c: Likewise.
10667 * math/w_asin_compat.c: Likewise.
10668 * math/w_asinf_compat.c: Likewise.
10669 * math/w_asinl_compat.c: Likewise.
10670 * math/w_ilogb_template.c: Likewise.
10671 * math/w_j0_compat.c: Likewise.
10672 * math/w_j0f_compat.c: Likewise.
10673 * math/w_j0l_compat.c: Likewise.
10674 * math/w_j1_compat.c: Likewise.
10675 * math/w_j1f_compat.c: Likewise.
10676 * math/w_j1l_compat.c: Likewise.
10677 * math/w_jn_compat.c: Likewise.
10678 * math/w_jnf_compat.c: Likewise.
10679 * math/w_llogb_template.c: Likewise.
10680 * math/w_log10_compat.c: Likewise.
10681 * math/w_log10f_compat.c: Likewise.
10682 * math/w_log10l_compat.c: Likewise.
10683 * math/w_log2_compat.c: Likewise.
10684 * math/w_log2f_compat.c: Likewise.
10685 * math/w_log2l_compat.c: Likewise.
10686 * math/w_log_compat.c: Likewise.
10687 * math/w_logf_compat.c: Likewise.
10688 * math/w_logl_compat.c: Likewise.
10689 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10690 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10691 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10692 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10693 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10694 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10695 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10696 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10697 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10698 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10699 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10700 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10701 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
10702 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10703 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10704 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10705 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10706 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10707 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10708 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10711 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10712 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10713 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10714 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10715 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10716 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10717 * sysdeps/ieee754/float128/float128_private.h: Likewise.
10718 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10719 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10720 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10721 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10722 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10723 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10724 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10725 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10726 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10727 * sysdeps/ieee754/k_standardl.c: Likewise.
10728 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10729 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10730 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10731 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10732 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10733 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10734 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10735 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10736 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10737 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10738 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10739 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10740 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10741 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10742 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10743 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10744 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10745 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10746 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10747 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10748 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10749 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10750 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10751 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10753 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10754 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10755 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10756 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10757 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10758 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10759 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10760 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10761 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10762 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10763 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10764 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10765 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10766 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10767 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10768 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10769 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10770 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10771 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10772 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10773 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10774 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10775 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10776 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10777 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10778 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10779 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10780 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10781 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10782 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10783 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10784 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10785 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10786 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10787 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10788 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10789 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10790 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10791 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10792 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10793 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10794 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10795 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10796 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10797 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10798 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10800 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10803 * include/stdio.h (__libc_fatal): Mention newline in comment.
10804 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
10805 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
10806 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10807 * nss/nsswitch.c (__nss_next2): Likewise.
10808 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
10809 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
10810 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
10811 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10812 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
10813 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
10814 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
10815 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
10816 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
10817 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
10818 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
10819 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10820 (__netlink_assert_response): Likewise.
10822 2018-08-31 Joseph Myers <joseph@codesourcery.com>
10824 * conform/glibcconform.py: New file.
10825 * conform/list-header-symbols.py: Likewise.
10826 * conform/list-header-symbols.pl: Remove.
10827 * conform/Makefile (tests-special): Only add linknamespace tests
10829 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
10831 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
10834 * support/Makefile (libsupport-routines): Add
10835 support_copy_file_range and xcopy_file_range.
10836 * support/support.h: Include <sys/types.h>.
10837 (support_copy_file_range): New prototype.
10838 * support/support_copy_file_range.c: New file. Copied and
10839 modified from io/copy_file_range-compat.c.
10840 * support/test-container.c (copy_one_file): Call xcopy_file_rang
10841 instead of copy_file_range.
10842 * support/xcopy_file_range.c: New file.
10843 * support/xunistd.h (xcopy_file_range): New prototype.
10845 2018-08-30 Carlos O'Donell <carlos@redhat.com>
10847 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
10848 xpthread_create and xpthread_join.
10850 2018-08-30 Florian Weimer <fweimer@redhat.com>
10852 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
10854 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
10856 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
10859 2018-08-29 Joseph Myers <joseph@codesourcery.com>
10861 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
10862 and minus_oflow as non-finite.
10864 2018-08-28 Joseph Myers <joseph@codesourcery.com>
10866 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
10867 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
10868 moved to fenv_private.h except for ...
10869 (TOINT_INTRINSICS): Kept in math_private.h.
10870 (roundtoint): Likewise.
10871 (converttoint): Likewise.
10872 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
10873 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10874 * sysdeps/arm/math_private.h: Remove.
10875 * sysdeps/generic/fenv_private.h: New file. Contents moved from
10877 * sysdeps/generic/math_private.h: ... this file. Include
10878 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
10879 Include <fenv_private.h>. Remove functions and macros moved to
10881 * sysdeps/i386/fpu/math_private.h: Remove.
10882 * sysdeps/mips/math_private.h: Move to ....
10883 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
10884 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
10885 [__mips_hard_float] conditional. Include next <fenv_private.h>.
10886 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
10887 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10888 * sysdeps/powerpc/fpu/math_private.h: Do not include
10890 * sysdeps/riscv/rvf/math_private.h: Move to ....
10891 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10892 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10894 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10895 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10896 * sysdeps/sparc/fpu/math_private.h: Remove.
10897 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10898 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10899 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10901 * sysdeps/x86_64/fpu/math_private.h: Do not include
10902 <sysdeps/i386/fpu/fenv_private.h>.
10904 2018-08-28 Florian Weimer <fweimer@redhat.com>
10907 * posix/tst-regcomp-truncated.c: New file.
10908 * posix/Makefile (tests): Add it.
10909 (tst-regcomp-truncated.out): Depend on generated locales.
10911 2018-08-28 Florian Weimer <fweimer@redhat.com>
10913 * support/test-container.c (main): Treat unshare failure with
10914 EPERM as an unsupported test.
10916 2018-08-28 Florian Weimer <fweimer@redhat.com>
10919 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10920 * nscd/netgroupcache.c
10921 (addgetnetgrentX): Add tofreep parameter. Do not free
10922 heap-allocated buffer.
10923 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10924 (addgetnetgrentX_ignore): New function.
10925 (addgetnetgrent): Call it.
10926 (readdgetnetgrent): Likewise.
10928 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10930 * string/memmem.c: Use memcmp for first match.
10932 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10935 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10937 2018-08-27 DJ Delorie <dj@redhat.com>
10939 * support/Makefile (others): Don't list programs explicitly as a
10940 dependency of "others".
10942 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10944 * sysdeps/generic/math-tests-trap-force.h: New file.
10945 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10946 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10947 * sysdeps/powerpc/math-tests.h: Remove file.
10948 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10950 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10951 Torvald Riegel <triegel@redhat.com>
10954 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10955 Update r to include the set wake-request flag if waiters are
10956 remaining after spinning.
10958 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10960 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10962 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10965 regex: fix uninitialized memory access
10966 I introduced this bug into gnulib in commit
10967 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10968 eventually it was merged into glibc. The bug was found by
10969 project-repo <bugs@feusi.co> and reported here:
10970 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10971 Diagnosis and draft fix reported by Assaf Gordon here:
10972 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10973 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10974 * posix/regex_internal.c (build_wcs_upper_buffer):
10975 Fix bug when mbrtowc returns 0.
10977 2018-08-24 Carlos O'Donell <carlos@redhat.com>
10979 * po/be.po: Update translation.
10981 2018-08-24 DJ Delorie <dj@delorie.com>
10983 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10986 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10989 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10990 create temporary files in source tree.
10992 2018-08-24 Joseph Myers <joseph@codesourcery.com>
10994 * sysdeps/generic/math-tests-trap.h: New file.
10995 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10996 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10997 * sysdeps/aarch64/math-tests.h: Remove file.
10998 * sysdeps/arm/math-tests.h: Likewise.
10999 * sysdeps/riscv/math-tests.h: Likewise.
11000 * sysdeps/aarch64/math-tests-trap.h: New file.
11001 * sysdeps/arm/math-tests-trap.h: Likewise.
11002 * sysdeps/riscv/math-tests-trap.h: Likewise.
11004 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
11006 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
11007 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
11008 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
11009 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
11010 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
11011 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
11012 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11013 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
11014 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
11015 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11016 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11017 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11018 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11019 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
11020 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
11021 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
11022 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11023 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11025 2018-08-23 Joseph Myers <joseph@codesourcery.com>
11027 * sysdeps/generic/math-tests-exceptions.h: New file.
11028 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
11029 (EXCEPTION_TESTS_float): Do not define here.
11030 (EXCEPTION_TESTS_double): Likewise.
11031 (EXCEPTION_TESTS_long_double): Likewise.
11032 (EXCEPTION_TESTS_float128): Likewise.
11033 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
11035 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
11036 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
11037 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
11038 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
11039 * sysdeps/mips/math-tests.h: Likewise.
11040 * sysdeps/nios2/math-tests.h: Likewise.
11041 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11042 (EXCEPTION_TESTS_float): Do not define here.
11043 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
11044 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
11045 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
11047 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11049 * NEWS: Move optimized sinf entry to 2.29.
11051 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11053 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
11055 2018-08-22 DJ Delorie <dj@redhat.com>
11057 * Makefile (testroot.pristine): New rules to initialize the
11058 test-in-container "testroot".
11059 * Makerules (all-testsuite): Add tests-container.
11060 * Rules (tests-expected): Add tests-container.
11061 (binaries-all-tests): Likewise.
11062 (tests-container): New, run these tests in the testroot container.
11063 * support/Makefile (others): Add *-container, support_paths.c,
11064 xmkdirp, and links-dso-program.
11065 * support/links-dso-program-c.c: New.
11066 * support/links-dso-program.cc: New.
11067 * support/test-container.c: New.
11068 * support/shell-container.c: New.
11069 * support/echo-container.c: New.
11070 * support/true-container.c: New.
11071 * support/xmkdirp.c: New.
11072 * support/xsymlink.c: New.
11073 * support/support_paths.c: New.
11074 * support/support.h: Add support paths prototypes.
11075 * support/xunistd.h: Add xmkdirp () and xsymlink ().
11077 * nss/tst-nss-test3.c: Convert to test-in-container.
11078 * nss/tst-nss-test3.root/: New.
11080 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
11082 regex: port Gnulib code to z/OS POSIX environment
11083 Problem reported by Arnold Robbins in:
11084 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
11085 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
11088 2018-08-22 Joseph Myers <joseph@codesourcery.com>
11090 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
11091 (ROUNDING_TESTS_double): Remove.
11092 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
11093 (ROUNDING_TESTS_double): Remove.
11094 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
11095 (ROUNDING_TESTS_double): Remove.
11096 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
11097 (ROUNDING_TESTS_float): Remove.
11098 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
11099 (ROUNDING_TESTS_float): Remove.
11100 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
11101 (ROUNDING_TESTS_float): Remove.
11102 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
11103 !TEST_MATHVEC here.
11104 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11105 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11107 * sysdeps/generic/math-tests-rounding.h: New file.
11108 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
11109 (ROUNDING_TESTS_float): Do not define here.
11110 (ROUNDING_TESTS_double): Likewise.
11111 (ROUNDING_TESTS_long_double): Likewise.
11112 (ROUNDING_TESTS_float128): Likewise.
11113 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
11114 (ROUNDING_TESTS_double): Undefine before defining.
11115 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
11116 (ROUNDING_TESTS_double): Undefine before defining.
11117 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
11118 (ROUNDING_TESTS_double): Undefine before defining.
11119 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
11120 (ROUNDING_TESTS_float): Undefine before defining.
11121 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
11122 (ROUNDING_TESTS_float): Undefine before defining.
11123 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
11124 (ROUNDING_TESTS_float): Undefine before defining.
11125 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
11126 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
11128 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
11129 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
11130 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
11131 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11132 (ROUNDING_TESTS_float): Do not define here.
11133 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
11134 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
11135 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
11136 (ROUNDING_TESTS_float): Likewise.
11137 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
11138 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
11139 * sysdeps/mips/math-tests.h [__mips_soft_float]
11140 (ROUNDING_TESTS_float): Likewise.
11141 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
11142 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
11143 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
11144 (ROUNDING_TESTS_double): Likewise.
11145 (ROUNDING_TESTS_long_double): Likewise.
11147 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
11149 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
11150 (PF_XDP): New macro.
11151 (AF_XDP): New macro.
11152 (SOL_XDP): New macro.
11154 2018-08-21 Joseph Myers <joseph@codesourcery.com>
11156 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
11157 (TCP_INQ): Likewise.
11158 (TCP_CM_INQ): Likewise.
11159 (TCP_REPAIR_ON): Likewise.
11160 (TCP_REPAIR_OFF): Likewise.
11161 (TCP_REPAIR_OFF_NO_WP): Likewise.
11162 (struct tcp_zerocopy_receive): New type.
11164 2018-08-21 Florian Weimer <fweimer@redhat.com>
11166 * support/support.h (support_descriptor_supports_holes): Declare.
11167 * support/Makefile (libsupport-routines): Add
11168 support_descriptor_supports_holes.
11169 * support/support_descriptor_supports_holes.c: New file.
11170 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
11171 and stop testing if holes are not supported.
11172 * io/test-lfs.c (do_prepare): Likewise.
11173 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
11175 * timezone/tst-tzset.c (create_tz_file): Likewise.
11176 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
11178 (do_prepare): Set it.
11179 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
11181 2018-08-21 Florian Weimer <fweimer@redhat.com>
11184 * Makeconfig (+cflags): Do not sort (and deduplicate).
11186 2018-08-21 Florian Weimer <fweimer@redhat.com>
11188 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
11189 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
11191 2018-08-20 Florian Weimer <fweimer@redhat.com>
11193 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
11194 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
11196 2018-08-20 Joseph Myers <joseph@codesourcery.com>
11198 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
11199 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
11200 and ssi_arch members.
11202 * elf/elf.c (NT_VMCOREDD): New macro.
11203 (AT_MINSIGSTKSZ): Likewise.
11205 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11207 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11208 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
11209 s_cosf-ppc64 and s_cosf-power8.
11210 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
11211 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11212 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11213 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
11215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
11216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
11217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
11218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11220 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
11221 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11223 2018-08-17 Florian Weimer <fweimer@redhat.com>
11225 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11227 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
11229 * malloc/malloc.c (_int_malloc): Additional binning code checks.
11231 2018-08-16 Florian Weimer <fweimer@redhat.com>
11233 * configure.ac: Add --with-nonshared-cflags option.
11234 * config.make.in (extra-nonshared-cflags): Set variable.
11235 * Makeconfig (CFLAGS-.oS): Use it.
11236 * manual/install.texi (Configuring and compiling): Document
11237 --with-nonshared-cflags.
11238 * configure: Regenerate.
11239 * INSTALL: Likewise.
11241 2018-08-16 Florian Weimer <fweimer@redhat.com>
11243 * Makeconfig (ASFLAGS): Always append required assembler flags.
11245 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
11247 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
11248 (malloc_consolidate): Likewise.
11250 2018-08-16 Pochang Chen <johnchen902@gmail.com>
11252 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
11254 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
11256 * benchtests/bench-strlen.c (do_test): Allocate buffers before
11259 * benchtests/bench-strlen.c: Print performance numbers in json.
11261 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11263 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11264 (sysdep_routines): Build strcmp-power9 and strncmp-power9
11265 only for little endian.
11266 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11267 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
11268 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
11269 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
11270 Add check for little endian.
11271 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11272 (__strcmp_power9): Add check for little endian.
11273 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
11274 Add check for little endian.
11275 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11276 (__strncmp_power9): Add check for little endian.
11277 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
11278 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
11279 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
11280 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
11281 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
11283 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
11285 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
11286 [!STRLEN](STRLEN): Set to __strlen.
11287 * sysdeps/aarch64/multiarch/strlen.c: New file.
11288 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
11289 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
11290 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
11291 (__libc_ifunc_impl_list): Add strlen.
11292 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
11293 strlen_generic and strlen_asimd.
11295 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11297 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
11298 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
11299 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11301 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11303 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
11305 2018-08-14 Florian Weimer <fweimer@redhat.com>
11308 * include/stdio.h (__vfxprintf): Declare.
11309 * stdio-common/fxprintf.c (__vfxprintf): New function.
11310 (__fxprintf): Call it.
11311 * misc/err.c (convert_and_print): Remove function.
11312 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
11313 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
11314 * misc/Makefile (tests): Add tst-warn-wide.
11315 * misc/tst-warn-wide.c: New file.
11317 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
11318 Szabolcs Nagy <szabolcs.nagy@arm.com>
11320 * NEWS: Mention sinf, cosf, sincosf.
11321 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
11322 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
11323 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
11324 constants rather than including generic sincosf.h.
11325 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
11326 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
11327 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
11328 (reduced_cos): Remove.
11329 (sinf_poly): New function.
11330 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
11332 2018-08-14 Florian Weimer <fweimer@redhat.com>
11336 * nss/nss_files/files-alias.c (get_next_alias): During :include:
11337 processing, bail out if no room, and close the stream before
11339 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
11340 (tst-nss-files-alias-leak): Link with libdl.
11341 (tst-nss-files-alias-leak.out): Depend on nss_files.
11343 * nss/tst-nss-files-alias-leak.c: New file.
11345 2018-08-14 Florian Weimer <fweimer@redhat.com>
11347 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
11348 server_user, stat_user.
11350 2018-08-13 Joseph Myers <joseph@codesourcery.com>
11352 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11354 (io_pgetevents): New syscall.
11357 * manual/install.texi (Configuring and compiling): Do not list
11358 tools used for testing pretty printers here.
11359 (Tools for Compilation): List Python, PExpect and GDB here.
11360 Update descriptions of uses of Perl and Python.
11361 * INSTALL: Regenerate.
11363 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11366 2018-08-13 Florian Weimer <fweimer@redhat.com>
11368 * misc/error.c (error): Add missing va_end call.
11369 (error_at_line): Likewise.
11371 2018-08-13 Florian Weimer <fweimer@redhat.com>
11373 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
11375 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11377 * benchtests/scripts/benchout.schema.json (properties): Add
11380 * benchtests/bench-skeleton.c (main): Add duration and
11381 iterations attributes.
11383 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
11385 regex: Gnulib unibyte RRI uses bytes not chars
11386 Adjust the non-glibc code to agree with what Gawk needs for
11387 rational range interpretation (RRI) for regular expression ranges.
11388 In unibyte locales, Gawk wants ranges to use the underlying byte
11389 rather than the character code point. This change does not affect
11391 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
11392 In unibyte locales, use the byte value rather than
11393 running it through btowc.
11395 2018-08-10 Joseph Myers <joseph@codesourcery.com>
11397 * sysdeps/generic/math-tests-snan.h: New file.
11398 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
11399 (SNAN_TESTS_float): Do not define here.
11400 (SNAN_TESTS_double): Likewise.
11401 (SNAN_TESTS_long_double): Likewise.
11402 (SNAN_TESTS_float128): Likewise.
11403 * sysdeps/i386/fpu/math-tests-snan.h: New file.
11404 * sysdeps/i386/fpu/math-tests.h: Remove file.
11405 * sysdeps/ia64/math-tests-snan.h: New file.
11406 * sysdeps/ia64/math-tests.h: Remove file.
11407 * sysdeps/x86/math-tests.h: Likewise.
11408 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
11410 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11411 Szabolcs Nagy <szabolcs.nagy@arm.com>
11413 * math/Makefile: Add s_sincosf_data.c.
11414 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
11415 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
11416 (sincosf_poly): Likewise.
11417 (reduce_small): Likewise.
11418 (reduce_large): Likewise.
11419 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
11420 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
11421 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
11422 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
11424 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11425 Szabolcs Nagy <szabolcs.nagy@arm.com>
11427 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
11428 (converttoint): Use lround.
11429 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
11430 document the semantics when TOINT_INTRINSICS is set.
11431 (converttoint): Likewise.
11432 (TOINT_RINT): Remove.
11433 (TOINT_SHIFT): Remove.
11434 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
11437 2018-08-10 Florian Weimer <fweimer@redhat.com>
11440 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
11442 (__old_getdents64): Use getdents64. Convert entries without
11444 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
11445 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
11446 tst-readdir64-compat.
11448 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11450 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
11453 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11455 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
11456 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
11457 code to s390x-mcount.h and #include it.
11458 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
11459 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11462 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11464 * stdlib/Versions: Remove __fentry__.
11465 * sysdeps/i386/Versions: Add __fentry__.
11466 * sysdeps/x86_64/Versions: Add __fentry__.
11468 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11470 * sysdeps/s390/Makefile: Register the new tests.
11471 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
11472 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
11473 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
11474 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
11475 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
11476 * sysdeps/s390/tst-dl-runtime.c: New file.
11478 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11480 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11483 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11485 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11488 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11490 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11493 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11495 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11498 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11500 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11501 Use symbolic offsets for stack variables.
11503 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11505 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11506 Use symbolic offsets for stack variables.
11508 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11510 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11511 Use symbolic offsets for stack variables.
11513 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11515 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11516 Use symbolic offsets for stack variables.
11518 2018-08-09 Joseph Myers <joseph@codesourcery.com>
11520 * math/gen-libm-test.py: New file.
11521 * math/gen-libm-test.pl: Remove.
11522 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
11523 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
11525 ($(libm-test-c-noauto-obj)): Likewise.
11526 ($(libm-test-c-auto-obj)): Likewise.
11527 ($(libm-test-c-narrow-obj)): Likewise.
11528 (regen-ulps): Likewise.
11529 * math/README.libm-test: Update references to gen-libm-test.pl.
11530 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
11531 referencing gen-libm-test.pl.
11532 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
11533 * math/libm-test-support.c: Likewise.
11534 * math/libm-test-support.h: Likewise.
11535 * sysdeps/generic/libm-test-ulps: Likewise.
11537 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
11539 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
11542 2018-08-08 Joseph Myers <joseph@codesourcery.com>
11544 * math/libm-test-nextdown.inc (do_test): Move comment to ....
11545 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
11547 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11549 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
11551 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
11552 __pthread_setspecific): Add hidden proto.
11553 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
11554 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
11556 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11558 * benchtests/bench-string.h (buf1_size, buf2_size): New
11560 (init_sizes): New function.
11561 (test_init): Use it.
11562 (alloc_buf, exit_error): New functions.
11563 (alloc_bufs): Use ALLOC_BUF.
11564 (realloc_bufs): Remove.
11565 * benchtests/bench-memcmp.c (do_test): Adjust.
11566 * benchtests/bench-memset-large.c (do_test): Likewise.
11567 * benchtests/bench-memset-walk.c (do_test): Likewise.
11568 * benchtests/bench-memset.c (do_test): Likewise.
11569 * benchtests/bench-strncmp.c (do_test): Likewise.
11571 2018-08-06 Andreas Schwab <schwab@suse.de>
11573 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
11574 of CONST_THREAD_AREA.
11576 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
11578 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
11579 (STATE_SAVE_MASK): Likewise.
11580 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
11581 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
11582 (STATE_SAVE_MASK): Likewise.
11583 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
11584 instead of <cpu-features.h>.
11586 2018-08-03 DJ Delorie <dj@redhat.com>
11588 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
11589 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
11591 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
11593 2018-08-03 Joseph Myers <joseph@codesourcery.com>
11595 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
11596 after TEST_* calls.
11597 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
11598 * math/libm-test-logb.inc (logb_test_data): Likewise.
11600 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
11602 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
11603 * string/strstr.c (AVAILABLE): Likewise.
11605 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11607 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
11609 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
11610 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
11611 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
11613 2018-08-03 Carlos O'Donell <carlos@redhat.com>
11615 * po/be.po: Update translation.
11617 * po/be.po: Update translation.
11619 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11621 * sysdeps/x86/cpu-features-offsets.sym
11622 (rtld_global_ro_offsetof): Removed.
11623 (CPU_FEATURES_SIZE): Likewise.
11624 (CPUID_OFFSET): Likewise.
11625 (CPUID_SIZE): Likewise.
11626 (CPUID_EAX_OFFSET): Likewise.
11627 (CPUID_EBX_OFFSET): Likewise.
11628 (CPUID_ECX_OFFSET): Likewise.
11629 (CPUID_EDX_OFFSET): Likewise.
11630 (FAMILY_OFFSET): Likewise.
11631 (MODEL_OFFSET): Likewise.
11632 (FEATURE_OFFSET): Likewise.
11633 (FEATURE_SIZ): Likewise.
11634 (COMMON_CPUID_INDEX_1): Likewise.
11635 (COMMON_CPUID_INDEX_7): Likewise.
11636 (FEATURE_INDEX_1): Likewise.
11637 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
11639 2018-08-02 Carlos O'Donell <carlos@redhat.com>
11641 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
11642 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
11643 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
11644 (install-locales): Depend on install-locale-archive.
11645 (install-locale-archive): Define.
11646 (install-locale-files): Define.
11647 (build-one-locale): Define macro.
11648 * manual/install.texi (Running make install): Document.
11649 * manual/INSTALL: Regenerate.
11651 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
11653 * benchtests/scripts/compare_strings.py: Import traceback.
11654 (parse_file): Pretty-print error.
11656 * NEWS: Mention the change.
11657 * elf/dl-tunables.list: Rename tune namespace to cpu.
11658 * sysdeps/powerpc/dl-tunables.list: Likewise.
11659 * sysdeps/x86/dl-tunables.list: Likewise.
11660 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
11662 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
11663 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
11664 * manual/README.tunables: Likewise.
11665 * manual/tunables.texi: Likewise.
11666 * sysdeps/powerpc/cpu-features.c: Likewise.
11667 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
11668 (init_cpu_features): Likewise.
11669 * sysdeps/x86/cpu-features.c: Likewise.
11670 * sysdeps/x86/cpu-features.h: Likewise.
11671 * sysdeps/x86/cpu-tunables.c: Likewise.
11672 * sysdeps/x86_64/Makefile: Likewise.
11673 * sysdeps/x86/dl-cet.c: Likewise.
11675 2018-08-02 Joseph Myers <joseph@codesourcery.com>
11678 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
11679 [__mips_hard_float].
11680 (FE_UNDERFLOW): Likewise.
11681 (FE_OVERFLOW): Likewise.
11682 (FE_DIVBYZERO): Likewise.
11683 (FE_INVALID): Likewise.
11684 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
11685 (FE_TOWARDZERO): Define only if [__mips_hard_float].
11686 (FE_UPWARD): Likewise.
11687 (FE_DOWNWARD): Likewise.
11688 (__FE_UNDEFINED): Define if [!__mips_hard_float]
11689 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
11690 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
11691 [__mips_hard_float].
11692 (FP_ROUNDMODE): Likewise.
11693 (FP_RND_NEAREST): Likewise.
11694 (FP_RND_ZERO): Likewise.
11695 (FP_RND_PINF): Likewise.
11696 (FP_RND_MINF): Likewise.
11697 (FP_EX_INVALID): Likewise.
11698 (FP_EX_OVERFLOW): Likewise.
11699 (FP_EX_UNDERFLOW): Likewise.
11700 (FP_EX_DIVZERO): Likewise.
11701 (FP_EX_INEXACT): Likewise.
11702 (FP_INIT_ROUNDMODE): Likewise.
11703 * sysdeps/mips/nofpu/fesetenv.c: New file.
11704 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
11706 2018-08-01 Joseph Myers <joseph@codesourcery.com>
11708 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
11709 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
11710 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
11711 conditional on [FE_UPWARD].
11713 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
11715 regex: fix memory leak in Gnulib
11716 Problem and fix reported by Assaf Gordon in:
11717 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
11718 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
11719 range_ends members too, as they are defined in 'struct
11720 re_charset_t' even if not _LIBC. This affects only Gnulib.
11722 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
11724 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
11726 (get_common_indices): This.
11727 (init_cpu_features): Updated.
11729 2018-08-01 Joseph Myers <joseph@codesourcery.com>
11731 * sysdeps/generic/math-tests-snan-payload.h: New file.
11732 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
11733 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
11734 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
11735 * sysdeps/generic/math-tests.h: Include
11736 <math-tests-snan-payload.h>.
11737 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11738 * sysdeps/hppa/math-tests.h: Remove file.
11739 * sysdeps/mips/math-tests.h [!__mips_nan2008]
11740 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11741 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
11744 * sysdeps/generic/math-tests-snan-cast.h: New file.
11745 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
11746 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
11747 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
11748 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
11750 2018-08-01 Carlos O'Donel <carlos@redhat.com>
11752 * version.h (RELEASE): Set to "development".
11753 (VERSION): Set to "2.28.9000".
11754 * NEWS (2.29): New section.
11756 * version.h (RELEASE): Set to "stable".
11757 (VERSION): Set to "2.28".
11758 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
11759 * NEWS: Add the list of bugs fixed in 2.28.
11761 * po/ca.po: Update to latest version.
11762 * po/cs.po: Likewise
11763 * po/da.po: Likewise
11764 * po/el.po: Likewise
11765 * po/eo.po: Likewise
11766 * po/es.po: Likewise
11767 * po/fi.po: Likewise
11768 * po/fr.po: Likewise
11769 * po/gl.po: Likewise
11770 * po/hu.po: Likewise
11771 * po/ia.po: Likewise
11772 * po/id.po: Likewise
11773 * po/it.po: Likewise
11774 * po/ja.po: Likewise
11775 * po/ko.po: Likewise
11776 * po/lt.po: Likewise
11777 * po/nb.po: Likewise
11778 * po/nl.po: Likewise
11779 * po/pt_BR.po: Likewise
11780 * po/ru.po: Likewise
11781 * po/rw.po: Likewise
11782 * po/sk.po: Likewise
11783 * po/sl.po: Likewise
11784 * po/tr.po: Likewise
11785 * po/zh_CN.po: Likewise
11786 * po/zh_TW.po: Likewise
11788 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11790 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
11792 (init): ... before initializing libpthread.
11794 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
11795 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
11796 (__mach_setup_tls): ... new function.
11797 (mach_setup_tls): New alias.
11798 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
11799 __mach_setup_thread.
11800 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
11801 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
11802 * mach/Versions [libc] (mach_setup_tls): Add symbol.
11803 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
11805 2018-07-31 Carlos O'Donell <carlos@redhat.com>
11807 * manual/install.texi: Update versions.
11808 * INSTALL: Regenerate.
11810 * manual/contrib.texi (Contributors): Update contributions.
11812 2018-07-31 Carlos O'Donell <carlos@redhat.com>
11814 * po/be.po: Update translations.
11816 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11818 * sysdeps/sh/libm-test-ulps: Update.
11820 2018-07-30 Carlos O'Donell <carlos@redhat.com>
11822 * po/bg.po: Update translations.
11823 * po/de.po: Likewise.
11824 * po/hr.po: Likewise.
11825 * po/pt_BR.po: Likewise.
11826 * po/sv.po: Likewise.
11827 * po/vi.po: Likewise.
11829 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11832 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11833 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
11834 (CFLAGS-tst-cet-property-1.o): New.
11835 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
11836 ($(objpfx)tst-cet-property-2): Likewise.
11837 ($(objpfx)tst-cet-property-2.out): Likewise.
11838 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
11839 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
11840 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
11841 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
11842 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
11844 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11847 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
11849 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11851 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
11852 __sbrk): Do not set attribute_hidden.
11853 * sysdeps/mach/hurd/not-errno.h: New file.
11854 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11855 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
11857 2018-07-27 Carlos O'Donell <carlos@redhat.com>
11859 * po/uk.po: Update translations.
11860 * po/cs.po: Likewise.
11861 * po/pl.po: Likewise.
11863 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
11865 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
11866 parse beyond the note end.
11868 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11870 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
11871 kernel does not support OFD locks.
11872 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
11874 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11876 * sysdeps/mach/hurd/Versions (libc): Make __access and
11877 __access_noerrno external so they can override the ld symbols.
11878 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
11879 __writev, __open64, __access_noerrno extern so they can be overrided.
11880 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
11881 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11883 2018-07-26 Carlos O'Donell <carlos@redhat.com>
11885 * po/libc.pot: Regenerate.
11887 2018-07-26 Joseph Myers <joseph@codesourcery.com>
11889 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11891 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11894 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11896 (init_cpu_features): Call get_extended_indices for both Intel
11898 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11899 Remove "for AMD" comment.
11901 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11904 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11905 COMMON_CPUID_INDEX_80000001.
11907 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
11909 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11910 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11912 2018-07-26 Florian Weimer <fweimer@redhat.com>
11914 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11915 aliases for symbols not in the implementation namespace.
11917 2018-07-25 Carlos O'Donell <carlos@redhat.com>
11920 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11921 lowercase in LATIN script.
11922 * localedata/Makefile (test-input): Add en_US.UTF-8.
11923 * localedata/en_US.UTF-8.in: New file.
11924 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11925 and restore old tests.
11926 * posix/tst-regexloc.c (do_test): Add back range expression test.
11928 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11930 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11932 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11934 * nptl/threads.h: Move to ...
11935 * sysdeps/nptl/threads.h: ... here.
11936 * sysdeps/hurd/stdc-predef.h: New file.
11938 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11940 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11941 tst-cet-setcontext-1 if CET is enabled.
11942 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11943 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11945 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11947 * include/threads.h: Move to ...
11948 * sysdeps/nptl/threads.h: ... here.
11949 * sysdeps/htl/threads.h: New file.
11950 * conform/Makefile (linknamespace-libs-ISO11): Use
11951 static-thread-library instead of linking libpthread.
11952 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11954 2018-07-25 Florian Weimer <fweimer@redhat.com>
11956 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11957 nanoseconds into seconds.
11958 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11959 (do_test): Likewise.
11960 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11961 (do_test): Likewise. Avoid nanosecond overflow and spurious
11962 timeouts due to system load.
11963 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11964 (child_wait): Increment it.
11965 (do_test): Wait as long as necessary until all expected threads
11968 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11969 H.J. Lu <hongjiu.lu@intel.com>
11971 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11973 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11974 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11975 (__push___start_context): New.
11976 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11978 (__getcontext): Record the current shadow stack base. Save the
11979 caller's shadow stack pointer and base.
11980 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11981 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11982 (__push___start_context): New prototype.
11983 (__makecontext): Call __push___start_context to allocate a new
11984 shadow stack, push __start_context onto the new stack as well
11985 as the new shadow stack.
11986 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11988 (__setcontext): Restore the target shadow stack.
11989 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11991 (__swapcontext): Record the current shadow stack base. Save
11992 the caller's shadow stack pointer and base. Restore the target
11994 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11995 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11996 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11998 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12000 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
12001 tst-setcontext8 and tst-setcontext9.
12002 * stdlib/tst-setcontext6.c: New file.
12003 * stdlib/tst-setcontext7.c: Likewise.
12004 * stdlib/tst-setcontext8.c: Likewise.
12005 * stdlib/tst-setcontext9.c: Likewise.
12007 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12009 * stdlib/Makefile ((tests): Add tst-setcontext5.
12010 * stdlib/tst-setcontext5.c: New file.
12012 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12014 * stdlib/Makefile (tests): Add tst-setcontext4.
12015 * stdlib/tst-setcontext4.c: New file.
12017 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12019 * stdlib/Makefile (tests): Add tst-swapcontext1.
12020 * stdlib/tst-swapcontext1.c: New test.
12022 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12024 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
12025 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
12026 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
12027 and tst-cet-legacy-4c.
12028 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
12029 and tst-cet-legacy-mod-4.
12030 (CFLAGS-tst-cet-legacy-2.c): New.
12031 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
12032 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
12033 (CFLAGS-tst-cet-legacy-3.c): Likewise.
12034 (CFLAGS-tst-cet-legacy-4.c): Likewise.
12035 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
12036 ($(objpfx)tst-cet-legacy-1): Likewise.
12037 ($(objpfx)tst-cet-legacy-2): Likewise.
12038 ($(objpfx)tst-cet-legacy-2.out): Likewise.
12039 ($(objpfx)tst-cet-legacy-2a): Likewise.
12040 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
12041 ($(objpfx)tst-cet-legacy-4): Likewise.
12042 ($(objpfx)tst-cet-legacy-4.out): Likewise.
12043 ($(objpfx)tst-cet-legacy-4a): Likewise.
12044 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
12045 (tst-cet-legacy-4a-ENV): Likewise.
12046 ($(objpfx)tst-cet-legacy-4b): Likewise.
12047 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
12048 (tst-cet-legacy-4b-ENV): Likewise.
12049 ($(objpfx)tst-cet-legacy-4c): Likewise.
12050 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
12051 (tst-cet-legacy-4c-ENV): Likewise.
12052 * sysdeps/x86/tst-cet-legacy-1.c: New file.
12053 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
12054 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
12055 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
12056 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
12057 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
12058 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
12059 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
12060 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
12061 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
12062 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
12064 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12066 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12067 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12069 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12070 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12073 2018-07-25 Andreas Schwab <schwab@suse.de>
12076 * locale/weightwc.h (findidx): Handle the case where usrc is a
12077 prefix of cp but one character too short.
12079 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12081 * NEWS: Add ISO C threads addition.
12083 2018-07-24 Florian Weimer <fweimer@redhat.com>
12085 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12086 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
12087 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
12090 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12092 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
12093 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
12094 <sys/prctl.h> and <asm/prctl.h>.
12095 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
12096 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
12098 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
12099 ARCH_CET_LEGACY_BITMAP.
12100 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
12101 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
12102 * sysdeps/x86/libc-start.c: Include <startup.h>.
12104 2018-07-24 Florian Weimer <fweimer@redhat.com>
12106 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
12107 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
12109 2018-07-24 Rical Jasan <rj@2c3t.io>
12110 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12111 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12114 * manual/debug.texi: Update adjacent chapter name.
12115 * manual/probes.texi: Likewise.
12116 * manual/threads.texi (ISO C Threads): New section.
12117 (POSIX Threads): Convert to a section.
12119 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12120 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12123 * nptl/Makefile (tests): Add new test files.
12124 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
12125 * nptl/tst-cnd-basic.c: Likewise.
12126 * nptl/tst-cnd-broadcast.c: Likewise.
12127 * nptl/tst-cnd-timedwait.c: Likewise.
12128 * nptl/tst-mtx-basic.c: Likewise.
12129 * nptl/tst-mtx-recursive.c: Likewise.
12130 * nptl/tst-mtx-timedlock.c: Likewise.
12131 * nptl/tst-mtx-trylock.c: Likewise.
12132 * nptl/tst-thrd-basic.c: Likewise.
12133 * nptl/tst-thrd-detach.c: Likewise.
12134 * nptl/tst-thrd-sleep.c: Likewise.
12135 * nptl/tst-tss-basic.c: Likewise.
12137 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12140 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12141 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
12143 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12144 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12145 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12146 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12147 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12148 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12149 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12150 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12151 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12152 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12153 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12154 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12162 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12163 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12164 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12165 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12166 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12167 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12168 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12169 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12170 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
12171 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
12172 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
12173 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
12174 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
12176 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12177 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12178 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12179 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12180 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12181 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12182 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12183 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12184 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12185 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12186 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12187 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12194 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12195 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12196 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12197 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12198 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12199 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12200 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12201 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12204 * conform/data/threads.h-data (thread_local): New macro.
12205 (TSS_DTOR_ITERATIONS): Likewise.
12207 (tss_dtor_t): Likewise.
12208 (tss_create): New function.
12209 (tss_get): Likewise.
12210 (tss_set): Likewise.
12211 (tss_delete): Likewise.
12212 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
12213 tss_get, and tss_set objects.
12214 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12215 * nptl/tss_create.c: New file.
12216 * nptl/tss_delete.c: Likewise.
12217 * nptl/tss_get.c: Likewise.
12218 * nptl/tss_set.c: Likewise.
12219 * sysdeps/nptl/threads.h (thread_local): New define.
12220 (TSS_DTOR_ITERATIONS): Likewise.
12221 (tss_t): New typedef.
12222 (tss_dtor_t): Likewise.
12223 (tss_create): New prototype.
12224 (tss_get): Likewise.
12225 (tss_set): Likewise.
12226 (tss_delete): Likewise.
12229 * conform/data/threads.h-data (cnd_t): New type.
12230 (cnd_init): New function.
12231 (cnd_signal): Likewise.
12232 (cnd_broadcast): Likewise.
12233 (cnd_wait): Likewise.
12234 (cnd_timedwait): Likewise.
12235 (cnd_destroy): Likewise.
12236 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
12237 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
12239 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12240 * nptl/cnd_broadcast.c: New file.
12241 * nptl/cnd_destroy.c: Likewise.
12242 * nptl/cnd_init.c: Likewise.
12243 * nptl/cnd_signal.c: Likewise.
12244 * nptl/cnd_timedwait.c: Likewise.
12245 * nptl/cnd_wait.c: Likewise.
12246 * sysdeps/nptl/threads.h (cnd_t): New type.
12247 (cnd_init): New prototype.
12248 (cnd_signa): Likewise.
12249 (cnd_broadcast): Likewise.
12250 (cnd_wait): Likewise.
12251 (cnd_timedwait): Likewise.
12252 (cnd_destroy): Likewise.
12255 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
12256 (once_flag): New type.
12257 (call_once): New function.
12258 * nptl/Makefile (libpthread-routines): Add call_once object.
12259 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
12260 * nptl/call_once.c: New file.
12261 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
12262 (once_flag): New type.
12263 (call_once): New prototype.
12266 * conform/data/threads.h-data (mtx_plain): New constant.
12267 (mtx_recursive): Likewise.
12268 (mtx_timed): Likewise.
12270 (mtx_init): New function.
12271 (mtx_lock): Likewise.
12272 (mtx_timedlock): Likewise.
12273 (mtx_trylock): Likewise.
12274 (mtx_unlock): Likewise.
12275 (mtx_destroy): Likewise.
12276 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
12277 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
12278 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
12279 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
12280 * nptl/mtx_destroy.c: New file.
12281 * nptl/mtx_init.c: Likewise.
12282 * nptl/mtx_lock.c: Likewise.
12283 * nptl/mtx_timedlock.c: Likewise.
12284 * nptl/mtx_trylock.c: Likewise.
12285 * nptl/mtx_unlock.c: Likewise.
12286 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
12287 (mtx_recursive): Likewise.
12288 (mtx_timed): Likewise.
12290 (mtx_init): New prototype.
12291 (mtx_lock): Likewise.
12292 (mtx_timedlock): Likewise.
12293 (mtx_trylock): Likewise.
12294 (mtx_unlock): Likewise.
12295 (mtx_destroy): Likewise.
12298 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
12299 (linknamespace-libs-ISO11): Add libpthread.a.
12300 * conform/data/threads.h-data: New file: add C11 thrd_* types and
12302 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
12303 * nptl/Makefile (headers): Add threads.h.
12304 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
12305 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
12307 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
12308 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
12309 thrd_join, thrd_sleep, and thrd_yield symbols.
12310 * nptl/descr.h (struct pthread): Add c11 field.
12311 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
12312 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
12313 routine with expected function prototype.
12314 (__pthread_create_2_1): Add C11 threads check based on attribute
12316 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
12317 * nptl/thrd_create.c: New file.
12318 * nptl/thrd_current.c: Likewise.
12319 * nptl/thrd_detach.c: Likewise.
12320 * nptl/thrd_equal.c: Likewise.
12321 * nptl/thrd_exit.c: Likewise.
12322 * nptl/thrd_join.c: Likewise.
12323 * nptl/thrd_priv.h: Likewise.
12324 * nptl/thrd_sleep.c: Likewise.
12325 * nptl/thrd_yield.c: Likewise.
12326 * include/threads.h: Likewise.
12328 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12330 * bits/indirect-return.h: New file.
12331 * misc/sys/cdefs.h (__glibc_has_attribute): New.
12332 * sysdeps/x86/bits/indirect-return.h: Likewise.
12333 * stdlib/Makefile (headers): Add bits/indirect-return.h.
12334 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
12335 (swapcontext): Add __INDIRECT_RETURN.
12336 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
12337 (prepare_test_buffer): Use it.
12339 2018-07-24 Andreas Schwab <schwab@suse.de>
12342 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
12343 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
12345 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12347 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
12348 Redefine if shadow stack is enabled.
12349 (SYSCALL_ERROR_LABEL): Likewise.
12350 (__vfork): Pop shadow stack and jump back to to caller directly
12351 when shadow stack is in use.
12352 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
12353 Redefine if shadow stack is enabled.
12354 (SYSCALL_ERROR_LABEL): Likewise.
12355 (__vfork): Pop shadow stack and jump back to to caller directly
12356 when shadow stack is in use.
12358 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12360 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
12363 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
12366 2018-07-20 Joseph Myers <joseph@codesourcery.com>
12368 * scripts/build-many-glibcs.py (Context.checkout): Default
12369 binutils version to 2.31 branch.
12371 2018-07-20 Zong Li <zong@andestech.com>
12373 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
12374 URL of gcc's tarball.
12376 2018-07-20 Florian Weimer <fweimer@redhat.com>
12379 * posix/regcomp.c (build_equiv_class): When comparing weights, do
12380 not compare an extra byte after the end of the weights.
12382 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12384 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
12386 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
12388 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
12389 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
12390 * scripts/check-execstack.awk: Consider `xfail' variable containing a
12391 list of libraries whose stack executability is expected.
12392 * elf/Makefile ($(objpfx)check-execstack.out): Pass
12393 $(check-execstack-xfail) to check-execstack.awk through `xfail'
12395 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
12396 libc.so libpthread.so.
12398 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
12400 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
12402 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
12404 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
12406 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
12408 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12410 * benchtests/scripts/compare_bench.py (__main__): use the argparse
12411 library to improve command line parsing.
12412 (__main__): make schema file as optional parameter (--schema),
12413 defaulting to benchtests/scripts/benchout.schema.json.
12414 (main): move out of the parsing stuff to __main_ and leave it
12415 only as caller of main comparison functions.
12417 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
12419 * NEWS: Add a note for Intel CET status.
12420 * manual/install.texi: Likewise.
12421 * INSTALL: Regenerated.
12423 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
12426 * localedata/locales/oc_FR (mon): Rename to...
12427 (alt_mon): This, then update October (typo fix).
12428 (mon): New content (genitive case, month names preceded by
12432 * localedata/locales/oc_FR (abday): Update all items.
12433 (day): Update Wednesday and Saturday (typo fixes).
12434 (abmon): Update all items, except May.
12435 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
12436 (LC_IDENTIFICATION): Bump the revision number and date.
12437 Keep the "category" entries in alphabetic order.
12438 (LC_ADDRESS): Remove no longer needed comment.
12439 (LC_COLLATE): Use “copy "ca_ES"”.
12440 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
12443 2018-07-18 Joseph Myers <joseph@codesourcery.com>
12445 * grp/tst_fgetgrent.c: Include <unistd.h>.
12446 (main): Use mkstemp instead of tmpnam.
12447 * io/test-utime.c (main): Likewise.
12448 * posix/annexc.c (macrofile): Change to modifiable array.
12449 (main): Remove macrofile here.
12450 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12452 (check_header): Do not remove macrofile here.
12453 * posix/bug-getopt1.c: Include <stdlib.h>.
12454 (do_test): Use mkstemp instead of tmpnam.
12455 * posix/bug-getopt2.c: Include <stdlib.h>.
12456 (do_test): Use mkstemp instead of tmpnam.
12457 * posix/bug-getopt3.c: Include <stdlib.h>.
12458 (do_test): Use mkstemp instead of tmpnam.
12459 * posix/bug-getopt4.c: Include <stdlib.h>.
12460 (do_test): Use mkstemp instead of tmpnam.
12461 * posix/bug-getopt5.c: Include <stdlib.h>.
12462 (do_test): Use mkstemp instead of tmpnam.
12463 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
12464 (main): Use mkstemp instead of tmpnam.
12465 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
12466 (main): Use mkstemp instead of tmpnam.
12467 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
12468 (main): use mkstemp instead of tmpnam.
12469 * stdlib/isomac.c (macrofile): Change to modifiable array.
12470 (main): Remove macrofile here.
12471 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12473 (check_header): Do not remove macrofile here.
12475 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12477 * manual/tunables.texi: Document glibc.tune.x86_ibt and
12478 glibc.tune.x86_shstk.
12480 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12482 * NEWS: Mention --enable-cet.
12483 * manual/install.texi: Document --enable-cet.
12484 * INSTALL: Regenerated.
12486 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12488 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
12489 Add _CET_NOTRACK before indirect jump to jump table.
12491 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12493 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
12494 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12497 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12499 * sysdeps/i386/i686/multiarch/strcat-sse2.S
12500 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12503 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12505 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
12506 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12509 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12511 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
12512 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12515 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12517 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
12518 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12520 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
12522 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12524 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
12525 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12528 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12530 * sysdeps/i386/i686/multiarch/memset-sse2.S
12531 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12534 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12536 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
12537 indirect jump to jump table.
12539 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12541 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
12542 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12544 (MEMCPY): Likewise.
12546 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12548 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
12549 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12551 (MEMCPY): Likewise.
12553 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12555 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12556 _CET_NOTRACK before indirect jump to jump table.
12558 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12560 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
12561 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12564 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12566 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
12567 indirect jump to jump table.
12569 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
12572 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
12573 (LOCALES): Likewise.
12574 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
12575 * localedata/locales/sah_RU: New file.
12576 * localedata/sah_RU.UTF-8.in: New file.
12578 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12580 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
12582 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12583 _CET_ENDBR to indirect jump targets and adjust jump destination
12585 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
12587 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12588 _CET_ENDBR to indirect jump targets and adjust jump destination
12590 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
12592 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
12593 _CET_ENDBR to indirect jump targets and adjust jump destination
12596 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12598 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12601 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12603 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
12605 (_dl_tlsdesc_undefweak): Likewise.
12606 (_dl_tlsdesc_dynamic): Likewise.
12607 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
12608 (_dl_tlsdesc_resolve_rel): Likewise.
12609 (_dl_tlsdesc_resolve_rela): Likewise.
12610 (_dl_tlsdesc_resolve_hold): Likewise.
12611 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
12612 (_dl_tlsdesc_undefweak): Likewise.
12613 (_dl_tlsdesc_dynamic): Likewise.
12614 (_dl_tlsdesc_resolve_rela): Likewise.
12615 (_dl_tlsdesc_resolve_hold): Likewise.
12617 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12619 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
12621 * sysdeps/x86_64/crti.S (_init): Likewise.
12624 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
12627 * localedata/locales/os_RU (mon): Rename to...
12629 (mon): Import from CLDR (genitive case).
12631 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12633 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
12634 cet-tunables.h> when CET is enabled.
12636 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
12639 * configure.ac: Add --enable-cet.
12640 * configure: Regenerated.
12641 * elf/Makefille (all-built-dso): Add a comment.
12642 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
12643 Include <dl-prop.h>.
12644 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
12646 * elf/dl-open.c: Include <dl-prop.h>.
12647 (dl_open_worker): Call _dl_open_check.
12648 * elf/rtld.c: Include <dl-prop.h>.
12649 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
12651 * sysdeps/generic/dl-prop.h: New file.
12652 * sysdeps/i386/dl-cet.c: Likewise.
12653 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
12654 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
12655 * sysdeps/x86/cet-tunables.h: Likewise.
12656 * sysdeps/x86/check-cet.awk: Likewise.
12657 * sysdeps/x86/configure: Likewise.
12658 * sysdeps/x86/configure.ac: Likewise.
12659 * sysdeps/x86/dl-cet.c: Likewise.
12660 * sysdeps/x86/dl-procruntime.c: Likewise.
12661 * sysdeps/x86/dl-prop.h: Likewise.
12662 * sysdeps/x86/libc-start.h: Likewise.
12663 * sysdeps/x86/link_map.h: Likewise.
12664 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
12666 (_dl_runtime_profile): Likewise.
12667 (_dl_runtime_resolve_shstk): New.
12668 (_dl_runtime_profile_shstk): Likewise.
12669 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
12671 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
12672 (CFLAGS-.os): Likewise.
12673 (CFLAGS-.op): Likewise.
12674 (CFLAGS-.oS): Likewise.
12675 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
12677 (tests-special): Add $(objpfx)check-cet.out.
12678 (cet-built-dso): New.
12679 (+$(cet-built-dso:=.note)): Likewise.
12680 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
12681 ($(objpfx)check-cet.out): New.
12682 (generated): Add check-cet.out.
12683 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
12685 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
12686 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12687 (init_cpu_features): Call get_cet_status to check CET status
12688 and update dl_x86_feature_1 with CET status. Call
12689 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
12690 (set_x86_shstk). Disable and lock CET in libc.a.
12691 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
12692 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
12693 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12694 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
12695 (_CET_ENDBR): Define if not defined.
12696 (ENTRY): Add _CET_ENDBR.
12697 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
12699 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
12701 (_dl_runtime_profile): Likewise.
12703 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
12706 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
12707 restore r2 on longjmp.
12708 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
12710 Added rules to build test tst-setjmp-bug21895-static.
12711 Added module setjmp-bug21895 and rules to build a shared object from it.
12712 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
12713 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
12715 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
12717 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
12718 * benchtests/bench-strstr.c: Likewise.
12719 * string/memmem.c (FASTSEARCH): Define.
12720 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
12721 Add support for FASTSEARCH.
12722 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
12723 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
12724 (FASTSEARCH): Define.
12725 * string/test-strcasestr.c: Rename __strnlen to strnlen.
12726 * string/test-strstr.c: Likewise.
12728 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
12730 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
12731 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
12733 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12734 H.J. Lu <hongjiu.lu@intel.com>
12736 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
12737 (__longjmp): Restore shadow stack pointer if shadow stack is
12738 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12739 isn't defined for __longjmp_cancel.
12740 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
12741 (_setjmp): Save shadow stack pointer if shadow stack is enabled
12742 and SHADOW_STACK_POINTER_OFFSET is defined.
12743 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
12744 (setjmp): Save shadow stack pointer if shadow stack is enabled
12745 and SHADOW_STACK_POINTER_OFFSET is defined.
12746 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
12747 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12748 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12749 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
12751 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12752 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12753 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
12754 Remove jmp_buf-ssp.sym.
12755 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12757 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12758 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12759 * sysdeps/x86/Makefile (gen-as-const-headers): Add
12761 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
12762 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
12763 (__longjmp): Restore shadow stack pointer if shadow stack is
12764 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12765 isn't defined for __longjmp_cancel.
12766 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
12767 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12768 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12770 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
12773 * nptl/pthread_create.c: Include <tls-setup.h>.
12774 (__pthread_create_2_1): Call tls_setup_tcbhead.
12775 * sysdeps/generic/tls-setup.h: New file.
12776 * sysdeps/x86/nptl/tls-setup.h: Likewise.
12777 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
12778 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
12780 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
12782 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12783 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
12784 (X86_FEATURE_1_SHSTK): Likewise.
12785 (CET_ENABLED): Likewise.
12786 (IBT_ENABLED): Likewise.
12787 (SHSTK_ENABLED): Likewise.
12789 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
12792 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
12793 (LOCALES): Likewise.
12794 * localedata/dsb_DE.UTF-8.in: New file.
12795 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
12797 2018-07-12 Florian Weimer <fweimer@redhat.com>
12799 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
12800 __mprotect, not mprotect.
12802 2018-07-11 Florian Weimer <fweimer@redhat.com>
12804 * io/Makefile (headers): Add bits/statx.h.
12806 2018-07-10 Mike FABIAN <mfabian@redhat.com>
12808 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
12809 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
12811 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
12812 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
12815 2018-07-10 Florian Weimer <fweimer@redhat.com>
12817 * io/Makefile (routines): Add statx.
12818 (tests-internal): Add tst-statx.
12819 * io/Versions (GLIBC_2.28): Export statx.
12820 * io/bits/statx.h: New file.
12821 * io/sys/stat.h [__USE_GNU]: Include it.
12822 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
12823 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
12825 * io/statx.c: New file.
12826 * io/statx_generic.: Likewise.
12827 * io/tst-statx.: Likewise.
12828 * include/bits/statx.h: Likewise.
12829 * sysdeps/unix/sysv/linux/kernel-features.h
12830 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
12831 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12832 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
12833 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
12835 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12836 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
12837 * sysdeps/unix/sysv/linux/statx.c: New file.
12838 * manual/filesys.texi: Note that statx is undocumented.
12839 * sysdeps/**/libc*.abilist: Update.
12841 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12843 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
12844 a kernel issue which lead to test failure in some cases.
12846 2018-07-10 Florian Weimer <fweimer@redhat.com>
12849 * posix/regexec.c (check_node_accept_bytes): When comparing
12850 weights, do not compare an extra byte after the end of the
12853 2018-07-10 Florian Weimer <fweimer@redhat.com>
12855 * libio/readline.c: Fix copyright year.
12856 * libio/tst-readline.c Likewise.
12857 * nss/tst-nss-files-hosts-getent.c: Likewise.
12859 2018-07-06 Florian Weimer <fweimer@redhat.com>
12862 * nss/nss_files/files-XXX.c (internal_getent): Use
12863 __libc_readline_unlocked. Seek back to the start of the line if
12864 parsing failes with ERANGE.
12865 (get_contents_ret, get_contents): Remove.
12866 * nss/tst-nss-files-hosts-getent.c: New file.
12867 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
12868 (tst-nss-files-hosts-getent): Link with -ldl.
12870 2018-07-06 Florian Weimer <fweimer@redhat.com>
12872 * include/stdio.h (__libc_readline_unlocked): Declare.
12873 (__ftello64, __fseeko64): Declare aliases.
12874 * libio/readline.c: New file.
12875 * libio/tst-readline.c: Likewise.
12876 (routines): Add readline.
12877 (tests-internal): Add tst-readlime.
12878 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
12879 __libc_readline_unlocked.
12880 * libio/fseeko.c (__fseeko): Rename from fseeko.
12881 (fseeko): Add alias.
12882 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
12883 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
12884 (fseeko64): Add alias.
12885 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
12886 * libio/ftello64.c (__ftello64): Rename from ftello64.
12887 (ftello64): Add alias.
12889 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12891 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12894 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12896 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12897 Use dl_hwcap without masking.
12898 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12899 Remove HWCAP_CPUID.
12901 2018-07-06 Florian Weimer <fweimer@redhat.com>
12903 * conform/conformtest.pl (checknamespace): Escape literal braces
12904 in regular expressions.
12906 2018-07-06 Amit Pawar <amit.pawar@amd.com>
12908 * sysdeps/x86/cpu-features.c (get_common_indeces):
12909 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12910 * sysdeps/x86/cpu-features.c (init_cpu_features):
12911 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12913 2018-07-05 Florian Weimer <fweimer@redhat.com>
12915 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12917 (CFLAGS-elf-init.oS): Likewise.
12919 2018-07-05 Florian Weimer <fweimer@redhat.com>
12920 Carlos O'Donell <carlos@redhat.com>
12922 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12923 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12924 with stack protector enabled because there is no risk of infinite
12927 2018-07-05 Maciej W. Rozycki <macro@mips.com>
12931 * libc-abis (ABSOLUTE): New ABI.
12932 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12933 * NEWS: Mention the new ABI.
12935 2018-07-05 Florian Weimer <fweimer@redhat.com>
12938 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12939 (RENAME_WHITEOUT): Define.
12940 [__USE_GNU] (renameat2): Declare.
12941 * stdio-common/Makefile (routines): Add renameat2.
12942 (tests): Add tst-renameat2.
12943 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12944 * stdio-common/renameat2.c: New file.
12945 * stdio-common/tst-renameat2.c: Likewise.
12946 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12947 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12949 * sysdeps/unix/sysv/linux/kernel-features.h
12950 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12951 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12952 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12953 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12954 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12955 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12956 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12957 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12958 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12959 * include/stdio.h (__renameat): Add alias for renameat.
12960 * stdio-common/renameat.c (__renameat): Rename from renameat.
12961 Add hidden definition and alias.
12962 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12963 * sysdeps/mach/hurd/renameat.c: Likewise.
12964 * sysdeps/**/libc*.abilist: Add renameat2.
12966 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12968 * posix/bug-regex33.c: Fix build after regex sync.
12970 2018-07-04 Carlos O'Donell <carlos@redhat.com>
12973 * localedata/tst-langinfo-setlocale.c: New file.
12974 * localedata/tst-langinfo-setlocale-static.c: New file.
12975 * localedata/tst-langinfo-newlocale.c: New file.
12976 * localedata/tst-langinfo-newlocale-static.c: New file.
12977 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12978 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12979 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12980 (tests-static): Remove tst-langinfo-static. Add
12981 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12982 (tests-special): Remove $(objpfx)tst-langinfo.out,
12983 $(objpfx)tst-langinfo-static.out. Add
12984 $(objpfx)tst-langinfo-setlocale.out,
12985 $(objpfx)tst-langinfo-newlocale.out,
12986 $(objpfx)tst-langinfo-setlocale-static.out,
12987 $(objpfx)tst-langinfo-newlocale-static.out.
12988 ($(objpfx)tst-langinfo.out): Remove.
12989 ($(objpfx)tst-langinfo-static.out): Remove.
12990 ($(objpfx)tst-langinfo-newlocale.out): New target.
12991 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12992 (test-xfail-tst-langinfo-newlocale-static): Add.
12993 ($(objpfx)tst-langinfo-setlocale.out): New target.
12994 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12995 * localedata/tst-langinfo.c: Call test_locale.
12996 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12999 2018-07-04 Florian Weimer <fweimer@redhat.com>
13001 testrun.sh: Implement --tool=strace, --tool=valgrind
13002 * Makefile (testrun-script): Define variable.
13003 (testrun.sh): Use variable.
13004 * manual/install.texi (Tools for Compilation): make 4.0 or later
13006 * configure.ac: Check for make 4.0 or later.
13007 * INSTALL: Regenerate.
13008 * configure: Likewise.
13010 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13016 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
13017 * posix/PCRE.tests: Remove invalid test.
13018 * posix/bug-regex28.c: Fix expected values for used syntax.
13019 * posix/bug-regex37.c: New file.
13020 * posix/bug-regex38.c: Likewise.
13021 * posix/regcomp.c: Sync with gnulib.
13022 * posix/regex.c: Likewise.
13023 * posix/regex.h: Likewise.
13024 * posix/regex_internal.c: Likewise.
13025 * posix/regex_internal.h: Likewise.
13026 * posix/regexec.c: Likewise.
13028 2018-06-26 Mike FABIAN <mfabian@redhat.com>
13031 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
13032 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
13033 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
13034 * localedata/unicode-gen/PropList.txt: likewise.
13035 * localedata/unicode-gen/UnicodeData.txt: likewise.
13036 * localedata/charmaps/UTF-8: Regenerate.
13037 * localedata/locales/i18n_ctype: likewise.
13038 * localedata/locales/tr_TR: likewise.
13039 * localedata/locales/translit_circle: likewise.
13040 * localedata/locales/translit_cjk_compat: likewise.
13041 * localedata/locales/translit_combining: likewise.
13042 * localedata/locales/translit_compat: likewise.
13043 * localedata/locales/translit_font: likewise.
13044 * localedata/locales/translit_fraction: likewise.
13046 2018-07-03 Florian Weimer <fweimer@redhat.com>
13049 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
13050 * stdio-common/tst-printf.sh: Adjust expected output.
13051 * LICENSES: Update.
13053 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13055 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
13058 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13060 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
13061 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
13062 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
13063 * stdio-common/tst-printfsz-islongdouble.c: New file.
13064 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
13065 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
13066 [subdir == stdio-common] (routines): Add ieee128-printf_size.
13067 [subdir == stdio-common] (tests-internal): Add
13068 test-printf-size-ieee128, and test-printf-size-ibm128.
13069 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
13070 (CFLAGS-test-printf-size-ibm128.c): New variables.
13071 [subdir == stdio-common] (tests-special): Add
13072 $(objpfx)test-printf-size-ieee128.out and
13073 $(objpfx)test-printf-size-ibm128.out.
13074 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
13075 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
13076 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
13077 __printf_sizeieee128.
13078 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
13080 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
13082 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
13085 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13087 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
13088 (exp2f_inline): Likewise.
13089 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
13090 (__math_uflowf): Likewise.
13091 (__math_may_uflowf): Likewise.
13092 (__math_divzerof): Likewise.
13093 (__math_invalidf): Likewise.
13094 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
13095 (__math_oflowf): Likewise.
13096 (__math_uflowf): Likewise.
13097 (__math_may_uflowf): Likewise.
13098 (__math_divzerof): Likewise.
13099 (__math_invalidf): Likewise.
13101 2018-06-29 DJ Delorie <dj@redhat.com>
13102 Carlos O'Donell <carlos@redhat.com>
13105 * include/libc-symbols.h: Comment the freeres framework.
13106 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
13107 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
13108 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
13109 * dlfcn/dlerror.c: Include libc-symbols.h
13110 (__dlerror_main_freeres): New function.
13111 * dlfcn/dlfreeres.c: New file.
13112 * dlfcn/sdlfreeres.c: New file.
13113 * include/dlfcn.h: Declare __dlerror_main_freeres.
13114 * malloc/set-freeres.c: Declare __libdl_freeres, and
13115 __libpthread_freeres.
13116 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
13117 the releavant libraries are loaded.
13118 * malloc/thread-freeres.c: Add comments.
13119 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
13120 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
13121 * nptl/allocatestack.c (__nptl_free_stacks): New function.
13122 (__free_stacks): Rename to...
13123 (free_stacks): ...this. Mark static.
13124 (queue_stack): Call free_stacks.
13125 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
13126 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
13127 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
13128 ptr_freeres element from struct.
13129 (pthread_functions): Remove .ptr_freeres from struct initializer.
13130 [SHARED] (nptl_freeres): Remove.
13131 * nptl/nptlfreeres.c: New file.
13133 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
13134 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
13136 (__free_stacks): Rename to...
13137 (__nptl_stacks_freeres): ...this.
13138 (__shm_directory_freeres): Declare.
13139 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
13140 (__nptl_unwind_freeres): ...this.
13141 * resolv/res-close.c: Add comment.
13142 * resolv/resolv_conf.c: Include libc-symbols.h.
13143 * string/strerror_l.c: Include libc-symbols.h.
13144 * sunrpc/rpc_thread.c: Include libc-symbols.h.
13145 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
13146 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
13147 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
13149 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13151 * stdlib/tst-strfmon_l.c: Add tests for long double.
13153 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
13156 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
13157 * localedata/locales/dsb_DE: New file.
13159 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13162 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
13164 (alt_mon): New entry, import from CLDR (nominative case).
13166 2018-06-29 Sylvain Lesage <severo@rednegra.net>
13169 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
13171 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
13173 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13174 Use vector registers.
13176 * sysdeps/aarch64/multiarch/memmove_falkor.S
13177 (__memcpy_falkor): Use vector registers.
13179 2018-06-29 Martin Sebor <msebor@redhat.com>
13181 * manual/stdio.texi (Customizing Printf): Mention interaction
13182 with GCC built-ins.
13184 2018-06-29 Maciej W. Rozycki <macro@mips.com>
13187 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
13188 `st_value' is 0 if `st_shndx' is SHN_ABS.
13189 * elf/tst-absolute-zero.c: New file.
13190 * elf/tst-absolute-zero-lib.c: New file.
13191 * elf/tst-absolute-zero-lib.lds: New file.
13192 * elf/Makefile (tests): Add `tst-absolute-zero'.
13193 (modules-names): Add `tst-absolute-zero-lib'.
13194 (LDLIBS-tst-absolute-zero-lib.so): New variable.
13195 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
13196 ($(objpfx)tst-absolute-zero: New dependency.
13198 2018-06-29 Zack Weinberg <zackw@panix.com>
13200 * configure.ac: New command-line option --disable-crypt.
13201 Force --disable-nss-crypt when --disable-crypt is given, with a
13202 warning if it was explicitly enabled.
13203 * configure: Regenerate.
13204 * config.make.in: New boolean substitution variable $(build-crypt).
13205 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
13206 when $(build-crypt).
13207 * manual/install.texi: Document --disable-crypt.
13208 * INSTALL: Regenerate.
13210 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
13211 which is never set.
13212 * conform/Makefile: Only include libcrypt.a in
13213 linknamespace-libs-xsi and linknamespace-libs-XPG4
13214 when $(build-crypt).
13215 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
13216 USE_CRYPT to 1 when $(build-crypt).
13217 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
13218 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
13219 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
13221 2018-06-29 Zack Weinberg <zackw@panix.com>
13223 * crypt/crypt.h, posix/unistd.h: Update comments and
13224 prototypes for crypt and crypt_r.
13226 * manual/crypt.texi (Cryptographic Functions): New initial
13228 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
13229 (Unpredictable Bytes): Improve initial exposition. Clarify error
13230 behavior of getentropy and getrandom.
13231 * manual/examples/genpass.c: Generate a salt using getentropy
13232 instead of the current time. Use hash $5$ (SHA-2-256).
13233 * manual/examples/testpass.c: Demonstrate validation against
13234 hashes generated with three different one-way functions.
13236 * manual/intro.texi: crypt.texi does not need an overview
13239 * manual/nss.texi, manual/memory.texi, manual/socket.texi
13240 * manual/terminal.texi: Consistently refer to "passphrases"
13241 * instead of "passwords", and to the "user database" instead
13242 * of the "password database".
13243 * manual/users.texi: Similarly. Add notes about how actual
13244 passphrase hashes are now stored in the shadow database.
13245 Remove 20-year-old junk todo note.
13247 2018-06-29 Zack Weinberg <zackw@panix.com>
13249 * manual/crypt.texi: Use a normal top-level @node declaration.
13250 Move most of the introductory text to the 'crypt' section.
13251 Move the example programs below the @deftypefun for 'crypt_r'.
13252 Move the 'getpass' section...
13253 * manual/terminal.texi: ...here.
13255 2018-06-29 Zack Weinberg <zackw@panix.com>
13256 Florian Weimer <fweimer@redhat.com>
13258 * posix/unistd.h: Do not declare encrypt.
13259 (_XOPEN_CRYPT): Remove macro definition.
13260 (crypt): Declare only for _USE_MISC.
13261 * stdlib/stdlib.h: Do not declare setkey.
13262 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
13263 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
13265 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
13266 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
13267 into compat symbols. Don't define initial_perm if it's not
13269 * crypt/cert.c: Link explicitly with the expected versions for
13270 setkey and encrypt. If they are not available at all, mark
13271 the test as unsupported.
13273 * sunrpc/des_crypt.c: Unconditionally block linkage with
13274 cbc_crypt and ecb_crypt for new binaries.
13275 * sunrpc/des_soft.c: Unconditionally block linkage with
13276 des_setparity for new binaries.
13278 * manual/crypt.texi: Remove the entire "DES Encryption"
13279 section. Also remove the paragraph talking about FIPS 140-2
13280 from the introduction.
13281 * manual/string.texi (strfry, memfrob): Revise. Recommend use
13282 of libgcrypt for "real" encryption, not DES.
13283 * manual/conf.texi (Constants for Sysconf): Mention that
13284 _XOPEN_CRYPT is no longer impelemented.
13286 * conform/data/unistd.h-data: Remove crypt function declaration.
13288 2018-06-29 Florian Weimer <fweimer@redhat.com>
13291 * malloc/hooks.c: Update comments on restoring of dumped heaps.
13292 (disallow_malloc_check): Remove variable.
13293 (__malloc_check_init): Adjust.
13294 (malloc_set_state): Update comment.
13295 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
13298 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13301 * localedata/locales/ast_ES (mon): Rename to...
13303 (mon): Import from CLDR (genitive case).
13305 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
13306 Jakub Sitnicki <jkbs@redhat.com>
13309 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
13310 on NLM_F_DUMP_INTR.
13312 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
13314 * manual/llio.texi: Remove spurious space.
13316 2018-06-28 Florian Weimer <fweimer@redhat.com>
13319 * time/bits/types/struct_timespec.h: Change header inclusion guard to
13322 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13324 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
13325 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
13326 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
13327 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
13328 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
13329 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
13330 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
13332 2018-06-27 Maciej W. Rozycki <macro@mips.com>
13335 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
13336 Copy and null-terminate entries that are not terminated, in
13337 addition to empty ones.
13339 2018-06-27 Florian Weimer <fweimer@redhat.com>
13342 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
13343 (extend_alloca_account): Remove.
13344 * manual/stdio.texi (Variable Arguments Output): Update comment.
13346 2018-06-27 Joseph Myers <joseph@codesourcery.com>
13348 * nptl/sockperf.c: Remove file.
13350 2018-06-27 Florian Weimer <fweimer@redhat.com>
13353 * elf/dl-deps.c (_dl_map_object_deps): Use struct
13354 scratch_buffer instead of extend_alloca.
13356 2018-06-27 Florian Weimer <fweimer@redhat.com>
13359 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
13360 scratch_buffer instead of extend_alloca. Update comments.
13362 2018-06-27 Florian Weimer <fweimer@redhat.com>
13365 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
13366 instead of extend_alloca.
13368 2018-06-26 Joseph Myers <joseph@codesourcery.com>
13371 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
13372 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
13374 * scripts/test-installation.pl: Put temporary files in build
13375 directory, not /tmp.
13376 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
13377 (CFLAGS-bug4.c): Likewise.
13378 (CFLAGS-bug5.c): Likewise.
13379 (CFLAGS-test-fseek.c): Likewise.
13380 (CFLAGS-test-popen.c): Likewise.
13381 (CFLAGS-test_rdwr.c): Likewise.
13382 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
13384 * stdio-common/bug4.c (main): Likewise.
13385 * stdio-common/bug5.c (main): Likewise.
13386 * stdio-common/test-fseek.c (TESTFILE): Likewise.
13387 * stdio-common/test-popen.c (do_test): Likewise.
13388 * stdio-common/test_rdwr.c (main): Likewise.
13390 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
13392 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
13393 (sem_open): Set sem.newsem.pad to zero for valgrind.
13395 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13398 * NEWS: Mention fcntl64 addition.
13399 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
13400 * login/utmp_file.c: Likewise.
13401 * sysdeps/posix/fdopendir.c: Likewise.
13402 * sysdeps/posix/opendir.c: Likewise.
13403 * sysdeps/unix/pt-fcntl.c: Likewise.
13404 * include/fcntl.h (__libc_fcntl64, __fcntl64,
13405 __fcntl64_nocancel_adjusted): New prototype.
13406 (__fcntl_nocancel_adjusted): Remove prototype.
13407 * io/Makefile (routines): Add fcntl64.
13408 (CFLAGS-fcntl64.c): New rule.
13409 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
13410 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
13411 * io/fcntl.h (fcntl64): Add prototype and redirect if
13412 __USE_FILE_OFFSET64 is defined.
13413 * io/fcntl64.c: New file.
13414 * manual/llio.text: Add a note for which commands fcntl acts a
13415 cancellation point.
13416 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
13417 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
13418 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
13420 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
13421 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
13423 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
13424 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
13425 to __fcntl64_nocancel.
13426 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
13427 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
13428 to __fcntl64_nocancel.
13429 * sysdeps/generic/not-cancel.h: Likewise.
13430 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
13431 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
13432 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13433 (fcntl64): New symbol.
13434 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13435 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13436 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13439 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13440 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13441 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13442 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13443 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13444 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
13445 fcntl64): Likewise.
13446 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13447 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
13448 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13449 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13450 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13451 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13452 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13453 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13454 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13459 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13460 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13461 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13463 2018-06-26 Florian Weimer <fweimer@redhat.com>
13465 Run thread shutdown functions in an explicit order.
13466 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
13468 (__libc_thread_freeres): Call thread shutdown functions
13470 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
13471 * include/string.h (__strerror_thread_freeres): Declare.
13472 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
13473 arena_thread_freeres. No longer static. Remove thread shutdown
13475 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
13477 * resolv/res-close.c (__res_thread_freeres): Renamed from
13478 res_thread_freeres. No longer static. Remove thread shutdown
13480 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
13481 * resolv/resolv_conf.c (freeres): Remove incorrect section
13482 attribute and use libc_freeres_fn.
13483 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
13484 strerror_thread_freeres. No longer static. Remove thread
13485 shutdown hook registration.
13486 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
13487 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
13488 shutdown hook registration.
13489 * Makerules (shlib.lds): Do not provide section boundary symbols
13490 for __libc_thread_subfreeres.
13491 * manual/memory.texi (Basic Allocation): Update comment.
13493 2018-06-26 Florian Weimer <fweimer@redhat.com>
13495 Remove always-defined _RPC_THREAD_SAFE_ macro.
13496 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
13497 Do not define _RPC_THREAD_SAFE_.
13498 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
13500 * sunrpc/clnt_perr.c: Likewise.
13501 * sunrpc/clnt_raw.c: Likewise.
13502 * sunrpc/clnt_simp.c: Likewise.
13503 * sunrpc/key_call.c: Likewise.
13504 * sunrpc/rpc_common.c: Likewise.
13505 * sunrpc/rpc_main.c: Likewise.
13506 * sunrpc/rpc_thread.c: Likewise.
13507 * sunrpc/svc.c: Likewise.
13508 * sunrpc/svc_raw.c: Likewise.
13509 * sunrpc/svc_simple.c: Likewise.
13510 * sumrpc/svcauth_des.c: Likewise.
13512 2018-06-26 Florian Weimer <fweimer@redhat.com>
13514 * libio/Makefile (tests-internal): Add tst-vtables,
13515 tst-vtables-interposed.
13516 * libio/tst-vtables.c: New file.
13517 * libio/tst-vtables-common.c: Likewise.
13518 * libio/tst-vtables-interposed.c: Likewise.
13520 2018-06-26 Florian Weimer <fweimer@redhat.com>
13522 * support/support_test_main.c (support_test_main): Only call
13523 setvbuf if not disables.
13524 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
13525 * support/test-driver.h (struct test_config): Add no_setvbuf member.
13527 2018-06-26 Florian Weimer <fweimer@redhat.com>
13530 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
13532 2018-06-25 Florian Weimer <fweimer@redhat.com>
13535 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13536 Use struct scratch_buffer instead of extend_alloca.
13538 2018-06-25 Florian Weimer <fweimer@redhat.com>
13541 * nss/getent.c (initgroups_keys): Use dynarray instead of
13544 2018-06-25 Florian Weimer <fweimer@redhat.com>
13547 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
13548 Use struct scratch_buffer instead of extend_alloca.
13550 2018-06-25 Florian Weimer <fweimer@redhat.com>
13553 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
13554 back to malloc directly, without stack allocations.
13556 2018-06-25 Florian Weimer <fweimer@redhat.com>
13559 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
13562 2018-06-25 Florian Weimer <fweimer@redhat.com>
13565 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
13567 * nscd/hstcache.c (addhstbyX): Likewise.
13568 * nscd/pwdcache.c (addpwbyX): Likewise.
13569 * nscd/servicescache.c (addservbyX): Likewise.
13571 2018-06-25 Florian Weimer <fweimer@redhat.com>
13574 * nscd/connections.c (read_cmdline): New function.
13575 (restart): Use it. Update comment.
13577 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13580 * localedata/locales/csb_PL (mon): Rename to...
13582 (abmon): Rename to...
13583 (ab_alt_mon): This.
13584 (mon): Add with proper genitive forms, copy from Wikipedia.
13587 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13590 * localedata/locales/csb_PL (mon): Fix typos:
13591 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
13592 (yesstr): Add, value is "jo".
13593 (nostr): Add, value is "nié".
13595 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13597 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
13598 all log1p and significand functions on m680x0.
13599 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
13600 of s_significand.c..
13601 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13602 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
13603 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
13604 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
13605 s_log1p.c and include it..
13607 2018-06-21 Vincent Chen <vincentc@andestech.com>
13609 * elf/elf.h (R_NDS32_NONE): New define.
13610 (R_NDS32_32_RELA): Likewise.
13611 (R_NDS32_COPY): Likewise.
13612 (R_NDS32_GLOB_DAT): Likewise.
13613 (R_NDS32_JUMP_SLOT): Likewise.
13614 (R_NDS32_RELATIVE): Likewise.
13615 (R_NDS32_TLS_TPOFF): Likewise.
13616 (R_NDS32_TLS_DESC): Likewise.
13618 2018-06-21 Mark Wielaard <mark@klomp.org>
13620 * elf/elf.h (R_BPF_MAP_FD): Removed.
13621 (R_BPF_64_64, R_BPF_64_32): New.
13623 2018-06-21 Florian Weimer <fweimer@redhat.com>
13626 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
13627 Renamed from libc_feholdsetround_ctx.
13628 (default_libc_feresetround_ctx): Renamed from
13629 libc_feresetround_ctx.
13630 (default_libc_feholdsetround_noex_ctx): Renamed from
13631 libc_feholdsetround_noex_ctx.
13632 (default_libc_feresetround_noex_ctx): Renamed from
13633 libc_feresetround_noex_ctx.
13634 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
13635 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
13636 forwardning to the old implementations under the new names.
13637 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
13638 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
13639 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
13640 (libc_feresetround_ctx): Forward to default implements for i386
13641 and MATH_SET_BOTH_ROUNDING_MODES.
13642 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
13643 Add -DMATH_SET_BOTH_ROUNDING_MODES.
13645 2018-06-20 Joseph Myers <joseph@codesourcery.com>
13647 * string/tst-cmp.c: Include <libc-diag.h>.
13648 (strncmp_max): Disable -Wstringop-overflow= around call to
13650 (strncasecmp_max): Disable -Wstringop-overflow= around call to
13653 * string/bug-strpbrk1.c: Include <libc-diag.h>.
13654 (main): Disable -Wunused-value around call to strpbrk.
13655 * string/bug-strspn1.c: Include <libc-diag.h>.
13656 (main): Disable -Wunused-value around call to strspn.
13658 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13659 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13661 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
13662 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
13664 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13666 * math/Makefile (libm-calls): Move s_significandF to...
13667 (gen-libm-calls): ... here.
13668 * math/s_significand_template.c: New file.
13669 * math/s_significand.c: Removed.
13670 * math/s_significandf.c: Removed.
13671 * math/s_significandl.c: Removed.
13672 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
13673 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
13675 * math/e_exp2_template.c (declare_mgen_finite_alias,
13676 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
13677 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
13678 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
13680 2018-06-20 Florian Weimer <fweimer@redhat.com>
13682 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
13684 2018-06-19 Joseph Myers <joseph@codesourcery.com>
13687 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
13688 floating-point number to strtod functions rather than possibly
13689 negating result of those functions.
13690 * stdio-common/tst-scanf-round.c: New file.
13691 * stdio-common/Makefile (tests): Add tst-scanf-round.
13692 ($(objpfx)tst-scanf-round): Depend on $(libm).
13694 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13696 * sysdeps/mach/hurd/localplt.data: Move to...
13697 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
13698 R_386_GLOB_DAT like on Linux i386.
13700 2018-06-18 Joseph Myers <joseph@codesourcery.com>
13702 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
13703 (SHM_STAT_ANY): New macro.
13704 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
13705 (SHM_STAT_ANY): Likewise.
13706 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
13707 (SHM_STAT_ANY): Likewise.
13708 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
13709 (SHM_STAT_ANY): Likewise.
13710 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
13711 (SHM_STAT_ANY): Likewise.
13712 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
13713 (SHM_STAT_ANY): Likewise.
13714 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
13715 (SHM_STAT_ANY): Likewise.
13716 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
13717 (SHM_STAT_ANY): Likewise.
13718 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
13719 (SHM_STAT_ANY): Likewise.
13720 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
13721 (SHM_STAT_ANY): Likewise.
13722 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
13723 (SHM_STAT_ANY): Likewise.
13724 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
13725 (SHM_STAT_ANY): Likewise.
13727 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
13728 (SEM_STAT_ANY): New macro.
13729 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
13730 (SEM_STAT_ANY): Likewise.
13731 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
13732 (SEM_STAT_ANY): Likewise.
13733 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
13734 (SEM_STAT_ANY): Likewise.
13735 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
13736 (SEM_STAT_ANY): Likewise.
13737 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
13738 (SEM_STAT_ANY): Likewise.
13739 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
13740 (SEM_STAT_ANY): Likewise.
13741 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
13742 (SEM_STAT_ANY): Likewise.
13743 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
13744 (SEM_STAT_ANY): Likewise.
13745 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
13746 (SEM_STAT_ANY): Likewise.
13748 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
13749 (MSG_STAT_ANY): New macro.
13750 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
13751 (MSG_STAT_ANY): Likewise.
13752 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
13753 (MSG_STAT_ANY): Likewise.
13754 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
13755 (MSG_STAT_ANY): Likewise.
13756 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
13757 (MSG_STAT_ANY): Likewise.
13758 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
13759 (MSG_STAT_ANY): Likewise.
13760 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
13761 (MSG_STAT_ANY): Likewise.
13762 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
13763 (MSG_STAT_ANY): Likewise.
13764 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
13765 (MSG_STAT_ANY): Likewise.
13766 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
13767 (MSG_STAT_ANY): Likewise.
13769 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13770 (MAP_TYPE): Change value to 0x2b.
13772 2018-06-18 Florian Weimer <fweimer@redhat.com>
13775 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
13776 socket with SOCK_CLOEXEC.
13778 2018-06-18 Joseph Myers <joseph@codesourcery.com>
13781 * sysdeps/powerpc/powerpc64/le/Makefile
13782 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
13783 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
13784 (gnulib-tests): Also add $(f128-loader-link) for
13785 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
13787 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
13789 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
13790 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
13792 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
13793 (sendfile64): New strong alias.
13794 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
13795 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
13796 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
13797 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
13799 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
13800 ___pthread_get_cleanup_stack.
13801 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
13802 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
13803 * mach/shortcut.awk: Make syscall stubs include
13804 <mach-shortcuts-hidden.h> and add hidden definition.
13805 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
13806 (__mach_msg): Add hidden prototype.
13807 * mach/msg.c: Include <mach.h>.
13808 (__mach_msg): Add hidden definition.
13809 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
13810 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
13811 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
13812 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
13813 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
13814 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
13815 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
13816 prototype and definition.
13817 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
13818 hidden target for _hurd_self_sigstate.
13820 2018-06-15 Joseph Myers <joseph@codesourcery.com>
13823 * stdlib/tst-strtod-nan-sign-main.c: New file.
13824 * stdlib/tst-strtod-nan-sign.c: Likewise.
13825 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
13826 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
13827 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
13828 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
13829 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
13831 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
13834 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
13837 2018-06-14 Florian Weimer <fweimer@redhat.com>
13840 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
13841 that the result stays within the ISO-8859-1 range.
13842 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
13843 characters are defined in IBM273.
13845 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
13847 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
13848 __mach_task_self): Remove attribute_hidden.
13850 2018-06-14 Joseph Myers <joseph@codesourcery.com>
13852 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
13853 ignore -Wrestrict for one test.
13855 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
13856 Szabolcs Nagy <szabolcs.nagy@arm.com>
13858 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
13860 2018-06-14 Florian Weimer <fweimer@redhat.com>
13862 * scripts/update-abilist.sh: Accept empty list of files to patch.
13864 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13866 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
13867 test-xfail-check-abi-libmachuser): Add.
13868 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
13869 __libc_read and __libc_write to __read and __write.
13870 * sysdeps/hurd/include/hurd/port.h: New file.
13871 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
13872 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
13873 __thread_switch, __evc_wait): Move declarations to...
13874 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
13876 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
13877 use PLT to call _hurd_self_sigstate.
13879 2018-06-13 Joseph Myers <joseph@codesourcery.com>
13882 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
13883 MAX_EXP as overflowing.
13884 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
13886 (round_str): Output also whether result overflows in each rounding
13888 * stdlib/tst-strtod-round-data: Add more tests.
13889 * stdlib/tst-strtod-round-data.h: Regenerated.
13890 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13891 (TEST): Handle extra arguments for overflow flags.
13892 (struct test_overflow): New type.
13893 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13894 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13895 (test_in_one_mode): Take argument with overflow information.
13896 (do_test): Update calls to test_in_one_mode.
13898 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13900 * elf/dl-load (_dl_dst_substitute): Correct comment.
13901 (_dl_dst_count): Likewise.
13903 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13904 lll_futex_timed_wait.
13906 2018-06-12 Joseph Myers <joseph@codesourcery.com>
13909 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13911 * math/test-nan-const.c: New file.
13912 * math/Makefile (tests): Add test-nan-const.
13913 (CFLAGS-test-nan-const.c): New variable.
13915 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13917 * benchtests/scripts/compare_strings.py (process_results): Add
13918 funcs argument. Compare only functions which are selected.
13919 (main): Check if base function is among selected functions.
13920 Pass selected functions to process_results.
13921 (__main__): Add -f/--functions argument.
13923 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13924 Hongbo Zhang <hongbo.zhang@linaro.org>
13926 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13927 __memcpy_falkor for phecda core.
13928 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13929 __memmove_falkor for phecda core.
13930 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13931 __memset_falkor for phecda core.
13932 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13934 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13935 macro to identify phecda core.
13937 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13938 Andreas Schwab <schwab@suse.de>
13939 Dmitry V. Levin <ldv@altlinux.org>
13940 Florian Weimer <fweimer@redhat.com>
13947 * elf/dl-dst.h: Remove DL_DST_COUNT.
13948 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13949 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13950 (is_dst): Comment. Support ELF gABI.
13951 (_dl_dst_count): Comment. Simplify and count DSTs.
13952 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13953 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13956 2018-06-12 Zack Weinberg <zackw@panix.com>
13958 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13959 * sysdeps/unix/sysv/linux/dl-sysdep.c
13960 Include not-cancel.h. Use __close_nocancel instead of __close,
13961 __open64_nocancel instead of __open, __read_nocancel instead of
13962 __libc_read, and __write_nocancel instead of __libc_write.
13964 * csu/check_fds.c (check_one_fd)
13965 * sysdeps/posix/fdopendir.c (__fdopendir)
13966 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
13967 instead of __fcntl and/or __libc_fcntl.
13969 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13970 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
13971 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
13972 Use __open64_nocancel instead of __open_nocancel.
13974 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13975 hidden_proto declarations to the end and issue them if either
13976 IS_IN(libc) or IS_IN(rtld).
13977 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13978 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13979 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13980 read_nocancel, waitpid_nocancel, write_nocancel.
13982 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13983 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13984 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
13986 * nptl/pt-fcntl.c: New file.
13987 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13988 (libpthread-routines): Add pt-fcntl.
13989 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13990 (__libc_fcntl): Remove attribute_hidden.
13991 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13992 __fcntl_nocancel_adjusted, not fcntl_common.
13993 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
13994 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13995 to fcntl_nocancel.c.
13996 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13999 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
14001 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
14002 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
14003 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
14004 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
14005 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
14006 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
14007 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
14008 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
14009 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
14010 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
14011 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
14012 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
14013 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
14014 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
14015 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
14016 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
14017 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
14018 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
14019 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
14020 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
14022 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
14023 libpthread-routines.
14024 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
14027 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
14028 __libc_read, and __write instead of __libc_write. Define
14029 __open64 in addition to __open.
14031 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14035 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
14036 to _private_tm[3] and add __glibc_reserved2.
14037 Add _Static_assert of offset of __private_ss == 0x30.
14038 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
14039 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
14041 2018-06-12 Florian Weimer <fweimer@redhat.com>
14043 x86: Make strncmp usable from rtld.
14044 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
14045 __strncmp_ia32 if in libc (and not in rtld).
14046 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
14047 strncmp if not in libc (and not to __strncmp_sse2).
14049 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
14052 * localedata/locales/gd_GB (mon): Rename to...
14054 (mon): Import from CLDR (genitive case).
14055 * localedata/locales/hsb_DE (mon): Rename to...
14057 (mon): Import from CLDR (genitive case).
14058 * localedata/locales/wa_BE (mon): Rename to...
14060 (mon): Add, fill with the proper genitive forms, but CLDR data
14061 is incomplete; completed according to the comments in this file.
14062 (d_t_fmt): Do not use "di" before the month name, no longer needed.
14064 * localedata/locales/wa_BE (country_name): Reword
14065 "Beljike" -> "Beldjike".
14067 2018-06-11 Joseph Myers <joseph@codesourcery.com>
14070 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
14071 cases of non-finite arguments.
14072 * math/libm-test-fma.inc (fma_test_data): Add more tests.
14074 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
14077 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
14079 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14082 * include/unistd.h (__execvpex): New prototype.
14083 * posix/Makefile (tests): Add tst-spawn4.
14084 (tests-internal): Add tst-spawn4-compat.
14085 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
14086 * posix/tst-spawn4-compat.c: New file.
14087 * posix/tst-spawn4.c: Likewise.
14088 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
14089 binaries as shell scripts.
14090 * sysdeps/posix/spawni.c (__spawni): Likewise.
14092 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
14095 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
14096 ($(all-built-dso:=.dynsym): New target.
14097 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
14098 ($(objpfx)check-initfini.out): New target.
14099 (generated): Add check-initfini.out.
14100 * scripts/check-initfini.awk: New file.
14101 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
14103 * sysdeps/alpha/crti.S (_init): Mark as hidden.
14105 * sysdeps/arm/crti.S (_init): Mark as hidden.
14107 * sysdeps/hppa/crti.S (_init): Mark as hidden.
14109 * sysdeps/i386/crti.S (_init): Mark as hidden.
14111 * sysdeps/ia64/crti.S (_init): Mark as hidden.
14113 * sysdeps/m68k/crti.S (_init): Mark as hidden.
14115 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
14117 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
14119 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
14121 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
14123 * sysdeps/nios2/crti.S (_init): Mark as hidden.
14125 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
14127 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
14129 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
14131 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
14133 * sysdeps/sh/crti.S (_init): Mark as hidden.
14135 * sysdeps/sparc/crti.S (_init): Mark as hidden.
14137 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
14140 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14142 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
14143 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
14144 and TF redirection to KFtype and KF only when the default
14145 long double type is not the IEEE 128-bit floating point type.
14147 2018-06-05 Joseph Myers <joseph@codesourcery.com>
14149 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
14151 (HWCAP_USCAT): Likewise.
14152 (HWCAP_ILRCPC): Likewise.
14153 (HWCAP_FLAGM): Likewise.
14154 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14156 (_dl_aarch64_cap_flags): Add new flag names.
14158 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14159 (MAP_FIXED_NOREPLACE): New macro.
14160 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
14161 (MAP_FIXED_NOREPLACE): Likewise.
14162 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
14163 (MAP_FIXED_NOREPLACE): Likewise.
14164 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14165 (MAP_FIXED_NOREPLACE): Likewise.
14166 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14167 (MAP_FIXED_NOREPLACE): Likewise.
14168 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14169 (MAP_FIXED_NOREPLACE): Likewise.
14170 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14171 (MAP_FIXED_NOREPLACE): Likewise.
14172 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
14173 (MAP_FIXED_NOREPLACE): Likewise.
14174 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14175 (MAP_FIXED_NOREPLACE): Likewise.
14176 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
14177 (MAP_FIXED_NOREPLACE): Likewise.
14178 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14179 (MAP_FIXED_NOREPLACE): Likewise.
14180 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14181 (MAP_FIXED_NOREPLACE): Likewise.
14182 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
14183 (MAP_FIXED_NOREPLACE): Likewise.
14184 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
14185 (MAP_FIXED_NOREPLACE): Likewise.
14186 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
14187 (MAP_FIXED_NOREPLACE): Likewise.
14189 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14192 2018-06-04 Joseph Myers <joseph@codesourcery.com>
14194 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14197 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14199 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
14201 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
14203 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14205 * benchtests/scripts/compare_string.py: (process_results) Catch
14206 exception in non-existent base_func and catch exception in
14207 non-existent attribute.
14208 (parse_file) Catch exception if input file does not exist.
14210 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14212 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
14213 options to avoid diff calculation and omit header, respectively.
14214 (main): process --no-diff and --no-header
14216 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14217 H.J. Lu <hongjiu.lu@intel.com>
14219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14220 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
14222 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14223 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
14224 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
14225 and __wcsncmp_sse2.
14226 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
14227 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
14228 AVX unaligned load is fast and vzeroupper is preferred.
14229 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
14230 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
14231 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
14232 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
14233 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
14234 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
14235 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
14236 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
14237 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
14238 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
14241 2018-06-01 Florian Weimer <fweimer@redhat.com>
14243 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
14244 configuring with --disable-multi-arch, building with
14245 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
14248 2018-06-01 Florian Weimer <fweimer@redhat.com>
14250 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
14251 results from building with “-march=x86-64 -mtune=generic
14252 -mfpmath=sse” and running on a Haswell-era CPU.
14254 2018-06-01 Joseph Myers <joseph@codesourcery.com>
14257 * soft-fp/sqrttf2.c: Remove file.
14258 * soft-fp/sqrtdf2.c: Move to ....
14259 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
14261 (__sqrtdf2): Make conditional on
14262 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14264 * soft-fp/sqrtsf2.c: Move to ....
14265 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
14267 (__sqrtsf2): Make conditional on
14268 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14270 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
14271 (gcc-double-routines): Remove sqrtdf2.
14272 (gcc-quad-routines): Remove sqrttf2.
14273 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14274 Do not filter out sqrtsf2 and sqrtdf2.
14275 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14276 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
14278 2018-06-01 Florian Weimer <fweimer@redhat.com>
14280 * sysdeps/generic/libcidn.abilist: Remove file.
14282 2018-06-01 Florian Weimer <fweimer@redhat.com>
14285 * libio/strfile.h (struct _IO_str_fields): Rename members to
14286 discourage their use and add comment.
14287 (_IO_STR_DYNAMIC): Remove unused macro.
14288 * libio/strops.c (_IO_str_init_static_internal): Do not use
14289 callback pointers. Call malloc and free.
14290 (_IO_str_overflow): Do not use callback pointers. Call malloc
14292 (enlarge_userbuf): Likewise.
14293 (_IO_str_finish): Call free.
14294 * libio/wstrops.c (_IO_wstr_init_static): Initialize
14295 _allocate_buffer_unused.
14296 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
14298 (enlarge_userbuf): Likewise.
14299 (_IO_wstr_finish): Call free.
14300 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
14301 _allocate_buffer_unused, _free_buffer_unused.
14302 * libio/memstream.c (__open_memstream): Likewise.
14303 * libio/vasprintf.c (_IO_vasprintf): Likewise.
14304 * libio/wmemstream.c (open_wmemstream): Likewise.
14306 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14308 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
14311 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14313 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
14314 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
14315 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
14317 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
14319 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
14321 2018-05-29 Florian Weimer <fweimer@redhat.com>
14323 * support/Makefile (libsupport-routines): Add
14324 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
14325 xpthread_barrierattr_setpshared.
14326 * support/xpthread_barrierattr_destroy.c: New file.
14327 * support/xpthread_barrierattr_init.c: Likewise.
14328 * support/xpthread_barrierattr_setpshared.c: Likewise.
14330 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
14333 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
14334 _r_debug and update DT_DEBUG for debugger.
14336 2018-05-29 Florian Weimer <fweimer@redhat.com>
14338 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
14339 (tst-strtod5i.out): Likewise.
14341 2018-05-25 Joseph Myers <joseph@codesourcery.com>
14343 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
14344 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
14345 (sparc64-quad-routines): New variable. Moved from ....
14346 [$(subdir) = soft-fp] (sysdep_routines): Add
14347 $(sparc64-quad-routines). Moved from ....
14348 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
14349 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
14350 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
14352 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
14353 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
14354 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
14355 * sysdeps/sparc/sparc64/qp_add.c: ... here.
14356 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
14357 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
14358 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
14359 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
14360 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
14361 * sysdeps/sparc/sparc64/qp_div.c: ... here.
14362 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
14363 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
14364 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
14365 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
14366 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
14367 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
14368 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
14369 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
14370 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
14371 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
14372 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
14373 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
14374 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
14375 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
14376 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
14377 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
14378 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
14379 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
14380 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
14381 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
14382 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
14383 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
14384 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
14385 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
14386 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
14387 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
14388 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
14389 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
14390 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
14391 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
14392 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
14393 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
14394 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
14395 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
14396 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
14397 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
14398 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
14399 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
14400 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
14401 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
14402 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
14403 * sysdeps/sparc/sparc64/qp_util.c: ... here.
14404 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
14405 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
14406 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
14407 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
14408 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
14409 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
14411 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
14412 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
14413 (sparc32-quad-routines): New variable. Moved from ....
14414 [$(subdir) = soft-fp] (sysdep_routines): Add
14415 $(sparc32-quad-routines). Moved from ....
14416 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
14417 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
14419 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
14420 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
14421 * sysdeps/sparc/sparc32/q_add.c: ... here.
14422 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
14423 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
14424 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
14425 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
14426 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
14427 * sysdeps/sparc/sparc32/q_div.c: ... here.
14428 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
14429 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
14430 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
14431 * sysdeps/sparc/sparc32/q_feq.c: ... here.
14432 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
14433 * sysdeps/sparc/sparc32/q_fge.c: ... here.
14434 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
14435 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
14436 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
14437 * sysdeps/sparc/sparc32/q_fle.c: ... here.
14438 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
14439 * sysdeps/sparc/sparc32/q_flt.c: ... here.
14440 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
14441 * sysdeps/sparc/sparc32/q_fne.c: ... here.
14442 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
14443 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
14444 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
14445 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
14446 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
14447 * sysdeps/sparc/sparc32/q_mul.c: ... here.
14448 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
14449 * sysdeps/sparc/sparc32/q_neg.c: ... here.
14450 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
14451 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
14452 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
14453 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
14454 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
14455 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
14456 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
14457 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
14458 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
14459 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
14460 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
14461 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
14462 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
14463 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
14464 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
14465 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
14466 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
14467 * sysdeps/sparc/sparc32/q_sub.c: ... here.
14468 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
14469 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
14470 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
14471 * sysdeps/sparc/sparc32/q_util.c: ... here.
14472 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
14473 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
14474 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
14475 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
14477 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14478 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14480 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
14481 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
14482 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
14483 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
14485 2018-05-24 Joseph Myers <joseph@codesourcery.com>
14487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
14489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14491 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
14492 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
14494 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14497 * math/math.h [C++] (iseqsig): Fix parameter type for the long
14500 2018-05-23 Joseph Myers <joseph@codesourcery.com>
14502 * sysdeps/sh/Implies: Remove sh/soft-fp.
14503 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
14504 * sysdeps/sh/sfp-machine.h: ... here.
14506 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14508 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14509 (__mempcpy_erms): Skip zero length.
14510 (__memmove_erms): Likewise.
14511 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14512 (__memset_erms): Likewise.
14514 2018-05-23 Joseph Myers <joseph@codesourcery.com>
14516 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
14517 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14518 Add functions moved from ....
14519 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
14520 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
14521 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
14523 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
14524 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
14525 * sysdeps/alpha/e_sqrtl.c: ... here.
14526 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
14527 * sysdeps/alpha/local-soft-fp.h: ... here.
14528 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
14529 * sysdeps/alpha/ots_add.c: ... here.
14530 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
14531 * sysdeps/alpha/ots_cmp.c: ... here.
14532 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
14533 * sysdeps/alpha/ots_cmpe.c: ... here.
14534 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
14535 * sysdeps/alpha/ots_cvtqux.c: ... here.
14536 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
14537 * sysdeps/alpha/ots_cvtqx.c: ... here.
14538 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
14539 * sysdeps/alpha/ots_cvttx.c: ... here.
14540 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
14541 * sysdeps/alpha/ots_cvtxq.c: ... here.
14542 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
14543 * sysdeps/alpha/ots_cvtxt.c: ... here.
14544 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
14545 * sysdeps/alpha/ots_div.c: ... here.
14546 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
14547 * sysdeps/alpha/ots_mul.c: ... here.
14548 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
14549 * sysdeps/alpha/ots_nintxq.c: ... here.
14550 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
14551 * sysdeps/alpha/ots_sub.c: ... here.
14552 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
14553 * sysdeps/alpha/sfp-machine.h: ... here.
14555 2018-05-23 Florian Weimer <fweimer@redhat.com>
14563 Switch to extern IDNA implementation (libidn2).
14564 * libidn: Remove subdirectory.
14565 * LICENSES: Do not mention licensing conditions for the removed
14567 * config.h.in (HAVE_LIBIDN): Remove.
14568 * include/dlfcn.h (__libc_dlopen): Update comment.
14569 * include/idna.h: Remove file.
14570 * inet/Makefile (routines): Add idna.
14571 (tests-static, tests-internal): Add tst-idna_name_classify.
14572 (LOCALES): Generate locales for tests.
14573 (tst-idna_name_classify.out): Depend on generated locales.
14574 * inet/idna_name_classify.c: New file.
14575 * inet/tst-idna_name_classify.c: Likewise.
14576 * inet/net-internal.h (__idna_to_dns_encoding)
14577 (__idna_from_dns_encoding): Declare.
14578 * inet/net-internal.h (enum idna_name_classification): Define.
14579 (__idna_name_classify): Declare.
14580 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
14581 __idna_from_dns_encoding.
14582 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
14583 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
14584 name as a fallback in case of encoding errors.
14585 (getnameinfo): Use DEPRECATED_NI_IDN.
14586 * inet/idna.c: New file.
14587 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
14588 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
14589 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
14590 (modules-names): Add tst-no-libidn2.
14591 (extra-test-objs): Add tst-no-libidn2.os.
14592 (LDFLAGS-tst-no-libidn2.so): Set soname.
14593 (LOCALES): Set, and generate locales.
14594 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
14595 (tst-resolv-ai_idn-latin1): Likewise.
14596 (tst-resolv-ai_idn-nolibidn2): Likewise.
14597 (tst-resolv-ai_idn.out): Depend on locales.
14598 (tst-resolv-ai_idn-latin1.out): Depend on locales.
14599 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
14601 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
14602 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
14603 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
14604 * resolv/tst-resolv-ai_idn.c: New file.
14605 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
14606 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
14607 * resolv/tst-no-libidn2.c: Likewise.
14608 * support/support_format_addrinfo.c (format_ai_flags): Do not
14609 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
14610 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
14611 (gaih_inet): Call __idna_to_dns_encoding and
14612 __idna_from_dns_encoding, and use the original (punycode) name if
14613 __idna_from_dns_encoding fails due to an encoding error.
14614 (getaddrinfo): Use DEPRECATED_AI_IDN.
14615 * sysdeps/unix/inet/Subdirs (libidn): Remove.
14616 * sysdeps/unix/inet/configure: Remove file.
14617 * sysdeps/unix/inet/configure.ac: Likewise.
14619 2018-05-23 Florian Weimer <fweimer@redhat.com>
14621 Implement allocate_once.
14622 * include/allocate_once.h: New file.
14623 * misc/allocate_once.c: Likewise.
14624 * misc/tst-allocate_once.c: Likewise.
14625 * misc/Makefile (routines): Add allocate_once.
14626 (tests-internal): Add tst-allocate_once.
14627 (generated): Add tst-allocate_once.mtrace,
14628 tst-allocate_once-mem.out.
14629 (tests-special): Add tst-allocate_once-mem.out.
14630 (tst-allocate_once-ENV): Set MALLOC_TRACE.
14631 (tst-allocate_once-mem.out): Call mtrace.
14632 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
14634 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14637 * string/test-memcpy.c (do_test1): New function.
14638 (test_main): Call it.
14640 2018-05-23 Andreas Schwab <schwab@suse.de>
14644 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
14645 (L(preloop_large)): Save initial destination pointer in %r11 and
14646 use it instead of %rax after the loop.
14647 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
14649 2018-05-22 Joseph Myers <joseph@codesourcery.com>
14651 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
14652 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
14653 -I../soft-fp. Moved from ....
14654 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
14655 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
14656 * sysdeps/aarch64/e_sqrtl.c: ... here.
14657 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
14658 * sysdeps/aarch64/sfp-machine.h: ... here.
14660 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
14661 -Wmaybe-uninitialized around access to fq[0].
14662 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14666 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
14667 aliases for non-libc case of versioned symbols.
14668 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
14669 (llseek): Define as compat symbol if
14670 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
14672 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
14673 Make into a compat symbol, disabled for minimum symbol version
14674 GLIBC_2.28 and later.
14675 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
14677 2018-05-22 Florian Weimer <fweimer@redhat.com>
14679 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
14680 not add -mpreferred-stack-boundary=4.
14681 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
14682 (stack-align-test-flags): Likewise.
14683 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
14685 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
14686 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
14687 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
14688 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
14689 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
14690 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
14691 (CFLAGS-tst-align2.c): Likewise.
14693 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14695 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
14696 (index_arch_Prefer_FSRM): Likewise.
14697 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14698 Also check Prefer_FSRM.
14699 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
14700 Also return OPTIMIZE (erms) for Prefer_FSRM.
14702 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14704 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
14705 (index_cpu_FSRM): Likewise.
14706 (reg_FSRM): Likewise.
14708 2018-05-18 Joseph Myers <joseph@codesourcery.com>
14710 * math/gen-tgmath-tests.py: Import sys.
14711 (Tests.__init__): Initialize macros_seen.
14712 (Tests.add_tests): Add macro to macros_seen. Only generate tests
14713 if requested to do so for this macro.
14714 (Tests.add_all_tests): Take argument for macro for which to
14716 (Tests.check_macro_list): New function.
14717 (main): Handle check-list argument and argument specifying macro
14718 for which to generate tests.
14719 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
14720 [PYTHON] (tgmath3-macro-tests): Likewise.
14721 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
14722 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
14723 not test-tgmath3.c.
14724 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
14725 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
14727 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
14728 [PYTHON] ($(foreach
14729 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
14731 [PYTHON] (tests-special): Add
14732 $(objpfx)test-tgmath3-macro-list.out.
14733 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
14735 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
14736 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
14740 * time/tzset.c (SECSPERDAY): Cast to time_t.
14741 * time/tst-y2039.c: New file.
14742 * time/Makefile (tests): Add tst-y2039.
14744 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14746 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14747 (PREFETCH_ONE_SET): Remove duplicate line.
14749 2018-05-17 Florian Weimer <fweimer@redhat.com>
14751 * sysdeps/generic/math-type-macros-double.h: Include
14752 <math-nan-payload-double.h> after <libm-alias-double.h>.
14753 * sysdeps/generic/math-type-macros-float.h: Include
14754 <math-nan-payload-float.h> after <libm-alias-float.h>.
14755 * sysdeps/generic/math-type-macros-float128.h: Include
14756 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
14757 * sysdeps/generic/math-type-macros-ldouble.h: Include
14758 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
14760 2018-05-17 Andreas Schwab <schwab@suse.de>
14762 * resolv/res_send.c (__res_context_send): Don't set errno when
14763 returing error after malloc failure.
14765 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
14767 * nptl/allocatestack.c (allocate_stack): Remove the
14768 !__ASSUME_PRIVATE_FUTEX paths.
14769 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
14770 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14772 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
14773 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14774 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14775 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14776 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
14777 !__ASSUME_PRIVATE_FUTEX path.
14778 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
14779 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
14780 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14781 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
14782 !__ASSUME_PRIVATE_FUTEX macros.
14783 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14784 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14785 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14786 * sysdeps/unix/sysv/linux/kernel-features.h
14787 (__ASSUME_PRIVATE_FUTEX): Removed.
14789 2018-05-17 Joseph Myers <joseph@codesourcery.com>
14791 * math/Makefile (libm-narrow-fns): Add div.
14792 (libm-test-funcs-narrow): Likewise.
14793 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
14794 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
14795 * math/gen-auto-libm-tests.c (test_functions): Add div.
14796 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
14797 (NARROW_DIV_ROUND_TO_ODD): Likewise.
14798 (NARROW_DIV_TRIVIAL): Likewise.
14799 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
14801 (__ddivl): Likewise.
14802 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
14804 (CFLAGS-nldbl-ddiv.c): New variable.
14805 (CFLAGS-nldbl-fdiv.c): Likewise.
14806 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14808 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
14810 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
14811 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
14812 * math/auto-libm-test-in: Add tests of div.
14813 * math/auto-libm-test-out-narrow-div: New generated file.
14814 * math/libm-test-narrow-div.inc: New file.
14815 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
14816 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
14817 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
14818 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
14819 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
14820 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
14821 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
14822 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
14823 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
14824 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
14825 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
14826 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
14827 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
14828 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
14829 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
14830 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
14831 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
14832 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
14833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14834 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14835 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14836 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14837 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14838 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14839 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14840 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14841 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14842 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14843 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14844 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14845 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14846 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14851 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14852 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14853 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14854 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14855 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14856 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14857 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14858 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14860 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14863 * nscd/nscd-client.h (sendfileall): Remove prototype.
14864 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
14865 (handle_request): Use writeall instead of sendfileall.
14866 * nscd/aicache.c (addhstaiX): Likewise.
14867 * nscd/grpcache.c (cache_addgr): Likewise.
14868 * nscd/hstcache.c (cache_addhst): Likewise.
14869 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14870 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
14871 * nscd/pwdcache.c (cache_addpw): Likewise.
14872 * nscd/servicescache.c (cache_addserv): Likewise.
14873 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
14874 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
14875 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
14878 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
14880 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
14881 Include <string/strncat.c>.
14882 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
14884 (__GI___strncat): New hidden alias.
14886 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14888 * sysdeps/mips/mips32/libm-test-ulps: Update.
14889 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14891 2018-05-16 Florian Weimer <fweimer@redhat.com>
14893 * support/Makefile (libsupport-routines): Add support_quote_blob,
14894 support_test_compare_blob.
14895 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14896 * support/check.h (TEST_COMPARE_BLOB): Define.
14897 (support_test_compare_blob): Declare.
14898 * support/support.h (support_quote_blob): Declare.
14899 * support/support_quote_blob.c: New file.
14900 * support/support_test_compare_blob.c: Likewise.
14901 * support/tst-support_quote_blob.c: Likewise.
14902 * support/tst-test_compare_blob.c: Likewise.
14904 2018-05-16 Florian Weimer <fweimer@redhat.com>
14906 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14907 of <strtod_nan_double.h>.
14908 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14909 instead of SET_MANTISSA.
14910 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14911 of include <strtod_nan_float.h>.
14912 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14913 instead of <strtod_nan_ldouble.h>.
14914 * stdlib/strtod_nan_double.h: Move to ...
14915 * sysdeps/generic/math-nan-payload-double.h: ... here.
14916 (FLOAT): Remove definition.
14917 (SET_MANTISSA): Rename to ...
14918 (SET_NAN_PAYLOAD): ... this.
14919 * stdlib/strtod_nan_float.h: Move to ...
14920 * sysdeps/generic/math-nan-payload-float.h: ... here.
14921 (FLOAT): Remove definition.
14922 (SET_MANTISSA): Rename to ...
14923 (SET_NAN_PAYLOAD): ... this.
14924 * sysdeps/generic/math-type-macros-double.h: Include
14925 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14926 instead of <math-svid-compat.h>.
14927 * sysdeps/generic/math-type-macros-float.h: Include
14928 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14929 instead of <math-svid-compat.h>.
14930 * sysdeps/generic/math-type-macros-float128.h: Include
14931 <math-nan-payload-float128.h>.
14932 * sysdeps/generic/math-type-macros-ldouble.h: Include
14933 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14934 instead of <math-svid-compat.h>.
14935 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14936 check for definition.
14937 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14938 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14939 Include <ieee754_float128.h>.
14940 (FLOAT): Remove definition.
14941 (SET_MANTISSA): Rename to ...
14942 (SET_NAN_PAYLOAD): ... this.
14943 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14944 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14945 Do not include <float128_private.h>.
14946 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14947 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14948 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14949 (FLOAT): Remove definition.
14950 (SET_MANTISSA): Rename to ...
14951 (SET_NAN_PAYLOAD): ... this.
14952 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14953 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14954 (FLOAT): Remove definition.
14955 (SET_MANTISSA): Rename to ...
14956 (SET_NAN_PAYLOAD): ... this.
14957 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14958 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14959 (FLOAT): Remove definition.
14960 (SET_MANTISSA): Rename to ...
14961 (SET_NAN_PAYLOAD): ... this.
14962 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14963 of "../stdlib/strtod_nan_double.h".
14964 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14965 of "../stdlib/strtod_nan_float.h".
14966 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14967 instead of "../stdlib/strtod_nan_ldouble.h".
14968 * manual/arith.texi (Parsing of Floats): Adjust comment.
14970 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14972 * math/Makefile (libm-narrow-fns): Add mul.
14973 (libm-test-funcs-narrow): Likewise.
14974 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14975 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14976 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14977 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14978 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14979 (NARROW_MUL_TRIVIAL): Likewise.
14980 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14981 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14983 (__dmull): Likewise.
14984 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14986 (CFLAGS-nldbl-dmul.c): New variable.
14987 (CFLAGS-nldbl-fmul.c): Likewise.
14988 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14990 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14992 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14993 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14994 * math/auto-libm-test-in: Add tests of mul.
14995 * math/auto-libm-test-out-narrow-mul: New generated file.
14996 * math/libm-test-narrow-mul.inc: New file.
14997 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14998 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14999 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
15000 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
15001 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
15002 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
15003 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
15004 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
15005 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
15006 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
15007 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
15008 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
15009 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
15010 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
15011 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
15012 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
15013 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
15014 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
15015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15016 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15017 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15018 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15019 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15020 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15021 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15022 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15023 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15024 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15025 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15026 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15027 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15028 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15033 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15034 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15035 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15036 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15037 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15038 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15039 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15040 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15042 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15044 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15045 with *%eax in call.
15047 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15049 * sysdeps/i386/ldsodefs.h: Removed.
15050 * sysdeps/x86_64/ldsodefs.h: Moved to ...
15051 * sysdeps/x86/ldsodefs.h: This.
15052 (La_i86_regs): New.
15053 (La_i86_retval): Likewise.
15054 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
15055 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
15057 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15059 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
15062 2018-05-13 Alan Modra <amodra@gmail.com>
15064 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
15065 R_PARISC_TLS_DTPOFF32 reloc addend.
15067 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15069 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
15070 * math/math.h: Restrict the prototype definition for the functions
15071 issignaling(_Float128) and iszero(_Float128); and template
15072 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
15073 __HAVE_FLOAT128_UNLIKE_LDBL.
15074 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
15075 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15076 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
15077 __f128() constants; define the type _Float128 as long double;
15078 and reuse long double in __CFLOAT128.
15080 2018-05-11 Joseph Myers <joseph@codesourcery.com>
15082 * sysdeps/generic/math_private.h: Do not include
15084 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
15086 * math/fromfp.h: Include <math-barriers.h>.
15087 * math/math-narrow.h: Likewise.
15088 * math/s_nextafter.c: Likewise.
15089 * math/s_nexttowardf.c: Likewise.
15090 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
15091 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
15092 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
15093 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
15094 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15095 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15096 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15097 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15098 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15099 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15100 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15101 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15102 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15103 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15104 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
15105 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15106 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15107 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15108 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15109 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15110 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15111 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15112 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15113 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15114 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15115 * sysdeps/ieee754/k_standardl.c: Likewise.
15116 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15117 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15118 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15119 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15120 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15121 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15122 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15123 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15124 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15125 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15126 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15127 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15128 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15129 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15130 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15131 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15132 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
15133 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
15134 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15135 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15136 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
15137 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
15139 2018-05-11 Florian Weimer <fweimer@redhat.com>
15141 Use 64-bit epoch values in the time zone file parser.
15142 * include/time.h (internal_time_t): Define.
15143 (__tzfile_compute): Use it.
15144 * time/tzfile.c (struct leap): Use internal_time_t for epoch
15146 (transitions): Switch to internal_time_t.
15147 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
15149 (__tzfile_compute): Use internal_time_t for timer argument. Check
15150 for truncation before calling __offtime.
15152 2018-05-11 Florian Weimer <fweimer@redhat.com>
15155 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
15156 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
15158 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
15159 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
15160 export without --enable-obsolete-rpc.
15161 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
15162 symbol. This should not have been exported, ever.
15164 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
15167 * localedata/locales/gd_GB (abmon): Fix typo in May:
15168 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
15170 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
15172 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15173 Use multiple registers to copy data in loop tail.
15175 * sysdeps/aarch64/multiarch/memmove_falkor.S
15176 (__memmove_falkor): Use multiple registers to move data in
15179 2018-05-10 Joseph Myers <joseph@codesourcery.com>
15181 * math/math-underflow.h: New file.
15182 * sysdeps/generic/math_private.h: Do not include <float.h>.
15183 (fabs_tg): Remove macro. Moved to math-underflow.h.
15184 (min_of_type_f): Likewise.
15185 (min_of_type_): Likewise.
15186 (min_of_type_l): Likewise.
15187 (min_of_type_f128): Likewise.
15188 (min_of_type): Likewise.
15189 (math_check_force_underflow): Likewise.
15190 (math_check_force_underflow_nonneg): Likewise.
15191 (math_check_force_underflow_complex): Likewise.
15192 * math/e_exp2_template.c: Include <math-underflow.h>.
15193 * math/k_casinh_template.c: Likewise.
15194 * math/s_catan_template.c: Likewise.
15195 * math/s_catanh_template.c: Likewise.
15196 * math/s_ccosh_template.c: Likewise.
15197 * math/s_cexp_template.c: Likewise.
15198 * math/s_clog10_template.c: Likewise.
15199 * math/s_clog_template.c: Likewise.
15200 * math/s_csin_template.c: Likewise.
15201 * math/s_csinh_template.c: Likewise.
15202 * math/s_csqrt_template.c: Likewise.
15203 * math/s_ctan_template.c: Likewise.
15204 * math/s_ctanh_template.c: Likewise.
15205 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15206 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15207 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15208 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15209 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15210 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15211 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15212 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15213 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15214 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15215 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15216 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15217 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15218 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15219 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15220 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15221 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15222 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15223 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15224 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15225 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15226 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15227 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15228 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15229 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15230 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15231 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15232 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15233 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15234 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15235 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15236 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15237 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15238 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15239 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15240 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15241 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15242 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15243 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15244 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15245 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15246 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15247 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15248 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15249 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15250 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15251 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15252 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15253 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15254 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15255 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15256 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15257 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15258 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15259 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15260 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15261 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15262 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15263 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15264 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15265 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15266 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15267 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15268 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15269 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15270 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15271 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15272 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15273 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15274 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15275 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15276 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15277 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15278 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
15279 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15280 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15281 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15282 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15283 * sysdeps/x86/fpu/powl_helper.c: Likewise.
15284 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
15285 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
15286 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15287 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15288 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15290 2018-05-09 Joseph Myers <joseph@codesourcery.com>
15292 * sysdeps/generic/math-barriers.h: New file.
15293 * sysdeps/generic/math_private.h [!math_opt_barrier]
15294 (math_opt_barrier): Move to math-barriers.h.
15295 [!math_opt_barrier] (math_force_eval): Likewise.
15296 * sysdeps/aarch64/fpu/math-barriers.h: New file.
15297 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
15299 (math_force_eval): Likewise.
15300 * sysdeps/alpha/fpu/math-barriers.h: New file.
15301 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
15303 (math_force_eval): Likewise.
15304 * sysdeps/x86/fpu/math-barriers.h: New file.
15305 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
15307 (math_force_eval): Likewise.
15308 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
15309 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
15310 multiple-include guard for rename.
15311 * sysdeps/powerpc/fpu/math-barriers.h: New file.
15312 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
15314 (math_force_eval): Likewise.
15316 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15320 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
15322 * stdlib/Makefile (test-bz22786): New test.
15323 * stdlib/test-bz22786.c: New test.
15325 2018-05-09 Joseph Myers <joseph@codesourcery.com>
15327 * include/math-narrow-eval.h: New file. Contents moved from ....
15328 * sysdeps/generic/math_private.h: ... here.
15329 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
15330 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15331 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
15332 * stdlib/strtod_l.c: Likewise.
15333 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15334 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15335 * sysdeps/i386/fpu/s_fdim.c: Likewise.
15336 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15337 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15338 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15339 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15340 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15341 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15342 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15343 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15344 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
15345 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15346 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15347 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15348 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15349 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15350 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15351 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15352 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15353 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15354 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15355 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15356 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15357 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15358 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15359 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15360 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15361 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15363 2018-05-08 Andreas Schwab <schwab@suse.de>
15365 * sysdeps/nptl/internaltypes.h: Fix comment.
15367 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
15369 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15370 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
15373 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15375 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
15376 of I into loop header.
15377 * benchtests/bench-memmove-walk.c
15378 (test_main): Likewise.
15380 2018-05-07 Alexandre Oliva <oliva@gnu.org>
15383 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15384 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15386 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15389 * elf/dl-load.c (open_verify): Fix stack overflow.
15390 * elf/Makefile (tst-big-note): New test.
15391 * elf/tst-big-note-lib.S: New.
15392 * elf/tst-big-note.c: New.
15394 2018-05-04 Joseph Myers <joseph@codesourcery.com>
15396 * scripts/abilist.awk: Ignore absolute symbols.
15397 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
15398 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
15399 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
15400 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
15401 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
15402 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
15403 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15404 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
15405 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
15406 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
15407 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
15408 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
15409 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
15410 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
15411 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
15412 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15413 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
15414 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
15415 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15416 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
15417 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15418 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
15419 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
15420 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
15421 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
15422 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
15423 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
15424 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
15425 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15426 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
15427 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
15428 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15429 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
15430 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15431 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
15432 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
15433 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
15434 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
15435 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
15436 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
15437 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
15438 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15439 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
15440 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
15441 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15442 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
15443 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15444 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
15445 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
15446 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
15447 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
15448 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
15449 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
15450 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
15451 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15452 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
15453 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
15454 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15455 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
15456 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15457 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
15458 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
15459 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
15460 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
15461 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
15462 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
15463 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
15464 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15465 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
15466 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
15467 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15468 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
15469 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15470 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
15471 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
15472 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
15473 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
15474 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
15475 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
15476 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
15477 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15478 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
15479 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
15480 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15481 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
15482 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15483 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
15484 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
15485 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
15486 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
15487 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
15488 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15490 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
15491 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15492 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
15493 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
15494 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15495 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
15496 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15497 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
15498 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
15499 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
15500 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
15501 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
15502 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15504 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
15505 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15506 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
15507 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
15508 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15509 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
15510 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
15511 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
15512 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
15513 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
15514 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
15515 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
15516 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
15517 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
15518 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15519 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
15520 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
15521 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15522 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
15523 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15524 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
15525 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
15526 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
15527 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
15528 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15529 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
15530 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15532 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
15533 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
15534 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
15535 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
15536 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15537 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
15538 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
15539 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
15540 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
15541 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
15542 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
15543 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
15544 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
15545 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
15546 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
15547 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
15548 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
15549 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
15550 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15551 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15553 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
15554 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
15555 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
15556 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15557 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
15558 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
15559 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
15560 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
15561 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
15562 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
15563 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15564 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
15565 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
15566 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15567 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
15568 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
15569 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
15570 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
15571 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15572 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
15573 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
15574 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15575 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
15576 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
15577 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
15578 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
15579 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
15580 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
15581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
15584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
15587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
15588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
15589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
15590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
15592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
15594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
15595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
15598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
15610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
15611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
15616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
15617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
15618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
15622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
15623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
15631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
15632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
15633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
15640 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15641 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
15643 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15644 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15645 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
15646 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15647 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15648 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15649 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
15650 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
15651 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15652 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
15653 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15654 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
15655 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
15656 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15658 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15659 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
15660 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
15661 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15662 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
15663 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15664 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
15665 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
15666 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
15667 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
15668 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
15669 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15671 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15672 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
15673 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
15674 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15675 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
15676 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15677 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
15678 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
15679 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
15680 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
15681 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
15682 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
15683 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
15684 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15685 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
15686 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
15687 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15688 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
15689 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15690 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
15691 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
15692 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
15693 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
15694 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
15695 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15697 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
15698 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15699 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
15700 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
15701 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15702 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
15703 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15704 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
15705 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
15706 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
15707 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
15708 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
15709 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15711 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
15712 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15713 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
15714 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
15715 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15716 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
15717 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15718 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
15719 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
15720 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
15721 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
15722 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
15723 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
15724 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
15725 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15726 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
15727 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
15728 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15729 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
15730 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15731 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
15732 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
15733 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
15734 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
15735 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15736 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
15737 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
15738 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
15739 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15740 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
15741 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
15742 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15743 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
15744 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15745 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
15746 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
15747 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
15748 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
15750 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15753 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
15754 Use atomic_load_acquire to load __tid.
15756 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15758 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
15759 Restore the pointer into %rdx, after syscall and use %rdx,
15760 instead of %rsi, to restore context.
15762 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15764 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
15765 Pop the pointer into %rdx after syscall and use %rdx, instead
15766 of %rsi, to restore context.
15768 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15770 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
15771 handlers after setjmp.
15772 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
15774 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
15775 <libc-pointer-arith.h>.
15776 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
15777 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
15778 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
15779 _JUMP_BUF_SIGSET_BITS_PER_WORD.
15780 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
15781 * sysdeps/x86/__longjmp_cancel.S: New file.
15782 * sysdeps/x86/longjmp.c: Likewise.
15783 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
15785 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15787 * NEWS: Add ustat.h deprecation entry.
15788 * bits/ustat.h: Remove file.
15789 * misc/sys/ustat.h: Likewise.
15790 * misc/ustat.h: Likewise.
15791 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
15792 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
15793 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
15794 compatibility mode.
15795 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
15796 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
15797 generic Linux implementation.
15799 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15801 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
15802 * math/w_expl_compat.c: Likewise.
15803 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
15805 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15807 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15809 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15811 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
15812 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
15813 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
15815 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
15816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15817 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15818 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
15819 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
15822 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15824 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
15826 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
15827 * math/w_asin_template.c: Likewise.
15828 * math/w_atanh_template.c: Likewise.
15830 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15832 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
15833 to powerpc/powerpc64/be for big-endian.
15834 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
15837 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
15838 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
15839 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
15840 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
15841 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15842 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
15843 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
15844 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
15845 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
15846 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15847 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
15848 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
15849 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
15850 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
15851 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
15852 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
15853 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
15854 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
15855 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
15856 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
15857 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
15858 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15859 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
15860 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
15861 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
15862 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15863 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
15864 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
15865 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
15866 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15867 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15868 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15870 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
15871 adjusted to imply powerpc64 and older processors on powerpc64/be.
15872 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
15873 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
15874 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
15875 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
15876 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
15877 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
15878 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
15879 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
15880 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
15881 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
15882 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
15883 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
15884 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
15885 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
15886 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
15887 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
15888 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
15889 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15890 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15891 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15892 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15893 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15894 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15895 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15896 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15897 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15898 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15899 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15900 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15901 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15902 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15904 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15905 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15906 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15907 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15909 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15910 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15911 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15912 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15914 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15915 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15916 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15917 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15918 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15919 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15920 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15921 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15922 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15923 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15924 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15926 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15927 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15928 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15929 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15930 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15931 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15932 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15933 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15934 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15935 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15936 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15938 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15939 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15940 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15941 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15942 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15943 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15944 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15945 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15946 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15947 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15948 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15949 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15951 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15952 and adjusted to imply olders processors.
15953 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15954 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15955 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15956 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15957 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15958 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15959 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15960 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15961 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15962 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15963 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15965 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15967 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15968 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15982 powerpc64 and adjusted.
15983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15988 2018-04-27 Joseph Myers <joseph@codesourcery.com>
15990 * sysdeps/tile: Remove.
15991 * sysdeps/unix/sysv/linux/tile: Likewise.
15992 * README (tilegx-*-linux-gnu): Remove from list of supported
15994 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15995 contribution of support for generic Linux kernel syscall
15997 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15998 tilegx configurations.
15999 (Config.install_linux_headers): Do not handle tile.
16000 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
16002 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
16003 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
16004 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16005 conditional undefine and redefine.
16006 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
16008 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16009 conditional undefine and redefine.
16011 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
16013 * signal/tst-sigaction.c: New file to test BZ #23069.
16014 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
16016 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16019 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
16020 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
16021 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
16022 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16024 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16026 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
16027 _DIRENT_MATCHES_DIRENT64 is not defined.
16028 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
16029 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
16031 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
16032 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
16034 2018-04-25 Joseph Myers <joseph@codesourcery.com>
16036 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
16037 version to GCC 8 branch.
16039 2018-04-24 Joseph Myers <joseph@codesourcery.com>
16041 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
16042 (check_no_hidden): Use type of original function when declaring
16045 * sysdeps/unix/sysv/linux/sys/ptrace.h
16046 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
16047 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
16048 (struct __ptrace_seccomp_metadata): New type.
16049 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16050 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16051 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
16052 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16053 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
16054 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16055 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16056 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16057 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16058 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16059 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16060 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16061 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
16062 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16063 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
16064 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16066 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16068 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
16070 * dirent/versionsort.c (versionsort): Likewise.
16071 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
16072 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
16073 * dirent/versionsort64.c (versionsort64): Likewise.
16074 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
16075 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
16076 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
16077 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
16078 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
16079 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
16080 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
16081 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
16082 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
16083 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
16084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
16085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
16086 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
16087 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
16089 2018-04-23 Joseph Myers <joseph@codesourcery.com>
16091 * elf/elf.h (NT_PPC_PKEY): New macro.
16093 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
16096 * localedata/locales/hr_HR: fix thousands_sep and
16099 2018-04-20 Joseph Myers <joseph@codesourcery.com>
16101 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
16102 (XTABS): Define to TAB3.
16104 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16106 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16108 * dirent/scandir-tail-common.c: New file.
16109 * dirent/scandir-tail.c: Use scandir-tail-common.c.
16110 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
16111 * dirent/scandir.c: Use scandir-tail-common.c.
16112 * dirent/scandirat.c: Likewise.
16113 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
16114 * dirent/scandir64.c (scandir64): Always build and alias to scandir
16115 if _DIRENT_MATCHES_DIRENT64 is defined.
16116 * dirent/scandirat64.c (scandirat64): Likewise.
16117 * include/dirent.h (__scandir_tail): Only define iff
16118 _DIRENT_MATCHES_DIRENT64 is not defined.
16119 (__scandir64_tail): Define regardless.
16120 (__scandirat, scandirat64): Remove libc_hidden_proto.
16121 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
16122 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
16123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
16124 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
16125 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16126 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
16127 * sysdeps/unix/sysv/linux/scandir64.c: New file.
16129 2018-04-20 Joseph Myers <joseph@codesourcery.com>
16131 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
16133 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16135 (_dl_aarch64_cap_flags): Add asimdfhm.
16137 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
16139 * sysdeps/nios2/libm-test-ulps: Update.
16141 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16143 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
16144 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
16146 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
16148 (_DIRENT_MATCHES_DIRENT64): Undef
16149 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
16150 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
16151 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
16152 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
16153 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
16154 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
16155 use getdents64 syscalls as base.
16156 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
16157 symbol if required.
16158 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
16159 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
16160 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
16161 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
16162 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
16163 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
16164 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
16165 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
16166 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16167 (__get_clockfreq_via_proc_openprom): Use __getdents64.
16168 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
16170 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16172 * scripts/test_printers_common.py (init_test): Disable lock elision.
16174 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16176 * math/test-tgmath.c (count_double, count_float,
16177 count_ldouble, count_cdouble, count_cfloat,
16178 count_cldouble): Use volatile int.
16180 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16182 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
16183 (conformtest-xfail-conds): Add i386-gnu.
16184 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
16186 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
16187 ipc_perm.cuid, ipc_perm.cgid): Likewise.
16188 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
16189 msqid_ds.msg_lrpid): Likewise.
16190 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
16192 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
16193 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
16194 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
16195 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
16197 (struct statvfs64): Likewise.
16198 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
16200 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
16201 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
16202 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
16203 instead of wait_queue.
16204 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
16205 instead of vm_area_struct.
16206 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
16207 struct sched_param definition to it.
16208 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16209 * bits/types/struct_sched_param.h: New file.
16210 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
16211 <bits/types/struct_sched_param.h> instead of <sched.h>.
16212 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
16213 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
16214 generic version but include <bits/pthreadtypes.h> to make struct
16215 sigevent's sigev_notify_attributes field a pthread_attr_t*.
16216 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
16218 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
16219 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
16220 [__USE_XOPEN] (OFDEL): New macro.
16221 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
16222 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
16223 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
16225 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
16226 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
16227 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
16229 * sysdeps/i386/sys/ucontext.h: Likewise.
16230 * sysdeps/m68k/sys/ucontext.h: Likewise.
16231 * sysdeps/mips/sys/ucontext.h: Likewise.
16232 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
16233 * sysdeps/mach/hurd/i386/Makefile
16234 (test-xfail-POSIX/fcntl.h/conform): Add.
16235 (test-xfail-POSIX/signal.h/conform): Add.
16236 (test-xfail-POSIX/semaphore.h/conform): Add.
16237 (test-xfail-POSIX/regex.h/conform): Add.
16238 (test-xfail-POSIX/aio.h/conform): Add.
16239 (test-xfail-POSIX/mqueue.h/conform): Add.
16240 (test-xfail-POSIX/sys/types.h/conform): Add.
16241 (test-xfail-UNIX98/fcntl.h/conform): Add.
16242 (test-xfail-UNIX98/netdb.h/conform): Add.
16243 (test-xfail-UNIX98/signal.h/conform): Add.
16244 (test-xfail-UNIX98/semaphore.h/conform): Add.
16245 (test-xfail-UNIX98/regex.h/conform): Add.
16246 (test-xfail-UNIX98/aio.h/conform): Add.
16247 (test-xfail-UNIX98/ftw.h/conform): Add.
16248 (test-xfail-UNIX98/mqueue.h/conform): Add.
16249 (test-xfail-UNIX98/netinet/in.h/conform): Add.
16250 (test-xfail-UNIX98/sys/wait.h/conform): Add.
16251 (test-xfail-UNIX98/sys/sem.h/conform): Add.
16252 (test-xfail-UNIX98/sys/uio.h/conform): Add.
16253 (test-xfail-UNIX98/sys/socket.h/conform): Add.
16254 (test-xfail-UNIX98/sys/types.h/conform): Add.
16255 (test-xfail-UNIX98/stdlib.h/conform): Add.
16256 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
16257 (test-xfail-POSIX2008/fcntl.h/conform): Add.
16258 (test-xfail-POSIX2008/netdb.h/conform): Add.
16259 (test-xfail-POSIX2008/signal.h/conform): Add.
16260 (test-xfail-POSIX2008/semaphore.h/conform): Add.
16261 (test-xfail-POSIX2008/regex.h/conform): Add.
16262 (test-xfail-POSIX2008/aio.h/conform): Add.
16263 (test-xfail-POSIX2008/mqueue.h/conform): Add.
16264 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
16265 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
16266 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
16267 (test-xfail-POSIX2008/sys/types.h/conform): Add.
16268 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
16269 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
16270 (test-xfail-XOPEN2K/netdb.h/conform): Add.
16271 (test-xfail-XOPEN2K/signal.h/conform): Add.
16272 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
16273 (test-xfail-XOPEN2K/regex.h/conform): Add.
16274 (test-xfail-XOPEN2K/aio.h/conform): Add.
16275 (test-xfail-XOPEN2K/ftw.h/conform): Add.
16276 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
16277 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
16278 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
16279 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
16280 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
16281 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
16282 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
16283 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
16284 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
16285 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
16286 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
16287 (test-xfail-XOPEN2K8/signal.h/conform): Add.
16288 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
16289 (test-xfail-XOPEN2K8/regex.h/conform): Add.
16290 (test-xfail-XOPEN2K8/aio.h/conform): Add.
16291 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
16292 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
16293 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
16294 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
16295 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
16296 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
16297 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
16298 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
16299 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
16300 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
16301 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
16303 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
16304 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
16306 2018-04-18 Joseph Myers <joseph@codesourcery.com>
16308 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16309 --enable-obsolete for powerpc-linux-gnuspe.
16311 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16313 * conform/data/sys/un.h-data: Allow sun_ prefix.
16314 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
16316 * sysdeps/mach/include/mach.h: Likewise.
16317 * sysdeps/mach/include/mach/mig_support.h: Likewise.
16318 * sysdeps/mach/include/mach_error.h: Likewise.
16320 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16322 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
16323 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
16324 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
16325 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
16327 2018-04-16 Andreas Schwab <schwab@suse.de>
16330 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
16332 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16334 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
16335 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
16337 2018-04-12 DJ Delorie <dj@redhat.com>
16339 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16342 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16344 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
16345 (struct kernel_sigaction): Use the same definition on 31bit as is used
16348 2018-04-09 Florian Weimer <fweimer@redhat.com>
16351 * resolv/res_send.c (send_dg): Use designated initializers instead
16352 of assignment to zero-initialize other fields of struct mmsghdr.
16354 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16356 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
16357 __READDIR_ALIAS): Undefine after usage.
16358 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
16359 __READDIR_R_ALIAS): Likewise.
16360 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
16361 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
16362 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
16363 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
16364 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
16365 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
16366 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16367 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16368 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
16369 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
16370 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
16371 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
16372 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16373 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
16374 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
16375 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
16376 * sysdeps/unix/sysv/linux/readdir.c: New file.
16377 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
16378 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
16379 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
16381 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16383 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
16385 * manual/charset.texi (Converting a Character): Fix typo.
16387 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16391 * sysdeps/arm/libm-test-ulps: Update.
16393 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
16394 as base implementation.
16395 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16396 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16397 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16398 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16399 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16400 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
16401 remove unrequired definitions and update comments.
16402 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
16403 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
16404 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
16405 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
16406 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
16407 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
16408 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
16409 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
16410 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
16411 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
16412 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
16413 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16414 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16415 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
16416 and RESET_SA_RESTORER hooks.
16418 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
16420 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16422 2018-04-05 Florian Weimer <fweimer@redhat.com>
16424 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
16425 integer overflow, memory leak on error, and indeterminate errno
16426 value. Add a null wide character to terminate the result string.
16427 * manual/charset.texi (Converting a Character): Mention embedded
16428 null bytes in the mbrtowc input string. Explain what happens in
16429 the -2 result case. Do not claim that mbrtowc is simple or
16430 obvious to use. Adjust the description of the code example. Use
16431 @code, not @var, for concrete variables.
16433 2018-04-05 Florian Weimer <fweimer@redhat.com>
16435 * manual/examples/mbstouwcs.c: New file.
16436 * manual/charset.texi (Converting a Character): Include it.
16438 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16440 * include/dirent.h (dirfd): Add hidden proto.
16441 * dirent/dirfd.c (dirfd): Add hidden def.
16442 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
16443 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
16445 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16447 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
16448 sin, cos and sincos to 1 ULP.
16450 2018-04-04 Maciej W. Rozycki <macro@mips.com>
16453 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
16455 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
16456 * elf/tst-absolute-sym.c: New file.
16457 * elf/tst-absolute-sym-lib.c: New file.
16458 * elf/tst-absolute-sym-lib.lds: New file.
16459 * elf/Makefile (tests): Add `tst-absolute-sym'.
16460 (modules-names): Add `tst-absolute-sym-lib'.
16461 (LDLIBS-tst-absolute-sym-lib.so): New variable.
16462 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
16463 ($(objpfx)tst-absolute-sym): New dependency.
16466 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
16468 (SYMBOL_ADDRESS): New macro.
16469 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
16470 SYMBOL_ADDRESS for symbol address calculation.
16471 * elf/dl-runtime.c (_dl_fixup): Likewise.
16472 (_dl_profile_fixup): Likewise.
16473 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
16474 * elf/rtld.c (dl_main): Likewise.
16475 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
16476 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
16477 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
16478 (elf_machine_rela): Likewise.
16479 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
16480 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
16481 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16482 (elf_machine_rela): Likewise.
16483 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16484 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
16485 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
16486 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16488 (elf_machine_reloc): Likewise.
16489 (elf_machine_got_rel): Likewise.
16490 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
16491 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
16492 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16494 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16496 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
16497 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16499 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16501 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16502 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16504 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16506 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
16507 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16509 2018-04-04 Zack Weinberg <zackw@panix.com>
16511 * sysdeps/generic/internal-signals.h: Include signal.h,
16512 sigsetops.h, and stdbool.h.
16513 (__libc_signal_block_all): Actually block all signals.
16514 (__libc_signal_block_app): Likewise.
16515 (__libc_signal_restore_set): Actually restore the signal mask.
16517 2018-04-04 Florian Weimer <fweimer@redhat.com>
16519 inet: Actually build and run tst-deadline.
16520 * inet/Makefile (tests-internal): Add tst-deadline and do not
16521 overwrite the variable.
16522 (tests-static-internal): Remove variable.
16524 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
16527 * bits/uio-ext.h (RWF_APPEND): New.
16528 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
16529 * manual/llio.texi: Document RWF_APPEND.
16530 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
16531 (RWF_SUPPORTED): Add RWF_APPEND.
16533 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16536 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
16537 check for internal nptl signals.
16538 * nptl/sigaction.c (__sigaction): Likewise.
16539 * signal/sigaddset.c (sigaddset): Likewise.
16540 * signal/sigdelset.c (sigdelset): Likewise.
16541 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16542 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
16544 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
16545 to filter out internal nptl signals.
16546 * signal/tst-sigset.c (do_test): Check ech signal indidually and
16547 also check realtime signals using standard macros.
16548 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
16549 __is_internal_signal, __libc_signal_block_all,
16550 __libc_signal_block_app, __libc_signal_restore_set): New functions.
16551 * sysdeps/nptl/sigfillset.c: Remove file.
16552 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
16553 Change return to bool.
16554 (__clear_internal_signals): Remove SIGTIMER clean since it is
16555 equal to SIGCANEL on Linux.
16556 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
16557 signal set was constructed using standard functions.
16559 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16561 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
16562 ifname is too long.
16563 * hurd/hurdsig.c (interrupted_reply_port_location): Use
16564 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
16565 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
16567 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
16568 * signal/sigaddset.c: Include <sigsetopts.h>.
16569 * signal/sigdelset.c: Likewise.
16571 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16573 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
16575 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
16576 logic as sin and cos.
16578 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16580 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
16581 inputs. Return correct sign.
16582 (do_sincos): Remove small input check before do_sin, let do_sin set
16587 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16589 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
16590 (do_cos_slow): Likewise.
16591 (do_sin_slow): Likewise.
16592 (reduce_and_compute): Likewise.
16597 (sloww1): Likewise.
16598 (sloww2): Likewise.
16600 (bslow1): Likewise.
16601 (bslow2): Likewise.
16602 (cslow2): Likewise.
16604 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16606 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
16607 (do_cos): Remove corp parameter and calculations.
16608 (do_sin): Likewise.
16609 (do_sincos): Remove cor variable.
16610 (__sin): Use do_sincos for huge inputs.
16612 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16613 (reduce_and_compute_sincos): Remove unused function.
16615 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16617 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
16618 reduce_sincos, improve accuracy to 136 bits.
16619 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
16620 (__sin): Use improved reduction and simplified do_sincos calculation.
16622 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16624 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16626 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
16627 (do_sincos_2): Likewise.
16628 (__sin): Remove middle range reduction case.
16630 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
16633 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16635 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
16636 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
16639 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
16641 2018-04-03 Joseph Myers <joseph@codesourcery.com>
16643 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16646 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16648 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
16649 Remove definitions.
16650 (opendir_oflags): Use O_DIRECTORY regardless.
16651 (__opendir, __opendirat): Remove need_isdir_precheck usage.
16652 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
16654 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16656 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
16657 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
16659 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
16660 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
16661 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
16662 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
16663 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
16664 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
16666 * htl/Makefile: Bump licence to LGPL 2.1+.
16667 * htl/alloca_cutoff.c: Likewise.
16668 * htl/cthreads-compat.c: Likewise.
16669 * htl/lockfile.c: Likewise.
16670 * htl/pt-alloc.c: Likewise.
16671 * htl/pt-cancel.c: Likewise.
16672 * htl/pt-cleanup.c: Likewise.
16673 * htl/pt-create.c: Likewise.
16674 * htl/pt-dealloc.c: Likewise.
16675 * htl/pt-detach.c: Likewise.
16676 * htl/pt-exit.c: Likewise.
16677 * htl/pt-getattr.c: Likewise.
16678 * htl/pt-initialize.c: Likewise.
16679 * htl/pt-internal.h: Likewise.
16680 * htl/pt-join.c: Likewise.
16681 * htl/pt-self.c: Likewise.
16682 * htl/pt-setcancelstate.c: Likewise.
16683 * htl/pt-setcanceltype.c: Likewise.
16684 * htl/pt-sigmask.c: Likewise.
16685 * htl/pt-spin-inlines.c: Likewise.
16686 * htl/pt-testcancel.c: Likewise.
16687 * htl/pt-yield.c: Likewise.
16688 * htl/tests/test-1.c: Likewise.
16689 * htl/tests/test-10.c: Likewise.
16690 * htl/tests/test-11.c: Likewise.
16691 * htl/tests/test-12.c: Likewise.
16692 * htl/tests/test-13.c: Likewise.
16693 * htl/tests/test-14.c: Likewise.
16694 * htl/tests/test-15.c: Likewise.
16695 * htl/tests/test-16.c: Likewise.
16696 * htl/tests/test-17.c: Likewise.
16697 * htl/tests/test-2.c: Likewise.
16698 * htl/tests/test-3.c: Likewise.
16699 * htl/tests/test-4.c: Likewise.
16700 * htl/tests/test-5.c: Likewise.
16701 * htl/tests/test-6.c: Likewise.
16702 * htl/tests/test-7.c: Likewise.
16703 * htl/tests/test-8.c: Likewise.
16704 * htl/tests/test-9.c: Likewise.
16705 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
16706 * sysdeps/htl/bits/cancelation.h: Likewise.
16707 * sysdeps/htl/bits/pthread-np.h: Likewise.
16708 * sysdeps/htl/bits/pthread.h: Likewise.
16709 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
16710 * sysdeps/htl/bits/semaphore.h: Likewise.
16711 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
16712 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
16713 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
16714 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
16715 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
16716 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
16717 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
16718 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
16719 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
16720 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
16721 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
16722 * sysdeps/htl/old_pt-atfork.c: Likewise.
16723 * sysdeps/htl/pt-atfork.c: Likewise.
16724 * sysdeps/htl/pt-attr-destroy.c: Likewise.
16725 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
16726 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
16727 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
16728 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
16729 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
16730 * sysdeps/htl/pt-attr-getscope.c: Likewise.
16731 * sysdeps/htl/pt-attr-getstack.c: Likewise.
16732 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
16733 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
16734 * sysdeps/htl/pt-attr-init.c: Likewise.
16735 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
16736 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
16737 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
16738 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
16739 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
16740 * sysdeps/htl/pt-attr-setscope.c: Likewise.
16741 * sysdeps/htl/pt-attr-setstack.c: Likewise.
16742 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
16743 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
16744 * sysdeps/htl/pt-attr.c: Likewise.
16745 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
16746 * sysdeps/htl/pt-barrier-init.c: Likewise.
16747 * sysdeps/htl/pt-barrier-wait.c: Likewise.
16748 * sysdeps/htl/pt-barrier.c: Likewise.
16749 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
16750 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
16751 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
16752 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
16753 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
16754 * sysdeps/htl/pt-cond-destroy.c: Likewise.
16755 * sysdeps/htl/pt-cond-init.c: Likewise.
16756 * sysdeps/htl/pt-cond-signal.c: Likewise.
16757 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
16758 * sysdeps/htl/pt-cond-wait.c: Likewise.
16759 * sysdeps/htl/pt-cond.c: Likewise.
16760 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
16761 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
16762 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
16763 * sysdeps/htl/pt-condattr-init.c: Likewise.
16764 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
16765 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
16766 * sysdeps/htl/pt-destroy-specific.c: Likewise.
16767 * sysdeps/htl/pt-equal.c: Likewise.
16768 * sysdeps/htl/pt-getconcurrency.c: Likewise.
16769 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
16770 * sysdeps/htl/pt-getschedparam.c: Likewise.
16771 * sysdeps/htl/pt-getspecific.c: Likewise.
16772 * sysdeps/htl/pt-init-specific.c: Likewise.
16773 * sysdeps/htl/pt-key-create.c: Likewise.
16774 * sysdeps/htl/pt-key-delete.c: Likewise.
16775 * sysdeps/htl/pt-key.h: Likewise.
16776 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
16777 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
16778 * sysdeps/htl/pt-mutex-init.c: Likewise.
16779 * sysdeps/htl/pt-mutex-lock.c: Likewise.
16780 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
16781 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
16782 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
16783 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
16784 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
16785 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
16786 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
16787 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
16788 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
16789 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
16790 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
16791 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
16792 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
16793 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
16794 * sysdeps/htl/pt-mutexattr.c: Likewise.
16795 * sysdeps/htl/pt-once.c: Likewise.
16796 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
16797 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
16798 * sysdeps/htl/pt-rwlock-init.c: Likewise.
16799 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
16800 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
16801 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
16802 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
16803 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
16804 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
16805 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
16806 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
16807 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
16808 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
16809 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
16810 * sysdeps/htl/pt-setconcurrency.c: Likewise.
16811 * sysdeps/htl/pt-setschedparam.c: Likewise.
16812 * sysdeps/htl/pt-setschedprio.c: Likewise.
16813 * sysdeps/htl/pt-setspecific.c: Likewise.
16814 * sysdeps/htl/pt-spin.c: Likewise.
16815 * sysdeps/htl/pt-startup.c: Likewise.
16816 * sysdeps/htl/pthread.h: Likewise.
16817 * sysdeps/htl/sem-close.c: Likewise.
16818 * sysdeps/htl/sem-destroy.c: Likewise.
16819 * sysdeps/htl/sem-getvalue.c: Likewise.
16820 * sysdeps/htl/sem-init.c: Likewise.
16821 * sysdeps/htl/sem-open.c: Likewise.
16822 * sysdeps/htl/sem-post.c: Likewise.
16823 * sysdeps/htl/sem-timedwait.c: Likewise.
16824 * sysdeps/htl/sem-trywait.c: Likewise.
16825 * sysdeps/htl/sem-unlink.c: Likewise.
16826 * sysdeps/htl/sem-wait.c: Likewise.
16827 * sysdeps/hurd/htl/pt-kill.c: Likewise.
16828 * sysdeps/i386/htl/pt-machdep.h: Likewise.
16829 * sysdeps/mach/htl/pt-block.c: Likewise.
16830 * sysdeps/mach/htl/pt-spin.c: Likewise.
16831 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
16832 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
16833 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
16834 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
16835 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
16836 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
16837 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
16838 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
16839 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
16840 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
16841 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
16842 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
16843 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
16844 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
16845 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
16846 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
16847 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
16848 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
16849 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
16850 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
16851 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
16852 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
16853 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
16854 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
16855 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
16856 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
16857 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
16858 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
16859 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
16860 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
16861 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
16862 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
16863 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
16864 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
16865 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
16866 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
16867 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
16868 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
16869 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
16870 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
16871 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
16872 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
16873 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
16875 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
16876 * README: Remove the mention of out-of-tree patches needed for
16879 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
16880 (UTIME_NOW, UTIME_OMIT): Define macros.
16882 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
16883 instead of pthread_detach.
16884 (__cthread_fork): Call __pthread_create instead of pthread_create.
16885 (__cthread_keycreate): Call __pthread_key_create instead of
16886 pthread_key_create.
16887 (__cthread_getspecific): Call __pthread_getspecific instead of
16888 pthread_getspecific.
16889 (__cthread_setspecific): Call __pthread_setspecific instead of
16890 pthread_setspecific.
16891 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16892 __pthread_mutex_unlock instead of pthread_mutex_lock and
16893 pthread_mutex_unlock.
16894 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16895 ___pthread_get_cleanup_stack.
16896 (__pthread_get_cleanup_stack): New strong alias.
16897 * htl/pt-create.c: Include <pthreadP.h>.
16898 (entry_point): Call __pthread_exit instead of pthread_exit.
16899 (pthread_create): Rename to __pthread_create.
16900 (pthread_create): New strong alias.
16901 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16902 (pthread_detach): New strong alias.
16903 (__pthread_detach): Call __pthread_cond_broadcast instead of
16904 pthread_cond_broadcast.
16905 * htl/pt-exit.c: Include <pthreadP.h>.
16906 (__pthread_exit): Call __pthread_setcancelstate and
16907 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16908 __pthread_get_cleanup_stack.
16909 * htl/pt-testcancel.c: Include <pthreadP.h>.
16910 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16911 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16912 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16913 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16914 pthread_attr_getstacksize.
16915 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16916 Rename to __pthread_attr_getstackaddr.
16917 (pthread_attr_getstackaddr): New strong alias.
16918 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16919 Rename to __pthread_attr_getstacksize.
16920 (pthread_attr_getstacksize): New strong alias.
16921 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16922 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16923 (pthread_attr_setstack): New strong alias.
16924 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16925 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16926 pthread_attr_getstacksize, pthread_attr_setstacksize and
16927 pthread_attr_setstackaddr.
16928 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16929 Rename to __pthread_attr_setstackaddr.
16930 (pthread_attr_setstackaddr): New strong alias.
16931 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16932 Rename to __pthread_attr_setstacksize.
16933 (pthread_attr_setstacksize): New strong alias.
16934 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16935 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16937 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16938 (__pthread_key_create): New hidden def.
16939 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16940 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16941 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16942 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16943 __pthread_setspecific, __pthread_setcancelstate,
16944 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16945 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16946 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16948 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16949 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16950 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16951 (pthread_attr_setstackaddr): New strong alias.
16952 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16953 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16954 (pthread_attr_setstacksize): New strong alias.
16955 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16956 (call_exit): Call __pthread_exit instead of pthread_exit.
16957 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16958 (_pthread_mutex_init): New hidden definition.
16959 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16960 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16961 instead of pthread_attr_init and pthread_attr_setstack.
16963 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16964 __vm_deallocate instead of vm_allocate and vm_deallocate.
16965 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16967 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16969 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16971 * hurd/siginfo.c: Include <libioP.h>.
16972 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16973 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16975 * mach/devstream.c: Include <libioP.h>.
16976 (dealloc_ref): Call __mach_port_deallocate instead of
16977 mach_port_deallocate.
16978 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16979 Call __mach_port_deallocate instead of mach_port_deallocate.
16980 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16982 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16984 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16985 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16986 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16988 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16990 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16991 instead of sysconf.
16992 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16993 __clock_gettime instead of clock_gettime.
16994 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16995 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16996 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16997 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16998 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
17000 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
17001 __clock_gettime and __nanosleep instead of clock_gettime and
17003 * hurd/catch-signal.c (hurd_catch_signal): Rename to
17004 __hurd_catch_signal.
17005 (hurd_catch_signal): New strong alias.
17006 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
17007 __hurd_catch_signal instead of hurd_catch_signal.
17008 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
17009 * hurd/hurdexec.c (_hurd_init): Add hidden def.
17010 * hurd/hurdinit.c (_hurd_init): Add hidden def.
17011 * hurd/hurdsig.c: Include <mach/mig_support.h>.
17012 (_hurd_thread_sigstate): Add hidden def.
17013 (_hurd_internal_post_signal): Use __mutex_unlock instead of
17015 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
17016 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
17017 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
17018 __hurd_file_name_path_lookup.
17019 (hurd_file_name_path_lookup): New strong alias.
17020 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
17021 hurd_file_name_path_lookup.
17022 * mach/errstring.c (mach_error_type): Add hidden def.
17023 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
17024 * mach/mutex-init.c (__mutex_init): Add hidden def.
17025 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
17026 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
17027 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
17028 * sysdeps/mach/hurd/getcwd.c
17029 (_hurd_canonicalize_directory_name_internal): Rename to
17030 __hurd_canonicalize_directory_name_internal.
17031 (_hurd_canonicalize_directory_name_internal): New strong alias.
17032 (__canonicalize_directory_name_internal, __getcwd): Call
17033 __hurd_canonicalize_directory_name_internal instead of
17034 _hurd_canonicalize_directory_name_internal.
17035 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
17036 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
17038 * sysdeps/hurd/include/hurd.h: New file.
17039 * sysdeps/hurd/include/hurd/fd.h: New file.
17040 * sysdeps/hurd/include/hurd/signal.h: New file.
17041 * sysdeps/mach/include/lock-intern.h: New file.
17042 * sysdeps/mach/include/mach.h: New file.
17043 * sysdeps/mach/include/mach/mig_support.h: New file.
17044 * sysdeps/mach/include/mach_error.h: New file.
17045 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
17047 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
17048 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
17049 _HEADER_H_HIDDEN_DEF macro.
17050 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
17051 _hurd_fd_error_signal): Add hidden prototype.
17052 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
17054 * libio/iolibio.h (_IO_puts): New hidden prototype.
17055 * libio/ioputs.c (_IO_puts): New hidden def.
17056 * sysdeps/mach/hurd/localplt.data: New file.
17058 2018-04-02 Agustina Arzille <avarzille@riseup.net>
17059 Amos Jeffries <squid3@treenet.co.nz>
17060 David Michael <fedora.dm0@gmail.com>
17061 Marco Gerards <marco@gnu.org>
17062 Marcus Brinkmann <marcus@gnu.org>
17063 Neal H. Walfield <neal@gnu.org>
17064 Pino Toscano <toscano.pino@tiscali.it>
17065 Richard Braun <rbraun@sceen.net>
17066 Roland McGrath <roland@gnu.org>
17067 Samuel Thibault <samuel.thibault@ens-lyon.org>
17068 Thomas DiModica <ricinwich@yahoo.com>
17069 Thomas Schwinge <tschwinge@gnu.org>
17071 * htl: New directory.
17072 * sysdeps/htl: New directory.
17073 * sysdeps/hurd/htl: New directory.
17074 * sysdeps/i386/htl: New directory.
17075 * sysdeps/mach/htl: New directory.
17076 * sysdeps/mach/hurd/htl: New directory.
17077 * sysdeps/mach/hurd/i386/htl: New directory.
17078 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
17079 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
17080 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
17082 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17084 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
17085 signals in thread created for runing timers.
17087 2018-04-01 Florian Weimer <fweimer@redhat.com>
17089 * support/support_format_addrinfo.c (support_format_addrinfo):
17090 Include unknown error number in formatted result.
17092 2018-03-29 Florian Weimer <fweimer@redhat.com>
17094 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
17097 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17099 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
17100 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
17101 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17102 (__ASSUME_CLONE_BACKWARDS): Define.
17104 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
17107 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
17108 early when linux sentinel value is set.
17110 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17112 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
17114 2018-03-27 Andreas Schwab <schwab@suse.de>
17117 * resolv/res_send.c (__res_context_send): Return ENOMEM if
17118 allocation of private copy of nsaddr_list fails.
17120 2018-03-26 Joseph Myers <joseph@codesourcery.com>
17123 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
17124 * sysdeps/unix/sysv/linux/umount.c: ... here.
17125 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
17126 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
17127 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
17128 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
17129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
17130 * sysdeps/unix/sysv/linux/umount.S: Likewise.
17131 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
17133 2018-03-26 Andreas Schwab <schwab@suse.de>
17135 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
17136 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
17137 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
17138 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
17139 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
17140 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
17141 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
17142 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
17143 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
17144 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
17145 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
17146 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
17147 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
17148 (R_RISCV_NUM): Define.
17150 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17152 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
17153 TLS declaration of errno.
17154 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
17156 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
17157 (ARCH_SETUP_TLS): Likewise.
17158 * sysdeps/mach/hurd/libc-start.h: New file copied from
17159 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
17160 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
17161 instead of __libc_setup_tls.
17162 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
17163 __libc_setup_tls before initializing libpthread and running _hurd_init
17164 which starts the signal thread.
17165 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
17167 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17169 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
17172 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
17173 after it is defined.
17175 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
17176 Max Horn <max@quendi.de>
17180 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
17182 * string/test-memmove.c (do_test2): New testcase.
17184 2018-03-22 Joseph Myers <joseph@codesourcery.com>
17186 * sysdeps/generic/frame.h: Remove file.
17187 * sysdeps/arm/frame.h: Likewise.
17188 * sysdeps/hppa/frame.h: Likewise.
17189 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
17191 (GET_FRAME): Likewise.
17192 (GET_STACK): Likewise.
17193 (CALL_SIGHANDLER): Likewise.
17194 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
17196 (GET_FRAME): Likewise.
17197 (GET_STACK): Likewise.
17198 (CALL_SIGHANDLER): Likewise.
17199 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
17200 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17201 (GET_FRAME): Likewise.
17202 (GET_STACK): Likewise.
17203 (CALL_SIGHANDLER): Likewise.
17204 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
17205 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17206 (GET_FRAME): Likewise.
17207 (GET_STACK): Likewise.
17208 (ADVANCE_STACK_FRAME): Likewise.
17209 (CALL_SIGHANDLER): Likewise.
17210 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
17211 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17212 (GET_FRAME): Likewise.
17213 (GET_STACK): Likewise.
17214 (CALL_SIGHANDLER): Likewise.
17215 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
17216 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17217 (GET_FRAME): Likewise.
17218 (GET_STACK): Likewise.
17219 (CALL_SIGHANDLER): Likewise.
17220 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
17221 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17222 (GET_FRAME): Likewise.
17223 (GET_STACK): Likewise.
17224 (CALL_SIGHANDLER): Likewise.
17225 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
17226 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17227 (GET_FRAME): Likewise.
17228 (GET_STACK): Likewise.
17229 (CALL_SIGHANDLER): Likewise.
17230 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
17231 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17232 (GET_FRAME): Likewise.
17233 (GET_STACK): Likewise.
17234 (CALL_SIGHANDLER): Likewise.
17235 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
17236 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17237 (GET_FRAME): Likewise.
17238 (GET_STACK): Likewise.
17239 (CALL_SIGHANDLER): Likewise.
17240 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
17241 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17242 (GET_FRAME): Likewise.
17243 (GET_STACK): Likewise.
17244 (CALL_SIGHANDLER): Likewise.
17245 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
17246 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17247 (GET_FRAME): Likewise.
17248 (GET_STACK): Likewise.
17249 (CALL_SIGHANDLER): Likewise.
17250 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
17251 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17252 (GET_FRAME): Likewise.
17253 (GET_STACK): Likewise.
17254 (CALL_SIGHANDLER): Likewise.
17255 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
17256 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17257 (FIRST_FRAME_POINTER): Likewise.
17258 (ADVANCE_STACK_FRAME): Likewise.
17259 (GET_STACK): Likewise.
17260 (GET_FRAME): Likewise.
17261 (CALL_SIGHANDLER): Likewise.
17262 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
17263 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17264 (ADVANCE_STACK_FRAME): Likewise.
17265 (GET_STACK): Likewise.
17266 (GET_FRAME): Likewise.
17267 (CALL_SIGHANDLER): Likewise.
17268 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
17269 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17270 (GET_FRAME): Likewise.
17271 (GET_STACK): Likewise.
17272 (CALL_SIGHANDLER): Likewise.
17273 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
17274 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17275 (GET_FRAME): Likewise.
17276 (GET_STACK): Likewise.
17277 (CALL_SIGHANDLER): Likewise.
17279 2018-03-21 Joseph Myers <joseph@codesourcery.com>
17281 * sysdeps/x86_64/backtrace.c: Move to ....
17282 * debug/backtrace.c: ... here.
17283 * sysdeps/aarch64/backtrace.c: Remove file.
17284 * sysdeps/alpha/backtrace.c: Likewise.
17285 * sysdeps/hppa/backtrace.c: Likewise.
17286 * sysdeps/ia64/backtrace.c: Likewise.
17287 * sysdeps/mips/backtrace.c: Likewise.
17288 * sysdeps/nios2/backtrace.c: Likewise.
17289 * sysdeps/riscv/backtrace.c: Likewise.
17290 * sysdeps/sh/backtrace.c: Likewise.
17291 * sysdeps/tile/backtrace.c: Likewise.
17293 2018-03-20 Joseph Myers <joseph@codesourcery.com>
17296 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
17299 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
17302 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
17303 possibly overflowing computations.
17305 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
17307 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
17308 values from Linux-specific section now that it is in the GNU section.
17309 * sysdeps/gnu/errlist.c: Regenerate.
17311 2018-03-20 Joseph Myers <joseph@codesourcery.com>
17313 * math/Makefile (libm-narrow-fns): Add sub.
17314 (libm-test-funcs-narrow): Likewise.
17315 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
17316 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
17317 * math/gen-auto-libm-tests.c (test_functions): Add sub.
17318 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
17319 (NARROW_SUB_ROUND_TO_ODD): Likewise.
17320 (NARROW_SUB_TRIVIAL): Likewise.
17321 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
17323 (__dsubl): Likewise.
17324 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
17326 (CFLAGS-nldbl-dsub.c): New variable.
17327 (CFLAGS-nldbl-fsub.c): Likewise.
17328 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17330 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
17332 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
17333 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
17334 * math/auto-libm-test-in: Add tests of sub.
17335 * math/auto-libm-test-out-narrow-sub: New generated file.
17336 * math/libm-test-narrow-sub.inc: New file.
17337 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17338 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
17339 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
17340 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
17341 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
17342 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
17343 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
17344 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
17345 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
17346 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
17347 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
17348 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
17349 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
17350 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
17351 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
17352 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
17353 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
17354 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
17355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17356 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17357 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17358 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17359 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17360 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17361 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17362 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17363 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17364 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17365 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17366 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17367 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17368 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17373 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17374 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17375 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17376 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17377 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17378 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17379 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17380 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17381 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17382 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17384 2018-03-19 Joseph Myers <joseph@codesourcery.com>
17387 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
17389 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
17391 * benchtests/bench-timing.h (attribute_hidden): Undefine.
17393 2018-03-18 Richard Braun <rbraun@sceen.net>
17395 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
17398 2018-03-18 Agustina Arzille <avarzille@riseup.net>
17400 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
17401 (__libc_cleanup_fct): Define function.
17402 (__libc_cleanup_region_start, __libc_cleanup_region_end,
17403 __libc_cleanup_end): Rewrite implementation using
17404 __attribute__ ((__cleanup__)).
17405 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
17406 * hurd/Makefile (routines): Add hurdlock.
17407 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
17409 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
17410 * hurd/hurdpid.c: Include <lowlevellock.h>
17411 (_S_msg_proc_newids): Use lll_wait to synchronize.
17412 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
17413 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
17414 * mach/Makefile (lock-headers): Remove machine-lock.h.
17415 * mach/lock-intern.h: Include <lowlevellock.h> instead of
17417 (__spin_lock_t): New type.
17418 (__SPIN_LOCK_INITIALIZER): New macro.
17419 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
17420 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
17421 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
17422 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
17423 (__mutex_init): Initialize with lll.
17424 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
17425 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
17427 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17428 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
17429 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
17430 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
17431 (__setpgid): Use lll for synchronization.
17432 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
17433 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
17434 instead of <cthreads.h>.
17435 (_IO_lock_inexpensive): New macro
17436 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
17437 (__libc_lock_self0): New declaration.
17438 (__libc_lock_owner_self): New macro.
17439 (__libc_key_t): Remove type.
17440 (_LIBC_LOCK_INITIALIZER): New macro.
17441 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
17442 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
17443 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
17444 __libc_lock_define_initialized_recursive,
17445 __rtld_lock_define_initialized_recursive,
17446 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
17447 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
17448 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
17449 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
17450 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
17451 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
17452 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
17454 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
17455 * hurd/hurdlock.c: New file.
17456 * hurd/hurdlock.h: New file.
17457 * mach/lowlevellock.h: New file
17459 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17461 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
17462 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
17463 when opening a symlink with O_NOFOLLOW.
17464 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
17465 path when flags contains O_NOFOLLOW.
17466 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
17467 if flags contains O_DIRECTORY and the result is a directory.
17468 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
17469 oneself when the pointer given in D is nul (as set by ext2fs).
17470 * sysdeps/mach/hurd/mlockall.c: New file.
17471 * sysdeps/mach/hurd/munlockall.c: New file.
17473 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17475 * hurd/hurdsig.c: Include <pthread.h>.
17476 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
17477 get the signal thread stack layout.
17478 * hurd/Makefile (headers): Remove threadvar.h.
17479 (inline-headers): Remove threadvar.h.
17480 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
17481 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
17482 __hurd_threadvar_max, __hurd_errno_location.
17483 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
17484 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
17485 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
17486 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
17487 unless TLS is not initialized yet, in which case we do not need a
17488 critical section yet anyway.
17489 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
17491 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
17493 (__hurd_threadvar_index): Remove enum.
17494 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
17495 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
17497 (__hurd_reply_port0): New variable declaration.
17498 (__hurd_local_reply_port): New macro.
17499 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
17500 (interrupted_reply_port_location): Add thread_t parameter. Use it
17501 with THREAD_TCB to access thread-local variables.
17502 (_hurdsig_abort_rpcs): Pass ss->thread to
17503 interrupted_reply_port_location.
17504 (_hurd_internal_post_signal): Likewise.
17505 (_hurdsig_init): Use presence of cthread_fork instead of
17506 __hurd_threadvar_stack_mask to start signal thread by hand.
17507 Remove signal thread threadvar initialization.
17508 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
17509 * hurd/sigunwind.c: Include <hurd/threadvar.h>
17510 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
17512 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
17514 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
17515 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
17516 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
17517 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
17518 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
17519 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
17520 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
17522 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
17523 <hurd/threadvar.h>.
17524 [IS_IN(rtld)] (rtld_errno): New variable.
17525 [IS_IN(rtld)] (__errno_location): New weak function.
17526 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
17527 * sysdeps/mach/hurd/errno.c: Remove file.
17528 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
17529 (__fork): Remove THREADVAR_SPACE macro and its use.
17530 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
17532 (init): Do not initialize threadvar.
17533 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
17535 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
17536 __hurd_local_reply_port instead of threadvar.
17537 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
17538 _hurd_sigstate fields.
17539 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
17540 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
17541 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
17542 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
17543 instead of threadvar.
17544 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
17545 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
17546 (use_threadvar, global_reply_port): Remove variables.
17547 (__hurd_reply_port0): New variable.
17548 (__mig_get_reply_port): Use __hurd_local_reply_port and
17549 __hurd_reply_port0 instead of threadvar.
17550 (__mig_dealloc_reply_port): Likewise.
17551 (__mig_init): Do not initialize threadvar.
17552 * sysdeps/mach/hurd/profil.c: Fix comment.
17553 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
17554 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
17555 cthread_keycreate, cthread_getspecific, cthread_setspecific to
17556 __cthread_fork, __cthread_detach, __pthread_getattr_np,
17557 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
17558 __cthread_setspecific.
17559 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
17560 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
17561 __cthread_t instead of cthread_fork, cthread_detach,
17562 pthread_getattr_np, pthread_attr_getstack.
17563 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
17564 __cthread_keycreate.
17565 (cthread_getspecific): Rename to __cthread_getspecific.
17566 (cthread_setspecific): Rename to __cthread_setspecific.
17567 (__libc_getspecific): Use __cthread_getspecific instead of
17568 cthread_getspecific.
17569 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
17570 __cthread_keycreate instead of cthread_keycreate.
17571 (__libc_setspecific): Use __cthread_setspecific instead of
17572 cthread_setspecific.
17573 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
17575 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
17576 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
17577 testing whether it is defined.
17579 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17581 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
17583 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
17584 * sysdeps/mach/i386/thread_state.h
17585 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
17587 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
17589 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
17591 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
17592 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
17594 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
17596 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
17597 descriptor instead of creating a new one.
17598 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
17600 * mach/setup-thread.c: Include <ldsodefs.h>.
17601 (__mach_setup_thread): Call _dl_allocate_tls, pass
17602 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
17603 MACHINE_THREAD_STATE_FLAVOR, before getting
17604 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
17605 MACHINE_THREAD_STATE_FLAVOR with the result.
17606 * hurd/hurdfault.c (_hurdsig_fault_init): Call
17607 MACHINE_THREAD_STATE_FIX_NEW.
17608 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
17609 too. Add original thread parameter.
17611 2018-03-16 Joseph Myers <joseph@codesourcery.com>
17613 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
17614 Remove inline function.
17616 * sysdeps/i386/fpu/libm-test-ulps: Update.
17617 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17619 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
17621 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
17624 2018-03-15 Joseph Myers <joseph@codesourcery.com>
17626 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
17627 (__sincos_code): Remove define and undefine.
17628 [__FAST_MATH__] (__sincos): Remove inline function.
17629 [__FAST_MATH__] (__sincosf): Remove inline function.
17630 [__FAST_MATH__] (__sincosl): Remove inline function.
17631 (__atan2l): Remove inline functions.
17632 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
17633 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
17635 (floor): Remove inline function.
17637 [__FAST_MATH__] (__ldexp_code): Remove macro.
17638 [__FAST_MATH__] (ldexp): Remove inline function.
17639 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
17640 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
17641 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
17642 [__USE_ISOC99] (__lrint_code): Remove macro.
17643 [__USE_ISOC99] (__llrint_code): Likewise.
17644 [__USE_ISOC99] (lrintf): Remove inline function.
17645 [__USE_ISOC99] (lrint): Likewise.
17646 [__USE_ISOC99] (lrintl): Likewise.
17647 [__USE_ISOC99] (llrint): Likewise.
17648 [__USE_ISOC99] (llrintf): Likewise.
17649 [__USE_ISOC99] (llrintl): Likewise.
17651 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17653 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
17654 (__ieee754_sqrtf): Remove.
17655 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
17656 (__ieee754_sqrtf): Remove.
17657 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
17658 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17659 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
17660 (__ieee754_sqrtf): Remove.
17661 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
17662 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
17665 (__ieee754_sqrt): Remove.
17666 (__ieee754_sqrtf): Remove.
17667 (__ieee754_sqrtl): Remove.
17668 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17669 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
17670 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
17671 (__ieee754_sqrtf): Remove.
17672 (__ieee754_sqrtl): Remove.
17674 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17676 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
17677 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17678 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17679 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
17680 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
17681 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17682 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17683 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17685 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
17686 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
17687 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17688 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17689 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
17690 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
17691 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17692 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17693 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17694 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17695 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
17696 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17697 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
17698 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
17699 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
17700 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17701 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17702 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17703 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
17704 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
17705 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17706 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17707 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
17708 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
17709 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
17710 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
17711 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17712 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17713 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
17714 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17715 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17716 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
17717 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17718 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
17719 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17720 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17721 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
17722 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
17723 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17724 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
17726 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17728 * include/math.h (sqrt): Declare with asm redirect.
17731 (sqrtf128): Likewise.
17732 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
17733 nonlib and libnldbl with -fmath-errno.
17734 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
17735 * math/w_sqrt_template.c: Likewise.
17736 * math/w_sqrtf_compat.c: Likewise.
17737 * math/w_sqrtl_compat.c: Likewise.
17738 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
17739 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
17740 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
17743 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17745 * benchtests/Makefile: Define _ISOMAC.
17746 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
17747 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
17748 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
17749 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
17750 * benchtests/bench-timing.h: Define attribute_hidden.
17752 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
17754 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
17757 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17760 * localedata/locales/cs_CZ (mon): Rename to...
17762 (mon): Import from CLDR (genitive case).
17764 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17767 * localedata/locales/el_CY (abmon): Rename to...
17768 (ab_alt_mon): This.
17769 (abmon): Import from CLDR (abbreviated genitive case).
17770 * localedata/locales/el_GR (abmon): Rename to...
17771 (ab_alt_mon): This.
17772 (abmon): Import from CLDR (abbreviated genitive case).
17774 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17777 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
17779 2018-03-15 Robert Buj <robert.buj@gmail.com>
17782 * localedata/locales/ca_ES (abmon): Rename to...
17783 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17784 (mon): Rename to...
17786 (abmon): Import from CLDR (genitive case, month names preceded by
17789 (abday): Synchronize with CLDR.
17790 (d_t_fmt): Likewise.
17794 (LC_TIME): Improve indentation.
17795 (LC_TELEPHONE): Likewise.
17796 (LC_NAME): Likewise.
17797 (LC_ADDRESS): Likewise.
17799 2018-03-14 Joseph Myers <joseph@codesourcery.com>
17801 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
17802 (lrintf): Remove definitions used only with old GCC.
17803 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
17804 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
17805 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
17806 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
17807 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
17808 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
17809 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
17810 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
17811 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
17812 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
17813 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
17814 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
17815 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
17816 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
17817 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
17818 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
17819 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
17820 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
17821 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
17822 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
17823 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
17824 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
17825 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
17826 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
17827 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
17828 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
17829 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
17830 [__FAST_MATH__] (__M_SQRT2): Remove macro.
17832 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17834 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
17835 instruction to unbreak builds with binutils 2.26 and older.
17837 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17839 * sysdeps/aarch64/strncmp.S (count): New macro.
17840 (strncmp): Store misaligned length in SRC1 in COUNT.
17841 (mutual_align): Adjust.
17842 (misaligned8): Load dword at a time when it is safe.
17844 2018-03-12 Zack Weinberg <zackw@panix.com>
17848 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
17849 if the _IO_EOF_SEEN bit is already set; update commentary.
17850 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
17851 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17853 * support/support_openpty.c, support/tty.h: New files.
17854 * support/Makefile (libsupport-routines): Add support_openpty.
17856 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
17858 * libio/Makefile (tests): Add tst-fgetc-after-eof.
17859 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
17861 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
17863 * po/pt_BR.po: Update translations.
17865 2018-03-12 David Michael <fedora.dm0@gmail.com>
17867 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
17868 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
17869 get a port to the startup server.
17871 2018-03-11 Zack Weinberg <zackw@panix.com>
17873 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
17874 before nldbl-compat.h.
17876 2018-03-10 Zack Weinberg <zackw@panix.com>
17878 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
17879 math.h or math_private.h.
17881 * sysdeps/alpha/fpu/s_isnan.c
17882 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
17883 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
17884 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
17885 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
17886 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
17887 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
17888 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
17889 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17890 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17893 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17894 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17895 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17896 Include math_private.h.
17898 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17899 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17900 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17901 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17902 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17903 * sysdeps/powerpc/power7/fpu/s_logb.c:
17904 Include math.h and math_private.h.
17906 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17907 uses of $at in .set noat / .set at.
17909 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17911 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17912 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17913 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17914 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17917 2018-03-09 Florian Weimer <fweimer@redhat.com>
17919 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17922 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17925 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17926 Add nop before __startcontext, add explaining comments.
17928 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17931 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17933 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17934 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17935 Do not build hardware transactional code for __SPE__.
17936 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17937 (__lll_trylock_elision): Likewise.
17938 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17939 (__lll_unlock_elision): Likewise.
17941 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
17942 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17943 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17944 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17945 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17946 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17947 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17948 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17949 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17950 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17951 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17952 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17953 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17954 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17955 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17956 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17957 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17958 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17959 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17960 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17961 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17962 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17963 (__ASSUME_CLONE_BACKWARDS): Define.
17964 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17965 __clone2 if __NR_clone2 is defined.
17966 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17967 (__ASSUME_CLONE_BACKWARDS): Likewise.
17968 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17969 (__ASSUME_CLONE_BACKWARDS): Likewise.
17970 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17971 (__ASSUME_CLONE2): Likewise.
17972 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17973 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17974 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17975 variants and the define architecture can use.
17976 (__ASSUME_CLONE_DEFAULT): Define as default.
17977 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17978 (__ASSUME_CLONE_BACKWARDS): Likewise.
17979 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17980 (__ASSUME_CLONE_BACKWARDS): Likewise.
17981 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17982 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17984 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17986 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17988 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17991 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17992 (do_test_limit): Likewise.
17994 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17995 for every implementation.
17996 (do_test): Likewise.
17998 * benchtests/bench-strncmp.c: Convert output to json.
18000 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18002 * io/futimens.c: Add missing start-of-file descriptive comment.
18003 * io/utime.c: Likewise.
18004 * misc/futimesat.c: Likewise.
18005 * misc/utimes.c: Likewise.
18006 * sysdeps/mach/hurd/futimesat.c: Likewise.
18007 * sysdeps/mach/hurd/utimes.c: Likewise.
18008 * sysdeps/posix/utime.c: Likewise.
18009 * sysdeps/posix/utimes.c: Likewise.
18010 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
18011 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18012 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
18013 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
18015 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18017 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
18019 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
18020 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
18021 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
18022 (__futimens): Move implementation to...
18023 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
18024 utime_tvalue_from_tspec): ... new helper functions.
18025 (hurd_futimens): New function.
18026 * sysdeps/mach/hurd/futimesat.c: New file.
18027 * sysdeps/mach/hurd/utimensat.c: New file.
18029 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
18031 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
18032 UTIME_OMIT): New macros.
18033 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
18034 before reverting to converting time spec to time value and calling
18036 * sysdeps/mach/hurd/utime-helper.c: New file.
18037 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
18038 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
18039 reverting to utime_tvalue_from_tval and __file_utimes.
18040 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
18041 (__lutimes): Just call hurd_futimens after lookup.
18042 * sysdeps/mach/hurd/utimes.c: Likewise.
18044 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18046 * bits/sigaction.h: Add include guard.
18047 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
18048 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
18049 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
18050 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
18051 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
18052 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
18053 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
18054 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
18055 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
18057 2018-03-05 Joseph Myers <joseph@codesourcery.com>
18059 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
18060 -Wmaybe-uninitialized for -Os.
18061 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
18064 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18066 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
18067 __INO_T_MATCHES_INO64_T is defined.
18068 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
18069 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
18071 * dirent/alphasort64.c: Likewise.
18072 * dirent/scandir.c: Likewise.
18073 * dirent/scandir64-tail.c: Likewise.
18074 * dirent/scandir64.c: Likewise.
18075 * dirent/scandirat.c: Likewise.
18076 * dirent/scandirat64.c: Likewise.
18077 * dirent/versionsort.c: Likewise.
18078 * dirent/versionsort64.c: Likewise.
18079 * include/dirent.h: Likewise.
18081 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
18082 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
18083 for socketpair endpoint.
18084 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
18085 WRITE_BUFFER_SIZE as buffer size for sending socket.
18086 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
18087 issue on system where send is implemented with sendto syscall.
18088 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
18089 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
18090 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
18091 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
18094 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
18095 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
18096 sa_restorer for vDSO case.
18097 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
18099 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18101 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
18102 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
18103 * hurd/hurd/ioctl.h: Include <mach/port.h>
18104 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
18105 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
18106 <mach/mach_types.h> and <mach/message.h>.
18107 (headers): Move mach/param.h to bits/mach/param.h.
18108 * sysdeps/mach/i386/mach/param.h: Move file to ...
18109 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
18110 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
18112 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
18113 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
18114 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
18115 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
18116 trivial, for C++ conformity.
18117 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
18118 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
18119 Process mig output through $(migheadersed).
18120 * hurd/Makefile (migheadersed): Define variable.
18121 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
18122 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
18124 * hurd/hurd.h: Include <bits/types/sigset_t.h>
18125 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
18126 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
18127 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
18128 <bits/types/sigset_t.h>.
18129 [!defined __USE_GNU]: Do not #error out.
18130 (struct hurd_sigstate): Use _NSIG instead of NSIG.
18131 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
18132 Include <stddef.h> and <bits/types/sigset_t.h>
18133 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
18134 instead of sighandler_t.
18135 * stdlib/errno.h (error_t): Move definition to...
18136 * bits/types/error_t.h: ... new header.
18137 * stdlib/Makefile (headers): Add bits/types/error_t.h.
18138 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
18139 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
18140 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
18141 * hurd/hurd.h: Include <bits/types/error_t.h>
18142 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
18143 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
18144 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
18145 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
18146 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
18147 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
18148 * sysdeps/mach/hurd/futimens.c: New file.
18150 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
18153 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
18154 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
18155 * nscd/gai.c (__nss_hosts_database): Readd definition.
18156 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
18157 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
18158 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
18160 2018-03-02 Joseph Myers <joseph@codesourcery.com>
18162 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
18163 (ifunc_one): Likewise.
18165 2018-03-01 DJ Delorie <dj@delorie.com>
18168 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
18171 2018-03-01 Maciej W. Rozycki <macro@mips.com>
18173 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
18174 `match_pid' parameter.
18175 (td_ta_thr_iter): Update accordingly.
18177 2018-03-01 Florian Weimer <fweimer@redhat.com>
18179 * nptl/Makefile (install-lib-ldscripts): Remove.
18180 (install): Remove rule.
18181 ($(inst_libdir)/libpthread.so): Likewise.
18183 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18186 * localedata/locales/an_ES: update month and day names,
18187 improve d_fmt, improve postal_fmt, add country_post,
18190 2018-03-01 Mike FABIAN <mfabian@redhat.com>
18192 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
18193 Ukrainian instead of Bulgarian.
18195 2018-03-01 Florian Weimer <fweimer@redhat.com>
18197 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
18200 2018-03-01 Florian Weimer <fweimer@redhat.com>
18202 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
18203 * nptl/Makefile (routines): Add pthread_atfork.
18204 (static-only-routines): Set to pthread_atfork.
18205 (libpthread-routines): Remove pthread_atfork.
18206 (libpthread-static-only-routines): Remove.
18207 (install): Update comment.
18208 (libpthread.so): Do not install libpthread_nonshared.a.
18209 (tests): Do not link with libpthread_nonshared.a.
18210 (generated): Remove libpthread_nonshared.a.
18211 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
18212 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
18213 with libpthread_nonshared.a.
18215 2018-02-28 Joseph Myers <joseph@codesourcery.com>
18218 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
18219 (libc_feholdexcept_setroundf128): New macro.
18220 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
18223 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
18225 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
18226 * include/inttypes.h: New file.
18228 2018-02-27 Joseph Myers <joseph@codesourcery.com>
18230 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
18231 -Os in two more places.
18233 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18235 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
18236 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
18237 be sorted correctly at the moment because of a bug.
18239 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18241 [BZ #22550] - es_ES locale (and other es_* locales): collation should
18242 treat ñ as a primary different character, sync the collation
18243 for Spanish with CLDR.
18244 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
18245 * localedata/Makefile: Add new test files.
18246 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
18247 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
18249 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
18250 * localedata/am_ET.UTF-8.in: New test file.
18251 * localedata/az_AZ.UTF-8.in: Likewise.
18252 * localedata/be_BY.UTF-8.in: Likewise.
18253 * localedata/ber_DZ.UTF-8.in: Likewise.
18254 * localedata/ber_MA.UTF-8.in: Likewise.
18255 * localedata/bg_BG.UTF-8.in: Likewise.
18256 * localedata/br_FR.UTF-8.in: Likewise.
18257 * localedata/cmn_TW.UTF-8.in: Likewise.
18258 * localedata/crh_UA.UTF-8.in: Likewise.
18259 * localedata/csb_PL.UTF-8.in: Likewise.
18260 * localedata/cv_RU.UTF-8.in: Likewise.
18261 * localedata/cy_GB.UTF-8.in: Likewise.
18262 * localedata/dz_BT.UTF-8.in: Likewise.
18263 * localedata/eo.UTF-8.in: Likewise.
18264 * localedata/es_ES.UTF-8.in: Likewise.
18265 * localedata/fa_IR.UTF-8.in: Likewise.
18266 * localedata/fi_FI.UTF-8.in: Likewise.
18267 * localedata/fil_PH.UTF-8.in: Likewise.
18268 * localedata/fur_IT.UTF-8.in: Likewise.
18269 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
18270 * localedata/ha_NG.UTF-8.in: Likewise.
18271 * localedata/ig_NG.UTF-8.in: Likewise.
18272 * localedata/ik_CA.UTF-8.in: Likewise.
18273 * localedata/kk_KZ.UTF-8.in: Likewise.
18274 * localedata/ku_TR.UTF-8.in: Likewise.
18275 * localedata/ky_KG.UTF-8.in: Likewise.
18276 * localedata/ln_CD.UTF-8.in: Likewise.
18277 * localedata/mi_NZ.UTF-8.in: Likewise.
18278 * localedata/ml_IN.UTF-8.in: Likewise.
18279 * localedata/mn_MN.UTF-8.in: Likewise.
18280 * localedata/mr_IN.UTF-8.in: Likewise.
18281 * localedata/mt_MT.UTF-8.in: Likewise.
18282 * localedata/nb_NO.UTF-8.in: Likewise.
18283 * localedata/om_KE.UTF-8.in: Likewise.
18284 * localedata/os_RU.UTF-8.in: Likewise.
18285 * localedata/ps_AF.UTF-8.in: Likewise.
18286 * localedata/ro_RO.UTF-8.in: Likewise.
18287 * localedata/ru_RU.UTF-8.in: Likewise.
18288 * localedata/sc_IT.UTF-8.in: Likewise.
18289 * localedata/se_NO.UTF-8.in: Likewise.
18290 * localedata/sq_AL.UTF-8.in: Likewise.
18291 * localedata/sv_SE.UTF-8.in: Likewise.
18292 * localedata/szl_PL.UTF-8.in: Likewise.
18293 * localedata/tg_TJ.UTF-8.in: Likewise.
18294 * localedata/tk_TM.UTF-8.in: Likewise.
18295 * localedata/tt_RU.UTF-8.in: Likewise.
18296 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
18297 * localedata/ug_CN.UTF-8.in: Likewise.
18298 * localedata/uz_UZ.UTF-8.in: Likewise.
18299 * localedata/vi_VN.UTF-8.in: Likewise.
18300 * localedata/yi_US.UTF-8.in: Likewise.
18301 * localedata/yo_NG.UTF-8.in: Likewise.
18302 * localedata/zh_CN.UTF-8.in: Likewise.
18303 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
18304 file and fix bugs in the collation.
18305 * localedata/locales/az_AZ: Likewise.
18306 * localedata/locales/be_BY: Likewise.
18307 * localedata/locales/ber_DZ: Likewise.
18308 * localedata/locales/ber_MA: Likewise.
18309 * localedata/locales/bg_BG: Likewise.
18310 * localedata/locales/br_FR: Likewise.
18311 * localedata/locales/br_FR@euro: Likewise.
18312 * localedata/locales/ca_ES: Likewise.
18313 * localedata/locales/cns11643_stroke: Likewise.
18314 * localedata/locales/crh_UA: Likewise.
18315 * localedata/locales/cs_CZ: Likewise.
18316 * localedata/locales/csb_PL: Likewise.
18317 * localedata/locales/cv_RU: Likewise.
18318 * localedata/locales/cy_GB: Likewise.
18319 * localedata/locales/da_DK: Likewise.
18320 * localedata/locales/dz_BT: Likewise.
18321 * localedata/locales/en_CA: Likewise.
18322 * localedata/locales/eo: Likewise.
18323 * localedata/locales/es_CU: Likewise.
18324 * localedata/locales/es_EC: Likewise.
18325 * localedata/locales/es_ES: Likewise.
18326 * localedata/locales/es_US: Likewise.
18327 * localedata/locales/et_EE: Likewise.
18328 * localedata/locales/fa_IR: Likewise.
18329 * localedata/locales/fi_FI: Likewise.
18330 * localedata/locales/fil_PH: Likewise.
18331 * localedata/locales/fur_IT: Likewise.
18332 * localedata/locales/gez_ER@abegede: Likewise.
18333 * localedata/locales/ha_NG: Likewise.
18334 * localedata/locales/hr_HR: Likewise.
18335 * localedata/locales/hsb_DE: Likewise.
18336 * localedata/locales/hu_HU: Likewise.
18337 * localedata/locales/ig_NG: Likewise.
18338 * localedata/locales/ik_CA: Likewise.
18339 * localedata/locales/is_IS: Likewise.
18340 * localedata/locales/iso14651_t1_pinyin: Likewise.
18341 * localedata/locales/kk_KZ: Likewise.
18342 * localedata/locales/ku_TR: Likewise.
18343 * localedata/locales/ky_KG: Likewise.
18344 * localedata/locales/ln_CD: Likewise.
18345 * localedata/locales/lt_LT: Likewise.
18346 * localedata/locales/lv_LV: Likewise.
18347 * localedata/locales/mi_NZ: Likewise.
18348 * localedata/locales/ml_IN: Likewise.
18349 * localedata/locales/mn_MN: Likewise.
18350 * localedata/locales/mr_IN: Likewise.
18351 * localedata/locales/mt_MT: Likewise.
18352 * localedata/locales/nb_NO: Likewise.
18353 * localedata/locales/om_KE: Likewise.
18354 * localedata/locales/os_RU: Likewise.
18355 * localedata/locales/pl_PL: Likewise.
18356 * localedata/locales/ps_AF: Likewise.
18357 * localedata/locales/ro_RO: Likewise.
18358 * localedata/locales/ru_RU: Likewise.
18359 * localedata/locales/ru_UA: Likewise.
18360 * localedata/locales/sc_IT: Likewise.
18361 * localedata/locales/se_NO: Likewise.
18362 * localedata/locales/si_LK: Likewise.
18363 * localedata/locales/sq_AL: Likewise.
18364 * localedata/locales/sv_FI: Likewise.
18365 * localedata/locales/sv_FI@euro: Likewise.
18366 * localedata/locales/sv_SE: Likewise.
18367 * localedata/locales/szl_PL: Likewise.
18368 * localedata/locales/tg_TJ: Likewise.
18369 * localedata/locales/ti_ER: Likewise.
18370 * localedata/locales/tk_TM: Likewise.
18371 * localedata/locales/tl_PH: Likewise.
18372 * localedata/locales/tr_TR: Likewise.
18373 * localedata/locales/tt_RU: Likewise.
18374 * localedata/locales/tt_RU@iqtelif: Likewise.
18375 * localedata/locales/ug_CN: Likewise.
18376 * localedata/locales/uk_UA: Likewise.
18377 * localedata/locales/uz_UZ: Likewise.
18378 * localedata/locales/uz_UZ@cyrillic: Likewise.
18379 * localedata/locales/vi_VN: Likewise.
18380 * localedata/locales/yi_US: Likewise.
18381 * localedata/locales/yo_NG: Likewise.
18383 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18385 * gen-locales.mk: Make test files which contain @ modifiers in their
18387 * localedata/gen-locale.sh: Likewise.
18389 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18391 * posix/tst-fnmatch.input: Fix results for range expressions
18393 * posix/tst-regexloc.c: Do not use a range expression for
18394 de_DE.ISO-8859-1 locale.
18396 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18398 * posix/bug-regex5.c: Fix test case because with the new
18399 iso14651_t1_common file, the da_DK locale now has 6 collating elements
18400 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
18403 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18405 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
18406 downloaded from ISO, the collation order of @-. and space has changed.
18407 Therefore, this test file needed to be adapted.
18408 * localedata/fr_CA.UTF-8.in: Likewise.
18409 * localedata/fr_FR.UTF-8.in: Likewise.
18410 * localedata/uk_UA.UTF-8.in: Likewise.
18412 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18414 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
18415 order of ȥ in the new iso14651_t1_common file.
18416 * localedata/pl_PL.UTF-8.in: Likewise.
18418 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18420 * localedata/locales/iso14651_t1_common: Add sections for various
18421 scripts to the iso14651_t1_common file.
18423 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18425 * localedata/locales/iso14651_t1_common: Use the code point of a
18426 character in the fourth collation level instead of IGNORE for all
18427 entries which have IGNORE on all 4 levels.
18429 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18431 * localedata/locales/iso14651_t1_common: Add some convenient collation
18432 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
18433 rules similar to those in CLDR.
18435 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18437 * localedata/locales/iso14651_t1_common: The new version of this
18438 file downloaded from ISO contained several syntax errors which
18439 are fixed by this patch.
18441 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18443 * localedata/locales/iso14651_t1_common: replace all <U.....>
18444 with <U000.....> because glibc understands only 4 digit or 8 digit
18446 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18448 * localedata/locales/iso14651_t1_common: Necessary changes
18449 to make the file downloaded from ISO usable by glibc.
18451 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18454 * localedata/locales/iso14651_t1_common: Update file to
18455 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
18457 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18459 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
18460 of <nptl/pthreadP.h>
18461 (thread_attr_compare): Move function to...
18462 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
18463 * sysdeps/nptl/timer_routines.h: ... new header.
18464 * sysdeps/mach/hurd/gai_misc.h: New file.
18466 2018-02-26 Joseph Myers <joseph@codesourcery.com>
18468 * string/strcoll_l.c: Include <libc-diag.h>.
18469 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
18470 declarations of seq1 and seq2.
18473 * stdlib/atoi.c (atoi): Use libc_hidden_def.
18474 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
18476 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
18480 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
18481 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
18482 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
18483 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
18484 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
18485 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
18487 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18489 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
18490 macros used in __ptrace_request.
18492 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
18495 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
18497 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
18498 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
18499 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
18502 2018-02-23 Joseph Myers <joseph@codesourcery.com>
18505 * ctype/ctype.c (tolower): Use libc_hidden_def.
18506 (toupper): Likewise.
18507 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
18508 [!_ISOMAC] (toupper): Likewise.
18510 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18512 * localedata/Makefile: Remove --quiet argument when
18515 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18518 * localedata/locales/pt_BR (LC_TIME): use / instead of -
18520 * localedata/locales/pt_PT (LC_TIME): likewise
18522 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18525 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
18526 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
18527 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
18529 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18533 * nptl/Makefile (routines): Remove unregister-atfork.
18534 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
18535 (fork_handler_alloc): Remove function.
18536 (fork_handlers, fork_handler_init): New variables.
18537 (__fork_lock): Rename to atfork_lock.
18538 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
18539 to use a dynamic array to add/remove atfork handlers.
18540 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18541 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
18542 Remove declaration.
18543 (fork_handler): Remove next, refcntr, and need_signal member.
18544 (__run_fork_handler_type): New enum.
18545 (__run_fork_handlers): New prototype.
18546 * nptl/register-atfork.c: Remove file.
18547 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
18549 * sysdeps/nptl/nptl-signals.h: Move to ...
18550 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
18552 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
18553 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
18554 unnecessary check for SIGTIMER.
18555 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
18556 remove unnecessary removal of SIGTIMER.
18557 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
18558 include-signals.h rename.
18559 * nptl/pthreadP.h: Likewise.
18560 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
18561 __is_internal_signal instead of __nptl_is_internal_signal.
18563 2018-02-22 Andrew Waterman <andrew@sifive.com>
18566 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
18567 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
18568 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
18569 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
18571 2018-02-22 DJ Delorie <dj@delorie.com>
18573 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
18575 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
18577 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
18578 do_misaligned, not misaligned8.
18580 2018-02-22 Steve Ellcey <sellcey@cavium.com>
18582 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
18583 Add memcpy_thunderx2.
18584 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
18586 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
18587 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
18588 and IS_THUNDERX2PA checks.
18589 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
18590 Use macro to set name appropriately.
18591 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
18592 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
18593 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
18595 (IS_THUNDERX2): New macro.
18597 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
18599 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18601 2018-02-21 Zack Weinberg <zackw@panix.com>
18603 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
18604 Define here, unconditionally.
18605 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
18606 * libio/libioP.h: Remove #if 0 blocks.
18607 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
18608 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
18609 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
18611 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
18612 Assume weak_alias is always defined.
18614 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
18615 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
18616 Remove #if 0 and #ifdef TODO blocks.
18617 Assume text_set_element is always defined.
18619 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
18620 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
18621 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
18623 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
18624 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
18625 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
18626 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
18627 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
18628 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
18629 Reformat bit flags for _flags field to make occupancy clearer.
18631 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
18632 Keep definitions consistent with those in libio/libio.h.
18634 * libio/libio.h (_IO_file_flags): Remove macro.
18635 All uses changed to _flags.
18637 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
18638 (__HAVE_COLUMN, _IO_BE): Don't define.
18639 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
18640 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
18641 * libio/libioP.h (EOF): Don't define.
18642 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
18643 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
18644 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
18645 testing _IO_UNIFIED_JUMPTABLES.
18647 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
18648 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
18649 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
18650 (_IO_size_t): Delete; all uses changed to size_t.
18651 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
18652 (_IO_off_t): Delete; all uses changed to off_t.
18653 (_IO_off64_t): Delete; all uses changed to off64_t.
18654 (_IO_pid_t): Delete; all uses changed to pid_t.
18655 (_IO_uid_t): Delete; all uses changed to uid_t.
18656 (_IO_wint_t): Delete; all uses changed to wint_t.
18657 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
18658 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
18659 (_IO_cookie_io_functions_t): Delete; all uses changed to
18660 cookie_io_functions_t.
18661 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
18662 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
18663 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
18664 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
18666 * libio/iofopncook.c: Remove unnecessary forward declarations.
18667 * libio/iolibio.h: Correct outdated commentary.
18668 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
18669 * stdio-common/fxprintf.c (__fxprintf_nocancel):
18670 Remove unnecessary casts.
18671 * stdio-common/getline.c: Use _IO_getdelim directly.
18672 Don't redefine ssize_t.
18673 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
18674 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
18675 Remove outdated comments.
18676 * stdio-common/vfscanf.c: Don't redefine va_list.
18678 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
18679 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
18680 Remove preprocessor conditionals on _LIBC and __USE_GNU,
18681 which are always true, and __cplusplus, which is always false.
18683 2018-02-21 Joseph Myers <joseph@codesourcery.com>
18687 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
18688 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
18689 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
18690 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
18692 [!_ISOMAC] (putc_unlocked): Likewise.
18693 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
18694 define inline if [__USE_EXTERN_INLINES].
18695 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
18700 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
18701 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
18702 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
18703 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
18704 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
18706 * time/tzfile.c (__tzfile_read): Likewise.
18708 2018-02-21 Mike FABIAN <mfabian@redhat.com>
18711 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
18713 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
18715 * io/fcntl.h: Fix a typo in a comment.
18717 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
18720 * include/features.h: Add _ISOC11_SOURCE to test for whether to
18721 define _DEFAULT_SOURCE.
18722 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
18724 2018-02-21 Florian Weimer <fweimer@redhat.com>
18727 * elf/cache.c (save_cache): Call fsync on temporary file before
18729 (save_aux_cache): Call fdatasync on temporary file before renaming
18732 2018-02-21 Florian Weimer <fweimer@redhat.com>
18735 * include/caller.h: Remove file.
18736 * elf/dl-caller.c: Likewise.
18737 * elf/Makefile (dl-routines): Remove dl-caller.
18738 (shared-only-routines): Do not add dl-caller.
18739 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
18741 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
18743 (dl_open_worker): Do not call __check_caller.
18744 (_dl_open): Do not set caller_dl_open member.
18745 * elf/rtld.c (_rtld_global_ro): Do not initialize
18746 _dl_check_caller member.
18747 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
18748 _dl_check_caller member.
18749 (_dl_check_caller): Remove declaration.
18750 * sysdeps/unix/sysv/linux/dl-execstack.c
18751 (_dl_make_stack_executable): Do not call __check_caller.
18753 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18755 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
18756 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
18758 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
18760 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
18763 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
18766 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
18767 of 199606L, 200112L, and 200809L.
18768 (_XOPEN_SOURCE): Document special values of 600 and 700.
18769 (_ISOC11_SOURCE): Document macro.
18770 (_ATFILE_SOURCE): Likewise.
18771 (_FORTIFY_SOURCE): Likewise.
18773 2018-02-19 Joseph Myers <joseph@codesourcery.com>
18777 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
18778 and define as weak alias of __ferror_unlocked. Use
18780 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
18782 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
18783 function if [__USE_EXTERN_INLINES].
18784 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
18787 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
18790 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
18792 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18795 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
18796 the GLIBC_2.1 version.
18798 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18801 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
18802 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
18803 intl/tst-gettext-de.po from po/de.po by removing the
18804 POT-Creation-Date line.
18805 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
18807 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
18810 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18812 * mach/Makefile (headers): Add mach/param.h.
18813 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
18814 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
18815 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
18816 (__ptsname_r): Move implementation to...
18817 (__ptsname_internal): ... new function. Add filling the STP
18820 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
18822 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
18825 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
18827 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
18830 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18832 * nptl/Makefile (tst-mutex8-ENV): Delete.
18833 * nptl/tst-mutex8.c (check_type):
18834 Add runtime check if mutex will be elided.
18836 2018-02-15 Joseph Myers <joseph@codesourcery.com>
18840 * manual/install.texi (Configuring and compiling): Describe
18841 passing CC and CFLAGS on configure command line, not as
18842 environment variables. Use @code markup on those variables.
18843 Specify what options go in CC and what go in CFLAGS. Note the
18844 requirement to compile with optimization.
18845 * INSTALL: Regenerated.
18848 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
18849 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
18850 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
18851 __sigprocmask instead of sigprocmask.
18852 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
18854 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
18855 __sigsetjmp and sigprocmask.
18858 * include/argz.h (argz_next): Use libc_hidden_proto.
18859 (__argz_next): Likewise.
18860 * string-argz-next.c (__argz_next): Use libc_hidden_def.
18861 (argz_next): Use libc_hidden_weak.
18864 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
18866 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
18870 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
18872 * libio/iofputs.c (fputs): Use libc_hidden_weak.
18876 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
18877 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
18878 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
18879 (__feof_unlocked): New declaration, and inline function if
18880 [__USE_EXTERN_INLINES].
18881 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
18882 instead of feof_unlocked.
18883 * intl/localealias.c [_LIBC] (FEOF): Likewise.
18884 * nss/nsswitch.c (nss_parse_file): Likewise.
18885 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
18887 * time/getdate.c (__getdate_r): Likewise.
18888 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
18889 Define as macro to call __feof_unlocked.
18891 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18893 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18895 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18897 * math/Makefile: Remove mpexp.c and mplog.c
18898 * sysdeps/i386/fpu/mpexp.c: Delete file.
18899 * sysdeps/i386/fpu/mplog.c: Likewise.
18900 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18901 * sysdeps/ia64/fpu/mplog.c: Likewise.
18902 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18903 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18904 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18905 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18906 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18907 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18908 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18909 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18910 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18911 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18912 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18913 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18914 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18915 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18916 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18917 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18919 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18921 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18923 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18925 * sysdeps/sh/libm-test-ulps: Update.
18927 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18929 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18932 2018-02-12 Zack Weinberg <zackw@panix.com>
18935 * posix/sys/types.h: Don't include sys/sysmacros.h.
18936 * misc/sys/sysmacros.h: Remove the conditional deprecation
18937 warnings for the macros defined by this header.
18939 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18941 * manual/probes.texi: Remove slowexp probes.
18942 * math/Makefile: Remove slowexp.
18943 * sysdeps/generic/math_private.h (__slowexp): Remove.
18944 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18945 document error bounds.
18946 * sysdeps/i386/fpu/slowexp.c: Remove.
18947 * sysdeps/ia64/fpu/slowexp.c: Remove.
18948 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18949 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18950 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18951 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18952 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18953 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18954 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18955 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18956 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18957 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18958 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18960 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18963 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18964 * benchtests/pow-inputs: Update comment for slow path cases.
18965 * manual/probes.texi (slowpow_p10): Delete removed probe.
18966 (slowpow_p10): Likewise.
18967 * math/Makefile: Remove halfulp.c and slowpow.c.
18968 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18969 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18970 (__halfulp): Remove.
18971 (__slowpow): Remove.
18972 * sysdeps/i386/fpu/halfulp.c: Delete file.
18973 * sysdeps/i386/fpu/slowpow.c: Likewise.
18974 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18975 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18976 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18977 improve comments and add error analysis.
18978 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18979 (power1): Remove function:
18980 (log1): Remove error argument, add error analysis.
18981 (my_log2): Remove function.
18982 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18983 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18984 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18985 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18986 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18987 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18988 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18989 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18990 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18991 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18992 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18993 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18994 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18995 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18997 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18999 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
19000 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
19002 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
19005 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
19006 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
19007 and PTRACE_SETHBPREGS.
19009 2018-02-10 Zack Weinberg <zackw@panix.com>
19012 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
19014 * malloc/tst-malloc-stats-cancellation.c: New test case.
19015 * malloc/Makefile: Add new test case.
19017 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
19019 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
19021 2018-02-10 Joseph Myers <joseph@codesourcery.com>
19023 * math/Makefile (libm-narrow-fns): Add add.
19024 (libm-test-funcs-narrow): Likewise.
19025 * math/Versions (GLIBC_2.28): Add narrowing add functions.
19026 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
19027 * math/gen-auto-libm-tests.c (test_functions): Add add.
19028 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
19029 (NARROW_ADD_ROUND_TO_ODD): Likewise.
19030 (NARROW_ADD_TRIVIAL): Likewise.
19031 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
19033 (__daddl): Likewise.
19034 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
19036 (CFLAGS-nldbl-dadd.c): New variable.
19037 (CFLAGS-nldbl-fadd.c): Likewise.
19038 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19040 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
19042 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
19043 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
19044 * math/auto-libm-test-in: Add tests of add.
19045 * math/auto-libm-test-out-narrow-add: New generated file.
19046 * math/libm-test-narrow-add.inc: New file.
19047 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
19048 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
19049 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
19050 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
19051 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
19052 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
19053 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
19054 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
19055 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
19056 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
19057 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
19058 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
19059 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
19060 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
19061 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
19062 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
19063 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
19064 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
19065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19066 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19067 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19068 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19069 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19070 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19071 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19072 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19073 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19074 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19075 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19076 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19077 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19078 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19083 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19084 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19085 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19086 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19087 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19088 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19089 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19090 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19091 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19092 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19094 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
19095 (f128-pairs): New variable.
19096 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
19097 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
19099 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
19100 Also make tests add $(f128-loader-link) to gnulib-tests.
19102 2018-02-09 DJ Delorie <dj@redhat.com>
19105 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
19106 64-bit ELF type for 64-bit ELF objects.
19108 2018-02-09 Joseph Myers <joseph@codesourcery.com>
19110 * math/libm-test-driver.c (snan_tests_arg): New variable.
19111 * math/libm-test-support.h (snan_tests_arg): New declaration.
19112 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
19114 * math/Makefile (test-type-pairs): New variable.
19115 (test-type-pairs-f64xf128-yes): Likewise.
19116 (tests): Add test-narrow-macros.
19117 (libm-test-funcs-narrow): New variable.
19118 (libm-test-c-narrow): Likewise.
19119 (generated): Add $(libm-test-c-narrow).
19120 (libm-tests-base-narrow): New variable.
19121 (libm-tests-narrow): Likewise.
19122 (libm-tests): Add $(libm-tests-narrow).
19123 (libm-tests-for-type): Handle $(libm-tests-narrow).
19124 (libm-test-c-narrow-obj): New variable.
19125 ($(libm-test-c-narrow-obj)): New rule.
19126 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
19127 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
19128 $(o-iterator) to set dependencies and CFLAGS.
19129 * math/gen-auto-libm-tests.c: Document use for narrowing
19131 (output_for_one_input_case): Take argument NARROW.
19132 (generate_output): Likewise. Update call to
19133 output_for_one_input_case.
19134 (main): Take --narrow option. Update call to generate_output.
19135 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
19136 (apply_lit): Update call to _apply_lit.
19137 (apply_arglit): New function.
19138 (parse_args): Handle "a" arguments.
19139 (parse_auto_input): Handle format names using ":".
19140 * math/README.libm-test: Document "a" parameter type.
19141 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
19142 (ARG_TYPE_TRUE_MIN): Likewise.
19143 (ARG_TYPE_MAX): Likwise.
19144 (ARG_MIN_EXP): Likewise.
19145 (ARG_MAX_EXP): Likewise.
19146 (ARG_MANT_DIG): Likewise.
19147 (TEST_COND_arg_ibm128): Likewise.
19148 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
19149 (TEST_COND_arg_fmt): New macro.
19150 (init_max_error): Update prototype.
19151 * math/libm-test-support.c (test_ibm128): New variable.
19152 (init_max_error): Take argument testing_ibm128 and set test_ibm128
19153 instead of using [TEST_COND_ibm128] conditional.
19154 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
19155 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
19156 [TEST_NARROW] (TEST_MSG): New definition.
19157 (arg_plus_zero): New macro.
19158 (arg_minus_zero): Likewise.
19159 (arg_plus_infty): Likewise.
19160 (arg_minus_infty): Likewise.
19161 (arg_qnan_value_pl): Likewise.
19162 (arg_qnan_value): Likewise.
19163 (arg_snan_value_pl): Likewise.
19164 (arg_snan_value): Likewise.
19165 (arg_max_value): Likewise.
19166 (arg_min_value): Likewise.
19167 (arg_min_subnorm_value): Likewise.
19168 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
19169 (RUN_TEST_LOOP_aa_f): New macro.
19170 (TEST_SUFF): New macro.
19171 (TEST_SUFF_STR): Likewise.
19172 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
19173 (TEST_COND_any_ibm128): New macro.
19174 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
19175 this_func. Update call to init_max_error.
19176 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
19177 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
19178 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
19179 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
19180 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
19181 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
19182 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
19183 * math/test-math-scalar.h (TEST_NARROW): Likewise.
19184 * math/test-math-vector.h (TEST_NARROW): Likewise.
19185 * math/test-arg-double.h: New file.
19186 * math/test-arg-float128.h: Likewise.
19187 * math/test-arg-float32x.h: Likewise.
19188 * math/test-arg-float64.h: Likewise.
19189 * math/test-arg-float64x.h: Likewise.
19190 * math/test-arg-ldouble.h: Likewise.
19191 * math/test-math-narrow.h: Likewise.
19192 * math/test-narrow-macros.c: Likewise.
19193 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
19194 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
19195 test-narrow-macros-ldbl-64.
19196 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
19198 * math/bits/mathcalls-narrow.h: New file.
19199 * include/bits/mathcalls-narrow.h: Likewise.
19200 * math/math-narrow.h: Likewise.
19201 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
19202 (__MATHCALL_NARROW_ARGS_2): Likewise.
19203 (__MATHCALL_NARROW_ARGS_3): Likewise.
19204 (__MATHCALL_NARROW_NORMAL): Likewise.
19205 (__MATHCALL_NARROW_REDIR): Likewise.
19206 (__MATHCALL_NARROW): Likewise.
19207 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
19208 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
19210 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19211 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
19212 (libm-narrow-fns): New variable.
19213 (libm-narrow-types-basic): Likewise.
19214 (libm-narrow-types-ldouble-yes): Likewise.
19215 (libm-narrow-types-float128-yes): Likewise.
19216 (libm-narrow-types-float128-alias-yes): Likewise.
19217 (libm-narrow-types): Likewise.
19218 (libm-routines): Add narrowing functions.
19219 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
19220 (libc_feholdexcept_setroundf128): New macro.
19221 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
19222 * sysdeps/ieee754/float128/float128_private.h: Include
19223 <math/math-narrow.h>.
19224 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
19225 Undefine and redefine.
19226 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
19227 (libm_alias_float_ldouble): Undefine and redefine.
19228 (libm_alias_double_ldouble): Likewise.
19230 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
19232 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
19234 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
19237 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
19239 * manual/creature.texi: Convert references to gcc.info to gcc.
19240 * manual/stdio.texi: Likewise.
19241 * manual/string.texi: Likewise.
19243 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19246 * posix/bits/types.h (__int_least8_t): New typedef.
19247 (__uint_least8_t): Likewise.
19248 (__int_least16_t): Likewise.
19249 (__uint_least16_t): Likewise.
19250 (__int_least32_t): Likewise.
19251 (__uint_least32_t): Likewise.
19252 (__int_least64_t): Likewise.
19253 (__uint_least64_t): Likewise.
19254 * sysdeps/generic/stdint.h (int_least8_t): Define using
19256 (int_least16_t): Define using __int_least16_t.
19257 (int_least32_t): Define using __int_least32_t.
19258 (int_least64_t): Define using __int_least64_t.
19259 (uint_least8_t): Define using __uint_least8_t.
19260 (uint_least16_t): Define using __uint_least16_t.
19261 (uint_least32_t): Define using __uint_least32_t.
19262 (uint_least64_t): Define using __uint_least64_t.
19263 * wcsmbs/uchar.h: Include <bits/types.h>.
19264 (char16_t): Define using __uint_least16_t conditional only on
19266 (char32_t): Define using __uint_least32_t conditional only on
19268 * wcsmbs/test-char-types.c: New file.
19269 * wcsmbs/Makefile (tests): Add test-char-types.
19271 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
19274 2018-02-07 Zack Weinberg <zackw@panix.com>
19276 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
19277 Delete all contents except for definitions of _G_HAVE_MMAP and
19278 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
19279 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
19280 sysdeps/unix/sysv/linux/_G_config.h. Make same content
19283 * libio/libio.h: Don't include bits/_G_config.h here.
19284 Include stddef.h with __need_wchar_t defined. Include
19285 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
19286 Define _IO_iconv_t here, directly.
19287 Don't define _IO_HAVE_ST_BLKSIZE.
19288 * libio/libioP.h: Include _G_config.h here. Move include of
19289 shlib-compat.h up with rest of includes. Simplify conditionals
19290 controlling definition of _IO_JUMPS_OFFSET.
19292 * csu/init.c: Remove always-true #if around entire file.
19293 Don't include stdio.h. Set _IO_stdin_used to hardwired
19294 constant 0x20001, and update commentary.
19295 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
19296 Replace all uses of _G_va_list with __gnuc_va_list.
19297 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
19298 instead of #if _IO_HAVE_ST_BLKSIZE.
19299 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
19300 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
19303 * libio/bits/libio.h: Move back to libio/libio.h and adjust
19304 multiple-include guard to match.
19305 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
19307 Remove preprocessor conditionals that are always true and/or
19308 redundant to other preprocessor conditionals in the same nest.
19309 Include shlib-compat.h unconditionally.
19310 Error out if _LIBC is not defined, or if _ISOMAC is defined,
19311 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
19312 defined after including stdio.h.
19313 Use __BEGIN_DECLS/__END_DECLS.
19315 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
19316 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
19317 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
19319 2018-02-07 Zack Weinberg <zackw@panix.com>
19321 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
19322 New single-type headers split from _G_config.h.
19323 * libio/bits/types/cookie_io_functions_t.h
19324 * libio/bits/types/struct_FILE.h
19325 New single-type headers split from libio.h.
19327 * libio/Makefile: Install the above new headers. Don't install
19328 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
19330 * libio/_G_config.h, libio/libio.h: Delete file.
19332 * libio/bits/libio.h: Remove improper-inclusion guard.
19333 Include stdio.h and don't repeat anything that it does.
19334 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
19335 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
19336 __io_read_fn as cookie_read_function_t,
19337 __io_write_fn as cookie_write_function_t,
19338 __io_seek_fn as cookie_seek_function_t,
19339 __io_close_fn as cookie_close_function_t,
19340 and _IO_cookie_io_functions_t as cookie_io_functions_t.
19341 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
19342 here, in the "compatibility defines" section. Remove an #if 0
19343 block. Use the "body" macros from bits/types/struct_FILE.h to
19344 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
19345 and _IO_ferror_unlocked.
19346 Move prototypes of __uflow and __overflow...
19348 * libio/stdio.h: ...here. Don't include bits/libio.h.
19349 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
19350 directly from stdarg.h. Include bits/types/__fpos_t.h,
19351 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
19352 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
19353 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
19354 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
19355 cookie_io_functions_t, not _IO_cookie_io_functions_t;
19356 __ssize_t, not _IO_ssize_t. Unconditionally define
19357 BUFSIZ as 8192 and EOF as (-1).
19359 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
19360 macros from bits/types/struct_FILE.h instead of _IO_* macros
19361 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
19362 instead of _IO_ssize_t.
19363 * libio/bits/stdio2.h: Similarly.
19365 * libio/iolibio.h: Add multiple-include guard.
19366 Include bits/libio.h after stdio.h.
19367 * libio/libioP.h: Add multiple-include guard.
19368 Include stdio.h and bits/libio.h before iolibio.h.
19370 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
19371 * include/bits/types/cookie_io_functions_t.h
19372 * include/bits/types/struct_FILE.h: New wrappers.
19374 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
19375 Get definitions of _G_fpos_t and _G_fpos64_t from
19376 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
19377 respectively. Remove improper-inclusion guards.
19379 * conform/data/stdio.h-data: Update expectations of va_list.
19380 * scripts/check-installed-headers.sh: Remove special case for
19381 libio.h and _G_config.h.
19383 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19387 * include/sys/sysmacros.h [!_ISOMAC]
19388 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
19389 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
19390 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
19391 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
19393 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
19394 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
19396 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
19397 Undefine and redefine to add use __gnu_dev_ prefix.
19398 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
19400 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
19401 and define as hidden inline function.
19402 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
19404 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
19406 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
19407 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
19408 (gnu_dev_minor): Likewise.
19409 (gnu_dev_makedev): Likewise.
19410 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
19412 * posix/wordexp.c (exec_comm_child): Likewise.
19413 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
19414 instead of minor and __gnu_dev_major instead of major.
19415 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
19416 __gnu_dev_major instead of major.
19417 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
19418 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
19419 instead of gnu_dev_minor.
19420 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
19421 (SLAVE_P): Likewise.
19422 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
19423 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
19427 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
19429 * locale/weightwc.h (findidx): Likewise.
19431 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
19433 * manual/probes.texi (slowlog): Delete documentation of removed probe.
19434 (slowlog_inexact): Likewise
19435 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
19436 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
19438 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
19441 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
19442 missing second underscore to parameter name.
19444 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19450 * bits/byteswap.h: Update file comment. Do not include
19451 <bits/byteswap-16.h>.
19452 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
19454 (__bswap_16): Define as inline function.
19455 (__bswap_constant_32): Reformat definition.
19456 (__bswap_32): Always define as inline function, not macro, using
19457 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
19458 otherwise __bswap_constant_32.
19459 (__bswap_constant_64): Reformat definition. Do not use
19460 __extension__ here.
19461 (__bswap_64): Always define as inline function, not macro. Use
19462 __extension__ on function definition. Use __builtin_bswap64 if
19463 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
19464 * string/test-endian-file-scope.c: New file.
19465 * string/test-endian-sign-conversion.c: Likewise.
19466 * string/Makefile (headers): Remove bits/byteswap-16.h.
19467 (tests): Add test-endian-file-scope and
19468 test-endian-sign-conversion.
19469 (CFLAGS-test-endian-sign-conversion.c): New variable.
19470 * bits/byteswap-16.h: Remove file.
19471 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
19472 * sysdeps/ia64/bits/byteswap.h: Likewise.
19473 * sysdeps/m68k/bits/byteswap.h: Likewise.
19474 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19475 * sysdeps/s390/bits/byteswap.h: Likewise.
19476 * sysdeps/tile/bits/byteswap.h: Likewise.
19477 * sysdeps/x86/bits/byteswap-16.h: Likewise.
19478 * sysdeps/x86/bits/byteswap.h: Likewise.
19481 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
19482 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
19483 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
19484 199901L] (__restrict): Define to restrict.
19487 * string/testcopy.c: Include <support/support.h>. Do not include
19488 <malloc.h>. Use <support/test-driver.c>.
19489 (main): Rename to do_test. Make static. Use xmalloc instead of
19493 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
19494 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
19495 (SSIZE_MAX): Define to INT_MAX.
19496 * posix/test-ssize-max.c: New file.
19497 * posix/Makefile (tests): Add test-ssize-max.
19500 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
19501 <support/support.h>. Do not include <malloc.h>.
19502 (query_auxv): Use xmalloc instead of malloc.
19505 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
19506 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
19509 2018-02-06 Florian Weimer <fweimer@redhat.com>
19512 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19513 Use scratch_buffer instead of extend_alloca.
19515 2018-02-06 Zack Weinberg <zackw@panix.com>
19517 * libio/stdio.h: Don't define getc or putc as macros.
19518 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
19519 not _IO_getc and _IO_putc.
19521 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
19522 * stdio-common/tstgetln.c: Don't redefine ssize_t.
19524 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19526 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
19527 (TCP_FASTOPEN_NO_COOKIE): Likewise.
19529 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
19532 * elf/elf.h (NT_PRFPREG): New macro.
19533 (NT_S390_VXRS_LOW): Likewise.
19534 (NT_S390_VXRS_HIGH): Likewise.
19535 (NT_S390_GS_CB): Likewise.
19536 (NT_S390_GS_BC): Likewise.
19537 (NT_S390_RI_CB): Likewise.
19539 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
19540 (MAP_SYNC): New macro.
19541 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
19543 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
19544 (MAP_SYNC): Likewise.
19545 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
19546 (MAP_SYNC): Likewise.
19547 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
19548 (MAP_SYNC): Likewise.
19549 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
19550 (MAP_SYNC): Likewise.
19551 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
19552 (MAP_SYNC): Likewise.
19553 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
19554 (MAP_SYNC): Likewise.
19555 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
19557 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
19560 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
19561 (MAP_SHARED_VALIDATE): New macro.
19562 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19563 (MAP_SHARED_VALIDATE): Likewise.
19565 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19567 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
19568 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
19569 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19571 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19573 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
19574 (DT_NUM): Updated to 35.
19576 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19578 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
19579 __builtin_expect with __glibc_likely and __glibc_unlikely.
19580 (elf_machine_rela): Likewise.
19581 (elf_machine_lazy_rel): Likewise.
19583 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19585 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
19586 __builtin_expect with __glibc_likely and __glibc_unlikely.
19587 (elf_machine_lazy_rel): Likewise.
19589 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19592 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
19594 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
19596 2018-02-05 Andreas Schwab <schwab@suse.de>
19599 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
19602 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19604 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
19605 not check against PTHREAD_STACK_MIN.
19607 2018-02-02 Sean McKean <smckean83@gmail.com>
19610 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
19612 2018-02-02 Florian Weimer <fweimer@redhat.com>
19615 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
19616 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
19617 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
19618 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
19619 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
19620 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
19621 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
19622 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
19623 * manual/llio.texi (Scatter-Gather): Mention offset -1.
19624 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
19625 * misc/tst-preadvwritev2.c (do_test): Call it.
19626 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
19628 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
19630 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
19632 * benchtests/bench-memcmp.c: Print json instead of plain text.
19634 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
19637 2018-02-01 Joseph Myers <joseph@codesourcery.com>
19639 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19641 (s390_sthyi): New syscall.
19643 * sysdeps/generic/ldbl-classify-compat.h: New file.
19644 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
19645 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
19646 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
19647 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
19648 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
19649 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
19650 * sysdeps/ieee754/dbl-64/s_finite.c: Include
19651 <ldbl-classify-compat.h>.
19652 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19653 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
19654 <ldbl-classify-compat.h>.
19655 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19656 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
19657 <ldbl-classify-compat.h>.
19658 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19659 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
19660 <ldbl-classify-compat.h>.
19661 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19662 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
19663 <ldbl-classify-compat.h>.
19664 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19665 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
19666 <ldbl-classify-compat.h>.
19667 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19668 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
19669 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19670 * sysdeps/m68k/coldfire/math_private.h: Remove file.
19671 * sysdeps/microblaze/math_private.h: Likewise.
19672 * sysdeps/nios2/math_private.h: Likewise.
19673 * sysdeps/sh/math_private.h: Likewise.
19675 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
19676 * sysdeps/m68k/coldfire/math_private.h: ... here.
19677 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
19678 * sysdeps/tile/math_private.h: Likewise.
19679 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
19681 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
19684 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
19686 (libc_fetestexcept): Likewise.
19687 (libc_feupdateenv_test): Likewise.
19688 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
19689 (libc_fetestexcept): Likewise.
19690 (libc_feupdateenv_test): Likewise.
19691 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
19692 (libc_fetestexcept): Likewise.
19693 (libc_feupdateenv_test): Likewise.
19694 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
19695 (libc_fetestexcept): Likewise.
19696 (libc_feupdateenv_test): Likewise.
19698 * sysdeps/generic/math_private.h
19699 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
19700 New inline function.
19701 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
19704 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
19705 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
19706 * sysdeps/generic/math_private.h
19707 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
19709 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
19711 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
19713 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
19715 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
19717 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
19719 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
19720 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
19721 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
19722 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
19723 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
19724 (__fegetenv): Likewise.
19725 (fesetenv): Likewise.
19726 (__fesetenv): Likewise.
19727 (feupdateenv): Likewise.
19728 (__feupdateenv): Likewise.
19729 (fegetround): Likewise.
19730 (__fegetround): Likewise.
19731 (fesetround): Likewise.
19732 (__fesetround): Likewise.
19734 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
19735 (feraiseexcept): New macro.
19736 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
19737 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
19739 (__feraiseexcept): Likewise.
19740 (feclearexcept): Likewise.
19741 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
19742 (__feraiseexcept): Likewise.
19743 (feclearexcept): Likewise.
19744 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
19745 (__feraiseexcept): Likewise.
19746 (feclearexcept): Likewise.
19747 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
19748 (__feraiseexcept): Likewise.
19749 (feclearexcept): Likewise.
19750 (fetestexcept): Likewise.
19752 * sysdeps/m68k/coldfire/math-tests.h: New file.
19754 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
19755 * sysdeps/m68k/bits/fenv.h: ... here.
19756 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
19758 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
19760 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
19762 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
19764 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
19766 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
19768 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
19769 (__FE_UNDEFINED): New enum constant.
19770 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
19772 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
19774 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
19776 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
19777 to match generic bits/fenv.h.
19778 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
19781 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
19783 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
19784 * soft-fp/half.h (union _FP_UNION_H): Likewise.
19785 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
19786 * soft-fp/single.h (union _FP_UNION_S): Likewise.
19788 2018-02-01 Carlos O'Donell <carlos@redhat.com>
19789 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
19790 Joseph Myers <joseph@codesourcery.com>
19793 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
19794 (__log1p): Disable -Wmaybe-uninitialized for -Os around
19795 computation using c.
19796 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
19797 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
19798 computation using c.
19800 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19802 * version.h (RELEASE): Set to "development".
19803 (VERSION): Set to "2.27.9000".
19804 * NEWS (2.28): New section.
19806 * version.h (RELEASE): Set to "stable".
19807 (VERSION): Set to "2.27".
19808 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
19810 * NEWS: Add the list of bugs fixed in 2.27.
19812 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19814 * stdlib/test-atexit-race-common.c (do_test): Check stack size
19815 against PTHREAD_STACK_MIN.
19817 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19819 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
19821 (Rafal Luzynski, Andreas Schwab): Update.
19823 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
19826 * NEWS: List the languages which actually use the alternative
19827 months feature in this release. Also explain that "alt_mon" and
19828 "ab_alt_mon" are optional.
19830 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
19833 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
19835 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
19837 * manual/install.texi (Tools for Compilation): Update the newest
19838 versions of gcc, binutils, texinfo, gawk, bison, and sed.
19839 * INSTALL: Regenerated.
19841 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19843 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
19844 instead of __builtin_expect.
19846 2018-01-30 Florian Weimer <fweimer@redhat.com>
19848 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
19850 * nss/tst-nss-getpwent.c (do_test): Likewise.
19852 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
19855 * localedata/locales/hr_HR (mon): Rename to...
19857 (mon): Import from CLDR (genitive case).
19858 (d_t_fmt): Update the comment.
19860 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
19862 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
19863 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
19864 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
19866 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19868 * mach/Versions: Fix version when __mach_host_self_ was added.
19869 * hurd/Versions: Fix version when _hurd_exec_paths was added.
19870 * sysdeps/mach/hurd/i386/ld.abilist: New file.
19871 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
19872 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
19873 * sysdeps/mach/hurd/i386/libc.abilist: New file.
19874 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
19875 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
19876 * sysdeps/mach/hurd/i386/libm.abilist: New file.
19877 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
19878 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
19879 * sysdeps/mach/hurd/i386/librt.abilist: New file.
19880 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
19881 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
19882 || to respect codestyle.
19883 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
19884 (do_test_bz20181): Rename accordingly.
19885 * malloc/malloc.c: Include <assert.h>.
19886 (assert): Do not define.
19887 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
19888 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
19889 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
19890 * sysdeps/mach/hurd/hp-timing.h: New file.
19891 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
19893 2018-01-29 Darius Rad <darius@bluespec.com>
19895 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19897 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
19899 * sysdeps/init_array/crti.S (.section .init_array): Add
19900 PREINIT_FUNCTION when defined.
19901 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
19902 * config.h.in: Regenerate.
19903 * manual/platform.texi: Add RISC-V documenation for
19904 __riscv_flush_icache.
19905 * sysdeps/riscv/__longjmp.S: New file.
19906 * sysdeps/riscv/backtrace.c: Likewise.
19907 * sysdeps/riscv/bits/endian.h: Likewise.
19908 * sysdeps/riscv/bits/setjmp.h: Likewise.
19909 * sysdeps/riscv/bits/wordsize.h: Likewise.
19910 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19911 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19912 * sysdeps/riscv/dl-trampoline.S: Likewise.
19913 * sysdeps/riscv/gccframe.h: Likewise.
19914 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19915 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19916 * sysdeps/riscv/machine-gmon.h: Likewise.
19917 * sysdeps/riscv/memusage.h: Likewise.
19918 * sysdeps/riscv/setjmp.S: Likewise.
19919 * sysdeps/riscv/sys/asm.h: Likewise.
19920 * sysdeps/riscv/tls-macros.h: Likewise.
19921 * sysdeps/riscv/dl-tls.h: New file.
19922 * sysdeps/riscv/libc-tls.c: Likewise.
19923 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19924 * sysdeps/riscv/nptl/tls.h: Likewise.
19925 * sysdeps/riscv/stackinfo.h: Likewise.
19926 * sysdeps/riscv/bits/fenv.h: New file.
19927 * sysdeps/riscv/e_sqrtl.c: Likewise.
19928 * sysdeps/riscv/fpu_control.h: Likewise.
19929 * sysdeps/riscv/math-tests.h: Likewise.
19930 * sysdeps/riscv/nofpu/Implies: Likewise.
19931 * sysdeps/riscv/sfp-machine.h: Likewise.
19932 * sysdeps/riscv/tininess.h: Likewise.
19933 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19934 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19935 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19936 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19937 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19938 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19939 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19940 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19941 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19942 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19943 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19944 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19945 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19946 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19947 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19948 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19949 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19950 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19951 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19952 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19953 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19954 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19955 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19956 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19957 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19958 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19959 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19960 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19961 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19962 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19963 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19964 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19965 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19966 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19967 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19968 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19969 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19970 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19971 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19972 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19973 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19974 * sysdeps/riscv/rvf/math_private.h: Likewise.
19975 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19976 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19977 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19978 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19979 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19980 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19981 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19982 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19983 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19984 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19985 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19986 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19987 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19988 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19989 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19990 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
19991 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19992 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19993 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19994 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
19995 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19996 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19997 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19998 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19999 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
20000 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
20001 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
20002 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
20003 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
20004 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
20005 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
20006 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
20007 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
20008 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
20009 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
20010 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
20011 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
20012 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
20013 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
20014 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
20015 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
20016 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
20017 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
20018 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
20019 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
20020 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
20021 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
20022 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
20023 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
20024 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
20025 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
20026 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
20027 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
20028 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
20029 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
20030 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
20031 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
20032 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
20033 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
20034 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
20035 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
20036 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
20037 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
20038 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
20039 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20040 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
20041 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
20042 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
20043 * sysdeps/riscv/Implies: New file.
20044 * sysdeps/riscv/Makefile: Likewise.
20045 * sysdeps/riscv/configure: Likewise.
20046 * sysdeps/riscv/configure.ac: Likewise.
20047 * sysdeps/riscv/nptl/Makefile: Likewise.
20048 * sysdeps/riscv/preconfigure: Likewise.
20049 * sysdeps/riscv/rv64/Implies-after: Likewise.
20050 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
20051 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
20052 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
20053 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
20054 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
20055 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
20056 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
20057 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
20058 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
20059 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
20060 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
20061 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
20062 (Config): Likewise.
20064 2018-01-29 Florian Weimer <fweimer@redhat.com>
20067 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
20068 libnsl_hidden_proto.
20069 * include/rpcsvc/yp.h (yp_xdrall): Declare with
20070 libnsl_hidden_proto.
20071 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
20072 * nis/Makefile (libnsl-routines): Add nss-default only for
20073 build-obsolete-nsl.
20074 * nis/nis_defaults.c (__nis_default_ttl): Add
20075 libnsl_hidden_nolink_def.
20076 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
20078 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
20079 * nis/ypclnt.c (yp_maplist): Likewise.
20081 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
20083 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20084 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
20086 2018-01-29 Joseph Myers <joseph@codesourcery.com>
20088 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
20089 clean -dxfq for git updates when replacing sources.
20091 * scripts/build-many-glibcs.py (Config.build_gcc): Use
20092 --disable-libcilkrts unconditionally, not just for the final GCC
20095 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20098 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20101 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
20104 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20107 * localedata/locales/be_BY (mon): Rename to...
20108 (alt_mon): This, then synchronize with CLDR (nominative case).
20109 (abmon): Rename to...
20110 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20111 (mon): Import from CLDR (genitive case).
20113 * localedata/locales/be_BY@latin (mon): Rename to...
20115 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
20117 * localedata/locales/be_BY@latin (lang_name): Reworded to
20118 "biełaruskaja mova".
20120 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20123 * localedata/locales/el_CY (mon): Renamed to...
20125 (mon): Import from CLDR (genitive case).
20126 * localedata/locales/el_GR: Likewise.
20128 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20131 * localedata/locales/ru_RU (mon): Rename to...
20133 (abmon): Rename to...
20134 (ab_alt_mon): This.
20135 (mon): Import from CLDR (genitive case).
20136 (abmon): Copy from the old content except the 5th month which is
20137 now in the genitive case, even when abbreviated.
20138 * localedata/locales/ru_UA: Likewise.
20139 * time/tst-strptime.c (day_tests): Add an actual example of
20140 a difference between %b and %Ob in Russian.
20142 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20144 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
20145 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
20147 * resolv/res-close.c: Include <stdlib.h>.
20148 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
20149 <sys/wait.h>, <time.h>, <sys/uio.h>.
20150 (NOT_CANCEL_H): Add inclusion guard.
20151 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
20152 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
20153 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
20155 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
20156 vm_address_t * to ElfW(Addr) * for dl_main parameter.
20157 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
20159 * sysdeps/pthread/timer_create.c (timer_create): Do not use
20160 timer_ptr2id to cast struct timer_node * to void *.
20161 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
20162 --disable-libcilkrts to gcc configure.
20163 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
20164 and make them the default for now.
20165 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
20166 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
20167 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
20168 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
20169 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
20171 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
20172 __task_terminate would ever return successfully.
20173 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
20175 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
20176 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
20177 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
20178 critical section to make code simpler and avoid warning.
20179 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
20180 critical section to make code simpler and avoid warning.
20181 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
20182 const char * instead of char *.
20183 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
20184 __hurd_file_name_split, hurd_file_name_split,
20185 __hurd_directory_name_split, hurd_directory_name_split,
20186 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
20187 hurd_file_name_path_lookup): Make lookup function parameter take a
20188 const char *name instead of char *name.
20189 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
20190 __hurd_directory_name_split): Likewise.
20191 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
20192 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
20193 * sysdeps/mach/hurd/check_native.c: New file.
20194 * sysdeps/mach/hurd/check_pf.c: New file.
20195 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
20196 (__freeifaddrs): Define macro to freeifaddrs.
20197 * sysdeps/mach/hurd/libhurduser.abilist: New file.
20198 * sysdeps/mach/libmachuser.abilist: New file.
20199 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
20200 (do_test_bz20181): Rename accordingly.
20201 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
20202 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
20204 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
20205 version only if __USE_EXTERN_INLINES is defined.
20206 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
20207 __hurd_sockfail): Likewise.
20208 (_hurd_fd_get): Always declare functions, and provide inline versions
20209 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
20210 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
20211 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
20212 _hurd_port_set): Always declare functions, and provide inline versions
20213 only if __USE_EXTERN_INLINES and _LIBC are defined and
20215 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
20216 _hurd_critical_section_unlock): Likewise.
20217 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
20218 * __hurd_threadvar_location): Likewise.
20219 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
20220 _hurd_userlink_clear): Likewise.
20221 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
20222 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
20223 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
20224 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
20225 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
20226 __spin_lock_locked): Likewise.
20227 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
20228 __spin_lock_locked): Likewise.
20229 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
20230 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
20231 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
20232 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
20233 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
20234 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
20235 _POSIX_NO_TRUNC): Define to 0.
20236 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
20237 check size against PTHREAD_STACK_MIN.
20238 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
20239 IS_IN(libpthread)]: Include <sigsetops.h>.
20240 * mach/Makefile (user-interfaces): Add mach/gnumach.
20241 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
20242 * sysdeps/mach/configure (mach_interface_list): Regenerate.
20243 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
20244 instead of invalid -1.
20245 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
20246 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
20247 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
20250 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
20252 * hurd/fcntl-internal.h: New file.
20254 2018-01-27 James Clarke <jrtc27@jrtc27.com>
20256 * sysdeps/hppa/fpu/libm-test-ulps: Update.
20258 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20260 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
20263 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
20264 Build only shared objects.
20266 2018-01-26 Carlos O'Donell <carlos@redhat.com>
20268 * README: Update for hppa.
20270 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20272 * sysdeps/sparc/fpu/libm-test-ulps: Update
20273 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
20275 2018-01-26 Carlos O'Donell <carlos@redhat.com>
20279 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20282 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20283 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20284 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20285 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20288 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20291 * bits/types/__cancel_jmp_buf_tag.h: New file.
20292 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20293 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20294 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20295 * nptl/Makefile (headers): Add
20296 bits/types/__cancel_jmp_buf_tag.h.
20297 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20298 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20299 * sysdeps/nptl/pthread.h: Include
20300 <bits/types/__cancel_jmp_buf_tag.h>.
20301 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20303 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20305 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
20308 * localedata/locales/uk_UA (mon): Renamed to...
20310 (alt_digits): "0" removed and then renamed to...
20312 (date_fmt): Definition changed not to use the alternative
20315 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
20317 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
20318 FLAG_RISCV_FLOAT_ABI_DOUBLE.
20319 * elf/elf.h (EF_RISCV_RVC): New define.
20320 (EF_RISCV_FLOAT_ABI): Likewise.
20321 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
20322 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
20323 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20324 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
20325 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
20327 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20329 2018-01-25 Andreas Schwab <schwab@suse.de>
20331 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
20333 * sysdeps/gnu/configure: Regenerate.
20334 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20335 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20337 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20338 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20339 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
20340 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20341 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20343 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20345 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
20346 URL, and run autoconf, make it the default for now.
20348 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20350 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20351 soft-float ColdFire configuration.
20353 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
20354 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
20355 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
20357 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
20360 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
20362 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
20364 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
20367 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
20368 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
20369 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
20372 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20375 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
20376 Rename to __reserved and add comment.
20377 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
20378 Rename to __reserved.
20380 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20382 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20383 i686-gnu configurations.
20384 (Context.run_builds): Include mig, gnumach and hurd in components
20386 (Context.checkout): Add mig, gnumach and hurd to components.
20387 (Context.checkout_tar): Add URL mappings for mig, gnumach and
20389 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
20390 (Config.build): Install gnumach headers, build mig and install
20391 hurd headers for 'gnu' OS.
20392 (Config.install_gnumach_headers): New function.
20393 (Config.install_hurd_headers): Likewise.
20394 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
20395 when building for 'gnu' OS.
20397 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
20399 * manual/tunables.texi (Hardware Capability Tunables): Fix
20402 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
20404 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
20405 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
20406 (ALTMON_11, ALTMON_12): Improve documentation.
20407 * manual/time.texi (strftime): Likewise.
20409 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20412 * localedata/locales/pl_PL: Alternative month names added,
20413 primary month names are genitive now.
20414 * time/tst-strptime.c (day_tests): Actually use a genitive case
20415 of a month name in Polish language.
20417 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20420 * manual/locale.texi: Document ALTMON_1..12 constants for
20421 nl_langinfo. Specify when to use ALTMON instead of MON.
20422 * manual/time.texi (strftime, strptime): Document GNU extension
20423 permitting O modifier with %B and %b. Specify when to use
20426 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20429 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
20430 names, define them as the same as abbreviated month names explicitly.
20431 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
20432 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
20433 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
20434 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
20435 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
20436 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
20437 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
20438 _NL_WABALTMON_12): New enum constants.
20439 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
20440 wab_alt_mon, and ab_alt_mon_defined members.
20441 (time_output): Output ab_alt_mon and wab_alt_mon members.
20442 (time_read): Read them, initialize them as copies of abmon and wabmon
20443 respectively if they are missing, initialize ab_alt_mon_defined.
20444 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
20445 * locale/programs/locfile-kw.h: Regenerate.
20446 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
20447 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
20449 * time/strftime_l.c (a_altmonth, aam_len): New macros.
20450 [!COMPILE_WIDE] (ABALTMON_1): New macro.
20451 (__strftime_internal): Handle %Ob and %Oh formats.
20452 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
20453 (__strptime_internal): Handle %Ob and %Oh formats.
20454 * time/tst-strptime.c (day_tests): Add more tests to parse different
20455 forms of month names including the new %Ob format specifier.
20457 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20460 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
20461 define them as the same as primary full month names explicitly.
20462 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
20463 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
20464 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
20465 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
20466 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
20467 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
20468 _NL_WALTMON_12): New enum constants.
20469 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
20470 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
20472 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
20473 walt_mon, and alt_mon_defined members.
20474 (time_output): Output alt_mon and walt_mon members.
20475 (time_read): Read them, initialize them as copies of mon and wmon
20476 respectively if they are missing, initialize alt_mon_defined.
20477 * locale/programs/locfile-kw.gperf (alt_mon): Define.
20478 * locale/programs/locfile-kw.h: Regenerate.
20479 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
20480 * localedata/tst-langinfo.c (map): Add tests for the new constants
20481 ALTMON_1 .. ALTMON_12.
20482 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
20484 * time/strftime_l.c (f_altmonth): New macro.
20485 (__strftime_internal): Handle %OB format.
20486 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
20487 (__strptime_internal): Handle %OB format.
20488 * time/tst-strptime.c (day_tests): Add tests to parse different forms
20489 of month names including the new %OB format specifier.
20491 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20494 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
20495 from ABORT_TRANSACTION.
20496 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
20497 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
20498 ABORT_TRANSACTION_IMPL): Likewise.
20499 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
20500 Linux code, but remove the code that aborts transactions.
20502 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20504 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
20506 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
20508 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
20509 in date: "2004-14-09" should be "2004-09-14".
20510 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
20511 "2003-15-09" should be "2003-09-15".
20513 2018-01-18 Arjun Shankar <arjun@redhat.com>
20519 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
20521 (_int_memalign): check for integer overflow before calling
20523 * malloc/tst-malloc-too-large.c: New test.
20524 * malloc/Makefile: Add tst-malloc-too-large.
20526 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
20528 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
20529 in date: "2017-24-07" should be "2017-07-24".
20530 * localedata/locales/mai_IN: Likewise.
20531 * localedata/locales/mai_NP: Likewise.
20533 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
20535 * po/ru.po: Update translations.
20537 2018-01-17 Joseph Myers <joseph@codesourcery.com>
20540 * sysdeps/hppa/backtrace.c: New file.
20542 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
20545 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
20546 align La_x86_64_retval to VEC_SIZE.
20548 2018-01-16 Joseph Myers <joseph@codesourcery.com>
20550 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
20551 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
20553 2018-01-16 Florian Weimer <fweimer@redhat.com>
20555 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
20556 Move tst-thread-exit-clobber ...
20557 [$(CXX)] (tests-unsupported): ... to here.
20559 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20561 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
20562 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
20563 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20564 (_dl_aarch64_cap_flags): Update.
20565 (_DL_HWCAP_COUNT): Update.
20567 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20569 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
20570 (_DL_HWCAP_LAST): Remove.
20571 (_DL_HWCAP_COUNT): Move to ...
20572 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20573 (_DL_HWCAP_COUNT): ... here.
20575 2018-01-16 Florian Weimer <fweimer@redhat.com>
20577 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
20578 mode with GNU extensions.
20580 2018-01-15 Alan Hayward <alan.hayward@arm.com>
20582 * elf/elf.h (NT_ARM_SVE): Define.
20584 2018-01-15 Florian Weimer <fweimer@redhat.com>
20587 * nptl/tst-minstack-throw.cc: New file.
20588 * nptl/Makefile (tests): Add tst-minstack-throw.
20589 (LDLIBS-tst-minstack-throw): Link with libstdc++.
20590 [!CXX] (tests-unsupported): Add tst-minstack-throw.
20592 2018-01-15 Joseph Myers <joseph@codesourcery.com>
20594 * scripts/build-many-glibcs.py (Context.checkout): Default
20595 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
20598 2018-01-13 Carlos O'Donell <carlos@redhat.com>
20601 * elf/elf.h (DF_1_STUB): Define.
20602 (DF_1_PIE): Define.
20604 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20607 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
20608 Do not add 0.5 to integer or out-of-range arguments.
20610 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20612 * po/bg.po: Update translations.
20613 * po/cs.po: Likewise.
20614 * po/de.po: Likewise.
20615 * po/ko.po: Likewise.
20616 * po/pl.po: Likewise.
20617 * po/sv.po: Likewise.
20618 * po/uk.po: Likewise.
20619 * po/vi.po: Likewise.
20621 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20623 * aarch64/start.S (_start): Use __wrap_main.
20624 (__wrap_main): New local symbol.
20626 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20630 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
20631 generic_getcwd if the path returned by getcwd syscall is not absolute.
20632 * io/tst-getcwd-abspath.c: New test.
20633 * io/Makefile (tests): Add tst-getcwd-abspath.
20635 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
20637 * malloc/malloc.c (malloc_consolidate): Add size check.
20639 2018-01-12 Florian Weimer <fweimer@redhat.com>
20641 * support/write_message.c (write_message): Preserve errno.
20642 * support/check.c (print_failure): Likewise.
20643 * support/support_test_verify_impl.c (support_test_verify_impl):
20645 * support/support_test_compare_failure.c
20646 (support_test_compare_failure): Likewise.
20648 2018-01-12 Florian Weimer <fweimer@redhat.com>
20651 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
20652 Prevent installation of libnsl.so.
20653 (libnsl-inhibit-o): Do not build (or install) static libraries.
20655 2018-01-12 Egmont Koblinger <egmont@gmail.com>
20658 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
20659 before the day number which may produce a double space.
20660 (date_fmt): Likewise.
20662 2018-01-12 Joseph Myers <joseph@codesourcery.com>
20664 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
20665 instead of fegetenv.
20667 2018-01-11 Joseph Myers <joseph@codesourcery.com>
20670 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
20671 comment to say exceptions are discarded.
20672 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
20674 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
20677 2018-01-11 Florian Weimer <fweimer@redhat.com>
20679 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
20682 2018-01-11 Florian Weimer <fweimer@redhat.com>
20685 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
20686 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
20688 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20691 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
20692 negative arguments in test for NaN or infinity argument.
20694 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
20696 * po/libc.pot: Regenerate.
20698 2018-01-10 Florian Weimer <fweimer@redhat.com>
20701 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
20702 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
20704 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20706 * hurd/hurd/fd.h: Include <fcntl.h>
20707 (__hurd_at_flags): New function.
20708 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
20709 with call to __hurd_at_flags.
20710 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
20711 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
20713 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
20714 (__access_noerrno): Use __faccessat_common instead of access_common.
20715 (__access): Likewise.
20716 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
20717 with a call to __faccessat.
20718 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
20719 (__faccessat_common): ... this. Move implementation of __access into it when
20720 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
20721 reauthenticate_cwdir_at helper to implement AT mechanism.
20722 (__faccessat_noerrno): New function, just calls __faccessat_common.
20723 (__faccessat): New function, just calls __faccessat_common.
20724 (faccessat): Define weak alias.
20726 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20729 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20730 (CFLAGS-s_fmaxmagl.c): New variable.
20731 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
20734 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
20735 long int for arguments of possibly overflowing addition or
20737 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20739 2018-01-09 Joseph Myers <joseph@codesourcery.com>
20742 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20743 (CFLAGS-e_remainderl.c): New variable.
20746 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
20748 (CFLAGS-s_cacoshl.c): Likewise.
20749 (CFLAGS-s_casinhl.c): Likewise.
20750 (CFLAGS-s_catanl.c): Likewise.
20751 (CFLAGS-s_catanhl.c): Likewise.
20752 (CFLAGS-s_cexpl.c): Likewise.
20753 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
20754 (CFLAGS-s_csinhl.c): Likewise.
20755 (CFLAGS-s_clogl.c): Likewise.
20756 (CFLAGS-s_clog10l.c): Likewise.
20757 (CFLAGS-s_csinl.c): Likewise.
20758 (CFLAGS-s_csqrtl.c): Likewise.
20760 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
20761 2017-01-09 Svante Signell <svante.signell@gmail.com>
20763 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
20764 (_hurd_exec_paths): New function.
20765 * hurd/hurd.h (_hurd_exec): Deprecate function.
20766 (_hurd_exec_paths): Declare function.
20767 * hurd/Versions: Export _hurd_exec_paths.
20768 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
20769 (__execve): Use __getcwd to build absolute path, and use
20770 _hurd_exec_paths instead of _hurd_exec.
20771 * sysdeps/mach/hurd/spawni.c: Likewise.
20772 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
20775 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
20777 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
20778 test instead of failing in case of ENOENT returned by posix_openpt.
20780 2018-01-08 Florian Weimer <fweimer@redhat.com>
20782 resolv: Support binary labels in test framework.
20783 * support/resolv_test.c (struct to_be_freed): Remove.
20784 (struct compressed_name): New.
20785 (allocate_compressed_name, ascii_tolower)
20786 (compare_compressed_name): New functions.
20787 (struct resolv_response_builder): Update type of
20788 compression_offsets for use with tsearch. Rempve to_be_freed.
20789 (response_push_pointer_to_free): Remove function.
20790 (resolv_response_add_name): Rewrite using struct compressed_name
20791 and tsearch instead of hsearch_r.
20792 (response_builder_allocate): Remove initialization of
20793 compression_offsets.
20794 (response_builder_free): Update for removal of to_be_freed. Use
20795 tdestroy instead of hdestroy_r.
20796 * resolv/Makefile (tests): Add tst-resolv-binary.
20797 (tst-resolv-binary): Link with -lresolv -lpthread.
20799 2018-01-08 Florian Weimer <fweimer@redhat.com>
20801 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
20802 time. Pass positive flag instead of negative flag to
20803 support_test_compare_failure.
20804 (support_test_compare_failure): Change negative parameter to
20806 * support/support_test_compare_failure.c (report)
20807 (support_test_compare_failure): Likewise.
20808 * support/tst-test_compare.c (return_ssize_t, return_int): New.
20809 (do_test): Check int/size_t, ssize_t/size_t comparisons.
20811 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
20814 * nptl/descr.h (stackblock, stackblock_size): Update comments.
20815 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
20816 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
20818 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20820 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
20822 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20823 Add s_sincosf-sse2 and s_sincosf-fma.
20824 (CFLAGS-s_sincosf-fma.c): New.
20825 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
20826 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
20827 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
20828 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
20829 __sincosf is defined.
20831 2018-01-08 Florian Weimer <fweimer@redhat.com>
20833 * nptl/tst-thread-exit-clobber.cc: New file.
20834 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
20836 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
20837 (tests): Add tst-thread-exit-clobber.
20838 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
20840 2018-01-08 Florian Weimer <fweimer@redhat.com>
20842 * support/check.h (support_static_assert): Define.
20843 (TEST_COMPARE): Use it.
20845 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
20847 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
20848 [!__RLIM_T_MATCHES_RLIM64_T]
20849 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
20850 __getrlimit64. Add libc_hidden_weak.
20852 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
20854 * elf/elf.h (R_RISCV_NONE): New define.
20855 (R_RISCV_32): Likewise.
20856 (R_RISCV_64): Likewise.
20857 (R_RISCV_RELATIVE): Likewise.
20858 (R_RISCV_COPY): Likewise.
20859 (R_RISCV_JUMP_SLOT): Likewise.
20860 (R_RISCV_TLS_DTPMOD32): Likewise.
20861 (R_RISCV_TLS_DTPMOD64): Likewise.
20862 (R_RISCV_TLS_DTPREL32): Likewise.
20863 (R_RISCV_TLS_DTPREL64): Likewise.
20864 (R_RISCV_TLS_TPREL32): Likewise.
20865 (R_RISCV_TLS_TPREL64): Likewise.
20866 * Makerules (make-link-multidir): Make directories before linking into
20868 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
20870 (VDSO_HASH_LINUX_4_15): Likewise.
20871 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
20872 in subdirectories of lib.
20873 * nptl/Makefile (/librt.so): Always depend on
20874 "$(shared-thread-library)".
20876 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20878 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
20879 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
20880 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
20882 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
20883 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20885 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
20886 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
20887 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
20888 * sysdeps/gnu/glob-lstat-compat.c: New file.
20889 * sysdeps/gnu/glob64-lstat-compat.c: New file.
20890 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
20892 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20894 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20895 Reserve 16 chars to reloc_addr before calling _itoa_word.
20897 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20900 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20901 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20903 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20904 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20906 * resource/tst-getrlimit.c: Add copyright header.
20908 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20909 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20911 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20912 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20913 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20914 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20916 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20917 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20918 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20919 RLIM64_INFINITY): Fix values to match the kernel ones.
20920 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20921 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20922 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20923 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20924 getrlimit64@@GLIBC_2_27.
20925 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20927 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20928 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20929 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20930 setrlimit, getrlimit64 and setrlimit64.
20932 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20935 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20936 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20938 2018-01-04 Joseph Myers <joseph@codesourcery.com>
20940 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20941 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20942 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20944 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20948 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20949 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20953 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20954 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20955 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20956 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20958 2018-01-04 Florian Weimer <fweimer@redhat.com>
20961 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20962 Align the stack before calling exit.
20963 * stdlib/tst-makecontext-align.c: New file.
20964 * stdlib/Makefile (tests): Add tst-makecontext-align.
20966 2018-01-04 Florian Weimer <fweimer@redhat.com>
20968 Add support for calling dlvsym from libc.so.
20969 * include/dlfcn.h (__libc_dlvsym): Declare.
20970 * elf/Makefile (tests-static-internal): Add
20971 tst-libc_dlvsym-static.
20972 (tests-internal): Add tst-libc_dlvsym.
20973 (modules-names): Add tst-libc_dlvsym-dso.
20974 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20975 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20976 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20977 object tst-libc_dlvsym-dso.so needs to be built before running
20979 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20980 * elf/Versions: Export __libc_dlvsym.
20981 * elf/dl-libc.c (struct do_dlvsym_args): New.
20982 (do_dlvsym, __libc_dlvsym): New functions.
20983 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20984 (_dl_open_hook2): New variable.
20985 (__libc_register_dl_open_hook): Set it.
20986 * elf/tst-libc_dlvsym-dso.c: New file.
20987 * elf/tst-libc_dlvsym-static.c: Likewise.
20988 * elf/tst-libc_dlvsym.c: Likewise.
20989 * elf/tst-libc_dlvsym.h: Likewise.
20991 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20993 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20994 include <sys/mount.h>.
20996 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20998 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20999 Add __NO_MATH_ERRNO__ check.
21001 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21003 * sysdeps/mips/mips32/libm-test-ulps: Update.
21004 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21006 2018-01-02 Florian Weimer <fweimer@redhat.com>
21008 * misc/tst-pselect.c: Add copyright header.
21010 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21012 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
21014 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
21016 (settrlimit): Rename into setrlimit.
21017 (__sttrlimit): Rename into __setrlimit.
21019 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
21020 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
21021 never defined in that case.
21023 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21025 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
21027 * sysdeps/arm/libm-test-ulps: Update.
21029 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
21030 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
21032 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21034 * NEWS: Add cosf and sincosf to list of optimized functions.
21036 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21039 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
21040 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
21041 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
21042 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
21044 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
21047 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
21049 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
21050 making a copy of it.
21052 2018-01-01 Joseph Myers <joseph@codesourcery.com>
21054 * manual/texinfo.tex: Update to version 2017-12-26.21 with
21055 trailing whitespace removed.
21056 * scripts/config.guess: Update to version 2018-01-01.
21057 * scripts/config.sub: Update to version 2018-01-01.
21058 * scripts/move-if-change: Update from gnulib.
21060 * NEWS: Update copyright dates.
21061 * catgets/gencat.c (print_version): Likewise.
21062 * csu/version.c (banner): Likewise.
21063 * debug/catchsegv.sh: Likewise.
21064 * debug/pcprofiledump.c (print_version): Likewise.
21065 * debug/xtrace.sh (do_version): Likewise.
21066 * elf/ldconfig.c (print_version): Likewise.
21067 * elf/ldd.bash.in: Likewise.
21068 * elf/pldd.c (print_version): Likewise.
21069 * elf/sotruss.sh: Likewise.
21070 * elf/sprof.c (print_version): Likewise.
21071 * iconv/iconv_prog.c (print_version): Likewise.
21072 * iconv/iconvconfig.c (print_version): Likewise.
21073 * locale/programs/locale.c (print_version): Likewise.
21074 * locale/programs/localedef.c (print_version): Likewise.
21075 * login/programs/pt_chown.c (print_version): Likewise.
21076 * malloc/memusage.sh (do_version): Likewise.
21077 * malloc/memusagestat.c (print_version): Likewise.
21078 * malloc/mtrace.pl: Likewise.
21079 * manual/libc.texinfo: Likewise.
21080 * nptl/version.c (banner): Likewise.
21081 * nscd/nscd.c (print_version): Likewise.
21082 * nss/getent.c (print_version): Likewise.
21083 * nss/makedb.c (print_version): Likewise.
21084 * posix/getconf.c (main): Likewise.
21085 * scripts/test-installation.pl: Likewise.
21086 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21088 * All files with FSF copyright notices: Update copyright dates
21089 using scripts/update-copyrights.
21090 * locale/programs/charmap-kw.h: Regenerated.
21091 * locale/programs/locfile-kw.h: Likewise.
21093 2017-12-31 Zack Weinberg <zackw@panix.com>
21095 * libio/bits/libio-ldbl.h: Correct check for improper
21096 inclusion. Add own multiple include guard.
21098 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
21099 Dmitry V. Levin <ldv@altlinux.org>
21103 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
21104 string token expansion. Check for NULL pointer or empty string possibly
21105 returned by expand_dynamic_string_token.
21106 (decompose_rpath): Check for empty path after dynamic string
21109 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
21112 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
21114 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
21115 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
21116 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
21117 and PTRACE_SYSCALL.
21118 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
21119 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21120 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21121 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21122 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21123 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21125 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
21126 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21127 __ptrace_peeksiginfo_flags, ptrace): Move to ...
21128 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
21129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21130 bits/ptrace-shared.h.
21131 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
21132 <bits/ptrace-shared.h>.
21133 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21134 __ptrace_peeksiginfo_flags, ptrace): Remove.
21135 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21136 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21137 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21138 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21139 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21141 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21144 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
21145 end of the loop. Improve comments.
21147 2017-12-29 Zack Weinberg <zackw@panix.com>
21150 * manual/errno.texi (Checking for Errors): Explicitly say that errno
21151 might be set on success.
21153 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21156 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
21157 is unchanged on success.
21159 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
21161 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
21163 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
21164 expand_dynamic_string_token): Likewise.
21165 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
21168 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
21171 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
21172 is set and name contains ':', and all code depending on these checks.
21174 2017-12-24 Zack Weinberg <zackw@panix.com>
21176 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
21177 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
21179 * libio/libio.h: Rename the original version of this file to
21180 libio/bits/libio.h. Error out if not included by stdio.h or the
21182 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
21183 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
21184 if not included by bits/libio.h or the stub _G_config.h.
21185 * sysdeps/unix/sysv/linux/_G_config.h: Move to
21186 sysdeps/unix/sysv/linux/bits. Error out if not included by
21187 bits/libio.h or the stub _G_config.h.
21188 * libio/stdio.h: Include bits/libio.h, not libio.h.
21189 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
21190 well as libio.h and _G_config.h.
21192 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
21193 * libio/strfile.h, stdio-common/vfscanf.c
21194 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
21195 Include stdio.h, not _G_config.h nor libio.h.
21196 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
21197 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
21199 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
21201 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
21204 * stdlib/getrandom.c (getrandom): Fix comment.
21205 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
21207 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
21210 * manual/arith.texi (strtoul): Fix a typo.
21213 * manual/arith.texi (finite): Fix the description of the return
21216 2017-12-22 Eric Blake <ebb9@byu.net>
21218 Avoid gcc warnings on cygwin
21219 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
21220 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
21221 Avoid unused variable.
21223 2017-12-22 Florian Weimer <fweimer@redhat.com>
21225 * io/Makefile (routines): Add copy_file_range.
21226 (tests): Add tst-copy_file_range.
21227 (tests-static, tests-internal): Add tst-copy_file_range-compat.
21228 * io/Versions (GLIBC_2.27): Export copy_file_range.
21229 * io/copy_file_range-compat.c: New file.
21230 * io/copy_file_range.c: Likewise.
21231 * io/tst-copy_file_range-compat.c: Likewise.
21232 * io/tst-copy_file_range.c: Likewise.
21233 * manual/llio.texi (Copying File Data): New section.
21234 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
21235 * support/Makefile (libsupport-routines): Add support-xfstat,
21236 xftruncate, xlseek.
21237 * support/support-xfstat.c: New file.
21238 * support/xftruncate.c: Likewise.
21239 * support/xlseek.c: Likewise.
21240 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
21241 * sysdeps/unix/sysv/linux/**.abilist: Update.
21242 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
21244 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
21246 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21247 disable-multi-arch variant to aarch64-linux-gnu.
21249 2017-12-20 Joseph Myers <joseph@codesourcery.com>
21251 * manual/texinfo.tex: Update to version 2017-12-18.20 with
21252 trailing whitespace removed.
21253 * scripts/config.guess: Update to version 2017-12-17.
21254 * scripts/config.sub: Update to version 2017-11-23.
21255 * scripts/install-sh: Update to version 2017-09-23.17.
21256 * scripts/move-if-change: Update to version 2017-09-13 06:45.
21258 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21260 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
21261 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21262 * sysdeps/tile/_mcount.S (__mcount): Likewise.
21263 * sysdeps/tile/crti.S (_init, _fini): Likewise.
21264 * sysdeps/tile/crtn.S: Likewise.
21265 * sysdeps/tile/dl-start.S (_start): Likewise.
21266 * sysdeps/tile/dl-trampoline.S: Likewise.
21267 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
21268 * sysdeps/tile/start.S (_start): Likewise.
21269 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
21270 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
21271 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
21272 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
21273 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
21274 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
21275 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
21277 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
21279 * sysdeps/tile/preconfigure: Remove tilegx folder.
21280 * sysdeps/tile/tilegx/Implies: Move definitions to ...
21281 * sysdeps/tile/Implies: ... here.
21282 * sysdeps/tile/tilegx/Makefile: Move rules to ...
21283 * sysdeps/tile/Makefile: ... here.
21284 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
21285 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
21286 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
21287 * sysdeps/tile/bits/wordsize.h: ... here.
21288 * sysdeps/tile/tilegx/*: Move to ...
21289 * sysdeps/tile/*: ... here.
21290 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
21291 * sysdeps/tile/tilegx32/Implies: ... here.
21292 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
21293 * sysdeps/tile/tilegx64/Implies: ... here.
21294 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
21296 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21297 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
21298 * sysdeps/unix/sysv/linux/tile/*: ... here.
21299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
21300 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
21301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
21302 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
21304 * README: Remove tilepro-*-linux-gnu from supported architecture.
21305 * scripts/build-many-glibcs.py: Likewise.
21306 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21307 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
21308 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
21309 elf_machine_matches_host, elf_machine_dynamic,
21310 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
21311 howto, elf_machine_rela): Likewise.
21312 * sysdeps/tile/dl-start.S (_start): Likewise.
21313 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
21314 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
21315 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
21316 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
21317 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
21318 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21320 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
21321 * sysdeps/tile/preconfigure: Likewise.
21322 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
21323 POINTER_CHK_GUARD): Likewise.
21324 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
21325 * sysdeps/tile/start.S (_start): Likewise.
21326 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
21328 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
21329 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
21331 * sysdeps/unix/sysv/linux/tile/bits/environments.h
21332 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
21333 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
21335 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
21336 * sysdeps/tile/tilepro/Implies: Remove file.
21337 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
21338 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
21339 * sysdeps/tile/tilepro/memchr.c: Likewise.
21340 * sysdeps/tile/tilepro/memcpy.S: Likewise.
21341 * sysdeps/tile/tilepro/memset.c: Likewise.
21342 * sysdeps/tile/tilepro/memusage.h: Likewise.
21343 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
21344 * sysdeps/tile/tilepro/strchr.c: Likewise.
21345 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
21346 * sysdeps/tile/tilepro/strlen.c: Likewise.
21347 * sysdeps/tile/tilepro/strrchr.c: Likewise.
21348 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
21349 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
21350 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21351 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
21352 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
21353 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21355 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
21356 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21357 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
21358 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
21359 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21360 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
21361 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
21362 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
21363 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
21364 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
21365 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
21366 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
21367 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
21368 tilepro mention in comment.
21370 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
21371 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
21372 * nptl/pthread_join_common.c: New file: common function used on
21373 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
21374 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
21375 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
21376 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21377 (cleanup): Move definition to pthread_join_common.c.
21378 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
21379 Remove superflous checks.
21380 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
21383 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
21385 * sysdeps/aarch64/libm-test-ulps: Update.
21387 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21389 * sysdeps/aarch64/memset.S (MEMSET): Define.
21391 2017-12-20 Florian Weimer <fweimer@redhat.com>
21394 nptl: Provide full implementation of pthread_self in libc.so.
21395 * nptl/Makefile (routines): Add pthread_self.
21396 (libpthread-routines): Replace pthread_self with
21397 compat-pthread_self.
21398 * nptl/forward.c (pthread_self): Remove.
21399 * nptl/nptl-init.c (pthread_functions): Do not initialize
21401 * nptl/pthread_self.c (pthread_self): Remove weak alias.
21402 * nptl/compat-pthread_self.c: New file.
21403 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
21404 Remove ptr_pthread_self.
21406 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
21408 * posix/regcomp.c: Fix spelling in comments.
21409 * posix/regex.h: Likewise.
21410 * posix/regex_internal.c: Likewise.
21411 * posix/regexec.c: Likewise.
21413 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
21416 * math/Makefile [C++] (tests): Add test for iseqsig.
21417 * math/math.h [C++] (iseqsig): New implementation, which does
21418 not rely on __MATH_TG/__builtin_types_compatible_p.
21419 * math/test-math-iseqsig.cc: New file.
21420 * sysdeps/powerpc/powerpc64le/Makefile
21421 (CFLAGS-test-math-iseqsig.cc): New variable.
21423 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
21425 * elf/dl-load.c (is_trusted_path): Remove.
21426 (fillin_rpath): Remove check_trusted argument and its use,
21427 all callers changed.
21429 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21432 * Makeconfig (link-pie-before-libc): Replace -pie with
21433 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
21434 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
21435 (tst-dlopen-aout-no-pie): New.
21436 (LDFLAGS-tst-prelink): Removed.
21437 (tst-prelink-no-pie): New.
21438 (LDFLAGS-tst-main1): Removed.
21439 (tst-main1-no-pie): New.
21440 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
21441 (tst-gmon-no-pie): New.
21443 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21445 * manual/install.texi: Document that --enable-static-pie
21447 * INSTALL: Regenerated.
21449 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
21452 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
21455 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21459 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21461 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21463 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21465 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21466 <errno.h>. Include "eexp.tbl".
21467 (half): New constant.
21469 (__ieee754_exp): Rewrite.
21470 (__slowexp): Remove prototype.
21471 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21472 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21473 * sysdeps/i386/fpu/slowexp.c: Likewise.
21474 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21475 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21476 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21477 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21478 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21479 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21480 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21482 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21483 (CPPFLAGS-slowexp.c): Remove variable.
21484 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21485 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21486 (CFLAGS-slowexp-fma.c): Remove variable.
21487 (CFLAGS-slowexp-fma4.c): Likewise.
21488 (CFLAGS-slowexp-avx.c): Likewise.
21489 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21491 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21492 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21493 * math/Makefile (type-double-routines): Remove slowexp.
21494 * manual/probes.texi (slowexp_p6): Remove.
21495 (slowexp_p32): Likewise.
21497 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21499 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
21502 * lib/glob.c (glob): Do not pass NULL to mempcpy.
21504 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21508 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21510 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21511 <errno.h>. Include "eexp.tbl".
21512 (half): New constant.
21514 (__ieee754_exp): Rewrite.
21515 (__slowexp): Remove prototype.
21516 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21517 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21518 * sysdeps/i386/fpu/slowexp.c: Likewise.
21519 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21520 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21521 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21522 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21523 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21524 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21525 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21527 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21528 (CPPFLAGS-slowexp.c): Remove variable.
21529 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21530 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21531 (CFLAGS-slowexp-fma.c): Remove variable.
21532 (CFLAGS-slowexp-fma4.c): Likewise.
21533 (CFLAGS-slowexp-avx.c): Likewise.
21534 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21536 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21537 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21538 * math/Makefile (type-double-routines): Remove slowexp.
21539 * manual/probes.texi (slowexp_p6): Remove.
21540 (slowexp_p32): Likewise.
21542 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21543 James Clarke <jrtc27@jrtc27.com>
21546 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
21549 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21552 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
21555 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21558 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21559 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21560 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21561 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21564 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21567 * bits/types/__cancel_jmp_buf_tag.h: New file.
21568 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21569 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21570 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21571 * nptl/Makefile (headers): Add
21572 bits/types/__cancel_jmp_buf_tag.h.
21573 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21574 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21575 * sysdeps/nptl/pthread.h: Include
21576 <bits/types/__cancel_jmp_buf_tag.h>.
21577 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21579 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21581 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21583 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21584 --enable-static-pie variants to x86_64, x32 and i686.
21586 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21589 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
21590 argument for attrubutes. All callers changed.
21591 (__inline_mathop1): Likewise. All callers changed.
21592 (__inline_mathop): Likewise. All callers changed.
21593 [__USE_MISC] (scalbn): Use __inline_forward instead of
21594 __inline_forward_c.
21595 [__USE_ISOC99] (scalbln): Likewise.
21596 [__USE_ISOC99] (nearbyint): Likewise.
21597 [__USE_ISOC99] (lrint): Likewise.
21598 [__USE_MISC] (scalbnf): Likewise.
21599 [__USE_ISOC99] (scalblnf): Likewise.
21600 [__USE_ISOC99] (nearbyintf): Likewise.
21601 [__USE_ISOC99] (lrintf): Likewise.
21602 [__USE_MISC] (scalbnl): Likewise.
21603 [__USE_ISOC99] (scalblnl): Likewise.
21604 [__USE_ISOC99] (nearbyintl): Likewise.
21605 [__USE_ISOC99] (lrintl): Likewise.
21606 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
21607 __inline_mathop and __m81_defun changed.
21609 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
21610 CPU or FPU for ARM hard-float configurations.
21612 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21614 * nptl/tst-attr3.c: Include <libc-diag.h>.
21615 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
21617 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
21619 * string/tester.c (test_strncat): Also disable -Warray-bounds
21620 warnings for two tests.
21622 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21625 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
21626 $(cc-pie-default) == yes.
21627 * config.make.in (cc-pie-default): New.
21628 * configure.ac (libc_cv_pie_default): Renamed to ...
21629 (libc_cv_cc_pie_default): This.
21630 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
21631 * configure: Regenerated.
21633 2017-12-18 Florian Weimer <fweimer@redhat.com>
21636 ld.so: Harden dl-libc/libdl hooks.
21637 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
21638 (rtld_active): New function.
21639 * dlfcn/dladdr.c (__dladdr): Call it.
21640 * dlfcn/dladdr1.c (__dladdr1): Likewise.
21641 * dlfcn/dlclose.c (__dlcose): Likewise.
21642 * dlfcn/dlerror.c (__dlerror): Likewise.
21643 * dlfcn/dlinfo.c (__dlinfo): Likewise.
21644 * dlfcn/dlmopen.c (__dlmopen): Likewise.
21645 * dlfcn/dlopen.c (__dlopen): Likewise.
21646 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21647 * dlfcn/dlsym.c (__dlsym): Likewise.
21648 * dlfcn/dlvsym.c (__dlvsym): Likewise.
21649 * libio/vtables.c (_IO_vtable_check): Likewise.
21650 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
21651 (__libc_dlclose): Likewise.
21652 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
21655 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21658 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
21659 buffers for readlink input and output.
21661 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
21664 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
21665 inhibit_stack_protector.
21668 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
21669 inhibit_stack_protector.
21671 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
21674 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
21675 code and invocation.
21677 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
21679 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
21681 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
21684 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
21686 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21688 * sysdeps/s390/fpu/libm-test-ulps: Update.
21690 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21694 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21696 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
21697 constants to s_sincosf.h file.
21698 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21699 * sysdeps/ieee754/flt-32/s_sincosf.c: New
21701 * sysdeps/ieee754/flt-32/s_sincosf.h:
21704 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21707 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
21710 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
21713 * INSTALL: Regenerated.
21714 * Makeconfig (real-static-start-installed-name): New.
21715 (pic-default): Updated for --enable-static-pie.
21716 (pie-default): New for --enable-static-pie.
21717 (default-pie-ldflag): Likewise.
21718 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
21719 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
21720 Replace $(static-start-installed-name) with
21721 $(real-static-start-installed-name).
21722 (+prectorT): Updated for --enable-static-pie.
21723 (+postctorT): Likewise.
21724 (CFLAGS-.o): Add $(pie-default).
21725 (CFLAGS-.op): Likewise.
21726 * NEWS: Mention --enable-static-pie.
21727 * config.h.in (ENABLE_STATIC_PIE): New.
21728 * configure.ac (--enable-static-pie): New configure option.
21729 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
21730 (have-static-pie): Likewise.
21731 Enable static PIE if linker supports --no-dynamic-linker.
21732 (ENABLE_STATIC_PIE): New AC_DEFINE.
21733 (enable-static-pie): New LIBC_CONFIG_VAR.
21734 * configure: Regenerated.
21735 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
21736 gr$(start-installed-name) for --enable-static-pie.
21737 (extra-objs): Likewise.
21738 (install-lib): Likewise.
21739 (extra-objs): Add static-reloc.o and static-reloc.os
21740 ($(objpfx)$(start-installed-name)): Also depend on
21741 $(objpfx)static-reloc.o.
21742 ($(objpfx)r$(start-installed-name)): New.
21743 ($(objpfx)g$(start-installed-name)): Also depend on
21744 $(objpfx)static-reloc.os.
21745 ($(objpfx)gr$(start-installed-name)): New.
21746 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
21748 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
21750 * csu/static-reloc.c: New file.
21751 * elf/Makefile (routines): Add dl-reloc-static-pie.
21752 (elide-routines.os): Likewise.
21753 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
21754 (tst-tls1-static-non-pie-no-pie): New.
21755 * elf/dl-reloc-static-pie.c: New file.
21756 * elf/dl-support.c (_dl_get_dl_main_map): New function.
21757 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
21758 STATIC_PIE_BOOTSTRAP.
21759 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21760 * gmon/Makefile (tests): Add tst-gmon-static-pie.
21761 (tests-static): Likewise.
21762 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
21763 (tst-gmon-static-no-pie): New.
21764 (CFLAGS-tst-gmon-static-pie.c): Likewise.
21765 (CRT-tst-gmon-static-pie): Likewise.
21766 (tst-gmon-static-pie-ENV): Likewise.
21767 (tests-special): Likewise.
21768 ($(objpfx)tst-gmon-static-pie.out): Likewise.
21769 (clean-tst-gmon-static-pie-data): Likewise.
21770 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
21771 * gmon/tst-gmon-static-pie.c: New file.
21772 * manual/install.texi: Document --enable-static-pie.
21773 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
21774 (_dl_get_dl_main_map): Likewise.
21775 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
21776 * sysdeps/x86_64/configure.ac: Likewise.
21777 * sysdeps/i386/configure: Regenerated.
21778 * sysdeps/x86_64/configure: Likewise.
21779 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
21780 (ASFLAGS-.op): Likewise.
21782 2017-12-15 Joseph Myers <joseph@codesourcery.com>
21784 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
21785 * posix/tst-mmap-offset.c (fname): Use /tmp.
21786 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
21788 2017-12-15 Steve Ellcey <sellcey@cavium.com>
21790 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
21792 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
21794 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
21797 2017-12-15 Joseph Myers <joseph@codesourcery.com>
21799 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
21800 --with-float=hard for arm-linux-gnueabihf configurations.
21803 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
21804 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
21805 ($(mo-installed)): Use $(objpfx)%.mo.
21806 (realclean): Remove rule.
21808 * po/Makefile (linguas): Remove rule and dependencies.
21809 (linguas.mo): Likewise.
21810 (.PHONY): Do not depend on linguas and linguas.mo.
21811 (podir): Remove variable.
21812 (pofiles): Likewise.
21813 [$(pofiles)] (%.po): Remove rule.
21815 * sysdeps/sparc/sparc32/Makefile
21816 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
21817 start-of-line whitespace in argument of echo.
21818 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
21819 with whitespace. Generate __wrap_.udiv alias.
21820 * sysdeps/sparc/sparc32/rem.S: Regenerated.
21821 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21822 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21823 * sysdeps/sparc/sparc32/urem.S: Likewise.
21825 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21827 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
21828 for aligned inputs.
21830 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
21832 * benchtests/bench-strcmp.c: Print output in JSON format.
21834 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
21836 2017-12-14 Florian Weimer <fweimer@redhat.com>
21840 * elf/dl-load.c (_dl_init_paths): Compute number of components in
21841 the expanded path string.
21843 2017-12-14 Florian Weimer <fweimer@redhat.com>
21847 * elf/dl-load.c (system_dirs): Update comment.
21848 (nsystem_dirs_len): Use array_length.
21849 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
21851 2017-12-14 Florian Weimer <fweimer@redhat.com>
21853 Simplify compiling most of support/ outside of glibc.
21854 * support/check_addrinfo.c: Include <string.h>.
21855 * support/check_dns_packet.c: Likewise.
21856 * support/check_hostent.c: Likewise.
21857 * support/support_can_chroot.c: Include <support/xunistd.h>.
21858 * support/support_format_addrinfo.c: Include <stdlib.h>
21859 * support/support_format_dns_packet.c: Include <stdbool.h>.
21860 * support/support_format_hostent.c: Include <stdlib.h>.
21861 * support/support_format_netent.c: Likewise.
21862 * support/support_write_string.c: Include <support/xunistd.h>.
21863 * support/xdlfcn.c: Include <stddef.h>.
21865 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
21867 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
21869 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21870 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21872 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21873 (sysdeps_routines): Add memset-niagara7.
21874 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
21876 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
21878 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
21879 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21880 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
21881 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
21882 Add niagara7 option.
21883 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
21886 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21887 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
21888 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21890 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21892 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21893 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21894 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21895 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21896 and __memmove_niagara7.
21897 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21898 Add niagara7 option.
21899 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21900 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21901 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21902 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21903 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21905 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21907 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21908 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21909 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21910 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21912 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21913 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21914 _dl_sparc_cap_flags array.
21915 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21917 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21919 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21920 time whenever possible.
21922 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21924 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21925 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21927 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21929 * soft-fp/fmadf4.c: Move to ....
21930 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21931 * soft-fp/fmasf4.c: Move to ....
21932 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21933 * soft-fp/fmatf4.c: Move to ....
21934 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21935 * sysdeps/ieee754/soft-fp/Makefile: New file.
21936 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21937 * sysdeps/arm/preconfigure: Regenerated.
21938 * sysdeps/arm/nofpu/Implies: New file.
21939 * sysdeps/arm/s_fma.c: Remove file.
21940 * sysdeps/arm/s_fmaf.c: Likewise.
21941 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21942 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21943 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21944 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21945 * sysdeps/microblaze/s_fma.c: Remove file.
21946 * sysdeps/microblaze/s_fmaf.c: Likewise.
21947 * sysdeps/mips/mips32/nofpu/Implies: New file.
21948 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21949 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21950 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21951 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21952 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21953 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21954 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21956 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21957 * sysdeps/nios2/s_fma.c: Remove file.
21958 * sysdeps/nios2/s_fmaf.c: Likewise.
21959 * sysdeps/sh/nofpu/Implies: New file.
21960 * sysdeps/sh/s_fma.c: Remove file.
21961 * sysdeps/sh/s_fmaf.c: Likewise.
21962 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21963 * sysdeps/tile/s_fma.c: Remove file.
21964 * sysdeps/tile/s_fmaf.c: Likewise.
21966 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21968 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21969 Add s_cosf-sse2 and s_cosf-fma.
21970 (CFLAGS-s_cosf-fma.c): New.
21971 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21972 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21973 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21975 2017-12-12 Steve Ellcey <sellcey@cavium.com>
21977 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21979 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21981 * libio/Makefile (tests): Add tst-bz22415.
21982 (tst-bz22415-ENV): New rule.
21983 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21984 (tests-special): Add tst-bz22415-mem.out.
21985 ($(objpfx)tst-bz22415-mem.out): New rule.
21986 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21987 in case of a successful seek operation.
21988 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21989 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21990 buffer is required.
21991 * libio/tst-bz22415.c: New test.
21993 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21995 2017-12-12 James Clarke <jrtc27@jrtc27.com>
21997 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21998 __IPC_64 to 0 to avoid IPC_64 being set.
22000 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22003 * math/bits/mathcalls.h (nextafter): Remove const.
22004 (nexttoward): Likewise.
22006 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22008 * configure.ac (--with-fp): Remove configure option.
22009 (with_fp_cond): New variable.
22010 (libc_cv_with_fp): New configure test. Use this variable instead
22012 * configure: Regenerated.
22013 * config.make.in (with-fp): Use @libc_cv_with_fp@.
22014 * manual/install.texi (Configuring and compiling): Remove
22016 * INSTALL: Regenerated.
22017 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
22018 * sysdeps/mips/preconfigure (with_fp_cond): Define.
22019 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
22020 * sysdeps/sh/preconfigure (with_fp_cond): Define.
22021 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
22022 use --without-fp to configure glibc.
22024 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
22026 * manual/locale.texi (nl_langinfo): Fix a typo.
22028 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
22031 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
22033 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22035 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
22036 (CFLAGS-argp-parse.c): Likewise.
22037 (CFLAGS-argp-fmtstream.c): Likewise.
22038 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
22039 (CPPFLAGS-sha512-crypt.c): Likewise.
22040 (CPPFLAGS-md5-crypt.c): Likewise.
22041 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
22042 (CFLAGS-stack_chk_fail_local.c): Likewise.
22043 (CFLAGS-backtrace.c): Likewise.
22044 (CFLAGS-sprintf_chk.c): Likewise.
22045 (CFLAGS-snprintf_chk.c): Likewise.
22046 (CFLAGS-vsprintf_chk.c): Likewise.
22047 (CFLAGS-vsnprintf_chk.c): Likewise.
22048 (CFLAGS-asprintf_chk.c): Likewise.
22049 (CFLAGS-vasprintf_chk.c): Likewise.
22050 (CFLAGS-obprintf_chk.c): Likewise.
22051 (CFLAGS-dprintf_chk.c): Likewise.
22052 (CFLAGS-vdprintf_chk.c): Likewise.
22053 (CFLAGS-printf_chk.c): Likewise.
22054 (CFLAGS-fprintf_chk.c): Likewise.
22055 (CFLAGS-vprintf_chk.c): Likewise.
22056 (CFLAGS-vfprintf_chk.c): Likewise.
22057 (CFLAGS-gets_chk.c): Likewise.
22058 (CFLAGS-fgets_chk.c): Likewise.
22059 (CFLAGS-fgets_u_chk.c): Likewise.
22060 (CFLAGS-fread_chk.c): Likewise.
22061 (CFLAGS-fread_u_chk.c): Likewise.
22062 (CFLAGS-swprintf_chk.c): Likewise.
22063 (CFLAGS-vswprintf_chk.c): Likewise.
22064 (CFLAGS-wprintf_chk.c): Likewise.
22065 (CFLAGS-fwprintf_chk.c): Likewise.
22066 (CFLAGS-vwprintf_chk.c): Likewise.
22067 (CFLAGS-vfwprintf_chk.c): Likewise.
22068 (CFLAGS-fgetws_chk.c): Likewise.
22069 (CFLAGS-fgetws_u_chk.c): Likewise.
22070 (CFLAGS-read_chk.c): Likewise.
22071 (CFLAGS-pread_chk.c): Likewise.
22072 (CFLAGS-pread64_chk.c): Likewise.
22073 (CFLAGS-recv_chk.c): Likewise.
22074 (CFLAGS-recvfrom_chk.c): Likewise.
22075 (CFLAGS-tst-longjmp_chk.c): Likewise.
22076 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
22077 (CFLAGS-tst-longjmp_chk2.c): Likewise.
22078 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
22079 (CFLAGS-tst-longjmp_chk3.c): Likewise.
22080 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22081 (CFLAGS-tst-chk1.c): Likewise.
22082 (CFLAGS-tst-chk2.c): Likewise.
22083 (CFLAGS-tst-chk3.c): Likewise.
22084 (CFLAGS-tst-chk4.cc): Likewise.
22085 (CFLAGS-tst-chk5.cc): Likewise.
22086 (CFLAGS-tst-chk6.cc): Likewise.
22087 (CFLAGS-tst-lfschk1.c): Likewise.
22088 (CFLAGS-tst-lfschk2.c): Likewise.
22089 (CFLAGS-tst-lfschk3.c): Likewise.
22090 (CFLAGS-tst-lfschk4.cc): Likewise.
22091 (CFLAGS-tst-lfschk5.cc): Likewise.
22092 (CFLAGS-tst-lfschk6.cc): Likewise.
22093 (CFLAGS-tst-ssp-1.c): Likewise.
22094 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
22095 (CFLAGS-scandir64.c): Likewise.
22096 (CFLAGS-scandir-tail.c): Likewise.
22097 (CFLAGS-scandir64-tail.c): Likewise.
22098 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
22099 (CFLAGS-dl-tunables.c): Likewise.
22100 (CFLAGS-dl-runtime.c): Likewise.
22101 (CFLAGS-dl-lookup.c): Likewise.
22102 (CFLAGS-dl-iterate-phdr.c): Likewise.
22103 (CFLAGS-vismain.c): Likewise.
22104 (CFLAGS-tst-linkall-static.c): Likewise.
22105 (CFLAGS-tst-linkall-static.c): Likewise.
22106 (CPPFLAGS-dl-load.c): Likewise.
22107 (CFLAGS-ldconfig.c): Likewise.
22108 (CFLAGS-dl-cache.c): Likewise.
22109 (CFLAGS-cache.c): Likewise.
22110 (CFLAGS-rtld.c): Likewise.
22111 (CFLAGS-multiload.c): Likewise.
22112 (CFLAGS-filtmod1.c): Likewise.
22113 (CFLAGS-tst-align.c): Likewise.
22114 (CFLAGS-tst-align2.c): Likewise.
22115 (CFLAGS-tst-alignmod.c): Likewise.
22116 (CFLAGS-tst-alignmod2.c): Likewise.
22117 (CPPFLAGS-tst-execstack.c): Likewise.
22118 (CFLAGS-tst-ptrguard1-static.c): Likewise.
22119 (CFLAGS-tst-latepthreadmod.c): Likewise.
22120 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
22121 (CFLAGS-getgrnam_r.c): Likewise.
22122 (CFLAGS-getgrent_r.c): Likewise.
22123 (CFLAGS-getgrent.c): Likewise.
22124 (CFLAGS-fgetgrent.c): Likewise.
22125 (CFLAGS-fgetgrent_r.c): Likewise.
22126 (CFLAGS-putgrent.c): Likewise.
22127 (CFLAGS-initgroups.c): Likewise.
22128 (CFLAGS-getgrgid.c): Likewise.
22129 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
22130 (CFLAGS-getsgent.c): Likewise.
22131 (CFLAGS-fgetsgent.c): Likewise.
22132 (CFLAGS-fgetsgent_r.c): Likewise.
22133 (CFLAGS-putsgent.c): Likewise.
22134 (CFLAGS-getsgnam.c): Likewise.
22135 (CFLAGS-getsgnam_r.c): Likewise.
22136 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
22137 (CFLAGS-iconv_charmap.c): Likewise.
22138 (CFLAGS-dummy-repertoire.c): Likewise.
22139 (CFLAGS-charmap.c): Likewise.
22140 (CFLAGS-linereader.c): Likewise.
22141 (CFLAGS-simple-hash.c): Likewise.
22142 (CFLAGS-gconv_conf.c): Likewise.
22143 (CFLAGS-iconvconfig.c): Likewise.
22144 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22145 (CFLAGS-gethstbyad.c): Likewise.
22146 (CFLAGS-gethstbynm_r.c): Likewise.
22147 (CFLAGS-gethstbynm.c): Likewise.
22148 (CFLAGS-gethstbynm2_r.c): Likewise.
22149 (CFLAGS-gethstbynm2.c): Likewise.
22150 (CFLAGS-gethstent_r.c): Likewise.
22151 (CFLAGS-gethstent.c): Likewise.
22152 (CFLAGS-rcmd.c): Likewise.
22153 (CFLAGS-getnetbynm_r.c): Likewise.
22154 (CFLAGS-getnetbynm.c): Likewise.
22155 (CFLAGS-getnetbyad_r.c): Likewise.
22156 (CFLAGS-getnetbyad.c): Likewise.
22157 (CFLAGS-getnetent_r.c): Likewise.
22158 (CFLAGS-getnetent.c): Likewise.
22159 (CFLAGS-getaliasent_r.c): Likewise.
22160 (CFLAGS-getaliasent.c): Likewise.
22161 (CFLAGS-getrpcent_r.c): Likewise.
22162 (CFLAGS-getrpcent.c): Likewise.
22163 (CFLAGS-getservent_r.c): Likewise.
22164 (CFLAGS-getservent.c): Likewise.
22165 (CFLAGS-getprtent_r.c): Likewise.
22166 (CFLAGS-getprtent.c): Likewise.
22167 (CFLAGS-either_ntoh.c): Likewise.
22168 (CFLAGS-either_hton.c): Likewise.
22169 (CFLAGS-getnetgrent.c): Likewise.
22170 (CFLAGS-getnetgrent_r.c): Likewise.
22171 (CFLAGS-tst-checks-posix.c): Likewise.
22172 (CFLAGS-tst-sockaddr.c): Likewise.
22173 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
22174 (CFLAGS-tst-translit.c): Likewise.
22175 (CFLAGS-tst-gettext2.c): Likewise.
22176 (CFLAGS-tst-codeset.c): Likewise.
22177 (CFLAGS-tst-gettext3.c): Likewise.
22178 (CFLAGS-tst-gettext4.c): Likewise.
22179 (CFLAGS-tst-gettext5.c): Likewise.
22180 (CFLAGS-tst-gettext6.c): Likewise.
22181 * io/Makefile (CFLAGS-open.c): Likewise.
22182 (CFLAGS-open64.c): Likewise.
22183 (CFLAGS-creat.c): Likewise.
22184 (CFLAGS-creat64.c): Likewise.
22185 (CFLAGS-fcntl.c): Likewise.
22186 (CFLAGS-poll.c): Likewise.
22187 (CFLAGS-ppoll.c): Likewise.
22188 (CFLAGS-lockf.c): Likewise.
22189 (CFLAGS-statfs.c): Likewise.
22190 (CFLAGS-fstatfs.c): Likewise.
22191 (CFLAGS-statvfs.c): Likewise.
22192 (CFLAGS-fstatvfs.c): Likewise.
22193 (CFLAGS-fts.c): Likewise.
22194 (CFLAGS-fts64.c): Likewise.
22195 (CFLAGS-ftw.c): Likewise.
22196 (CFLAGS-ftw64.c): Likewise.
22197 (CFLAGS-lockf.c): Likewise.
22198 (CFLAGS-posix_fallocate.c): Likewise.
22199 (CFLAGS-posix_fallocate64.c): Likewise.
22200 (CFLAGS-fallocate.c): Likewise.
22201 (CFLAGS-fallocate64.c): Likewise.
22202 (CFLAGS-read.c): Likewise.
22203 (CFLAGS-write.c): Likewise.
22204 (CFLAGS-test-stat.c): Likewise.
22205 (CFLAGS-test-lfs.c): Likewise.
22206 * libio/Makefile (CFLAGS-fileops.c): Likewise.
22207 (CFLAGS-fputc.c): Likewise.
22208 (CFLAGS-fputwc.c): Likewise.
22209 (CFLAGS-freopen64.c): Likewise.
22210 (CFLAGS-freopen.c): Likewise.
22211 (CFLAGS-fseek.c): Likewise.
22212 (CFLAGS-fseeko64.c): Likewise.
22213 (CFLAGS-fseeko.c): Likewise.
22214 (CFLAGS-ftello64.c): Likewise.
22215 (CFLAGS-ftello.c): Likewise.
22216 (CFLAGS-fwide.c): Likewise.
22217 (CFLAGS-genops.c): Likewise.
22218 (CFLAGS-getc.c): Likewise.
22219 (CFLAGS-getchar.c): Likewise.
22220 (CFLAGS-getwc.c): Likewise.
22221 (CFLAGS-getwchar.c): Likewise.
22222 (CFLAGS-iofclose.c): Likewise.
22223 (CFLAGS-iofflush.c): Likewise.
22224 (CFLAGS-iofgetpos64.c): Likewise.
22225 (CFLAGS-iofgetpos.c): Likewise.
22226 (CFLAGS-iofgets.c): Likewise.
22227 (CFLAGS-iofgetws.c): Likewise.
22228 (CFLAGS-iofputs.c): Likewise.
22229 (CFLAGS-iofputws.c): Likewise.
22230 (CFLAGS-iofread.c): Likewise.
22231 (CFLAGS-iofsetpos64.c): Likewise.
22232 (CFLAGS-iofsetpos.c): Likewise.
22233 (CFLAGS-ioftell.c): Likewise.
22234 (CFLAGS-iofwrite.c): Likewise.
22235 (CFLAGS-iogetdelim.c): Likewise.
22236 (CFLAGS-iogetline.c): Likewise.
22237 (CFLAGS-iogets.c): Likewise.
22238 (CFLAGS-iogetwline.c): Likewise.
22239 (CFLAGS-ioputs.c): Likewise.
22240 (CFLAGS-ioseekoff.c): Likewise.
22241 (CFLAGS-ioseekpos.c): Likewise.
22242 (CFLAGS-iosetbuffer.c): Likewise.
22243 (CFLAGS-iosetvbuf.c): Likewise.
22244 (CFLAGS-ioungetc.c): Likewise.
22245 (CFLAGS-ioungetwc.c): Likewise.
22246 (CFLAGS-oldfileops.c): Likewise.
22247 (CFLAGS-oldiofclose.c): Likewise.
22248 (CFLAGS-oldiofgetpos64.c): Likewise.
22249 (CFLAGS-oldiofgetpos.c): Likewise.
22250 (CFLAGS-oldiofsetpos64.c): Likewise.
22251 (CFLAGS-oldiofsetpos.c): Likewise.
22252 (CFLAGS-peekc.c): Likewise.
22253 (CFLAGS-putc.c): Likewise.
22254 (CFLAGS-putchar.c): Likewise.
22255 (CFLAGS-putwc.c): Likewise.
22256 (CFLAGS-putwchar.c): Likewise.
22257 (CFLAGS-rewind.c): Likewise.
22258 (CFLAGS-wfileops.c): Likewise.
22259 (CFLAGS-wgenops.c): Likewise.
22260 (CFLAGS-oldiofopen.c): Likewise.
22261 (CFLAGS-iofopen.c): Likewise.
22262 (CFLAGS-iofopen64.c): Likewise.
22263 (CFLAGS-oldtmpfile.c): Likewise.
22264 (CFLAGS-tst_putwc.c): Likewise.
22265 * locale/Makefile (CFLAGS-md5.c): Likewise.
22266 (CFLAGS-charmap.c): Likewise.
22267 (CFLAGS-locfile.c): Likewise.
22268 (CFLAGS-charmap-dir.c): Likewise.
22269 * login/Makefile (CFLAGS-grantpt.c): Likewise.
22270 (CFLAGS-getpt.c): Likewise.
22271 (CFLAGS-pt_chown.c): Likewise.
22272 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
22273 (CFLAGS-obstack.c): Likewise.
22274 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
22275 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
22276 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
22277 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
22278 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
22279 (CFLAGS-test-tgmath.c): Likewise.
22280 (CFLAGS-test-tgmath2.c): Likewise.
22281 (CFLAGS-test-tgmath-ret.c): Likewise.
22282 (CFLAGS-test-powl.c): Likewise.
22283 (CFLAGS-test-snan.c): Likewise.
22284 (CFLAGS-test-signgam-finite.c): Likewise.
22285 (CFLAGS-test-signgam-finite-c99.c): Likewise.
22286 (CFLAGS-test-signgam-finite-c11.c): Likewise.
22287 (CFLAGS-test-signgam-uchar.c): Likewise.
22288 (CFLAGS-test-signgam-uchar-init.c): Likewise.
22289 (CFLAGS-test-signgam-uchar-static.c): Likewise.
22290 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22291 (CFLAGS-test-signgam-uint.c): Likewise.
22292 (CFLAGS-test-signgam-uint-init.c): Likewise.
22293 (CFLAGS-test-signgam-uint-static.c): Likewise.
22294 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22295 (CFLAGS-test-signgam-ullong.c): Likewise.
22296 (CFLAGS-test-signgam-ullong-init.c): Likewise.
22297 (CFLAGS-test-signgam-ullong-static.c): Likewise.
22298 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22299 (CFLAGS-test-math-cxx11.cc): Likewise.
22300 (CFLAGS-test-math-isinff.cc): Likewise.
22301 (CFLAGS-test-math-iszero.cc): Likewise.
22302 (CFLAGS-test-math-issignaling.cc): Likewise.
22303 (CFLAGS-test-math-iscanonical.cc): Likewise.
22304 (CFLAGS-test-iszero-excess-precision.c): Likewise.
22305 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
22306 (CFLAGS-test-flt-eval-method.c): Likewise.
22307 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
22308 (CFLAGS-test-finite-macros.c): Likewise.
22309 * misc/Makefile (CFLAGS-select.c): Likewise.
22310 (CFLAGS-tsearch.c): Likewise.
22311 (CFLAGS-lsearch.c): Likewise.
22312 (CFLAGS-pselect.c): Likewise.
22313 (CFLAGS-readv.c): Likewise.
22314 (CFLAGS-writev.c): Likewise.
22315 (CFLAGS-preadv.c): Likewise.
22316 (CFLAGS-preadv64.c): Likewise.
22317 (CFLAGS-pwritev.c): Likewise.
22318 (CFLAGS-pwritev64.c): Likewise.
22319 (CFLAGS-preadv2.c): Likewise.
22320 (CFLAGS-preadv64v2.c): Likewise.
22321 (CFLAGS-pwritev2.c): Likewise.
22322 (CFLAGS-pwritev64v2.c): Likewise.
22323 (CFLAGS-usleep.c): Likewise.
22324 (CFLAGS-syslog.c): Likewise.
22325 (CFLAGS-error.c): Likewise.
22326 (CFLAGS-getpass.c): Likewise.
22327 (CFLAGS-mkstemp.c): Likewise.
22328 (CFLAGS-mkstemp64.c): Likewise.
22329 (CFLAGS-getsysstats.c): Likewise.
22330 (CFLAGS-getusershell.c): Likewise.
22331 (CFLAGS-err.c): Likewise.
22332 (CFLAGS-tst-tsearch.c): Likewise.
22333 (CFLAGS-msync.c): Likewise.
22334 (CFLAGS-fdatasync.c): Likewise.
22335 (CFLAGS-fsync.c): Likewise.
22336 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
22337 (CFLAGS-unwind.c): Likewise.
22338 (CFLAGS-unwind-forcedunwind.c): Likewise.
22339 (CFLAGS-pthread_cancel.c): Likewise.
22340 (CFLAGS-pthread_setcancelstate.c): Likewise.
22341 (CFLAGS-pthread_setcanceltype.c): Likewise.
22342 (CFLAGS-cancellation.c): Likewise.
22343 (CFLAGS-libc-cancellation.c): Likewise.
22344 (CFLAGS-pthread_exit.c): Likewise.
22345 (CFLAGS-forward.c): Likewise.
22346 (CFLAGS-pthread_testcancel.c): Likewise.
22347 (CFLAGS-pthread_join.c): Likewise.
22348 (CFLAGS-pthread_timedjoin.c): Likewise.
22349 (CFLAGS-pthread_once.c): Likewise.
22350 (CFLAGS-pthread_cond_wait.c): Likewise.
22351 (CFLAGS-sem_wait.c): Likewise.
22352 (CFLAGS-sem_timedwait.c): Likewise.
22353 (CFLAGS-fcntl.c): Likewise.
22354 (CFLAGS-lockf.c): Likewise.
22355 (CFLAGS-pread.c): Likewise.
22356 (CFLAGS-pread64.c): Likewise.
22357 (CFLAGS-pwrite.c): Likewise.
22358 (CFLAGS-pwrite64.c): Likewise.
22359 (CFLAGS-wait.c): Likewise.
22360 (CFLAGS-waitpid.c): Likewise.
22361 (CFLAGS-sigwait.c): Likewise.
22362 (CFLAGS-msgrcv.c): Likewise.
22363 (CFLAGS-msgsnd.c): Likewise.
22364 (CFLAGS-tcdrain.c): Likewise.
22365 (CFLAGS-open.c): Likewise.
22366 (CFLAGS-open64.c): Likewise.
22367 (CFLAGS-pause.c): Likewise.
22368 (CFLAGS-recv.c): Likewise.
22369 (CFLAGS-send.c): Likewise.
22370 (CFLAGS-accept.c): Likewise.
22371 (CFLAGS-sendto.c): Likewise.
22372 (CFLAGS-connect.c): Likewise.
22373 (CFLAGS-recvfrom.c): Likewise.
22374 (CFLAGS-recvmsg.c): Likewise.
22375 (CFLAGS-sendmsg.c): Likewise.
22376 (CFLAGS-close.c): Likewise.
22377 (CFLAGS-read.c): Likewise.
22378 (CFLAGS-write.c): Likewise.
22379 (CFLAGS-nanosleep.c): Likewise.
22380 (CFLAGS-sigsuspend.c): Likewise.
22381 (CFLAGS-msync.c): Likewise.
22382 (CFLAGS-fdatasync.c): Likewise.
22383 (CFLAGS-fsync.c): Likewise.
22384 (CFLAGS-pt-system.c): Likewise.
22385 (CFLAGS-tst-cleanup2.c): Likewise.
22386 (CFLAGS-tst-cleanupx2.c): Likewise.
22387 (CFLAGS-flockfile.c): Likewise.
22388 (CFLAGS-ftrylockfile.c): Likewise.
22389 (CFLAGS-funlockfile.c): Likewise.
22390 (CFLAGS-tst-initializers1.c): Likewise.
22391 (CFLAGS-tst-initializers1-c89.c): Likewise.
22392 (CFLAGS-tst-initializers1-c99.c): Likewise.
22393 (CFLAGS-tst-initializers1-c11.c): Likewise.
22394 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
22395 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
22396 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22397 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
22398 (CFLAGS-nscd_getgr_r.c): Likewise.
22399 (CFLAGS-nscd_gethst_r.c): Likewise.
22400 (CFLAGS-nscd_getai.c): Likewise.
22401 (CFLAGS-nscd_initgroups.c): Likewise.
22402 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
22403 (CFLAGS-pause.c): Likewise.
22404 (CFLAGS-pread.c): Likewise.
22405 (CFLAGS-pread64.c): Likewise.
22406 (CFLAGS-pwrite.c): Likewise.
22407 (CFLAGS-pwrite64.c): Likewise.
22408 (CFLAGS-sleep.c): Likewise.
22409 (CFLAGS-wait.c): Likewise.
22410 (CFLAGS-waitid.c): Likewise.
22411 (CFLAGS-waitpid.c): Likewise.
22412 (CFLAGS-getopt.c): Likewise.
22413 (CFLAGS-wordexp.c): Likewise.
22414 (CFLAGS-sysconf.c): Likewise.
22415 (CFLAGS-pathconf.c): Likewise.
22416 (CFLAGS-fpathconf.c): Likewise.
22417 (CFLAGS-spawn.c): Likewise.
22418 (CFLAGS-spawnp.c): Likewise.
22419 (CFLAGS-spawni.c): Likewise.
22420 (CFLAGS-glob.c): Likewise.
22421 (CFLAGS-glob64.c): Likewise.
22422 (CFLAGS-getconf.c): Likewise.
22423 (CFLAGS-nanosleep.c): Likewise.
22424 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
22425 (CFLAGS-getpwent.c): Likewise.
22426 (CFLAGS-getpw.c): Likewise.
22427 (CFLAGS-fgetpwent_r.c): Likewise.
22428 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
22429 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
22430 (CFLAGS-mq_timedreceive.c): Likewise.
22431 (CFLAGS-mq_timedsend.c): Likewise.
22432 (CFLAGS-clock_nanosleep.c): Likewise.
22433 (CFLAGS-librt-cancellation.c): Likewise.
22434 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
22435 (CFLAGS-getspent.c): Likewise.
22436 (CFLAGS-fgetspent.c): Likewise.
22437 (CFLAGS-fgetspent_r.c): Likewise.
22438 (CFLAGS-putspent.c): Likewise.
22439 (CFLAGS-getspnam.c): Likewise.
22440 (CFLAGS-getspnam_r.c): Likewise.
22441 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
22442 (CFLAGS-sigsuspend.c): Likewise.
22443 (CFLAGS-sigtimedwait.c): Likewise.
22444 (CFLAGS-sigwait.c): Likewise.
22445 (CFLAGS-sigwaitinfo.c): Likewise.
22446 (CFLAGS-sigreturn.c): Likewise.
22447 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22448 (CFLAGS-vfwprintf.c): Likewise.
22449 (CFLAGS-tmpfile.c): Likewise.
22450 (CFLAGS-tmpfile64.c): Likewise.
22451 (CFLAGS-tempname.c): Likewise.
22452 (CFLAGS-psignal.c): Likewise.
22453 (CFLAGS-vprintf.c): Likewise.
22454 (CFLAGS-cuserid.c): Likewise.
22455 (CFLAGS-errlist.c): Likewise.
22456 (CFLAGS-siglist.c): Likewise.
22457 (CFLAGS-scanf15.c): Likewise.
22458 (CFLAGS-scanf17.c): Likewise.
22459 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
22460 (CFLAGS-msort.c): Likewise.
22461 (CFLAGS-qsort.c): Likewise.
22462 (CFLAGS-system.c): Likewise.
22463 (CFLAGS-fmtmsg.c): Likewise.
22464 (CFLAGS-strfmon.c): Likewise.
22465 (CFLAGS-strfmon_l.c): Likewise.
22466 (CFLAGS-strfromd.c): Likewise.
22467 (CFLAGS-strfromf.c): Likewise.
22468 (CFLAGS-strfroml.c): Likewise.
22469 (CFLAGS-tst-bsearch.c): Likewise.
22470 (CFLAGS-tst-qsort.c): Likewise.
22471 (CFLAGS-tst-makecontext2.c): Likewise.
22472 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
22473 (CFLAGS-xnlm_prot.c): Likewise.
22474 (CFLAGS-xrstat.c): Likewise.
22475 (CFLAGS-xyppasswd.c): Likewise.
22476 (CFLAGS-xklm_prot.c): Likewise.
22477 (CFLAGS-xrex.c): Likewise.
22478 (CFLAGS-xsm_inter.c): Likewise.
22479 (CFLAGS-xmount.c): Likewise.
22480 (CFLAGS-xrusers.c): Likewise.
22481 (CFLAGS-xspray.c): Likewise.
22482 (CFLAGS-xnfs_prot.c): Likewise.
22483 (CFLAGS-xrquota.c): Likewise.
22484 (CFLAGS-xkey_prot.c): Likewise.
22485 (CFLAGS-auth_unix.c): Likewise.
22486 (CFLAGS-key_call.c): Likewise.
22487 (CFLAGS-pmap_rmt.c): Likewise.
22488 (CFLAGS-clnt_perr.c): Likewise.
22489 (CFLAGS-openchild.c): Likewise.
22490 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
22491 (CFLAGS-msgsnd.c): Likewise.
22492 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
22493 * time/Makefile (CFLAGS-tzfile.c): Likewise.
22494 (CFLAGS-tzset.c): Likewise.
22495 (CFLAGS-getdate.c): Likewise.
22496 (CFLAGS-test_time.c): Likewise.
22497 (CPPFLAGS-tst-tzname.c): Likewise.
22498 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
22499 (CFLAGS-zic.c): Likewise.
22500 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
22501 (CFLAGS-wcswidth.c): Likewise.
22502 (CFLAGS-wcstol.c): Likewise.
22503 (CFLAGS-wcstoul.c): Likewise.
22504 (CFLAGS-wcstoll.c): Likewise.
22505 (CFLAGS-wcstoull.c): Likewise.
22506 (CFLAGS-wcstod.c): Likewise.
22507 (CFLAGS-wcstold.c): Likewise.
22508 (CFLAGS-wcstof128.c): Likewise.
22509 (CFLAGS-wcstof.c): Likewise.
22510 (CFLAGS-wcstol_l.c): Likewise.
22511 (CFLAGS-wcstoul_l.c): Likewise.
22512 (CFLAGS-wcstoll_l.c): Likewise.
22513 (CFLAGS-wcstoull_l.c): Likewise.
22514 (CFLAGS-wcstod_l.c): Likewise.
22515 (CFLAGS-wcstold_l.c): Likewise.
22516 (CFLAGS-wcstof128_l.c): Likewise.
22517 (CFLAGS-wcstof_l.c): Likewise.
22518 (CPPFLAGS-tst-wchar-h.c): Likewise.
22519 (CPPFLAGS-wcstold_l.c): Likewise.
22521 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
22523 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
22525 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22526 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22528 * manual/tunables.texi (Hardware Capability Tunables): Document
22529 glibc.tune.cached_memopt.
22530 * sysdeps/powerpc/cpu-features.c: New file.
22531 * sysdeps/powerpc/cpu-features.h: New file.
22532 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
22533 _dl_powerpc_cpu_features.
22534 * sysdeps/powerpc/dl-tunables.list: New file.
22535 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
22536 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22537 (INIT_ARCH): Initialize use_aligned_memopt.
22538 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
22539 IS_IN(rtld))]: Restrict dl_platform_init availability and
22540 initialize CPU features used by tunables.
22541 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
22542 Add memcpy-power8-cached.
22543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
22544 __memcpy_power8_cached.
22545 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22546 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
22549 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22551 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
22552 (CFLAGS-noinl-tester.c): Likewise.
22553 (CFLAGS-tst-strlen.c): Likewise.
22554 (CFLAGS-stratcliff.c): Likewise.
22555 (CFLAGS-test-ffs.c): Likewise.
22556 (CFLAGS-tst-inlcall.c): Likewise.
22557 (CFLAGS-tst-xbzero-opt.c): Likewise.
22558 (CFLAGS-memcpy.c): Likewise.
22559 (CFLAGS-wordcopy.c): Likewise.
22561 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22563 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
22564 Store r15 on stack and add cfi rule.
22565 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22568 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
22571 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
22574 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22576 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22577 Add s_sinf-sse2 and s_sinf-fma.
22578 (CFLAGS-s_sinf-fma.c): New.
22579 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
22580 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
22581 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
22583 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22585 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
22587 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22590 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
22591 part of result to imaginary part of argument if it is zero and the
22592 real part of the argument is not finite.
22593 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
22594 of result to real part of argument if it is zero and the imaginary
22595 part of the argument is not finite.
22597 2017-12-07 Mike FABIAN <mfabian@redhat.com>
22600 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
22601 and to the list of locales to be built for testing.
22602 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
22603 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
22604 and build the collation rules upon that.
22606 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22608 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
22609 * manual/math.texi (Mathematics): Document support for _Float32.
22610 * math/Makefile (test-types): Add float32.
22611 * math/Versions (GLIBC_2.27): Add _Float32 functions.
22612 * stdlib/Versions (GLIBC_2.27): Likewise.
22613 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22614 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22615 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22616 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22617 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22618 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22619 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22620 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22621 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22622 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22623 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22624 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22625 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22626 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22627 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22628 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22629 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22630 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22631 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22632 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22633 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22634 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22636 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22637 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22638 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22639 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22640 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22658 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22659 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22660 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22661 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22662 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22663 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22664 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22665 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22666 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22667 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22676 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22677 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22678 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22679 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22680 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22681 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22682 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22683 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22685 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22687 * stdlib/strtof.c: Include <bits/floatn.h>
22688 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
22689 and later undefine as macro. Define as weak alias if
22691 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
22692 and later undefine as macro. Define as weak alias if
22694 * stdlib/strtof_l.c: Include <bits/floatn.h>
22695 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
22696 and later undefine as macro. Define as weak alias if
22698 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
22699 and later undefine as macro. Define as weak alias if
22702 * stdlib/strfromf.c: Include <bits/floatn.h>.
22703 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
22704 and later undefine as macro and define as weak alias.
22706 * math/test-float32.h: New file.
22708 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
22709 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
22710 (libm_alias_float_other_r): Create f32 alias.
22711 (libm_alias_float_r): Use semicolon before call to
22712 libm_alias_float_other_r.
22714 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
22715 second argument to libm_alias_float_other.
22716 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
22717 second argument to libm_alias_float_other.
22718 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
22719 argument to libm_alias_float_other.
22722 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
22723 real part of result for argument 0 + i * NaN.
22724 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
22725 results for tests of 0 + i * NaN.
22727 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22729 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22731 2017-12-06 David S. Miller <davem@davemloft.net>
22733 * sysdeps/sparc/fpu/libm-test-ulps: Update
22734 exp_{downward,towardzero,upward} ulps.
22736 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22738 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
22741 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
22743 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
22745 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
22747 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
22750 2017-12-06 Mike FABIAN <mfabian@redhat.com>
22753 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
22754 and to the list of locales to be built for testing.
22755 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
22756 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
22757 and build the collation rules upon that.
22759 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22761 * NEWS: Add sinf to list of optimized functions.
22763 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22765 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
22766 (__HAVE_FLOAT32X): Likewise.
22767 * manual/math.texi (Mathematics): Document support for _Float64
22769 * math/Makefile (test-types): Add float64 and float32x.
22770 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
22772 * stdlib/Versions (GLIBC_2.27): Likewise.
22773 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22774 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22775 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22776 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22777 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22778 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22779 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22780 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22781 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22782 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22783 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22784 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22785 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22786 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22787 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22788 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22789 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22790 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22791 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22792 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22793 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22794 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22796 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22797 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22798 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22799 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22800 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22817 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22818 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22819 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22820 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22821 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22822 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22823 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22824 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22825 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22826 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22835 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22836 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22837 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22838 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22839 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22840 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22841 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22842 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22844 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22846 * bits/floatn-common.h: Include <bits/long-double.h>.
22847 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22848 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
22849 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22850 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
22851 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22852 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
22853 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22854 (__builtin_huge_valf64): Use __builtin_huge_vall.
22855 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22856 (__builtin_inff64): Use __builtin_infl.
22857 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22858 (__builtin_nanf64): Use __builtin_nanl.
22859 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22860 (__builtin_nansf64): Use __builtin_nansl.
22862 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
22863 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22864 Carlos O'Donnell <carlos@redhat.com>
22866 * elf/dl-tunables.list: Add elision parameters.
22867 * manual/tunables.texi: Add entries about elision tunable.
22868 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
22869 Add callback functions to dynamically enable/disable elision.
22870 Add multiple callbacks functions to set elision parameters.
22871 Deleted __libc_enable_secure check.
22872 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
22873 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
22874 * configure: Regenerated.
22875 * configure.ac: Option enable_lock_elision was deleted.
22876 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
22877 * config.make.in: Remove references to enable_lock_elision.
22878 * manual/install.texi: Elision configure option was removed.
22879 * INSTALL: Regenerated to remove enable_lock_elision.
22881 Disable elision so it can verify error case for destroying a mutex.
22882 * sysdeps/powerpc/nptl/elide.h:
22883 Cleanup ENABLE_LOCK_ELISION check.
22884 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
22885 * sysdeps/s390/configure: Regenerated.
22886 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
22887 * nptl/tst-mutex8.c:
22888 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
22889 * sysdeps/powerpc/powerpc32/sysdep.h:
22890 Deleted all ENABLE_LOCK_ELISION checks.
22891 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22892 * sysdeps/powerpc/sysdep.h: Likewise.
22893 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22894 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22895 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22896 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22897 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22898 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22899 enable-lock-elision.
22901 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22903 * stdlib/strtod.c: Include <bits/floatn.h>.
22904 (BUILD_DOUBLE): New macro.
22905 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22906 (strtof64): Define and later undefine as macro. Define as weak
22907 alias if [!USE_WIDE_CHAR].
22908 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22909 (wcstof64): Define and later undefine as macro. Define as weak
22910 alias if [USE_WIDE_CHAR].
22911 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22912 (strtof32x): Define and later undefine as macro. Define as weak
22913 alias if [!USE_WIDE_CHAR].
22914 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22915 (wcstof32x): Define and later undefine as macro. Define as weak
22916 alias if [USE_WIDE_CHAR].
22917 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22918 (BUILD_DOUBLE): New macro.
22919 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22920 (strtof64_l): Define and later undefine as macro. Define as weak
22921 alias if [!USE_WIDE_CHAR].
22922 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22923 (wcstof64_l): Define and later undefine as macro. Define as weak
22924 alias if [USE_WIDE_CHAR].
22925 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22926 (strtof32x_l): Define and later undefine as macro. Define as weak
22927 alias if [!USE_WIDE_CHAR].
22928 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22929 (wcstof32x_l): Define and later undefine as macro. Define as weak
22930 alias if [USE_WIDE_CHAR].
22932 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22934 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22935 (reduced): Use ones as double instead of integer.
22937 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22939 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22941 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22943 * stdlib/strfromd.c: Include <bits/floatn.h>.
22944 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22945 and later undefine as macro and define as weak alias.
22946 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22949 * math/test-float32x.h: New file.
22950 * math/test-float64.h: Likewise.
22952 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22953 (libm_alias_double_other_r_f64): New macro.
22954 (libm_alias_double_other_r_f32x): Likewise.
22955 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22956 libm_alias_double_other_r_f32x.
22957 (libm_alias_double_r): Use semicolon before call to
22958 libm_alias_double_other_r.
22959 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22961 (libm_alias_double_other_r_f64): New macro.
22962 (libm_alias_double_other_r_f32x): Likewise.
22963 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22964 libm_alias_double_other_r_f32x.
22966 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22968 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22970 (SINF_FUNC): Likewise. Replace floor with simple casts.
22972 2017-12-05 Mike FABIAN <mfabian@redhat.com>
22975 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22976 and to the list of locales to be built for testing.
22977 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22978 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22979 and build the collation rules upon that.
22981 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22983 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22984 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22985 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22986 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22987 instead of __insn__xxx.
22988 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22989 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22990 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22991 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22992 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22993 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22995 2017-12-05 Florian Weimer <fweimer@redhat.com>
22997 Linux: Implement interfaces for memory protection keys
22998 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
23000 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
23001 * support/xunistd.h (xsysconf): Declare.
23002 * support/xraise.c: New file.
23003 * support/xsigaction.c: Likewise.
23004 * support/xsignal.c: Likewise.
23005 * support/xsysconf.c: Likewise.
23006 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
23007 pkey_set, pkey_get, pkey_mprotect.
23008 [misc] (tests): Add tst-pkey.
23009 (tst-pkey): Link with -lpthread.
23010 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
23011 pkey_free, pkey_set, pkey_get, pkey_mprotect.
23012 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
23013 (PKEY_DISABLE_WRITE): Define.
23014 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
23016 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
23017 (SEGV_PKUERR): Add.
23018 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
23019 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
23020 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
23021 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
23023 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
23024 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
23025 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
23026 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
23027 * sysdeps/unix/sysv/linux/**.abilist: Update.
23029 2017-12-05 Florian Weimer <fweimer@redhat.com>
23031 * support/tst-test_compare.c (subprocess): Use long long instead
23032 of long argument for consistent type width across 32-bit and
23033 64-bit architectures.
23034 (do_test): Adjust expected output.
23036 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23038 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
23039 (cosf): Define using libm_alias_float.
23040 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
23041 (fabsf): Define using libm_alias_float.
23042 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
23043 (fmaf): Define using libm_alias_float.
23044 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
23045 (rintf): Define using libm_alias_float.
23046 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
23047 (sinf): Define using libm_alias_float.
23048 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
23049 <libm-alias-float.h>.
23050 (modff): Define using libm_alias_float.
23051 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
23052 <libm-alias-float.h>.
23053 (logbf): Define using libm_alias_float.
23054 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
23055 <libm-alias-float.h>.
23056 (ceilf): Define using libm_alias_float.
23057 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23058 <libm-alias-float.h>.
23059 (copysignf): Define using libm_alias_float.
23060 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
23061 <libm-alias-float.h>.
23062 (floorf): Define using libm_alias_float.
23063 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23064 <libm-alias-float.h>.
23065 (llrintf): Define using libm_alias_float.
23066 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23067 <libm-alias-float.h>.
23068 (llroundf): Define using libm_alias_float.
23069 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23070 <libm-alias-float.h>.
23071 (lrintf): Define using libm_alias_float.
23072 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23073 <libm-alias-float.h>.
23074 (lroundf): Define using libm_alias_float.
23075 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
23076 <libm-alias-float.h>.
23077 (nearbyintf): Define using libm_alias_float.
23078 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
23079 <libm-alias-float.h>.
23080 (rintf): Define using libm_alias_float.
23081 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
23082 <libm-alias-float.h>.
23083 (roundf): Define using libm_alias_float.
23084 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
23085 <libm-alias-float.h>.
23086 (truncf): Define using libm_alias_float.
23087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
23088 Include <libm-alias-float.h>.
23089 (ceilf): Define using libm_alias_float.
23090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
23091 Include <libm-alias-float.h>.
23092 (copysignf): Define using libm_alias_float.
23093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
23094 Include <libm-alias-float.h>.
23095 (floorf): Define using libm_alias_float.
23096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
23097 Include <libm-alias-float.h>.
23098 (llrintf): Define using libm_alias_float.
23099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
23100 Include <libm-alias-float.h>.
23101 (llroundf): Define using libm_alias_float.
23102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
23103 Include <libm-alias-float.h>.
23104 (logbf): Define using libm_alias_float.
23105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
23106 Include <libm-alias-float.h>.
23107 (lrintf): Define using libm_alias_float.
23108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
23109 Include <libm-alias-float.h>.
23110 (lroundf): Define using libm_alias_float.
23111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
23112 Include <libm-alias-float.h>.
23113 (modff): Define using libm_alias_float.
23114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
23115 Include <libm-alias-float.h>.
23116 (roundf): Define using libm_alias_float.
23117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
23118 Include <libm-alias-float.h>.
23119 (truncf): Define using libm_alias_float.
23120 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
23121 <libm-alias-float.h>.
23122 (llrintf): Define using libm_alias_float.
23123 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23124 <libm-alias-float.h>.
23125 (llroundf): Define using libm_alias_float.
23126 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
23127 <libm-alias-float.h>.
23128 (ceilf): Define using libm_alias_float.
23129 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
23130 <libm-alias-float.h>.
23131 (floorf): Define using libm_alias_float.
23132 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23133 <libm-alias-float.h>.
23134 (llroundf): Define using libm_alias_float.
23135 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23136 <libm-alias-float.h>.
23137 (lroundf): Define using libm_alias_float.
23138 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
23139 <libm-alias-float.h>.
23140 (roundf): Define using libm_alias_float.
23141 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
23142 <libm-alias-float.h>.
23143 (truncf): Define using libm_alias_float.
23144 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23145 <libm-alias-float.h>.
23146 (copysignf): Define using libm_alias_float.
23147 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
23148 <libm-alias-float.h>.
23149 (llrintf): Define using libm_alias_float.
23150 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23151 <libm-alias-float.h>.
23152 (llroundf): Define using libm_alias_float.
23153 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23154 <libm-alias-float.h>.
23155 (lrintf): Define using libm_alias_float.
23156 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23157 <libm-alias-float.h>.
23158 (lroundf): Define using libm_alias_float.
23159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
23160 <libm-alias-float.h>.
23161 (ceilf): Define using libm_alias_float.
23162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
23163 <libm-alias-float.h>.
23164 (copysignf): Define using libm_alias_float.
23165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
23166 <libm-alias-float.h>.
23167 (cosf): Define using libm_alias_float.
23168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
23169 <libm-alias-float.h>.
23170 (floorf): Define using libm_alias_float.
23171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
23172 <libm-alias-float.h>.
23173 (llrintf): Define using libm_alias_float.
23174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
23175 <libm-alias-float.h>.
23176 (llroundf): Define using libm_alias_float.
23177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
23178 <libm-alias-float.h>.
23179 (logbf): Define using libm_alias_float.
23180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
23181 <libm-alias-float.h>.
23182 (modff): Define using libm_alias_float.
23183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
23184 <libm-alias-float.h>.
23185 (roundf): Define using libm_alias_float.
23186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
23187 <libm-alias-float.h>.
23188 (sinf): Define using libm_alias_float.
23189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
23190 <libm-alias-float.h>.
23191 (truncf): Define using libm_alias_float.
23192 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
23193 <libm-alias-float.h>.
23194 (ceilf): Define using libm_alias_float.
23195 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23196 <libm-alias-float.h>.
23197 (copysignf): Define using libm_alias_float.
23198 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
23199 <libm-alias-float.h>.
23200 (floorf): Define using libm_alias_float.
23201 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23202 <libm-alias-float.h>.
23203 (llrintf): Define using libm_alias_float.
23204 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
23205 <libm-alias-float.h>.
23206 (llroundf): Define using libm_alias_float.
23207 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
23208 <libm-alias-float.h>.
23209 (nearbyintf): Define using libm_alias_float.
23210 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
23211 <libm-alias-float.h>.
23212 (rintf): Define using libm_alias_float.
23213 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
23214 <libm-alias-float.h>.
23215 (roundf): Define using libm_alias_float.
23216 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
23217 <libm-alias-float.h>.
23218 (truncf): Define using libm_alias_float.
23219 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
23220 <libm-alias-float.h>.
23221 (ceilf): Define using libm_alias_float.
23222 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
23223 <libm-alias-float.h>.
23224 (floorf): Define using libm_alias_float.
23225 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23226 <libm-alias-float.h>.
23227 (llroundf): Define using libm_alias_float.
23228 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
23229 <libm-alias-float.h>.
23230 (roundf): Define using libm_alias_float.
23231 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
23232 <libm-alias-float.h>.
23233 (truncf): Define using libm_alias_float.
23234 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23235 <libm-alias-float.h>.
23236 (copysignf): Define using libm_alias_float.
23237 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23238 <libm-alias-float.h>.
23239 (llrintf): Define using libm_alias_float.
23240 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23241 <libm-alias-float.h>.
23242 (llroundf): Define using libm_alias_float.
23243 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
23244 <libm-alias-float.h>.
23245 (cosf): Define using libm_alias_float.
23246 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23247 <libm-alias-float.h>.
23248 (llrintf): Define using libm_alias_float.
23249 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23250 <libm-alias-float.h>.
23251 (llroundf): Define using libm_alias_float.
23252 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
23253 <libm-alias-float.h>.
23254 (sinf): Define using libm_alias_float.
23256 2017-12-04 Florian Weimer <fweimer@redhat.com>
23258 * support/check.h (TEST_COMPARE): Define.
23259 (support_test_compare_failure): Declare.
23260 * support/Makefile (libsupport-routines): Add
23261 support_test_compare_failure.
23262 (tests): Add tst-test_compare.
23263 * support /support_test_compare_failure.c: New file.
23264 * support/tst-test_compare.c: Likewise.
23266 2017-12-04 Mike FABIAN <mfabian@redhat.com>
23269 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
23270 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
23271 available, this rewrite of the collation rules does reproduce
23272 the test file in the same order.
23274 2017-12-04 Mike FABIAN <mfabian@redhat.com>
23277 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
23278 digraphs in the month and day names. Using single code points for
23279 digraphs is deprecated. While there are dedicated Unicode
23280 codepoints, for the digraphs, these are included for backwards
23281 compatibility and modern texts use a sequence of Basic Latin
23282 characters. See: https://www.unicode.org/faq/ligature_digraph.html
23283 This makes the month and day names agree exactly with CLDR now,
23284 CLDR does not use the single code points for the digraphs either.
23286 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
23288 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
23290 2017-12-04 Joseph Myers <joseph@codesourcery.com>
23292 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
23295 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
23297 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
23298 Define only for libc.so.
23300 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
23302 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23303 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
23304 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
23305 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
23306 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23308 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23311 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
23313 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
23316 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
23317 PREINIT_FUNCTION_WEAK is nonzero.
23318 (gmon_initializer): New function. Put procedure label for it in
23319 .init_array section.
23320 (_init): Don't call PREINIT_FUNCTION.
23321 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
23322 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
23323 value when map argument is null.
23325 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
23326 depi instruction from PIC pc-relative sequence.
23327 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
23328 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
23329 (elf_machine_load_address): Likewise.
23330 (elf_machine_runtime_setup): Likewise.
23332 2017-12-02 Joseph Myers <joseph@codesourcery.com>
23334 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
23335 <libm-alias-double.h>.
23336 (logb): Define using libm_alias_double.
23337 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23338 <libm-alias-double.h>.
23339 (copysign): Define using libm_alias_double.
23340 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
23341 <libm-alias-double.h>.
23342 (llrint): Define using libm_alias_double.
23343 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
23344 <libm-alias-double.h>.
23345 (llround): Define using libm_alias_double.
23346 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23347 <libm-alias-double.h>.
23348 (lrint): Define using libm_alias_double.
23349 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23350 <libm-alias-double.h>.
23351 (lround): Define using libm_alias_double.
23352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23353 Include <libm-alias-double.h>.
23354 (copysign): Define using libm_alias_double.
23355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
23356 Include <libm-alias-double.h>.
23357 (llrint): Define using libm_alias_double.
23358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
23359 Include <libm-alias-double.h>.
23360 (llround): Define using libm_alias_double.
23361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
23362 <libm-alias-double.h>.
23363 (logb): Define using libm_alias_double.
23364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
23365 Include <libm-alias-double.h>.
23366 (lrint): Define using libm_alias_double.
23367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
23368 Include <libm-alias-double.h>.
23369 (lround): Define using libm_alias_double.
23370 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
23371 <libm-alias-double.h>.
23372 (llrint): Define using libm_alias_double.
23373 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23374 <libm-alias-double.h>.
23375 (llround): Define using libm_alias_double.
23376 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23377 <libm-alias-double.h>.
23378 (llround): Define using libm_alias_double.
23379 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23380 <libm-alias-double.h>.
23381 (lround): Define using libm_alias_double.
23382 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23383 <libm-alias-double.h>.
23384 (copysign): Define using libm_alias_double.
23385 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
23386 <libm-alias-double.h>.
23387 (llrint): Define using libm_alias_double.
23388 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23389 <libm-alias-double.h>.
23390 (llround): Define using libm_alias_double.
23391 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23392 <libm-alias-double.h>.
23393 (lrint): Define using libm_alias_double.
23394 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23395 <libm-alias-double.h>.
23396 (lround): Define using libm_alias_double.
23397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
23398 <libm-alias-double.h>.
23399 (copysign): Define using libm_alias_double.
23400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
23401 <libm-alias-double.h>.
23402 (llrint): Define using libm_alias_double.
23404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
23405 <libm-alias-double.h>.
23406 (llround): Define using libm_alias_double.
23407 (lround): Likewise.
23408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
23409 <libm-alias-double.h>.
23410 (logb): Define using libm_alias_double.
23411 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23412 <libm-alias-double.h>.
23413 (copysign): Define using libm_alias_double.
23414 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23415 <libm-alias-double.h>.
23416 (llrint): Define using libm_alias_double.
23418 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
23419 <libm-alias-double.h>.
23420 (llround): Define using libm_alias_double.
23421 (lround): Likewise.
23422 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23423 <libm-alias-double.h>.
23424 (llround): Define using libm_alias_double.
23425 (lround): Likewise.
23426 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23427 <libm-alias-double.h>.
23428 (copysign): Define using libm_alias_double.
23429 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23430 <libm-alias-double.h>.
23431 (llrint): Define using libm_alias_double.
23433 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23434 <libm-alias-double.h>.
23435 (llround): Define using libm_alias_double.
23436 (lround): Likewise.
23437 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23438 <libm-alias-double.h>.
23439 (llrint): Define using libm_alias_double.
23441 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23442 <libm-alias-double.h>.
23443 (llround): Define using libm_alias_double.
23444 (lround): Likewise.
23446 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23449 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
23450 compat symbol based on llround.
23452 * sysdeps/powerpc/power7/fpu/s_logb.c
23453 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
23454 symbol based on __logb, not on logb.
23455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
23456 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
23458 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23460 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
23461 (rint): Define using libm_alias_double.
23462 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
23463 <libm-alias-double.h>.
23464 (modf): Define using libm_alias_double.
23465 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
23466 <libm-alias-double.h>.
23467 (ceil): Define using libm_alias_double.
23468 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
23469 <libm-alias-double.h>.
23470 (floor): Define using libm_alias_double.
23471 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
23472 <libm-alias-double.h>.
23473 (nearbyint): Define using libm_alias_double.
23474 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
23475 <libm-alias-double.h>.
23476 (rint): Define using libm_alias_double.
23477 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
23478 <libm-alias-double.h>.
23479 (round): Define using libm_alias_double.
23480 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
23481 <libm-alias-double.h>.
23482 (trunc): Define using libm_alias_double.
23483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
23484 <libm-alias-double.h>.
23485 (ceil): Define using libm_alias_double.
23486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
23487 Include <libm-alias-double.h>.
23488 (floor): Define using libm_alias_double.
23489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
23490 <libm-alias-double.h>.
23491 (modf): Define using libm_alias_double.
23492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
23493 Include <libm-alias-double.h>.
23494 (round): Define using libm_alias_double.
23495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
23496 Include <libm-alias-double.h>.
23497 (trunc): Define using libm_alias_double.
23498 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
23499 <libm-alias-double.h>.
23500 (ceil): Define using libm_alias_double.
23501 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
23502 <libm-alias-double.h>.
23503 (floor): Define using libm_alias_double.
23504 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
23505 <libm-alias-double.h>.
23506 (round): Define using libm_alias_double.
23507 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
23508 <libm-alias-double.h>.
23509 (trunc): Define using libm_alias_double.
23510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
23511 <libm-alias-double.h>.
23512 (ceil): Define using libm_alias_double.
23513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
23514 <libm-alias-double.h>.
23515 (floor): Define using libm_alias_double.
23516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
23517 <libm-alias-double.h>.
23518 (modf): Define using libm_alias_double.
23519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
23520 <libm-alias-double.h>.
23521 (round): Define using libm_alias_double.
23522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
23523 <libm-alias-double.h>.
23524 (trunc): Define using libm_alias_double.
23525 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
23526 <libm-alias-double.h>.
23527 (ceil): Define using libm_alias_double.
23528 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
23529 <libm-alias-double.h>.
23530 (floor): Define using libm_alias_double.
23531 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
23532 <libm-alias-double.h>.
23533 (nearbyint): Define using libm_alias_double.
23534 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
23535 <libm-alias-double.h>.
23536 (rint): Define using libm_alias_double.
23537 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
23538 <libm-alias-double.h>.
23539 (round): Define using libm_alias_double.
23540 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
23541 <libm-alias-double.h>.
23542 (trunc): Define using libm_alias_double.
23543 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
23544 <libm-alias-double.h>.
23545 (ceil): Define using libm_alias_double.
23546 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
23547 <libm-alias-double.h>.
23548 (floor): Define using libm_alias_double.
23549 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
23550 <libm-alias-double.h>.
23551 (round): Define using libm_alias_double.
23552 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
23553 <libm-alias-double.h>.
23554 (trunc): Define using libm_alias_double.
23556 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
23557 (fabs): Define using libm_alias_double.
23558 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
23559 (fma): Define using libm_alias_double.
23560 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
23561 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
23562 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
23563 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
23565 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23567 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
23569 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
23570 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
23571 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
23574 due redirect macro.
23576 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
23578 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
23580 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23582 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
23583 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
23584 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
23585 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
23587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23588 (libm-sysdep_routines): Add s_nearbyintf-generic and
23589 s_nearbyint-generic.
23590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
23592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
23593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
23595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
23597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
23599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23603 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
23604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
23606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
23607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
23609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
23610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
23611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23614 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
23615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
23617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
23618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
23620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
23621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
23622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
23624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23625 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
23626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
23628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
23629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
23631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
23632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
23633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23636 (sysdep_calls): New rule.
23637 (sysdep_routines): Use sysdep_calls as base.
23638 (libm-sysdep_routines): Add generic rule for symbols shared with
23639 libc. Add s_copysign-generic and s_copysign-generic objects.
23640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
23642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
23643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
23645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
23646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
23647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
23649 2017-12-01 Mike FABIAN <mfabian@redhat.com>
23652 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
23653 the list of locales to be built for testing.
23654 * localedata/is_IS.UTF-8.in: New file.
23655 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
23658 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23660 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
23661 <libm-alias-float.h>.
23662 (fabsf): Define using libm_alias_float.
23664 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23666 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
23668 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23670 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
23671 <libm-alias-float.h>.
23672 (fabsf): Define using libm_alias_float.
23673 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
23674 <libm-alias-float.h>.
23675 (lrintf): Define using libm_alias_float.
23676 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
23677 <libm-alias-float.h>.
23678 (rintf): Define using libm_alias_float.
23680 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
23681 <libm-alias-double.h>.
23682 (fabs): Define using libm_alias_double.
23683 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
23684 <libm-alias-double.h>.
23685 (lrint): Define using libm_alias_double.
23686 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
23687 <libm-alias-double.h>.
23688 (rint): Define using libm_alias_double.
23690 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
23691 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
23692 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
23693 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
23694 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
23695 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
23696 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
23697 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
23698 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
23699 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
23700 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
23701 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
23702 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
23703 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
23704 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
23705 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
23706 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
23707 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
23709 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
23710 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
23711 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
23713 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
23714 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
23715 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
23717 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
23718 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
23719 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
23720 s_expm1_template.c.
23721 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
23722 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
23723 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
23725 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
23726 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
23727 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
23728 s_floor_template.c.
23729 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
23730 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
23731 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
23732 s_frexp_template.c.
23733 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
23734 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
23735 s_lrint_template.c.
23736 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
23737 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
23738 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
23740 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
23741 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
23742 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
23743 s_nearbyint_template.c.
23744 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
23745 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
23746 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
23747 s_remquo_template.c.
23748 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
23749 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
23750 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
23752 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
23753 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
23754 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
23756 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
23757 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
23758 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
23759 s_sincos_template.c.
23760 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
23761 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
23762 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
23764 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
23765 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
23766 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
23768 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
23769 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
23770 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
23771 s_trunc_template.c.
23772 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
23773 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
23774 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
23775 s_atan.c instead of including s_atan.c.
23776 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
23777 s_atanf.c instead of including s_atanf.c.
23778 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
23779 s_atanl.c instead of including s_atanl.c.
23780 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
23781 instead of s_atan.c.
23782 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
23783 instead of s_atanf.c.
23784 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
23785 instead of s_atanl.c.
23787 * scripts/update-copyrights: Do not handle intl/plural.c
23790 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
23793 * configure.ac (BISON): Require to be present.
23794 * configure: Regenerated.
23795 * intl/Makefile (generated): Add plural.c.
23796 [$(BISON) != no]: Make code unconditional.
23797 (plural.c): Change rule to $(objpfx)plural.c.
23798 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
23799 * intl/plural.c: Remove.
23800 * manual/install.texi (Tools for Compilation): Document bison as
23802 * INSTALL: Regenerated.
23804 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23806 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
23807 <libm-alias-double.h>.
23808 (llrint): Define using libm_alias_double.
23809 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
23810 <libm-alias-float.h>.
23811 (llrintf): Define using libm_alias_float.
23812 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
23813 <libm-alias-ldouble.h>.
23814 (llrintl): Define using libm_alias_ldouble.
23816 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
23817 declare_mgen_alias instead of weak_alias.
23818 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
23819 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
23820 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
23822 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23824 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23826 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
23827 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
23828 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
23830 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23831 Add submul_1-generic.
23832 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
23833 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
23834 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
23836 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23837 Add addmul_1-generic.
23838 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
23839 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
23840 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
23842 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23844 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
23845 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
23846 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
23848 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23850 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
23851 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
23852 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
23854 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23856 According to CLDR, collation rules for Serbian and Bosnian
23857 should be the same as for Croatian.
23860 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
23861 and to the list of locales to be built for testing.
23862 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23863 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23864 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
23865 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
23867 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23869 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
23870 to make test case pass.
23871 * localedata/hr_HR.UTF-8.in: Add more test strings.
23873 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23875 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
23877 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23879 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
23880 the list of locales to built for testing.
23881 * localedata/hr_HR.UTF-8.in: New file.
23883 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23886 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
23888 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
23889 CLDR (except use ligatures for the digraphs, CLDR does not use
23890 the ligatures), add first_workday, some fixes in the date and time
23892 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23894 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23895 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23896 Add int_p_cs_precedes and int_n_cs_precedes.
23897 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23898 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23900 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23901 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23903 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23904 and lang_lib. Change postal_fmt.
23906 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23908 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23910 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23911 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23912 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23913 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23914 * sysdeps/generic/setjmpP.h: New file.
23915 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23916 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23917 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23918 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23919 Add jmp_buf-ssp.sym.
23920 (tests): Add tst-saved_mask-1.
23922 2017-11-30 Arjun Shankar <arjun@redhat.com>
23926 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23927 instead of request2size.
23929 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23932 (__lllrint): Remove alias.
23933 (lllrint): Likewise.
23934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23935 (__lllrintf): Likewise.
23936 (lllrintf): Likewise.
23938 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23939 <libm-alias-float.h>.
23940 (copysignf): Define using libm_alias_float.
23941 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23942 <libm-alias-float.h>.
23943 (fabsf): Define using libm_alias_float.
23944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23945 Include <libm-alias-float.h>.
23946 (copysignf): Define using libm_alias_float.
23947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23948 <libm-alias-float.h>.
23949 (fabsf): Define using libm_alias_float.
23950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23951 <libm-alias-float.h>.
23952 (fdimf): Define using libm_alias_float.
23953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23954 <libm-alias-float.h>.
23955 (fmaf): Define using libm_alias_float.
23956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23957 <libm-alias-float.h>.
23958 (llrintf): Define using libm_alias_float.
23959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23960 Include <libm-alias-float.h>.
23961 (nearbyintf): Define using libm_alias_float.
23962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23963 <libm-alias-float.h>.
23964 (rintf): Define using libm_alias_float.
23965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23966 <libm-alias-float.h>.
23967 (llrintf): Define using libm_alias_float.
23968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23969 <libm-alias-float.h>.
23970 (lrintf): Define using libm_alias_float.
23971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23972 <libm-alias-float.h>.
23973 (nearbyintf): Define using libm_alias_float.
23974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23975 <libm-alias-float.h>.
23976 (rintf): Define using libm_alias_float.
23977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23978 <libm-alias-float.h>.
23979 (ceilf): Define using libm_alias_float.
23980 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23981 <libm-alias-float.h>.
23982 (floorf): Define using libm_alias_float.
23983 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23984 <libm-alias-float.h>.
23985 (fmaf): Define using libm_alias_float.
23986 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23987 <libm-alias-float.h>.
23988 (lrintf): Define using libm_alias_float.
23989 (llrintf): Likewise.
23990 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23991 <libm-alias-float.h>.
23992 (nearbyintf): Define using libm_alias_float.
23993 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23994 <libm-alias-float.h>.
23995 (rintf): Define using libm_alias_float.
23996 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23997 <libm-alias-float.h>.
23998 (truncf): Define using libm_alias_float.
23999 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
24000 <libm-alias-float.h>.
24001 (copysignf): Define using libm_alias_float.
24002 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
24003 <libm-alias-float.h>.
24004 (fabsf): Define using libm_alias_float.
24005 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
24006 <libm-alias-float.h>.
24007 (lrintf): Define using libm_alias_float.
24008 (llrintf): Likewise.
24009 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
24010 <libm-alias-float.h>.
24011 (nearbyintf): Define using libm_alias_float.
24012 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
24013 <libm-alias-float.h>.
24014 (rintf): Define using libm_alias_float.
24016 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24018 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24019 <libm-alias-double.h>.
24020 (copysign): Define using libm_alias_double.
24021 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
24022 <libm-alias-double.h>.
24023 (fabs): Define using libm_alias_double.
24024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24025 Include <libm-alias-double.h>.
24026 (copysign): Define using libm_alias_double.
24027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24028 <libm-alias-double.h>.
24029 (fabs): Define using libm_alias_double.
24030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
24031 <libm-alias-double.h>.
24032 (fdim): Define using libm_alias_double.
24033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
24034 <libm-alias-double.h>.
24035 (fma): Define using libm_alias_double.
24036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
24037 <libm-alias-double.h>.
24038 (llrint): Define using libm_alias_double.
24039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
24040 Include <libm-alias-double.h>.
24041 (nearbyint): Define using libm_alias_double.
24042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
24043 <libm-alias-double.h>.
24044 (rint): Define using libm_alias_double.
24045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24046 <libm-alias-double.h>.
24047 (fabs): Define using libm_alias_double.
24048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
24049 <libm-alias-double.h>.
24050 (llrint): Define using libm_alias_double.
24051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
24052 <libm-alias-double.h>.
24053 (nearbyint): Define using libm_alias_double.
24054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
24055 <libm-alias-double.h>.
24056 (rint): Define using libm_alias_double.
24057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
24058 <libm-alias-double.h>.
24059 (ceil): Define using libm_alias_double.
24060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
24061 <libm-alias-double.h>.
24062 (floor): Define using libm_alias_double.
24063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
24064 <libm-alias-double.h>.
24065 (fma): Define using libm_alias_double.
24066 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
24067 <libm-alias-double.h>.
24068 (lrint): Define using libm_alias_double.
24069 (llrint): Likewise.
24070 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
24071 <libm-alias-double.h>.
24072 (nearbyint): Define using libm_alias_double.
24073 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
24074 <libm-alias-double.h>.
24075 (rint): Define using libm_alias_double.
24076 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
24077 <libm-alias-double.h>.
24078 (trunc): Define using libm_alias_double.
24079 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
24080 <libm-alias-double.h>.
24081 (copysign): Define using libm_alias_double.
24082 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
24083 <libm-alias-double.h>.
24084 (fabs): Define using libm_alias_double.
24085 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
24086 <libm-alias-double.h>.
24087 (lrint): Define using libm_alias_double.
24088 (llrint): Likewise.
24089 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
24090 <libm-alias-double.h>.
24091 (nearbyint): Define using libm_alias_double.
24092 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
24093 <libm-alias-double.h>.
24094 (rint): Define using libm_alias_double.
24097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24099 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24101 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24102 SPARC --disable-multi-arch glibc variants.
24104 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
24105 <libm-alias-float.h>.
24106 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24108 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
24109 <libm-alias-float.h>.
24110 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24112 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
24113 <libm-alias-float.h>.
24114 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24116 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
24117 <libm-alias-float.h>.
24118 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24120 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
24121 <libm-alias-float.h>.
24122 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24124 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
24125 <libm-alias-float.h>.
24126 (ceilf): Define using libm_alias_float.
24127 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
24128 <libm-alias-float.h>.
24129 (floorf): Define using libm_alias_float.
24130 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
24131 <libm-alias-float.h>.
24132 (fmaf): Define using libm_alias_float.
24133 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
24134 <libm-alias-float.h>.
24135 (nearbyintf): Define using libm_alias_float.
24136 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
24137 <libm-alias-float.h>.
24138 (rintf): Define using libm_alias_float.
24139 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
24140 <libm-alias-float.h>.
24141 (truncf): Define using libm_alias_float.
24142 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24143 (copysignf): Define using libm_alias_float.
24144 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
24145 (cosf): Define using libm_alias_float.
24146 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24147 (fabsf): Define using libm_alias_float.
24148 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24149 (fmaxf): Define using libm_alias_float.
24150 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
24151 (fminf): Define using libm_alias_float.
24152 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24153 (llrintf): Define using libm_alias_float.
24154 [!__ILP32__] (lrintf): Likewise.
24155 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
24156 (sincosf): Define using libm_alias_float.
24157 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
24158 (sinf): Define using libm_alias_float.
24159 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24160 (lrintf): Define using libm_alias_float.
24162 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
24163 <libm-alias-double.h>.
24164 (atan): Define using libm_alias_double.
24165 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
24166 <libm-alias-double.h>.
24167 (ceil): Define using libm_alias_double.
24168 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
24169 <libm-alias-double.h>.
24170 (floor): Define using libm_alias_double.
24171 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
24172 <libm-alias-double.h>.
24173 (fma): Define using libm_alias_double.
24174 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
24175 <libm-alias-double.h>.
24176 (nearbyint): Define using libm_alias_double.
24177 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
24178 <libm-alias-double.h>.
24179 (rint): Define using libm_alias_double.
24180 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
24181 <libm-alias-double.h>.
24182 (sin): Define using libm_alias_double.
24184 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
24185 <libm-alias-double.h>.
24186 (tan): Define using libm_alias_double.
24187 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
24188 <libm-alias-double.h>.
24189 (trunc): Define using libm_alias_double.
24190 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
24191 (copysign): Define using libm_alias_double.
24192 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
24193 (fabs): Define using libm_alias_double.
24194 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
24195 (fmax): Define using libm_alias_double.
24196 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
24197 (fmin): Define using libm_alias_double.
24198 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
24199 (llrint): Define using libm_alias_double.
24200 [!__ILP32__] (lrint): Likewise.
24201 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
24202 (lrint): Define using libm_alias_double.
24204 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24206 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24207 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
24209 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
24210 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
24211 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
24212 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
24213 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
24214 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24216 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24217 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
24219 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
24220 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
24221 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
24222 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
24223 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
24224 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24226 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24227 (libm-sysdep_routines): Add s_nearbyint-generic and
24228 s_nearbyintf-generic objects.
24229 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
24230 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
24231 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
24232 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
24233 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
24234 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
24236 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24237 Add s_finitef-generic and s_finite-generic objects.
24238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
24239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
24240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
24241 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
24242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
24243 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
24245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24246 Add s_isinff-generic and s_isinf-generic objects.
24247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
24248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
24249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
24250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
24251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
24252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24254 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24255 Add s_isnanf-generic and s_isnan-generic objects.
24256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
24257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
24258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
24259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
24260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
24261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24263 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
24265 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
24267 (sysdep_routines): Use sysdep_calls as base.
24268 (libm-sysdep_routines): Add generic rule for symbols shared with
24269 libc. Add s_signbit-generic and s_signbitf-generic objects.
24270 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
24271 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
24272 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
24273 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
24274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
24275 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24277 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24279 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
24280 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
24281 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
24282 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
24283 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
24284 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
24285 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
24286 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
24287 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
24288 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
24289 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
24290 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
24291 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
24292 libm_alias_float_r.
24293 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
24294 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
24296 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
24297 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
24298 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
24299 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
24300 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
24301 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
24302 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
24303 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
24304 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
24305 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
24307 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
24309 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
24310 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
24311 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
24312 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
24313 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
24314 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
24315 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
24316 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
24317 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
24318 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
24319 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
24320 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
24321 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
24322 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
24323 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
24324 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
24325 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
24326 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
24327 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
24329 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
24330 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
24331 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
24332 * sysdeps/ia64/fpu/w_lgammaf_main.c
24333 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
24334 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
24336 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24337 Alexandre Oliva <aoliva@redhat.com>
24340 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
24341 * localedata/fr_CA.UTF-8.in: New file with test data for backward
24343 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
24345 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
24346 * localedata/locales/de_DE (LC_COLLATE): Likewise.
24347 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
24348 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
24349 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
24350 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
24351 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
24352 instead of “ifdef DIACRIT_BACKWARD”.
24354 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24356 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
24357 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
24358 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
24359 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
24360 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
24361 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
24362 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
24363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
24364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
24365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
24366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
24367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
24368 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
24369 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
24370 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
24371 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24372 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
24373 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
24374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24375 ($(have-as-vis3) == yes): Remove conditional.
24376 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
24378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
24380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
24382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
24384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
24386 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
24387 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
24388 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
24389 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
24390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
24391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
24392 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
24393 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
24395 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24397 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
24398 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
24399 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
24400 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
24401 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
24402 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
24403 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
24404 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
24405 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
24406 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
24407 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
24408 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
24409 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
24410 libm_alias_double_r.
24411 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
24413 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
24414 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
24415 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
24416 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
24417 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
24418 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
24419 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
24420 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
24421 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
24422 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
24423 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
24425 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
24427 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
24428 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
24429 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
24430 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
24431 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
24432 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
24433 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
24434 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
24435 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
24436 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
24437 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
24438 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
24439 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
24440 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
24441 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
24442 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
24443 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
24444 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
24446 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
24447 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
24448 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
24449 * sysdeps/ia64/fpu/w_lgamma_main.c
24450 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
24451 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
24453 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
24455 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
24456 address of $global$ into %dp register earlier. Use pc-relative
24457 instruction sequence for PIC case.
24459 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24461 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
24462 (asinhf): Define using libm_alias_float.
24463 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
24464 (atanf): Define using libm_alias_float.
24465 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
24466 (cbrtf): Define using libm_alias_float.
24467 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
24468 (ceilf): Define using libm_alias_float.
24469 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24470 (copysignf): Define using libm_alias_float.
24471 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
24472 (expm1f): Define using libm_alias_float.
24473 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
24474 (fabsf): Define using libm_alias_float.
24475 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
24476 (floorf): Define using libm_alias_float.
24477 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24478 (fmaxf): Define using libm_alias_float.
24479 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
24480 (fminf): Define using libm_alias_float.
24481 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
24482 (frexpf): Define using libm_alias_float.
24483 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24484 (llrintf): Define using libm_alias_float.
24485 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
24486 (logbf): Define using libm_alias_float.
24487 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24488 (lrintf): Define using libm_alias_float.
24489 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
24490 (nearbyintf): Define using libm_alias_float.
24491 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
24492 (remquof): Define using libm_alias_float.
24493 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
24494 (rintf): Define using libm_alias_float.
24495 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
24496 (truncf): Define using libm_alias_float.
24497 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
24498 <libm-alias-float.h>.
24499 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24501 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
24502 <libm-alias-float.h>.
24503 (expf): Define using libm_alias_float, or libm_alias_float_other
24505 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
24506 <libm-alias-float.h>.
24507 (log2f): Define using libm_alias_float, or libm_alias_float_other
24509 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
24510 <libm-alias-float.h>.
24511 (logf): Define using libm_alias_float, or libm_alias_float_other
24513 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
24514 <libm-alias-float.h>.
24515 (powf): Define using libm_alias_float, or libm_alias_float_other
24517 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
24518 <libm-alias-float.h>.
24519 (cosf): Define using libm_alias_float.
24520 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
24521 <libm-alias-float.h>.
24522 (sincosf): Define using libm_alias_float.
24523 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
24524 <libm-alias-float.h>.
24525 (sinf): Define using libm_alias_float.
24526 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24527 (fmaxf): Define using libm_alias_float.
24528 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
24529 (fminf): Define using libm_alias_float.
24530 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24531 <libm-alias-float.h>.
24532 (fmaf): Define using libm_alias_float.
24534 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
24535 (asinh): Define using libm_alias_double.
24536 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
24537 (atan): Define using libm_alias_double.
24538 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
24539 (cbrt): Define using libm_alias_double.
24540 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
24541 (ceil): Define using libm_alias_double.
24542 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
24543 (copysign): Define using libm_alias_double.
24544 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
24545 (expm1): Define using libm_alias_double.
24546 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
24547 (fabs): Define using libm_alias_double.
24548 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
24549 (fdim): Define using libm_alias_double.
24550 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
24551 (floor): Define using libm_alias_double.
24552 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
24553 (fmax): Define using libm_alias_double.
24554 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
24555 (fmin): Define using libm_alias_double.
24556 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
24557 (frexp): Define using libm_alias_double.
24558 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
24559 (llrint): Define using libm_alias_double.
24560 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
24561 (logb): Define using libm_alias_double.
24562 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
24563 (lrint): Define using libm_alias_double.
24564 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
24565 (nearbyint): Define using libm_alias_double.
24566 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
24567 (remquo): Define using libm_alias_double.
24568 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
24569 (rint): Define using libm_alias_double.
24570 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
24571 (trunc): Define using libm_alias_double.
24572 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
24573 (fmax): Define using libm_alias_double.
24574 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
24575 (fmin): Define using libm_alias_double.
24576 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
24577 (fma): Define using libm_alias_double.
24579 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
24582 * elf/dl-hwcaps.c (ROUND): Removed.
24583 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
24584 and ELF_NOTE_NEXT_OFFSET.
24585 * elf/dl-load.c (ROUND): Removed.
24586 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24587 * elf/readelflib.c (ROUND): Removed.
24588 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24589 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
24590 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
24591 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
24593 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24595 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24596 [!__fmaf] (fmaf): Define using libm_alias_float.
24598 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
24599 [!__fma] (fma): Define using libm_alias_double.
24600 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
24602 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24605 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
24606 and implement the collation rules for cs from CLDR on top of that.
24607 * Makefile: Add cs_CZ.UTF-8 to test-input.
24608 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
24610 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
24612 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
24614 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24615 Icarus Sparry <icarus.w.sparry@intel.com>
24617 * benchtests/Makefile:Add BENCHSET to allow subsets of
24618 benchmarks to be run.
24619 * benchtests/README: Add documentation for: Running subsets of
24622 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24624 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
24625 range of tests names.
24627 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
24628 result from property and remove "max", min" and "mean" from
24629 required properties based on benchtests/bench-skeleton.c.
24631 2017-11-28 Florian Weimer <fweimer@redhat.com>
24634 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
24635 due to Internet requirement.
24636 * posix/Makefile (tests): Remove tst-getaddrinfo4,
24638 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
24640 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24642 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24643 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
24644 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24645 (sysdep_routines): Add memset-ultra1.
24646 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
24648 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
24649 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
24650 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
24651 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
24652 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
24653 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
24654 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
24655 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24657 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
24659 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
24660 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
24661 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
24662 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
24663 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
24664 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
24665 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
24667 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24668 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
24669 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24670 (sysdep_routines): Add memcpy-ultra1.
24671 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
24672 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
24674 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24676 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
24677 (cfloat_versions): Take function argument without trailing 'f'.
24678 Call libm_alias_float_other.
24679 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
24680 * sysdeps/alpha/fpu/cargf.c: Likewise.
24681 * sysdeps/alpha/fpu/cimagf.c: Likewise.
24682 * sysdeps/alpha/fpu/conjf.c: Likewise.
24683 * sysdeps/alpha/fpu/crealf.c: Likewise.
24684 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
24685 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
24686 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
24687 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
24688 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
24689 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
24690 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
24691 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
24692 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
24693 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
24694 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
24695 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
24696 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
24697 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
24698 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
24699 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
24700 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
24701 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
24702 (clog10f): Use libm_alias_float_other.
24703 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24704 (ceilf): Define using libm_alias_float.
24705 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
24706 (copysignf): Define using libm_alias_float.
24707 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24708 (fabsf): Define using libm_alias_float.
24709 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
24710 (floorf): Define using libm_alias_float.
24711 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
24712 (fmaxf): Define using libm_alias_float.
24713 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
24714 (fminf): Define using libm_alias_float.
24715 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24716 (lrintf): Define using libm_alias_float.
24717 (llrintf): Likewise.
24718 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24719 (lroundf): Define using libm_alias_float.
24720 (llroundf): Likewise.
24721 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
24722 (rintf): Define using libm_alias_float.
24723 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
24724 (truncf): Define using libm_alias_float.
24726 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24727 (ceilf): Define using libm_alias_float.
24728 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
24729 (floorf): Define using libm_alias_float.
24730 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24731 (fmaf): Define using libm_alias_float.
24732 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
24733 (fmaxf): Define using libm_alias_float.
24734 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
24735 (fminf): Define using libm_alias_float.
24736 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
24737 (llrintf): Define using libm_alias_float.
24738 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
24739 (llroundf): Define using libm_alias_float.
24740 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24741 (lrintf): Define using libm_alias_float.
24742 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24743 (lroundf): Define using libm_alias_float.
24744 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
24745 <libm-alias-float.h>.
24746 (nearbyintf): Define using libm_alias_float.
24747 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
24748 (rintf): Define using libm_alias_float.
24749 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
24750 (roundf): Define using libm_alias_float.
24751 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
24752 (truncf): Define using libm_alias_float.
24754 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
24755 (ceil): Define using libm_alias_double.
24756 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
24757 (copysign): Define using libm_alias_double.
24758 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
24759 (fabs): Define using libm_alias_double.
24760 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
24761 (floor): Define using libm_alias_double.
24762 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
24763 (fmax): Define using libm_alias_double.
24764 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
24765 (fmin): Define using libm_alias_double.
24766 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
24767 (lrint): Define using libm_alias_double.
24768 (llrint): Likewise.
24769 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
24770 (lround): Define using libm_alias_double.
24771 (llround): Likewise.
24772 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
24773 (rint): Define using libm_alias_double.
24774 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
24775 (trunc): Define using libm_alias_double.
24777 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24778 (libm_alias_double_r): Add semicolon after weak_alias call.
24780 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24782 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
24783 (ceil): Define using libm_alias_double.
24784 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
24785 (floor): Define using libm_alias_double.
24786 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
24787 (fma): Define using libm_alias_double.
24788 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
24789 (fmax): Define using libm_alias_double.
24790 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
24791 (fmin): Define using libm_alias_double.
24792 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
24793 (llrint): Define using libm_alias_double.
24794 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
24795 (llround): Define using libm_alias_double.
24796 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
24797 (lrint): Define using libm_alias_double.
24798 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
24799 (lround): Define using libm_alias_double.
24800 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
24801 (nearbyint): Define using libm_alias_double.
24802 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
24803 (rint): Define using libm_alias_double.
24804 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
24805 (round): Define using libm_alias_double.
24806 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
24807 (trunc): Define using libm_alias_double.
24809 2017-11-27 Florian Weimer <fweimer@redhat.com>
24811 * sysdeps/unix/sysv/linux/mlock2.c: New file.
24812 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
24813 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
24814 (tests): Add tst-mlock2.
24815 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
24816 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
24817 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
24818 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
24819 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
24820 for mlock. Document mlock2.
24822 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24824 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
24825 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
24827 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
24829 * sysdeps/x86/Makeconfig: New file.
24830 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
24831 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24832 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
24833 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24834 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24835 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24836 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
24838 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24839 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24840 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24841 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24842 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24843 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24844 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24845 * manual/math.texi (Mathematics): Document support for _Float64x.
24846 * math/Versions (GLIBC_2.27): Add _Float64x functions.
24847 * stdlib/Versions (GLIBC_2.27): Likewise.
24848 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24849 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24850 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24851 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24852 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24853 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24854 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24855 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24856 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24857 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24858 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24859 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24864 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24865 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24866 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24867 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24868 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24869 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24870 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24871 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24872 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24873 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24874 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24875 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24876 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24877 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24879 2017-11-27 Andreas Schwab <schwab@suse.de>
24881 * elf/Makefile (dl-routines): Add dl-sort-maps.
24882 * elf/dl-sort-maps.c: New file.
24883 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
24884 (_dl_sort_maps): Declare.
24885 * elf/dl-fini.c (_dl_sort_fini): Remove.
24886 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
24887 * elf/dl-close.c (_dl_close_worker): Likewise.
24888 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24890 * elf/dl-open.c (dl_open_worker): Likewise.
24892 2017-11-24 Joseph Myers <joseph@codesourcery.com>
24894 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24895 using libm_alias_float128.
24896 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24898 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24900 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24901 (setpayloadsigf128): Likewise.
24902 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24904 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24907 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24908 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24909 -mfloat128 to CFLAGS.
24911 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24913 (CFLAGS-libm-test-support-float64x.c): New variable.
24914 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24915 $(f128-loader-link) to gnulib-tests.
24917 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24918 (libm_alias_float128_other_r): If
24919 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24921 (libm_alias_float128_r): Add semicolon after weak_alias call.
24922 * sysdeps/generic/libm-alias-ldouble.h
24923 (libm_alias_ldouble_other_r_f128): New macro.
24924 (libm_alias_ldouble_other_r_f64x): Likewise.
24925 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24926 and libm_alias_ldouble_other_r_f64x.
24927 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24928 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24929 (libm_alias_ldouble_other_r_f128): New macro.
24930 (libm_alias_ldouble_other_r_f64x): Likewise.
24931 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24932 and libm_alias_ldouble_other_r_f64x.
24934 * stdlib/strfroml.c: Always include <stdlib.h>.
24935 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24936 undefine as macro and define as weak alias.
24937 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24938 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24940 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24941 Define and later undefine as macro and define as weak alias.
24943 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24944 Define and later undefine as macro. Define as weak alias if
24946 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24947 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24948 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24949 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24950 Define and later undefine as macro. Define as weak alias if
24952 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24953 Define and later undefine as macro. Define as weak alias if
24955 * sysdeps/ieee754/float128/strtof128_l.c
24956 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24957 Define and later undefine as macro. Define as weak alias if
24959 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24960 Define and later undefine as macro. Define as weak alias if
24962 * sysdeps/ieee754/ldbl-128/strtold_l.c
24963 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24964 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24965 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24966 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24967 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24968 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24969 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24970 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24971 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24972 * sysdeps/ieee754/ldbl-96/strtold_l.c
24973 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24974 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24975 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24976 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24978 * math/test-float64x.h: New file.
24979 * math/Makefile (type-float64x-yes): New variable.
24980 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24982 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24983 function-like macro.
24984 (min_of_type_): Likewise.
24985 (min_of_type_l): Likewise.
24986 (min_of_type_f128): Likewise.
24987 (min_of_type): Pass () as last argument of __MATH_TG.
24989 * stdlib/tst-strtod-round-skeleton.c
24990 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24993 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24994 for combinations of long double with _Float64 and _Float64x.
24996 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24997 (__DECL_SIMD_cosf32): Likewise.
24998 (__DECL_SIMD_cosf64): Likewise.
24999 (__DECL_SIMD_cosf32x): Likewise.
25000 (__DECL_SIMD_cosf64x): Likewise.
25001 (__DECL_SIMD_cosf128x): Likewise.
25002 (__DECL_SIMD_sinf16): Likewise.
25003 (__DECL_SIMD_sinf32): Likewise.
25004 (__DECL_SIMD_sinf64): Likewise.
25005 (__DECL_SIMD_sinf32x): Likewise.
25006 (__DECL_SIMD_sinf64x): Likewise.
25007 (__DECL_SIMD_sinf128x): Likewise.
25008 (__DECL_SIMD_sincosf16): Likewise.
25009 (__DECL_SIMD_sincosf32): Likewise.
25010 (__DECL_SIMD_sincosf64): Likewise.
25011 (__DECL_SIMD_sincosf32x): Likewise.
25012 (__DECL_SIMD_sincosf64x): Likewise.
25013 (__DECL_SIMD_sincosf128x): Likewise.
25014 (__DECL_SIMD_logf16): Likewise.
25015 (__DECL_SIMD_logf32): Likewise.
25016 (__DECL_SIMD_logf64): Likewise.
25017 (__DECL_SIMD_logf32x): Likewise.
25018 (__DECL_SIMD_logf64x): Likewise.
25019 (__DECL_SIMD_logf128x): Likewise.
25020 (__DECL_SIMD_expf16): Likewise.
25021 (__DECL_SIMD_expf32): Likewise.
25022 (__DECL_SIMD_expf64): Likewise.
25023 (__DECL_SIMD_expf32x): Likewise.
25024 (__DECL_SIMD_expf64x): Likewise.
25025 (__DECL_SIMD_expf128x): Likewise.
25026 (__DECL_SIMD_powf16): Likewise.
25027 (__DECL_SIMD_powf32): Likewise.
25028 (__DECL_SIMD_powf64): Likewise.
25029 (__DECL_SIMD_powf32x): Likewise.
25030 (__DECL_SIMD_powf64x): Likewise.
25031 (__DECL_SIMD_powf128x): Likewise.
25033 * stdlib/Versions (libc): Move entries for wcstof128 and
25034 wcstof128_l to ....
25035 * wcsmbs/Versions (libc): ... here.
25036 Include <float128-abi.h>.
25038 2017-11-24 Florian Weimer <fweimer@redhat.com>
25040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25041 bits/mman-shared.h.
25042 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
25043 <bits/mman-shared.h>.
25044 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
25046 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
25047 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
25048 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
25049 <bits/mman-shared.h>.
25051 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25054 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
25055 posix_memalign/free.
25056 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
25058 2017-11-22 Mike FABIAN <mfabian@redhat.com>
25061 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
25062 and implement the collation rules for pl from CLDR on top of that.
25063 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
25064 of locales to be built for testing.
25065 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
25067 2017-11-23 Joseph Myers <joseph@codesourcery.com>
25069 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
25070 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
25071 libm_alias_ldouble_other.
25072 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
25073 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
25074 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
25075 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
25076 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
25077 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
25078 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
25079 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
25080 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
25081 libm_alias_ldouble_r.
25082 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
25083 libm_alias_ldouble_other.
25084 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
25085 (log10l): Likewise.
25086 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
25087 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
25088 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
25089 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
25090 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
25091 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
25092 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
25093 (atan2l): Likewise.
25094 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
25095 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
25096 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
25097 libm_alias_ldouble.
25098 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
25100 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
25101 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
25102 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
25104 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
25105 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
25106 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
25107 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
25108 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
25109 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
25110 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
25111 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
25112 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
25113 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
25114 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
25115 libm_alias_ldouble.
25116 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
25117 libm_alias_ldouble_other.
25118 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
25119 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
25120 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
25121 libm_alias_ldouble.
25122 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
25123 libm_alias_ldouble_other.
25124 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
25125 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
25126 * sysdeps/ia64/fpu/w_lgammal_main.c
25127 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
25128 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
25130 2017-11-23 Florian Weimer <fweimer@redhat.com>
25132 * malloc/malloc.c (tcache_thread_shutdown): Rename from
25133 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
25134 alike. Remove freeres marker.
25135 * malloc/arena.c (arena_thread_freeres): Call
25136 tcache_thread_shutdown.
25138 2017-11-23 Florian Weimer <fweimer@redhat.com>
25141 Export nscd hash function as __nss_hash.
25142 * include/nss.h (__nss_hash): Declare.
25143 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
25145 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
25146 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
25148 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
25149 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
25150 * nss/Makefiles (routines): Add nss_hash.
25151 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
25152 * nss/nss_hash.c: Rename from nis/nis_hash.c.
25153 (__nss_hash): Rename from __nis_hash. Define hidden alias.
25154 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
25156 2017-11-23 Florian Weimer <fweimer@redhat.com>
25159 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
25160 Return error code, not -1.
25161 * signal/tst-sigwait-eintr.c: New file.
25162 * signal/Makefile (tests): Add tst-sigwait-eintr.
25164 2017-11-23 Florian Weimer <fweimer@redhat.com>
25166 Linux: Add memfd_create system call wrapper
25167 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
25169 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
25170 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
25171 [__USE_GNU] (memfd_create): Declare.
25172 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
25173 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
25174 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
25175 * sysdeps/unix/sysv/linux/**.abilist: Update.
25176 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
25178 2017-11-22 Joseph Myers <joseph@codesourcery.com>
25180 * localedata/gen-locale.sh: Fix typo in variable name.
25182 * resolv/res_debug.c (p_secstodate): Condition definition on
25183 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
25184 directly as __p_secstodate, and as a compat symbol. Do not use
25185 libresolv_hidden_def.
25186 * resolv/resolv.h (p_secstodate): Remove macro and function
25188 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
25189 using p_secstodate.
25190 * include/resolv.h (__p_secstodate): Do not use
25191 libresolv_hidden_proto.
25192 * resolv/Makefile (tests): Move tst-p_secstodate to ....
25193 (tests-internal): ... here.
25194 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
25195 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
25196 and declare and use __p_secstodate and use compat_symbol_reference
25198 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
25199 implementation returning 77.
25202 * resolv/res_debug.c: Include <libc-diag.h>.
25203 (p_secstodate): Assert time_t at least as wide as u_long. On
25204 overflow, use integer seconds since the epoch as output, or use
25205 "<overflow>" as output and set errno to EOVERFLOW if integer
25206 seconds since the epoch would be 14 or more characters.
25207 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
25209 * resolv/tst-p_secstodate.c: New file.
25210 * resolv/Makefile (tests): Add tst-p_secstodate.
25211 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
25213 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
25214 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25215 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
25217 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
25219 * posix/regcomp.c (init_word_char): Add comments.
25221 2017-11-22 Joseph Myers <joseph@codesourcery.com>
25224 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
25225 strlen to compute length of ut_user and set trailing NUL byte of
25228 2017-11-21 Mike FABIAN <mfabian@redhat.com>
25231 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
25232 using “copy "iso14651_t1"” and then implementing the
25233 collation rules for lv from CLDR on top of that.
25234 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
25235 of locales to be built for testing.
25236 * lv_LV.UTF-8.in: New file with test data to test the Latvian
25239 2017-11-21 Joseph Myers <joseph@codesourcery.com>
25241 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25242 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
25243 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
25244 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
25245 [__USE_MISC] (MADV_HWPOISON): New macro.
25246 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
25248 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25250 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
25251 -Wmissing-braces on GCC 4.9.
25253 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25255 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
25256 * sysdeps/s390/s390-32/start.S (_start): Likewise
25257 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
25258 (thread_start): Likewise.
25259 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
25260 (thread_start): Likewise.
25261 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
25262 (__makecontext_ret): Likewise.
25263 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
25264 (__makecontext_ret): Likewise.
25266 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25268 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
25269 __wcschrnul): Remove attribute_hidden.
25271 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
25273 regex: don't assume uint64_t or uint32_t
25274 This avoids -Werror=overflow errors for 32-bit systems in
25275 the 64-bit case. Problem reported by Joseph Myers in:
25276 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
25277 Also, when this code is used in Gnulib it ports to platforms
25278 that lack uint64_t and uint32_t. The C standard doesn't guarantee
25279 them, and on some 32-bit compilers there is no uint64_t.
25280 Problem reported by Gianluigi Tiesi in:
25281 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
25282 * posix/regcomp.c (init_word_char): Don't assume that the types
25283 uint64_t and uint32_t exist. Adapted from Gnulib patch
25284 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
25285 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
25287 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
25289 * sysdeps/aarch64/memset-reg.h: New file.
25290 * sysdeps/aarch64/memset.S: Use it.
25291 (__memset): Rename to MEMSET macro.
25292 [ZVA_MACRO]: Use zva_macro.
25293 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
25294 Add memset_generic and memset_falkor.
25295 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25296 (__libc_ifunc_impl_list): Add memset ifuncs.
25297 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
25298 local variable zva_size.
25299 * sysdeps/aarch64/multiarch/memset.c: New file.
25300 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
25301 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
25302 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
25303 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
25304 (DCZID_DZP_MASK): New macro.
25305 (DCZID_BS_MASK): Likewise.
25306 (init_cpu_features): Read and set zva_size.
25307 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
25308 (struct cpu_features): New member zva_size.
25310 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
25311 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
25312 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
25314 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
25315 backwards. Fix timing computation.
25316 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
25317 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
25318 on memset by N at a time. Fix timing computation.
25320 2017-11-20 Florian Weimer <fweimer@redhat.com>
25322 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
25323 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
25325 2017-11-19 Florian Weimer <fweimer@redhat.com>
25327 manual: Document mprotect
25328 * manual/memory.texi (Memory Protection): New section.
25329 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
25330 documentation of PROT_* flags and reference the Memory Protection
25333 2017-11-19 Florian Weimer <fweimer@redhat.com>
25335 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
25336 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
25337 (Scatter-Gather): ... to here. Remove misleading comment.
25339 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
25341 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
25344 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
25345 when /proc/<pid>/setgroups does not exist.
25347 2017-11-18 Florian Weimer <fweimer@redhat.com>
25349 * sysdeps/unix/sysv/linux/tst-ttyname.c
25350 (become_root_in_mount_ns): Remove.
25351 (do_in_chroot_1): Call support_enter_mount_namespace.
25352 (do_in_chroot_2): Likewise.
25353 (do_test): Call support_become_root early.
25355 2017-11-18 Florian Weimer <fweimer@redhat.com>
25357 * support/namespace.h (support_enter_mount_namespace): Declare.
25358 * support/support_enter_mount_namespace.c: New file.
25359 * support/Makefile (libsupport-routines): Add
25360 support_enter_mount_namespace.
25362 2017-11-18 Florian Weimer <fweimer@redhat.com>
25364 * support/temp_file.c (support_create_temp_directory): Use
25365 test_dir and do not rely on the presence of the XXXXXX suffix.
25366 * support/temp_file.h (support_create_temp_directory): Update
25368 * support/tst-xreadlink.c (do_test): Adjust.
25369 * support/support_chroot.c (support_chroot_create): Likewise.
25371 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25373 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
25375 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
25378 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25380 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25381 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25382 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25383 (ceill): Define using libm_alias_ldouble.
25384 * sysdeps/x86_64/fpu/s_copysignl.S: Include
25385 <libm-alias-ldouble.h>.
25386 (copysignl): Define using libm_alias_ldouble.
25387 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25388 (fabsl): Define using libm_alias_ldouble.
25389 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25390 (floorl): Define using libm_alias_ldouble.
25391 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25392 (fmaxl): Define using libm_alias_ldouble.
25393 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25394 (fminl): Define using libm_alias_ldouble.
25395 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25396 (llrintl): Define using libm_alias_ldouble.
25397 (lrintl): Likewise.
25398 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
25399 <libm-alias-ldouble.h>.
25400 (nearbyintl): Define using libm_alias_ldouble.
25401 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25402 (truncl): Define using libm_alias_ldouble.
25403 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
25404 <libm-alias-ldouble.h>.
25405 (lrintl): Define using libm_alias_ldouble.
25407 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25408 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25409 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
25410 (asinhl): Define using libm_alias_ldouble.
25411 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
25412 (atanl): Define using libm_alias_ldouble.
25413 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
25414 (cbrtl): Define using libm_alias_ldouble.
25415 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25416 (ceill): Define using libm_alias_ldouble.
25417 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
25418 (copysignl): Define using libm_alias_ldouble.
25419 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25420 (fabsl): Define using libm_alias_ldouble.
25421 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25422 (floorl): Define using libm_alias_ldouble.
25423 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25424 (fmaxl): Define using libm_alias_ldouble.
25425 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25426 (fminl): Define using libm_alias_ldouble.
25427 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
25428 (frexpl): Define using libm_alias_ldouble.
25429 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25430 (llrintl): Define using libm_alias_ldouble.
25431 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
25432 (logbl): Define using libm_alias_ldouble.
25433 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
25434 (lrintl): Define using libm_alias_ldouble.
25435 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
25436 (nearbyintl): Define using libm_alias_ldouble.
25437 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
25438 (nextafterl): Define using libm_alias_ldouble.
25439 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
25440 (remquol): Define using libm_alias_ldouble.
25441 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
25442 (rintl): Define using libm_alias_ldouble.
25443 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25444 (truncl): Define using libm_alias_ldouble.
25445 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25446 (fmaxl): Define using libm_alias_ldouble.
25447 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25448 (fminl): Define using libm_alias_ldouble.
25450 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
25451 to C syntax instead of availability and properties of types.
25452 * bits/floatn.h [!__ASSEMBLER]: Likewise.
25453 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
25454 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
25455 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
25456 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
25457 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
25459 2017-11-17 Florian Weimer <fweimer@redhat.com>
25461 support_become_root: Enable file creation in namespaces.
25462 * support/support_become_root.c (setup_mapping): New function.
25463 (support_become_root): Call it.
25465 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25467 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
25470 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25472 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
25473 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
25475 2017-11-16 Joseph Myers <joseph@codesourcery.com>
25477 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
25479 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25482 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25484 * INSTALL: Fix botched up regeneration.
25486 * NEWS: Update sourceare link to https.
25487 * configure.ac: Likewise.
25488 * crypt/md5test-giant.c: Likewise.
25489 * dlfcn/bug-atexit1.c: Likewise.
25490 * dlfcn/bug-atexit2.c: Likewise.
25491 * localedata/README: Likewise.
25492 * malloc/tst-mallocfork.c: Likewise.
25493 * manual/install.texi: Likewise.
25494 * nptl/tst-pthread-getattr.c: Likewise.
25495 * stdio-common/tst-fgets.c: Likewise.
25496 * stdio-common/tst-fwrite.c: Likewise.
25497 * sunrpc/Makefile: Likewise.
25498 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
25499 * wcsmbs/tst-mbrtowc2.c: Likewise.
25500 * configure: Regenerate.
25501 * INSTALL: Regenerate.
25503 2017-11-15 Martin Sebor <msebor@redhat.com>
25505 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
25506 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
25507 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
25509 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25512 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
25513 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
25516 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
25517 Defer is_pty check until end of the function.
25518 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25521 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
25522 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
25523 (ttyname): Likewise.
25524 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25525 (__ttyname_r): Likewise.
25527 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
25530 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
25532 * manual/terminal.texi (Is It a Terminal):
25533 Mention ENODEV for ttyname and ttyname_r.
25535 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25537 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
25538 constant and macro.
25540 * sysdeps/unix/sysv/linux/bits/mman-linux.h
25541 [__USE_MISC] (MADV_WIPEONFORK): New macro.
25542 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25543 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25544 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
25545 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25547 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25549 * signal/sigrelse.c (sigrelse): Optimize implementation.
25551 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
25552 (__sigpause): Rely on __sigsuspend to implement single thread
25553 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
25555 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25557 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
25558 kernel version to 4.14.
25560 2017-11-15 Steve Ellcey <sellcey@cavium.com>
25563 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
25564 Check if ifname is too long.
25566 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25568 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
25570 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25572 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
25573 was accidentally lost.
25575 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25577 * localedata/locales/az_IR: Add standard copyright header.
25579 2017-11-15 Florian Weimer <fweimer@redhat.com>
25582 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
25583 not just the top one. Output a new "subheaps" statistic.
25585 2017-11-15 Florian Weimer <fweimer@redhat.com>
25588 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
25589 under the per-arena lock.
25590 * malloc/Makefile (tests): Add tst-malloc_info.
25591 (tst-malloc_info): Link with libpthread.
25592 * malloc/tst-malloc_info.c: New file.
25594 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25597 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
25598 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
25599 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
25600 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
25601 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
25602 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
25603 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
25604 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
25605 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
25606 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
25607 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
25608 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
25609 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
25610 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
25611 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
25612 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
25613 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
25614 (__floating_type): Likewise.
25615 (__real_integer_type): Likewise.
25616 (__complex_integer_type): Likewise.
25617 (__expr_is_real): Likewise.
25618 (__tgmath_real_type_sub): Likewise.
25619 (__tgmath_real_type): Likewise.
25620 (__tgmath_complex_type_sub): Likewise.
25621 (__tgmath_complex_type): Likewise.
25622 (__TGMATH_F128): Likewise.
25623 (__TGMATH_CF128): Likewise.
25624 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
25626 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
25627 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
25629 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
25631 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
25632 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
25633 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
25634 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
25636 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
25637 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
25639 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
25640 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
25641 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
25643 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
25644 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
25645 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
25649 2017-11-14 Joseph Myers <joseph@codesourcery.com>
25651 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
25652 for stpncpy calls for GCC 8.
25653 (test_strncat): Disable -Wstringop-truncation warning for strncat
25654 calls for GCC 8. Disable -Wstringop-overflow= warning for one
25655 strncat call for GCC 7.
25656 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
25658 (test_memcmp): Use memcpy instead of strncpy for calls not copying
25661 * string/bug-strncat1.c: Include <libc-diag.h>.
25662 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
25664 2017-11-13 Claude Paroz <claude@2xlibre.net>
25667 * localedata/locales/aa_DJ: Improved readibility by replacing
25668 <Uxxxx> sequences in the ASCII printable range by their ASCII
25669 character equivalents.
25670 * localedata/locales/aa_ER: Likewise.
25671 * localedata/locales/aa_ER@saaho: Likewise.
25672 * localedata/locales/aa_ET: Likewise.
25673 * localedata/locales/af_ZA: Likewise.
25674 * localedata/locales/agr_PE: Likewise.
25675 * localedata/locales/ak_GH: Likewise.
25676 * localedata/locales/am_ET: Likewise.
25677 * localedata/locales/anp_IN: Likewise.
25678 * localedata/locales/ar_AE: Likewise.
25679 * localedata/locales/ar_BH: Likewise.
25680 * localedata/locales/ar_DZ: Likewise.
25681 * localedata/locales/ar_EG: Likewise.
25682 * localedata/locales/ar_IN: Likewise.
25683 * localedata/locales/ar_IQ: Likewise.
25684 * localedata/locales/ar_JO: Likewise.
25685 * localedata/locales/ar_KW: Likewise.
25686 * localedata/locales/ar_LB: Likewise.
25687 * localedata/locales/ar_LY: Likewise.
25688 * localedata/locales/ar_MA: Likewise.
25689 * localedata/locales/ar_OM: Likewise.
25690 * localedata/locales/ar_QA: Likewise.
25691 * localedata/locales/ar_SA: Likewise.
25692 * localedata/locales/ar_SD: Likewise.
25693 * localedata/locales/ar_SS: Likewise.
25694 * localedata/locales/ar_SY: Likewise.
25695 * localedata/locales/ar_TN: Likewise.
25696 * localedata/locales/ar_YE: Likewise.
25697 * localedata/locales/as_IN: Likewise.
25698 * localedata/locales/ast_ES: Likewise.
25699 * localedata/locales/ayc_PE: Likewise.
25700 * localedata/locales/az_AZ: Likewise.
25701 * localedata/locales/az_IR: Likewise.
25702 * localedata/locales/be_BY: Likewise.
25703 * localedata/locales/be_BY@latin: Likewise.
25704 * localedata/locales/bem_ZM: Likewise.
25705 * localedata/locales/ber_DZ: Likewise.
25706 * localedata/locales/ber_MA: Likewise.
25707 * localedata/locales/bg_BG: Likewise.
25708 * localedata/locales/bhb_IN: Likewise.
25709 * localedata/locales/bho_IN: Likewise.
25710 * localedata/locales/bi_VU: Likewise.
25711 * localedata/locales/bn_BD: Likewise.
25712 * localedata/locales/bn_IN: Likewise.
25713 * localedata/locales/bo_CN: Likewise.
25714 * localedata/locales/bo_IN: Likewise.
25715 * localedata/locales/br_FR: Likewise.
25716 * localedata/locales/brx_IN: Likewise.
25717 * localedata/locales/bs_BA: Likewise.
25718 * localedata/locales/byn_ER: Likewise.
25719 * localedata/locales/ca_AD: Likewise.
25720 * localedata/locales/ca_ES: Likewise.
25721 * localedata/locales/ca_FR: Likewise.
25722 * localedata/locales/ca_IT: Likewise.
25723 * localedata/locales/ce_RU: Likewise.
25724 * localedata/locales/chr_US: Likewise.
25725 * localedata/locales/cmn_TW: Likewise.
25726 * localedata/locales/crh_UA: Likewise.
25727 * localedata/locales/cs_CZ: Likewise.
25728 * localedata/locales/csb_PL: Likewise.
25729 * localedata/locales/cv_RU: Likewise.
25730 * localedata/locales/cy_GB: Likewise.
25731 * localedata/locales/da_DK: Likewise.
25732 * localedata/locales/de_AT: Likewise.
25733 * localedata/locales/de_BE: Likewise.
25734 * localedata/locales/de_CH: Likewise.
25735 * localedata/locales/de_DE: Likewise.
25736 * localedata/locales/de_IT: Likewise.
25737 * localedata/locales/de_LI: Likewise.
25738 * localedata/locales/de_LU: Likewise.
25739 * localedata/locales/doi_IN: Likewise.
25740 * localedata/locales/dv_MV: Likewise.
25741 * localedata/locales/dz_BT: Likewise.
25742 * localedata/locales/el_CY: Likewise.
25743 * localedata/locales/el_GR: Likewise.
25744 * localedata/locales/en_AG: Likewise.
25745 * localedata/locales/en_AU: Likewise.
25746 * localedata/locales/en_BW: Likewise.
25747 * localedata/locales/en_CA: Likewise.
25748 * localedata/locales/en_DK: Likewise.
25749 * localedata/locales/en_GB: Likewise.
25750 * localedata/locales/en_HK: Likewise.
25751 * localedata/locales/en_IE: Likewise.
25752 * localedata/locales/en_IL: Likewise.
25753 * localedata/locales/en_IN: Likewise.
25754 * localedata/locales/en_NG: Likewise.
25755 * localedata/locales/en_NZ: Likewise.
25756 * localedata/locales/en_PH: Likewise.
25757 * localedata/locales/en_SG: Likewise.
25758 * localedata/locales/en_US: Likewise.
25759 * localedata/locales/en_ZA: Likewise.
25760 * localedata/locales/en_ZM: Likewise.
25761 * localedata/locales/en_ZW: Likewise.
25762 * localedata/locales/eo: Likewise.
25763 * localedata/locales/es_AR: Likewise.
25764 * localedata/locales/es_BO: Likewise.
25765 * localedata/locales/es_CL: Likewise.
25766 * localedata/locales/es_CO: Likewise.
25767 * localedata/locales/es_CR: Likewise.
25768 * localedata/locales/es_CU: Likewise.
25769 * localedata/locales/es_DO: Likewise.
25770 * localedata/locales/es_EC: Likewise.
25771 * localedata/locales/es_ES: Likewise.
25772 * localedata/locales/es_GT: Likewise.
25773 * localedata/locales/es_HN: Likewise.
25774 * localedata/locales/es_MX: Likewise.
25775 * localedata/locales/es_NI: Likewise.
25776 * localedata/locales/es_PA: Likewise.
25777 * localedata/locales/es_PE: Likewise.
25778 * localedata/locales/es_PR: Likewise.
25779 * localedata/locales/es_PY: Likewise.
25780 * localedata/locales/es_SV: Likewise.
25781 * localedata/locales/es_US: Likewise.
25782 * localedata/locales/es_UY: Likewise.
25783 * localedata/locales/es_VE: Likewise.
25784 * localedata/locales/et_EE: Likewise.
25785 * localedata/locales/eu_ES: Likewise.
25786 * localedata/locales/eu_ES@euro: Likewise.
25787 * localedata/locales/fa_IR: Likewise.
25788 * localedata/locales/ff_SN: Likewise.
25789 * localedata/locales/fi_FI: Likewise.
25790 * localedata/locales/fil_PH: Likewise.
25791 * localedata/locales/fo_FO: Likewise.
25792 * localedata/locales/fr_BE: Likewise.
25793 * localedata/locales/fr_CA: Likewise.
25794 * localedata/locales/fr_CH: Likewise.
25795 * localedata/locales/fr_FR: Likewise.
25796 * localedata/locales/fr_LU: Likewise.
25797 * localedata/locales/fur_IT: Likewise.
25798 * localedata/locales/fy_DE: Likewise.
25799 * localedata/locales/fy_NL: Likewise.
25800 * localedata/locales/ga_IE: Likewise.
25801 * localedata/locales/gd_GB: Likewise.
25802 * localedata/locales/gez_ER: Likewise.
25803 * localedata/locales/gez_ET: Likewise.
25804 * localedata/locales/gl_ES: Likewise.
25805 * localedata/locales/gu_IN: Likewise.
25806 * localedata/locales/gv_GB: Likewise.
25807 * localedata/locales/ha_NG: Likewise.
25808 * localedata/locales/hak_TW: Likewise.
25809 * localedata/locales/he_IL: Likewise.
25810 * localedata/locales/hi_IN: Likewise.
25811 * localedata/locales/hif_FJ: Likewise.
25812 * localedata/locales/hne_IN: Likewise.
25813 * localedata/locales/hr_HR: Likewise.
25814 * localedata/locales/hsb_DE: Likewise.
25815 * localedata/locales/ht_HT: Likewise.
25816 * localedata/locales/hu_HU: Likewise.
25817 * localedata/locales/hy_AM: Likewise.
25818 * localedata/locales/i18n: Likewise.
25819 * localedata/locales/ia_FR: Likewise.
25820 * localedata/locales/id_ID: Likewise.
25821 * localedata/locales/ig_NG: Likewise.
25822 * localedata/locales/ik_CA: Likewise.
25823 * localedata/locales/is_IS: Likewise.
25824 * localedata/locales/it_CH: Likewise.
25825 * localedata/locales/it_IT: Likewise.
25826 * localedata/locales/iu_CA: Likewise.
25827 * localedata/locales/ja_JP: Likewise.
25828 * localedata/locales/ka_GE: Likewise.
25829 * localedata/locales/kk_KZ: Likewise.
25830 * localedata/locales/kl_GL: Likewise.
25831 * localedata/locales/kn_IN: Likewise.
25832 * localedata/locales/ko_KR: Likewise.
25833 * localedata/locales/kok_IN: Likewise.
25834 * localedata/locales/ks_IN: Likewise.
25835 * localedata/locales/ks_IN@devanagari: Likewise.
25836 * localedata/locales/ku_TR: Likewise.
25837 * localedata/locales/kw_GB: Likewise.
25838 * localedata/locales/ky_KG: Likewise.
25839 * localedata/locales/lb_LU: Likewise.
25840 * localedata/locales/lg_UG: Likewise.
25841 * localedata/locales/li_BE: Likewise.
25842 * localedata/locales/li_NL: Likewise.
25843 * localedata/locales/lij_IT: Likewise.
25844 * localedata/locales/ln_CD: Likewise.
25845 * localedata/locales/lo_LA: Likewise.
25846 * localedata/locales/lt_LT: Likewise.
25847 * localedata/locales/lv_LV: Likewise.
25848 * localedata/locales/lzh_TW: Likewise.
25849 * localedata/locales/mag_IN: Likewise.
25850 * localedata/locales/mai_IN: Likewise.
25851 * localedata/locales/mg_MG: Likewise.
25852 * localedata/locales/mhr_RU: Likewise.
25853 * localedata/locales/mi_NZ: Likewise.
25854 * localedata/locales/mk_MK: Likewise.
25855 * localedata/locales/ml_IN: Likewise.
25856 * localedata/locales/mn_MN: Likewise.
25857 * localedata/locales/mni_IN: Likewise.
25858 * localedata/locales/mr_IN: Likewise.
25859 * localedata/locales/ms_MY: Likewise.
25860 * localedata/locales/mt_MT: Likewise.
25861 * localedata/locales/my_MM: Likewise.
25862 * localedata/locales/nan_TW: Likewise.
25863 * localedata/locales/nan_TW@latin: Likewise.
25864 * localedata/locales/nb_NO: Likewise.
25865 * localedata/locales/nds_DE: Likewise.
25866 * localedata/locales/nds_NL: Likewise.
25867 * localedata/locales/ne_NP: Likewise.
25868 * localedata/locales/nhn_MX: Likewise.
25869 * localedata/locales/niu_NU: Likewise.
25870 * localedata/locales/niu_NZ: Likewise.
25871 * localedata/locales/nl_AW: Likewise.
25872 * localedata/locales/nl_BE: Likewise.
25873 * localedata/locales/nl_NL: Likewise.
25874 * localedata/locales/nn_NO: Likewise.
25875 * localedata/locales/nr_ZA: Likewise.
25876 * localedata/locales/nso_ZA: Likewise.
25877 * localedata/locales/oc_FR: Likewise.
25878 * localedata/locales/om_ET: Likewise.
25879 * localedata/locales/om_KE: Likewise.
25880 * localedata/locales/or_IN: Likewise.
25881 * localedata/locales/os_RU: Likewise.
25882 * localedata/locales/pa_IN: Likewise.
25883 * localedata/locales/pa_PK: Likewise.
25884 * localedata/locales/pap_AW: Likewise.
25885 * localedata/locales/pap_CW: Likewise.
25886 * localedata/locales/pl_PL: Likewise.
25887 * localedata/locales/ps_AF: Likewise.
25888 * localedata/locales/pt_BR: Likewise.
25889 * localedata/locales/pt_PT: Likewise.
25890 * localedata/locales/quz_PE: Likewise.
25891 * localedata/locales/raj_IN: Likewise.
25892 * localedata/locales/ro_RO: Likewise.
25893 * localedata/locales/ru_RU: Likewise.
25894 * localedata/locales/ru_UA: Likewise.
25895 * localedata/locales/rw_RW: Likewise.
25896 * localedata/locales/sa_IN: Likewise.
25897 * localedata/locales/sat_IN: Likewise.
25898 * localedata/locales/sc_IT: Likewise.
25899 * localedata/locales/sd_IN: Likewise.
25900 * localedata/locales/sd_IN@devanagari: Likewise.
25901 * localedata/locales/se_NO: Likewise.
25902 * localedata/locales/sgs_LT: Likewise.
25903 * localedata/locales/shs_CA: Likewise.
25904 * localedata/locales/si_LK: Likewise.
25905 * localedata/locales/sid_ET: Likewise.
25906 * localedata/locales/sk_SK: Likewise.
25907 * localedata/locales/sl_SI: Likewise.
25908 * localedata/locales/sm_WS: Likewise.
25909 * localedata/locales/so_DJ: Likewise.
25910 * localedata/locales/so_ET: Likewise.
25911 * localedata/locales/so_KE: Likewise.
25912 * localedata/locales/so_SO: Likewise.
25913 * localedata/locales/sq_AL: Likewise.
25914 * localedata/locales/sq_MK: Likewise.
25915 * localedata/locales/sr_ME: Likewise.
25916 * localedata/locales/sr_RS: Likewise.
25917 * localedata/locales/sr_RS@latin: Likewise.
25918 * localedata/locales/ss_ZA: Likewise.
25919 * localedata/locales/st_ZA: Likewise.
25920 * localedata/locales/sv_FI: Likewise.
25921 * localedata/locales/sv_SE: Likewise.
25922 * localedata/locales/sw_KE: Likewise.
25923 * localedata/locales/sw_TZ: Likewise.
25924 * localedata/locales/szl_PL: Likewise.
25925 * localedata/locales/ta_IN: Likewise.
25926 * localedata/locales/ta_LK: Likewise.
25927 * localedata/locales/tcy_IN: Likewise.
25928 * localedata/locales/te_IN: Likewise.
25929 * localedata/locales/tg_TJ: Likewise.
25930 * localedata/locales/th_TH: Likewise.
25931 * localedata/locales/the_NP: Likewise.
25932 * localedata/locales/ti_ER: Likewise.
25933 * localedata/locales/ti_ET: Likewise.
25934 * localedata/locales/tig_ER: Likewise.
25935 * localedata/locales/tk_TM: Likewise.
25936 * localedata/locales/tl_PH: Likewise.
25937 * localedata/locales/tn_ZA: Likewise.
25938 * localedata/locales/to_TO: Likewise.
25939 * localedata/locales/tpi_PG: Likewise.
25940 * localedata/locales/tr_CY: Likewise.
25941 * localedata/locales/tr_TR: Likewise.
25942 * localedata/locales/ts_ZA: Likewise.
25943 * localedata/locales/tt_RU: Likewise.
25944 * localedata/locales/tt_RU@iqtelif: Likewise.
25945 * localedata/locales/ug_CN: Likewise.
25946 * localedata/locales/uk_UA: Likewise.
25947 * localedata/locales/unm_US: Likewise.
25948 * localedata/locales/ur_IN: Likewise.
25949 * localedata/locales/ur_PK: Likewise.
25950 * localedata/locales/uz_UZ: Likewise.
25951 * localedata/locales/uz_UZ@cyrillic: Likewise.
25952 * localedata/locales/ve_ZA: Likewise.
25953 * localedata/locales/vi_VN: Likewise.
25954 * localedata/locales/wa_BE: Likewise.
25955 * localedata/locales/wae_CH: Likewise.
25956 * localedata/locales/wal_ET: Likewise.
25957 * localedata/locales/wo_SN: Likewise.
25958 * localedata/locales/xh_ZA: Likewise.
25959 * localedata/locales/yi_US: Likewise.
25960 * localedata/locales/yo_NG: Likewise.
25961 * localedata/locales/yue_HK: Likewise.
25962 * localedata/locales/yuw_PG: Likewise.
25963 * localedata/locales/zh_CN: Likewise.
25964 * localedata/locales/zh_HK: Likewise.
25965 * localedata/locales/zh_SG: Likewise.
25966 * localedata/locales/zh_TW: Likewise.
25967 * localedata/locales/zu_ZA: Likewise.
25969 2017-11-13 Florian Weimer <fweimer@redhat.com>
25971 * support/next_to_fault.h, support/next_to_fault.c: New files.
25972 * support/Makefile (libsupport-routines): Add next_to_fault.
25973 * resolv/tst-inet_pton.c (struct next_to_fault)
25974 (next_to_fault_allocate, next_to_fault_free): Remove.
25975 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25977 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25979 * elf/dl-support.c: Include <dl-procruntime.c>.
25980 * include/link.h: Include <link_map.h>.
25981 * sysdeps/generic/dl-procruntime.c: New file.
25982 * sysdeps/generic/link_map.h: Likewise.
25983 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25984 the writable ld.so namespace.
25986 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25988 timezone: pacify GCC -Wstringop-truncation
25989 Problem reported by Martin Sebor in:
25990 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25991 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25993 2017-11-12 Florian Weimer <fweimer@redhat.com>
25995 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25997 (tests): Add tst-xreadlink.
25998 * support/support.h (xstrndup): Declare.
25999 * support/xunistd.h (xunlink, xreadlink): Declare.
26000 * support/temp_file.h (support_create_temp_directory): Declare.
26001 * support/temp_file.c (support_create_temp_directory): New function.
26002 * support/support_chroot.c (support_chroot_create): Use it.
26003 * support/xreadlink.c: New file.
26004 * support/xstrndup.c: Likewise.
26005 * support/xunlink.c: Likewise.
26006 * support/tst-xreadlink.c: Likewise.
26008 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
26010 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
26012 2017-11-11 Florian Weimer <fweimer@redhat.com>
26016 * resolv/res_comp.c (printable_string, binary_hnok)
26017 (binary_leading_dash): New functions.
26018 (res_hnok): Reimplement using these functions and ns_name_pton.
26019 (res_ownok): Likewise.
26020 (res_mailok): Reimplement using printable_string, ns_name_pton and
26022 (res_dnok): Reimplement using printable_string and ns_name_pton.
26023 * resolv/tst-res_hnok.c (tests): Add additional tests.
26024 (LETTERDIGITS, PRINTABLE): Define.
26025 (do_test): Adjust one_char results.
26027 2017-11-11 Florian Weimer <fweimer@redhat.com>
26030 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
26031 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
26033 2017-11-11 Florian Weimer <fweimer@redhat.com>
26035 * resolv/tst-ns_name_pton.c: New file.
26036 * resolv/Makefile (tests): Add tst-ns_name_pton.
26037 (tst-ns_name_pton): Link against libresolv.
26039 2017-11-11 Florian Weimer <fweimer@redhat.com>
26041 * resolv/tst-res_hnok.c: New file.
26042 * resolv/Makefile (tests): Add tst-res_hnok.
26043 (tst-res_hnok): Link against libresolv.
26045 2017-11-11 Florian Weimer <fweimer@redhat.com>
26047 * resolv/tst-resolv-network.c: Use test framework instead explicit
26050 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
26052 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
26053 <jmp_buf-macros.h>.
26054 [!_ISOMAC] (STR_HELPER): New.
26055 [!_ISOMAC] (STR): Likewise.
26056 [!_ISOMAC] (TEST_SIZE): Likewise.
26057 [!_ISOMAC] (TEST_ALIGN): Likewise.
26058 [!_ISOMAC] (TEST_OFFSET): Likewise.
26059 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
26060 field offsets of jmp_buf as well as sigjmp_buf.
26061 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
26062 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
26063 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
26064 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
26065 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
26066 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
26067 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
26068 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
26069 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
26070 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
26072 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
26074 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
26075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
26077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
26079 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
26080 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
26081 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
26082 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
26083 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
26084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
26086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
26088 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
26089 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
26090 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
26092 2017-11-07 Joseph Myers <joseph@codesourcery.com>
26095 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26096 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
26097 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26098 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
26099 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26100 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
26101 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26102 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
26103 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26104 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
26105 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26106 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
26107 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26108 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
26109 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26110 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
26111 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26112 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
26113 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26114 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
26115 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26116 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
26117 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26118 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
26119 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26120 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
26121 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26122 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
26123 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26124 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
26125 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26126 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
26127 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26128 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
26129 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26130 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
26131 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26132 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
26133 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26134 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
26135 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26136 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
26137 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26138 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
26139 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26140 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
26141 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26142 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
26143 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26144 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
26145 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26146 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
26147 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26148 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
26149 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26150 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
26151 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26152 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
26153 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26154 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
26155 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26156 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
26157 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26158 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
26159 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26160 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
26161 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26162 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
26163 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26164 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
26165 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26166 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
26167 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26168 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
26169 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26170 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
26171 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26172 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
26173 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26174 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
26175 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26176 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
26177 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26178 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
26179 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26180 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
26181 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26182 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
26184 * stdlib/tst-strtod.h (F16): New macro.
26190 (IF_FLOAT16): Likewise.
26191 (IF_FLOAT32): Likewise.
26192 (IF_FLOAT64): Likewise.
26193 (IF_FLOAT32X): Likewise.
26194 (IF_FLOAT64X): Likewise.
26195 (IF_FLOAT128X): Likewise.
26196 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
26197 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
26198 (STRTOD_TEST_FOREACH): Likewise.
26199 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
26200 (CHOOSE_f64): Likewise.
26201 (CHOOSE_f32x): Likewise.
26202 (CHOOSE_f64x): Likewise.
26204 2017-11-07 Andreas Schwab <schwab@suse.de>
26206 * nptl/Makefile (tests-internal): Remove tst-typesizes.
26208 2017-11-07 Mike FABIAN <mfabian@redhat.com>
26211 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
26213 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
26216 2017-11-07 Claude Paroz <claude@2xlibre.net>
26219 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
26221 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
26223 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
26226 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26229 * nptl/allocatestack.c (allocate_stack): Check if
26230 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
26231 __PTHREAD_MUTEX_HAVE_PREV is defined.
26232 * nptl/descr.h (pthread): Likewise.
26233 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26235 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26236 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26237 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
26238 * sysdeps/nptl/bits/thread-shared-types.h
26239 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26241 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
26242 of __WORDSIZE for internal layout.
26243 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
26244 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
26245 instead of __WORDSIZE whether to use an union for __spins and __list
26247 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
26249 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
26250 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26252 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
26253 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26255 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
26256 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26258 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
26259 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26261 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
26262 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26264 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
26265 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26267 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
26268 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26270 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
26271 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26273 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
26274 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26276 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
26277 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26279 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
26280 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26282 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
26283 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26285 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
26286 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26288 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
26289 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26291 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
26292 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26295 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
26297 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
26298 checks for expected input type size.
26299 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26300 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26302 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26303 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
26304 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26305 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
26306 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26307 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
26308 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
26309 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
26310 superflous runtime assert check.
26311 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
26313 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
26315 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26317 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
26319 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
26321 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
26323 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
26324 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
26325 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26327 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26329 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26331 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
26333 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26335 * nptl/pthread_attr_setinheritsched.c
26336 (__pthread_attr_setinheritsched): Likewise.
26337 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
26339 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
26341 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
26342 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
26343 __old_pthread_attr_setstack): Likewise.
26344 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26346 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26348 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
26350 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26351 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26353 * nptl/tst-typesizes.c: Remove file.
26355 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
26356 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
26357 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
26358 checks for internal pthread_mutex_t offsets.
26359 * sysdeps/aarch64/nptl/pthread-offsets.h
26360 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
26361 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
26362 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
26363 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
26364 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
26365 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
26366 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
26367 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
26368 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
26369 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
26370 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
26371 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
26372 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
26373 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
26374 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
26375 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
26376 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
26377 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
26379 2017-11-07 Florian Weimer <fweimer@redhat.com>
26381 * bits/mman-linux.h: Move ...
26382 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
26384 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
26387 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26389 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
26390 Redefine STRNLEN as __strnlen_power8.
26392 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26394 * signal/sighold.c (sighold): Optimize implementation.
26396 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
26397 __NR_rt_sigqueueinfo.
26399 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26401 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
26402 assume __NR_rt_sigtimedwait.
26403 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
26404 and add LIBC_CANCEL_HANDLED for cancellation marking.
26405 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26407 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26408 (sysdeps_routines): Add memchr_noneon.
26409 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
26410 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
26411 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
26412 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
26413 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
26414 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
26415 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
26417 * sysdeps/arm/arm-ifunc.h: New file.
26418 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
26419 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
26420 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
26421 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
26422 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
26423 (__memcpy_neon): Avoid create hidden alias.
26424 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
26425 (__memcpy_vfp): Likewise.
26426 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26427 (sysdep_routines): Add memcpy_arm.
26428 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
26430 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
26433 * Makerules (make-link-multidir): New.
26434 * config.make.in (multidir): New.
26435 * configure.ac (libc_cv_multidir): New. AC_SUBST.
26436 * configure: Regenerated.
26437 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
26438 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
26439 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
26442 2017-11-06 Joseph Myers <joseph@codesourcery.com>
26445 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
26446 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
26448 2017-11-04 Mike FABIAN <mfabian@redhat.com>
26450 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
26453 2017-11-04 Florian Weimer <fweimer@redhat.com>
26455 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
26457 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26459 * math/math.h [__HAVE_DISTINCT_FLOAT16
26460 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26461 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26462 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26463 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
26464 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
26465 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
26466 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26467 (__MATH_TG_F32): New macro.
26468 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26469 (__MATH_TG_F64X): Likewise.
26470 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26471 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
26473 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
26475 * po/de.po: Update translations.
26476 * po/ru.po: Likewise.
26478 2017-11-03 Florian Weimer <fweimer@redhat.com>
26480 * manual/filesys.texi (Hard Links): Document linkat.
26482 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26484 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
26485 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26486 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26487 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26488 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26489 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26490 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
26491 the same as _Float128.
26492 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26493 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26494 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
26497 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
26499 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
26501 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
26503 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26504 (strtof32x): Likewise.
26505 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26506 (strtof64x): Likewise.
26507 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26508 (strtof128x): Likewise.
26509 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26510 (strfromf16): Likewise.
26511 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26512 (strfromf32): Likewise.
26513 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26514 (strfromf64): Likewise.
26515 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26516 (strfromf32x): Likewise.
26517 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26518 (strfromf64x): Likewise.
26519 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26520 (strfromf128x): Likewise.
26521 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
26522 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
26523 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
26524 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
26525 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
26526 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
26528 2017-11-03 Richard Henderson <rth@twiddle.net>
26530 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
26532 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26534 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
26536 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26538 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
26539 DT_TLSDESC_GOT initialization.
26540 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
26541 (_dl_tlsdesc_resolve_hold): Likewise.
26542 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
26543 (_dl_tlsdesc_resolve_hold): Likewise.
26544 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
26545 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26547 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26549 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
26551 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26554 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
26555 non-lazily for R_ARM_TLS_DESC.
26557 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26560 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
26561 R_ARM_TLS_DESC case.
26562 (elf_machine_lazy_rel): Remove the prelink check.
26564 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26566 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
26567 DT_TLSDESC_GOT initialization.
26568 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
26569 (_dl_tlsdesc_resolve_rela): Likewise.
26570 (_dl_tlsdesc_resolve_hold): Likewise.
26571 (_dl_tlsdesc_undefweak): Remove ldar.
26572 (_dl_tlsdesc_dynamic): Likewise.
26573 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
26574 (_dl_tlsdesc_resolve_rela): Likewise.
26575 (_dl_tlsdesc_resolve_hold): Likewise.
26576 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
26577 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26578 (_dl_tlsdesc_resolve_rela): Likewise.
26579 (_dl_tlsdesc_resolve_hold): Likewise.
26581 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26583 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
26584 binding and initialization non-lazily for R_AARCH64_TLSDESC.
26586 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26588 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
26589 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26591 2017-11-02 Joseph Myers <joseph@codesourcery.com>
26593 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
26595 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
26596 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
26597 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
26598 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
26599 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
26600 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
26601 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
26602 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
26603 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
26604 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
26605 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
26607 2017-11-02 Mike FABIAN <mfabian@redhat.com>
26610 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
26611 * localedata/locales/tpi_PG: Add standard header.
26613 2017-11-02 Florian Weimer <fweimer@redhat.com>
26615 test-errno-linux: quotactl can fail with EPERM in containers.
26616 * sysdeps/unix/sysv/linux/test-errno-linux.c
26617 (LIST, LIST_FORWARD): New macros.
26618 (check_error_in_list): New function.
26619 (test_wrp_rv): Accept list of permitted error codes.
26620 (test_wrp_rv2): Remove.
26621 (test_wrp): Call test_wrp_rv with list of error codes.
26622 (test_wrp2): Accept list of error codes.
26623 (do_test): Adjust. Allow EPERM for quotactl.
26625 2017-11-02 Florian Weimer <fweimer@redhat.com>
26627 * stdio-common/bug16.c (do_test): Use array_length.
26628 * stdio-common/errlist.c (_sys_nerr): Likewise.
26629 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
26630 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
26631 * stdio-common/psiginfo.c (psiginfo): Use array_length.
26632 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
26633 (do_test): Use array_length.
26634 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
26635 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
26636 * stdio-common/tst-printf-round.c (do_test): Likewise.
26637 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
26638 (CHECK): Use array_length.
26639 * stdio-common/tstdiomisc.c (t3, F): Likewise.
26640 * stdio-common/tstscanf.c (main): Likewise.
26641 * stdio-common/vfprintf.c (process_string_arg): Likewise.
26643 2017-11-02 Florian Weimer <fweimer@redhat.com>
26645 Add array_length and array_end macros.
26646 * include/array_length.h: New file.
26648 2017-11-02 Florian Weimer <fweimer@redhat.com>
26651 * posix/tst-glob-tilde.c (do_noescape): New variable.
26652 (one_test): Process it.
26653 (do_test): Set do_noescape. Add unescaping test case.
26655 2017-11-01 Joseph Myers <joseph@codesourcery.com>
26658 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
26659 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
26660 with appropriate macros defined and undefined.
26661 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
26662 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26663 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
26664 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26665 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
26666 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26667 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
26668 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26669 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
26670 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26673 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
26674 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
26675 that for long double. Do not condition define and undefine of
26676 _Mdouble_complex_ on [__CFLOAT128].
26678 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
26680 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26681 of <sysdeps/generic/sysdep.h>.
26682 (ALIGNARG): Removed.
26683 (ASM_SIZE_DIRECTIVE): Likewise.
26686 (ENTRY_CHK): Likewise.
26687 (END_CHK): Likewise.
26688 (syscall_error): Likewise.
26689 (mcount): Likewise.
26690 (PSEUDO_END): Likewise.
26692 (atom_text_section): Likewise.
26693 * sysdeps/x86/sysdep.h: New file.
26694 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26695 of <sysdeps/generic/sysdep.h>.
26696 (ALIGNARG): Removed.
26697 (ASM_SIZE_DIRECTIVE): Likewise.
26700 (ENTRY_CHK): Likewise.
26701 (END_CHK): Likewise.
26702 (syscall_error): Likewise.
26703 (mcount): Likewise.
26704 (PSEUDO_END): Likewise.
26706 (atom_text_section): Likewise.
26708 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
26710 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
26711 category of LC_CTYPE set to "i18n:2012".
26712 * localedata/locales/i18n_ctype: Regenerate.
26714 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
26716 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
26717 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
26718 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26719 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26721 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
26722 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
26723 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
26724 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
26726 2017-10-31 Joseph Myers <joseph@codesourcery.com>
26729 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
26731 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
26733 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
26735 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26736 (CMPLXF32X): Likewise.
26737 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26738 (CMPLXF64X): Likewise.
26739 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26740 (CMPLXF128X): Likewise.
26743 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
26744 (__MATH_EVAL_FMT2): Define to add 0.0f.
26746 2017-10-31 Alan Modra <amodra@gmail.com>
26748 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
26750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
26751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
26752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
26753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
26754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
26755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
26756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
26757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
26758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
26759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
26760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
26761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
26762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
26763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
26764 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
26765 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
26766 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
26767 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
26768 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
26769 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
26770 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
26771 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
26772 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
26773 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
26774 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26775 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
26776 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
26777 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
26778 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
26779 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
26780 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26781 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26782 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
26783 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
26784 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
26785 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
26786 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
26787 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
26788 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
26789 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26790 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
26791 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
26792 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
26793 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
26794 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
26795 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
26796 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
26797 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
26798 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26799 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26800 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
26801 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
26802 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
26803 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
26804 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26805 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
26806 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
26807 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
26808 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26809 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26810 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26811 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
26812 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
26813 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26814 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
26815 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
26816 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
26817 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
26818 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
26820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
26821 include sysdep.h and math_ldbl_opt.h.
26823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
26824 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
26825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
26826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
26827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
26828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
26829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
26830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
26831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
26832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
26833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
26834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
26835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
26836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
26837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
26838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
26839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
26840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
26841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
26842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
26843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
26844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
26845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
26846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
26847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
26848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
26850 2017-10-31 Alan Modra <amodra@gmail.com>
26852 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
26853 string/strncase_l.c, not string/strncase.c.
26854 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
26855 (libc_hidden_def): Redefine.
26857 2017-10-31 Alan Modra <amodra@gmail.com>
26859 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
26860 (__STRCMP, STRCMP, __strcasecmp_l): Define.
26861 (__strcasecmp): Don't define.
26863 2017-10-31 Alan Modra <amodra@gmail.com>
26865 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
26867 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26868 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26869 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26871 2017-10-31 Alan Modra <amodra@gmail.com>
26873 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
26876 2017-10-31 Alan Modra <amodra@gmail.com>
26878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
26879 Redefine only when SHARED.
26881 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26883 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26884 Include <bits/math-finite.h> with appropriate macros defined and
26886 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26887 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26888 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26889 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26890 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26892 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26893 [!_Mlong_double_] (_Mlong_double_): Likewise.
26894 [!_Mfloat16_] (_Mfloat16_): Likewise.
26895 [!_Mfloat32_] (_Mfloat32_): Likewise.
26896 [!_Mfloat64_] (_Mfloat64_): Likewise.
26897 [!_Mfloat128_] (_Mfloat128_): Likewise.
26898 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26899 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26900 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26901 (_Mdouble_): Define without indirection through those macros.
26902 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26903 [!_Mfloat128_] (_Mfloat128_): Likewise.
26904 [_Mlong_double_] (_Mlong_double_): Likewise.
26905 (_Mdouble_): Define without indirection through those macros.
26906 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26907 not add -D_Mlong_double_=double.
26908 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26909 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26911 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26913 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26915 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26917 * sysdeps/x86/libc-start.c: Reformat.
26919 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26922 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26923 (1): Renamed to ...
26926 (L(Src2)): Likewise.
26927 (L(1)): Renamed to ...
26930 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26932 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26933 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26934 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26935 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26936 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26937 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26938 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26939 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26940 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26941 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26942 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26943 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26944 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26945 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26946 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26947 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26948 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26949 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26950 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26951 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26952 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26953 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26954 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26955 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26956 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26957 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26958 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26959 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26960 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26961 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26962 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26963 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26964 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26965 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26966 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26967 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26968 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26969 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26970 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26971 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26972 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26973 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26974 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26975 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26976 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26977 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26978 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26979 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26980 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26981 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26982 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26983 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26984 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26985 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26986 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26987 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26988 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26989 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26990 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26991 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26992 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26993 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26994 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26995 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26996 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26997 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26999 2017-10-30 Florian Weimer <fweimer@redhat.com>
27001 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
27003 * io/tst-mkdirat.c (do_test): Likewise.
27004 * io/tst-mkfifoat.c (do_test): Likewise.
27005 * io/tst-mknodat.c (do_test): Likewise.
27006 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
27007 * locale/programs/locale.c (select_dirs): Likewise.
27008 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
27009 * posix/bug-glob2.c (my_readdir): Likewise.
27010 * posix/tst-dir.c (main): Likewise.
27011 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
27012 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
27014 2017-10-30 Florian Weimer <fweimer@redhat.com>
27016 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
27019 2017-10-30 Florian Weimer <fweimer@redhat.com>
27021 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
27022 Convert to support/test-driver.c.
27023 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
27024 New macro parameters.
27025 (PRINTF): Remove macro. Use test_verbose conditionals instead.
27026 * posix/tst-gnuglob.c: New file.
27027 * posix/tst-gnuglob64.c: Likewise.
27028 * posix/Makefile (tests): Add tst-gnuglob64.
27030 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
27033 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
27034 and use a better translation for March in “mon”.
27035 * localedata/locales/csb_PL: Use more ASCII to improve the
27036 readability of the source.
27038 2017-10-30 Mike FABIAN <mfabian@redhat.com>
27041 * localedata/locales/km_KH: Use ASCII as much
27042 as possible for better readability of the source and
27043 remove useless comments.
27044 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
27045 was commented out and apparently wrong anyway because it was
27046 using Lao characters. If Buddhist era should be used
27047 for km_KH, a native speaker should write the correct formaat
27049 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
27050 (According to CLDR, the first weekday for Cambodia is Sunday).
27051 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
27052 (These were using Lao characters which must be wrong. If we get
27053 the correct data from a native speaker, we could add it back, until
27054 then it is better not to have name_mr and name_mrs at all than
27057 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
27059 * locale/loadlocale.c: Correct size of
27060 _nl_value_type_LC_<category> arrays.
27062 2017-10-27 Joseph Myers <joseph@codesourcery.com>
27064 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27065 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
27066 with appropriate macros defined and undefined.
27067 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27068 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27069 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27070 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27071 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27073 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
27075 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
27078 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27080 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
27081 with lowercase letters to make it agree with CLDR.
27083 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27086 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
27087 first letters of yesstr and nostr in yesexpr and noexpr,
27088 not for the full words.
27089 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27090 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
27091 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
27092 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
27093 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
27094 first letters of yesstr and nostr in yesexpr and noexpr,
27095 until now only English was matched in yesexpr and noexpr.
27096 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
27097 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
27098 fil but not for tl. As tl and fil are very similar, using fil
27099 is probably better than using English.
27101 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
27104 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
27105 in yesstr and nostr.
27107 2017-10-26 Joseph Myers <joseph@codesourcery.com>
27109 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27110 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
27111 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
27113 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
27115 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
27117 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
27119 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27120 (SNANF128X): Likewise.
27122 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27123 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
27124 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27125 (HUGE_VAL_F32): Likewise.
27126 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27127 (HUGE_VAL_F64): Likewise.
27128 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27129 (HUGE_VAL_F32X): Likewise.
27130 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27131 (HUGE_VAL_F64X): Likewise.
27132 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27133 (HUGE_VAL_F128X): Likewise.
27135 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
27137 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
27138 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
27139 for the br_FR locale.
27141 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
27144 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
27146 2017-10-25 Carlos O'Donell <carlos@redhat.com>
27148 * locale/programs/record-status.h: Define globals, and function
27149 prototypes. Move function bodies...
27150 * locale/programs/record-status.c: ... to here. New file.
27151 * iconv/Makefile (iconv_prog-modules): Add record-status.
27152 * locale/Makefile (lib-modules): Likewise.
27153 * iconv/iconv_prog.c: Remove verbose.
27154 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
27155 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
27156 record a warning about ASCII compatibility.
27157 * locale/programs/ld-monetary.c (monetary_finish): If
27158 warn_int_curr_symbol is true then record a warning about the symbol
27159 not being in our ISO 4217 list.
27160 * locale/programs/locale.c: Include record-status.h. Remove verbose.
27161 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
27162 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
27163 (OPT_NO_WARN): Define.
27164 (OPT_WARN): Define.
27165 (options): Add entry for --no-warnings, and --warnings.
27166 (set_warnings): New function to enable/disable warnings.
27167 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
27168 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
27169 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
27170 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
27171 Pass flags to generate_locale.
27172 (generate_locale): Accept new flag argument and pass it to localedef
27174 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
27175 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
27177 * localedata/Makefile (test-input-data): Use full file name.
27178 * localedata/da_DK.in: Rename to...
27179 * localedata/da_DK.ISO-8859-1.in: ...this.
27180 * localedata/de_DE.in: Rename to...
27181 * localedata/de_DE.ISO-8859-1.in: ...this.
27182 * localedata/en_US.in: Rename to...
27183 * localedata/en_US.ISO-8859-1.in: ...this.
27184 * localedata/fr_FR.in: Rename to...
27185 * localedata/fr_FR.UTF-8.in: ... this.
27186 * localedata/hr_HR.in: Rename to...
27187 * localedata/hr_HR.ISO-8859-2.in: ...this.
27188 * localedata/hu_HU.in: Rename to...
27189 * localedata/hu_HU.UTF-8.in: ...this.
27190 * localedata/si_LK.in: Rename to...
27191 * localedata/si_LK.UTF-8.in: ...this.
27192 * localedata/sv_SE.in: Rename to...
27193 * localedata/sv_SE.ISO-8859-1.in: ...this.
27194 * localedata/tr_TR.in: Rename to...
27195 * localedata/tr_TR.UTF-8.in: ...this.
27196 * localedata/uk_UA.in: Rename to...
27197 * localedata/uk_UA.UTF-8.in: ...this.
27198 * localedata/sort-test.sh: Test file is locale name with the
27201 * localedata/unicode-gen/Makefile (check_i18n): Rename to
27202 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
27204 * localedata/locales/i18n_ctype: Regenerate.
27205 * localedata/locales/tr_TR: Likewise.
27206 * localedata/locales/translit_circle: Likewise.
27207 * localedata/locales/translit_cjk_compat: Likewise.
27208 * localedata/locales/translit_combining: Likewise.
27209 * localedata/locales/translit_compat: Likewise.
27210 * localedata/locales/translit_font: Likewise.
27211 * localedata/locales/translit_fraction: Likewise.
27213 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27215 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
27216 lxvd2x/stxvd2x with lvx/stvx.
27217 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
27219 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
27221 * include/alloc_buffer.h: Replace "if if " with "if " in
27223 * sysdeps/mips/memcpy.S: Likkewise.
27224 * sysdeps/mips/memset.S: Likewise.
27225 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
27227 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
27229 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
27232 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27235 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
27236 yesexpr and noexpr.
27237 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27238 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27239 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27240 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27241 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27242 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27243 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27245 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27247 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
27248 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27249 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27250 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27251 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27252 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
27253 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27254 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27255 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27256 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27257 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27258 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27260 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27262 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
27263 as possible for better readability of the source.
27264 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
27265 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
27266 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
27267 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
27268 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
27269 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
27270 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
27271 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
27272 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27273 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
27274 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
27275 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
27276 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
27277 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
27278 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
27279 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
27280 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
27281 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
27282 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
27283 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
27284 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
27285 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
27286 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
27287 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
27288 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
27289 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
27290 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
27291 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
27292 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
27293 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
27294 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
27295 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27296 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
27297 * localedata/locales/en_US (LC_MESSAGES): Likewise.
27298 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
27299 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
27300 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
27301 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
27302 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
27303 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
27304 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
27305 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
27306 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
27307 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
27308 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
27309 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
27310 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
27311 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
27312 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
27313 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
27314 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
27315 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
27316 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
27317 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27318 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27319 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
27320 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
27321 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27322 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
27323 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
27324 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
27325 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
27326 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
27327 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
27328 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
27329 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
27330 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
27331 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
27332 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
27333 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
27334 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
27335 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
27336 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
27337 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
27338 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27339 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
27340 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
27341 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
27342 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
27343 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
27344 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
27345 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
27346 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
27347 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27348 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
27349 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
27350 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
27351 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27352 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
27353 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
27354 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
27355 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
27356 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27357 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
27358 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
27359 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27360 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
27361 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27362 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
27363 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
27364 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
27365 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
27366 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
27367 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
27368 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
27369 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
27370 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
27371 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
27372 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
27373 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
27374 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
27375 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
27376 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27377 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
27378 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
27379 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
27380 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
27381 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
27382 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
27383 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
27384 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
27385 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
27386 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
27387 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
27388 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
27389 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
27390 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
27391 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
27392 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
27393 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
27394 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
27395 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
27396 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
27397 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
27398 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
27399 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
27400 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
27401 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
27402 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
27403 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
27404 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
27405 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
27406 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
27407 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
27408 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
27409 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27410 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
27411 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
27412 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
27413 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
27414 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
27415 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
27416 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
27417 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
27418 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27419 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
27420 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
27421 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
27422 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
27423 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
27424 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
27425 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
27426 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
27427 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
27428 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
27429 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27430 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
27431 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
27432 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
27433 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
27434 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27435 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27436 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27437 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
27439 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27441 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
27442 (Use first letters of yesstr and nostr correctly instead of using
27445 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27447 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
27448 (Use first letters of yesstr and nostr correctly).
27450 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27452 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
27453 also check for the first characters of yesstr and nostr.
27454 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
27455 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
27457 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27459 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
27460 also check for Chinese characters.
27462 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27464 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
27465 match also for the contents of yesstr and nostr. As the first letter
27466 of yesstr and nostr is equal, checking only for the first letter
27469 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27471 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
27472 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
27474 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27476 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
27477 of main contributor.
27479 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27481 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
27482 instead of using English.
27484 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27486 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
27487 by including the first letters of nostr and yesexpr in the regexp.
27488 Also make it more readable by using ASCII where possible.
27490 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27492 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
27493 the first letter of nostr in the regexp. It agrees with CLDR now.
27494 Also make it more readable by using ASCII where possible.
27496 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27498 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
27499 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
27500 these strings contain a U+17D6 (which somewhat looks like a colon)
27501 instead of a real colon to separate the full words for “yes”
27502 and “no” from the single letter responses.
27504 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27506 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
27507 it agree with CLDR (include the first letter of yesstr).
27508 Also make it more readable by using ASCII where possible.
27510 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27512 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
27513 and improve yesexpr and noexpr. The yesstr and nostr apparently
27514 came from CLDR. And CLDR has a bug there: these strings contain
27515 a U+0903 (which looks like a colon) instead of a real colon
27516 to separate the full words for “yes” and “no” from the single
27519 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27521 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
27522 letters of the full yesstr and nostr in yesexpr and noexpr.
27524 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27526 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
27527 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
27528 * localedata/locales/an_ES: Make source more readable by using ASCII
27531 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27534 * localedata/locales/yuw_PG: New file.
27535 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
27536 * locale/iso-639.def: Add Yau (Uruwa).
27538 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27540 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
27542 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27544 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
27545 (__libc_realloc): Likewise.
27546 (_mid_memalign): Likewise.
27547 (__libc_calloc): Likewise.
27549 2017-10-23 Mike FABIAN <mfabian@redhat.com>
27551 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
27552 by adding the generic +1 and -0 as in all other locales.
27553 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
27554 day names and make it more readable by using ASCII where possible.
27556 2017-10-24 Joseph Myers <joseph@codesourcery.com>
27558 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
27559 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
27561 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27563 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
27564 WNOHANG in waitpid call.
27566 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
27568 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
27569 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
27571 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
27572 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
27573 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
27574 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
27575 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
27576 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
27577 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
27578 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
27581 2017-10-23 Michael Collison <michael.collison@arm.com>
27583 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
27584 with __builtin_sqrt.
27585 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
27586 with __builtin_sqrtf.
27587 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
27588 with __builtin_ceil.
27589 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
27590 with __builtin_ceilf.
27591 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
27592 with __builtin_floor.
27593 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
27594 with __builtin_floorf.
27595 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
27596 with __builtin_fma.
27597 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
27598 with __builtin_fmaf.
27599 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
27600 with __builtin_fmax.
27601 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
27602 with __builtin_fmaxf.
27603 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
27604 with __builtin_fmin.
27605 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
27606 with __builtin_fminf.
27607 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
27608 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
27609 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
27610 with builtin_rint and conversion to int.
27611 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
27612 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
27613 with builtin_llround.
27614 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
27615 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
27616 with builtin_rint and conversion to long int.
27617 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
27618 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
27619 with builtin_lround.
27620 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
27621 with builtin_lroundf.
27622 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
27623 statements with __builtin_nearbyint.
27624 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
27625 statements with __builtin_nearbyintf.
27626 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
27627 with __builtin_rint.
27628 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
27629 with __builtin_rintf.
27630 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
27631 with __builtin_round.
27632 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
27633 with __builtin_roundf.
27634 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
27635 with __builtin_trunc.
27636 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
27637 with __builtin_truncf.
27638 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
27639 and s_l[l]round[f].c too.
27641 2017-10-23 Alan Modra <amodra@gmail.com>
27643 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
27644 Adjust stack after restoring regs. Add missing LR cfi_restore.
27646 2017-10-23 Alan Modra <amodra@gmail.com>
27648 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
27649 Move LR save and frame setup/teardown and LR restore to
27650 immediately around memset call. Provide cfi.
27652 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27654 * sysdeps/i386/fpu/e_powf.S: Removed.
27655 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
27656 * sysdeps/i386/fpu/w_powf.c: Likewise.
27657 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
27658 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27659 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27661 (CFLAGS-e_powf-sse2.c): New.
27662 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
27663 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
27665 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27667 * sysdeps/i386/fpu/e_log2f.S: Removed.
27668 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
27669 * sysdeps/i386/fpu/w_log2f.c: Likewise.
27670 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
27671 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27672 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27674 (CFLAGS-e_log2f-sse2.c): New.
27675 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
27676 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
27678 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27680 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27682 (CFLAGS-e_powf-fma.c): New.
27683 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
27684 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
27686 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27688 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27690 (CFLAGS-e_log2f-fma.c): New.
27691 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
27692 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
27694 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27696 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27698 (CFLAGS-e_logf-fma.c): New.
27699 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
27700 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
27702 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27704 * sysdeps/i386/fpu/e_logf.S: Removed.
27705 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
27706 * sysdeps/i386/fpu/w_logf.c: Likewise.
27707 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
27708 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
27709 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27710 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27712 (CFLAGS-e_logf-sse2.c): New.
27713 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
27714 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
27716 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27718 * sysdeps/i386/fpu/e_exp2f.S: Removed.
27719 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
27720 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
27721 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27722 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27724 (CFLAGS-e_exp2f-sse2.c): New.
27725 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
27726 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
27728 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27730 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27732 (CFLAGS-e_exp2f-fma.c): New.
27733 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
27734 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
27736 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27738 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
27739 * sysdeps/i386/fpu/e_expf.S: Likewise.
27740 * sysdeps/i386/fpu/math_errf.c: Likewise.
27741 * sysdeps/i386/fpu/w_expf.c: Likewise.
27742 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
27743 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27744 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
27745 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
27746 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27747 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27748 Remove e_expf-ia32.
27749 (CFLAGS-e_expf-sse2.c): New.
27750 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
27751 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
27753 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27755 * sysdeps/x86_64/fpu/e_expf.S: Removed.
27756 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
27757 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
27758 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
27760 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
27762 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
27763 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27765 (__redirect_expf): This.
27766 (SYMBOL_NAME): Changed to expf.
27767 (__ieee754_expf): Renamed to ...
27769 (__GI___expf): This.
27770 (__ieee754_expf): Add strong_alias.
27771 (__expf_finite): Likewise.
27773 Include <sysdeps/ieee754/flt-32/e_expf.c>.
27775 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
27778 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
27781 2017-10-21 Florian Weimer <fweimer@redhat.com>
27783 * posix/Makefile (tests): Add tst-glob-tilde.
27784 (tests-special): Add tst-glob-tilde-mem.out
27785 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
27786 (tst-glob-tilde-mem.out): Add mtrace check.
27787 * posix/tst-glob-tilde.c: New file.
27789 2017-10-20 Joseph Myers <joseph@codesourcery.com>
27791 * bits/floatn-common.h: New file.
27792 * math/Makefile (headers): Add bits/floatn-common.h.
27793 * bits/floatn.h: Include <bits/floatn-common.h>.
27794 * sysdeps/ia64/bits/floatn.h: Likewise.
27795 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27796 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
27797 * sysdeps/powerpc/bits/floatn.h: Likewise.
27798 * sysdeps/x86/bits/floatn.h: Likewise.
27800 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27802 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
27803 indicates whether compiler emits an warning for alias for
27804 functions with incompatible types.
27807 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
27808 the auxiliary process is terminated by a signal before calling _exit
27811 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27814 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
27816 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
27817 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
27818 and bit_arch_XSAVEC_Usable if needed.
27819 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
27820 and bit_arch_Use_dl_runtime_resolve_opt.
27821 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
27823 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
27824 (bit_arch_Prefer_No_AVX512): Updated.
27825 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
27826 (bit_arch_XSAVEC_Usable): New.
27827 (STATE_SAVE_OFFSET): Likewise.
27828 (STATE_SAVE_MASK): Likewise.
27829 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
27830 (cpu_features): Add xsave_state_size and xsave_state_full_size.
27831 (index_arch_Use_dl_runtime_resolve_opt): Removed.
27832 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
27833 (index_arch_XSAVEC_Usable): New.
27834 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27835 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
27836 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
27838 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
27839 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
27840 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
27841 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
27842 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
27843 _dl_runtime_resolve_xsavec.
27844 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
27846 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
27847 instead of VEC_SIZE.
27848 (REGISTER_SAVE_BND0): Removed.
27849 (REGISTER_SAVE_BND1): Likewise.
27850 (REGISTER_SAVE_BND3): Likewise.
27851 (REGISTER_SAVE_RAX): Always defined to 0.
27853 (_dl_runtime_resolve_avx): Likewise.
27854 (_dl_runtime_resolve_avx_slow): Likewise.
27855 (_dl_runtime_resolve_avx_opt): Likewise.
27856 (_dl_runtime_resolve_avx512): Likewise.
27857 (_dl_runtime_resolve_avx512_opt): Likewise.
27858 (_dl_runtime_resolve_sse): Likewise.
27859 (_dl_runtime_resolve_sse_vex): Likewise.
27861 (_dl_runtime_resolve_fxsave): Likewise.
27862 (USE_XSAVE): Likewise.
27863 (_dl_runtime_resolve_xsave): Likewise.
27864 (USE_XSAVEC): Likewise.
27865 (_dl_runtime_resolve_xsavec): Likewise.
27866 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
27868 (_dl_runtime_resolve_avx512_opt): Likewise.
27869 (_dl_runtime_resolve_avx): Likewise.
27870 (_dl_runtime_resolve_avx_opt): Likewise.
27871 (_dl_runtime_resolve_sse): Likewise.
27872 (_dl_runtime_resolve_sse_vex): Likewise.
27873 (_dl_runtime_resolve_fxsave): New.
27874 (_dl_runtime_resolve_xsave): Likewise.
27875 (_dl_runtime_resolve_xsavec): Likewise.
27877 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
27881 * posix/glob.c (__glob): Fix one-byte overflow.
27883 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27885 * malloc/malloc.c (sysdep-cancel.h): Add include.
27887 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27889 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27891 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27893 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27894 (tests): Remove $(objpfx)ga_test depdendency.
27895 * resolv/ga_test.c: Remove file.
27897 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27900 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27901 * localedata/locales/kab_DZ: New file.
27903 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27905 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27906 _dl_relocate_static_pie instead of _dl_start to compute load
27907 address in static PIE.
27909 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27911 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27913 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27916 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27917 * localedata/locales/shn_MM: New file.
27919 2017-10-20 Florian Weimer <fweimer@redhat.com>
27922 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27923 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27924 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27925 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27926 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27927 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27929 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27931 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27933 2017-10-19 Joseph Myers <joseph@codesourcery.com>
27935 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27938 * sysdeps/mips/bits/long-double.h: Move to ....
27939 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27941 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27943 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27945 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
27946 H.J. Lu <hongjiu.lu@intel.com>
27949 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27950 GLRO(dl_platform) to NULL.
27951 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27952 (modules-names): Add tst-platformmod-1 and
27953 x86_64/tst-platformmod-2.
27954 (CFLAGS-tst-platform-1.c): New.
27955 (CFLAGS-tst-platformmod-1.c): Likewise.
27956 (CFLAGS-tst-platformmod-2.c): Likewise.
27957 (LDFLAGS-tst-platformmod-2.so): Likewise.
27958 ($(objpfx)tst-platform-1): Likewise.
27959 ($(objpfx)tst-platform-1.out): Likewise.
27960 (tst-platform-1-ENV): Likewise.
27961 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27962 * sysdeps/x86_64/tst-platform-1.c: New file.
27963 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27964 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27966 2017-10-19 Mike FABIAN <mfabian@redhat.com>
27969 * locale/iso-639.def: Add Karbi.
27970 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27971 * localedata/locales/mjw_IN: New file.
27973 2017-10-18 Joseph Myers <joseph@codesourcery.com>
27975 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27976 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27977 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27978 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27979 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27980 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27981 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27983 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27984 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27985 * manual/math.texi (Mathematics): Document additional architecture
27986 support for _Float128.
27987 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27988 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27989 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27990 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27991 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27992 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27993 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27994 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27995 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27996 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27997 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27998 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27999 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28000 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28001 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28003 2017-10-18 Renlin Li <renlin.li@arm.com>
28005 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
28006 _DYNAMIC symbol to calculate load address.
28008 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
28010 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
28011 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
28013 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
28014 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
28016 2017-10-18 Mike FABIAN <mfabian@redhat.com>
28019 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
28020 and improve readability by using more ASCII.
28021 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
28022 and improve readability by using more ASCII.
28024 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
28026 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
28027 not all targets support atomics on bool.
28029 2017-10-17 Joseph Myers <joseph@codesourcery.com>
28031 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
28032 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
28034 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28035 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
28036 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28037 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
28038 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28039 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
28041 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28043 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
28046 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28049 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
28050 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
28051 (do_check_remalloced_chunk): Fix build bug.
28052 (do_check_malloc_state): Add assert that checks arena->top.
28053 (malloc_consolidate): Remove initialization.
28054 (int_mallinfo): Remove call to malloc_consolidate.
28055 (__libc_mallopt): Clarify why malloc_consolidate is needed.
28057 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28059 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
28060 (have_fastchunks): Remove.
28061 (clear_fastchunks): Remove.
28062 (set_fastchunks): Remove.
28063 (malloc_state): Add have_fastchunks.
28064 (malloc_init_state): Use have_fastchunks.
28065 (do_check_malloc_state): Remove incorrect invariant checks.
28066 (_int_malloc): Use have_fastchunks.
28067 (_int_free): Likewise.
28068 (malloc_consolidate): Likewise.
28070 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28072 * malloc/malloc.c (tcache_put): Inline.
28073 (tcache_get): Inline.
28075 2017-10-17 Jordi Mallach <jordi@gnu.org>
28077 Aurelien Jarno <aurelien@aurel32.net>
28079 * localedata/locales/ca_ES@valencia: New file.
28080 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
28082 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
28085 * math/math.h: Let signbit use the builtin in C++ mode with gcc
28088 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28090 * scripts/build-many-glibcs.py (Context.add_all_configs):
28091 Add arm-linux-gnueabihf multiarch extra_glibcs.
28093 * sysdeps/generic/ifunc-init.h: New file.
28094 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
28096 2017-10-17 Mike FABIAN <mfabian@redhat.com>
28099 * localedata/locales/el_GR: Set n_cs_precedes to 0.
28100 * localedata/locales/el_CY: copy "el_GR" because it is identical.
28101 * stdlib/tst-strfmon_l.c: adapt test case.
28103 2017-10-16 Joseph Myers <joseph@codesourcery.com>
28105 * sysdeps/generic/float128-abi.h: New file.
28106 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
28107 non-__prefixed symbols to ....
28108 * math/Versions: ... here. Include <float128-abi.h>.
28109 * stdlib/Versions ... and here. Include <float128-abi.h>
28111 2017-10-16 Florian Weimer <fweimer@redhat.com>
28113 * version.h (VERSION): Switch to ".9000" as the development
28116 2017-10-16 Florian Weimer <fweimer@redhat.com>
28119 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
28120 compat_symbol_reference to access non-default version.
28122 2017-10-16 Florian Weimer <fweimer@redhat.com>
28124 * malloc/Makefile (others-extras): Set to mcheck-init.o.
28126 2017-10-16 Carlos O'Donell <carlos@redhat.com>
28128 * include/shlib-compat.h (compat_symbol_reference): Update
28131 2017-10-16 Joseph Myers <joseph@codesourcery.com>
28133 * math/Makefile (test-types): Add
28134 $(type-float128-$(float128-alias-fcts)).
28135 * math/test-float128.h (TYPE_STR): Define conditional on
28136 [FLT128_MANT_DIG == LDBL_MANT_DIG].
28137 (ULP_IDX): Likewise.
28138 (ULP_I_IDX): Likewise.
28140 * stdlib/strtold.c: Include <bits/floatn.h>
28141 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
28142 and later undefine as macro. Define as weak alias if
28144 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
28145 and later undefine as macro. Define as weak alias if
28147 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
28148 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
28149 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
28150 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28151 Define and later undefine as macro. Define as weak alias if
28153 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
28155 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
28156 Define and later undefine as macro. Define as weak alias if
28158 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28159 Define and later undefine as macro. Define as weak alias if
28162 2017-10-15 Carlos O'Donell <carlos@redhat.com>
28164 * localedata/collate-test.c (allocate_arrays): Don't use \n in
28165 record_verbose messages.
28167 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
28170 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
28171 to silence -O3 -Wall warning with GCC 7.
28173 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
28175 * Makeconfig (+link-static-before-libc): Use the first of
28176 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
28177 * gmon/Makefile (tests): Add tst-gmon-static.
28178 (tests-static): Likewise.
28179 (CFLAGS-tst-gmon-static.c): New.
28180 (CRT-tst-gmon-static): Likewise.
28181 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
28182 (tst-gmon-static-ENV): Likewise.
28183 (tests-special): Likewise.
28184 ($(objpfx)tst-gmon-static.out): Likewise.
28185 (clean-tst-gmon-static-data): Likewise.
28186 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
28187 * gmon/tst-gmon-static-gprof.sh: New file.
28188 * gmon/tst-gmon-static.c: Likewise.
28190 2017-10-13 Carlos O'Donell <carlos@redhat.com>
28193 * locale/programs/linereader.c (get_string): Don't warn on
28194 non-symbolic character.
28197 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
28201 * locale/programs/record-status.h: New file
28202 * locale/programs/locale.c: Add comment.
28203 * locale/programs/charmap-dir.c: Don't include error.h.
28204 (charmap_opendir): Use record_error.
28205 * locale/programs/charmap.c: Don't include error.h.
28206 (charmap_read): Use record_error, and record_warning.
28207 (parse_charmap): Likewise.
28208 * locale/programs/ld-address.c: Don't include error.h.
28209 (address_finish): Use record_error, and record_warning.
28210 * locale/programs/ld-collate.c: Don't include error.h.
28211 (collate_finish): Use record_error, and record_error_at_line.
28212 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
28213 (ctype_class_new): Likewise.
28214 (ctype_map_new): Likewise.
28215 (set_one_default): Likewise.
28216 (set_class_defaults): Likewise.
28217 (translit_flatten): Likewise.
28218 (allocate_arrays): Use record_error, and record_verbose.
28219 * locale/programs/ld-identification.c: Don't include error.h.
28220 (indentation_finish): Use record_error and record_warning.
28221 * locale/programs/ld-measurement.c: Don't include error.h.
28222 (measurement_finish): Use record_error.
28223 * locale/programs/ld-messages.c
28224 (message_finish): Likewise.
28225 * locale/programs/ld-monetary.c
28226 (monetary_finish): Likewise.
28227 * locale/programs/ld-name.c (name_finish): Use record_error
28228 and record_warning.
28229 * locale/programs/ld-numeric.c
28230 (numeric_finish): Use record_error.
28231 * locale/programs/ld-paper.c: Don't include error.h.
28232 (paper_finish): Use record_error.
28233 * locale/programs/ld-telephone.c: Don't include error.h.
28234 (telephone_finish): Use record_error.
28235 * locale/programs/ld-time.c (time_finish): Likewise.
28236 * locale/programs/linereader.h (lr_error): Make inline func.
28237 * locale/programs/localedef.c: Define recorded_warning_count,
28238 and recorded_error_count.
28239 (main): Use record_error. Use recorded_error_count and
28240 recorded_warning_count to issue correct error returns.
28241 (add_to_readlist): Use record_error.
28242 (find_locale): Likewise.
28243 (load_locale): Likewise.
28244 * locale/programs/localedef.h: Remove be_quiet
28245 and WITH_CUR_LOCALE.
28246 * locale/programs/locarchive.c (compare_from_file): Use
28248 * locale/programs/locfile.c (write_locale_data): Use
28250 * locale/programs/repertoire.c: Dont include error.h.
28251 (repertoire_complain): Use record_error.
28252 * localedata/tst-fmon.sh: Expect failures from localedef.
28253 * localedata/tst-locale.sh: Likewise.
28254 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
28256 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
28257 (REPORTS): Likewise.
28259 (i18n): Rename to...
28260 (i18n_ctype): ...this.
28261 (i18n-report): Rename to...
28262 (i18n_ctype-report): ...this.
28263 * localedata/locales/i18n_ctype: Regenerate.
28264 * localedata/locales/i18n: copy i18n_ctype.
28266 2017-10-13 Joseph Myers <joseph@codesourcery.com>
28268 * stdlib/strfroml.c: Include <bits/floatn.h>.
28269 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
28270 Define before include of <stdlib.h> and undefine afterwards, then
28271 define as weak alias.
28273 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
28274 Undefine and restore default definition. Use
28275 libm_alias_ldouble_other.
28277 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
28280 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
28283 2017-10-13 James Clarke <jrtc27@jrtc27.com>
28285 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28286 Assign sym_map to be map for local symbols, as TLS relocations
28287 use sym_map to determine whether the symbol is defined and to
28288 extract the TLS information.
28289 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28290 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28292 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28295 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
28296 (math_force_eval): Add powerpc version.
28299 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
28301 (do_test): Likewise.
28302 * stdio-common/tst-printf.sh: Likewise.
28303 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
28304 ifdef clause in order to set the carry bit right. Replace r0 by
28305 0 without changing the behavior.
28307 2017-10-13 Joseph Myers <joseph@codesourcery.com>
28309 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
28310 <libm-alias-ldouble.h>.
28311 (fabsl): Define using libm_alias_ldouble.
28312 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
28313 <libm-alias-ldouble.h>.
28314 (fabsl): Define using libm_alias_ldouble.
28316 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
28317 Remove conditional code.
28319 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
28320 Rename to __clog10_internal_l.
28321 (__clog10_internal_l): Define aliases using
28322 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
28325 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28327 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
28328 * benchtests/sincosf-inputs: New file.
28329 * benchtests/cosf-inputs: New file.
28330 * benchtests/sinf-inputs: New file.
28332 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
28334 * posix/tst-spawn.c (do_test): Wait for both children.
28336 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
28339 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
28340 tests-pie): Add tst-gmon-pie.
28341 (CFLAGS-tst-gmon-pie.c): New.
28342 (CRT-tst-gmon-pie): Likewise.
28343 (tst-gmon-pie-ENV): Likewise.
28344 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
28345 ($(objpfx)tst-gmon-pie.out): Likewise.
28346 (clean-tst-gmon-pie-data): Likewise.
28347 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
28348 * gmon/gmon.c [PIC]: Include <link.h>.
28349 [PIC] (callback): New function.
28350 (write_hist): Add an argument for load address. Subtract load
28352 (write_call_graph): Likewise.
28353 (write_gmon): Call __dl_iterate_phdr to get load address, pass
28354 it to write_hist and write_call_graph.
28355 * gmon/tst-gmon-pie.c: New file.
28357 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28359 * math/Makefile (test-types-basic): New variable.
28360 (test-types): Likewise.
28361 (libm-test-support): Use $(test-types) instead of $(types).
28362 (libm-tests-base-normal): Likewise.
28363 (libm-tests-base-finite): Likewise.
28364 (libm-tests-base-inline): Likewise.
28365 (generated): Likewise.
28366 ($(objpfx)libm-test-support-$(t).c): Likewise.
28367 (libm-tests-for-type iterator): Likewise.
28368 (libm-test-support iterator): Likewise.
28369 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
28370 (ulp_idx): Use ULP_IDX.
28371 * math/test-ldouble.h: Include <float.h>.
28372 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
28373 (ULP_IDX): New macro.
28374 (ULP_I_IDX): Likewise.
28375 * math/test-double.h (ULP_IDX): Likewise.
28376 (ULP_I_IDX): Likewise.
28377 * math/test-float.h (ULP_IDX): Likewise.
28378 (ULP_I_IDX): Likewise.
28379 * math/test-float128.h (ULP_IDX): Likewise.
28380 (ULP_I_IDX): Likewise.
28382 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28384 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
28385 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28386 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28387 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
28388 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28389 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
28390 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
28391 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28392 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28393 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28394 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
28395 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28396 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28397 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28398 (SINGLE_THREAD_BY_GLOBAL): Define.
28399 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28401 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28403 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28405 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28407 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
28408 (SINGLE_THREAD_BY_GLOBAL): Likewise.
28409 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28412 2017-10-11 Andreas Schwab <schwab@suse.de>
28414 * nis/Makefile (aux): Remove.
28415 * nscd/Makefile (aux): Add nscd_hash.
28416 (nscd-modules): Likewise.
28417 ($(objpfx)nscd): Don't depend on libnsl.
28418 * nscd/nscd_hash.c: New file.
28419 * nscd/nscd_hash.h: Likewise.
28420 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
28421 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
28422 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
28423 instead of <nis/rpcsvc/nis.h>.
28424 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
28426 2017-10-11 Florian Weimer <fweimer@redhat.com>
28429 Avoid large NSS buffers with many addresses, aliases.
28430 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
28431 using dynarrays and struct alloc_buffer.
28432 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
28433 (tst-nss-files-hosts-multi): Link with -ldl.
28434 * nss/tst-nss-files-hosts-multi.c: New file.
28436 2017-10-11 Florian Weimer <fweimer@redhat.com>
28439 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
28440 scratch_buffer. Eliminate gotos.
28442 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28444 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
28445 libm_alias_ldouble_other.
28446 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
28447 undefine and redefine.
28448 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28449 (exp10l): Do not define here.
28450 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
28451 (weak_alias): Undefine and redefine.
28452 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
28453 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28454 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
28455 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
28457 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
28458 [!__fma] (fma): Define using libm_alias_double.
28459 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
28460 [!__fmaf] (fmaf): Define using libm_alias_float.
28461 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
28462 (fmal): Define using libm_alias_ldouble.
28464 2017-10-10 Joseph Myers <joseph@codesourcery.com>
28466 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
28468 (libm_alias_double_other): Likewise.
28469 (libm_alias_double_r): Use libm_alias_double_other_r.
28470 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
28472 (libm_alias_float_other): Likewise.
28473 (libm_alias_float_r): Use libm_alias_float_other_r.
28474 * sysdeps/generic/libm-alias-float128.h
28475 (libm_alias_float128_other_r): New macro.
28476 (libm_alias_float128_other): Likewise.
28477 (libm_alias_float128_r): Use libm_alias_float128_other_r.
28478 * sysdeps/generic/libm-alias-ldouble.h
28479 (libm_alias_ldouble_other_r): New macro.
28480 (libm_alias_ldouble_other): Likewise.
28481 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28482 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
28483 (libm_alias_double_other_r): New macro.
28484 (libm_alias_double_other): Likewise.
28485 (libm_alias_double_r): Use libm_alias_double_other_r.
28486 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
28487 (libm_alias_ldouble_other_r): New macro.
28488 (libm_alias_ldouble_other): Likewise.
28489 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28490 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
28491 [!USE_AS_COMPAT]: Use libm_alias_double_other.
28492 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
28493 [!USE_AS_COMPAT]: Use libm_alias_float_other.
28494 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
28495 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
28496 * math/w_exp2f.c: Use libm_alias_float_other.
28497 * math/w_expf.c: Likewise.
28498 * math/w_log2f.c: Likewise.
28499 * math/w_logf.c: Likewise.
28500 * math/w_powf.c: Likewise.
28501 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
28502 [!__exp2f]: Use libm_alias_float_other.
28503 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
28504 [!__expf]: Use libm_alias_float_other.
28505 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
28506 [!__log2f]: Use libm_alias_float_other.
28507 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
28508 [!__logf]: Use libm_alias_float_other.
28509 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
28510 [!__powf]: Use libm_alias_float_other.
28512 2017-10-10 Florian Weimer <fweimer@redhat.com>
28514 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
28516 (_nss_files_gethostbyname3_r): Call it.
28518 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28520 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
28521 error. Remove default definition of declare_mgen_alias.
28522 [!declare_mgen_alias_r]: Likewise.
28523 * sysdeps/generic/math-type-macros-double.h
28524 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
28525 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
28526 (declare_mgen_alias_r): Likewise.
28527 * sysdeps/generic/math-type-macros-float128.h
28528 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28529 * sysdeps/generic/math-type-macros-ldouble.h
28530 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28531 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
28533 (declare_mgen_alias_r_s): Likewise.
28534 (declare_mgen_alias_r): Likewise.
28535 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
28536 (lgamma_r): Define using libm_alias_double_r.
28537 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
28538 (lgammaf_r): Define using libm_alias_float_r.
28539 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
28540 (lgammal_r): Define using libm_alias_ldouble_r.
28541 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
28542 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28544 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28546 * lib/glob.c (__glob_pattern_type): Remove now-spurious
28547 extern declaration.
28549 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28551 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
28553 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
28556 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
28557 [__cplusplus >= 201103] (__USE_ISOC99): Define.
28558 * math/Makefile (test-math-cxx11): New test.
28559 * math/test-math-cxx11.cc: New file.
28561 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
28563 * login/openpty.c (openpty): Close slave pty file descriptor on error.
28565 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
28566 call to allocate the slave pty file descriptor.
28568 2017-10-06 Joseph Myers <joseph@codesourcery.com>
28570 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
28571 [!__fma] (fma): Define using libm_alias_double.
28572 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
28573 [!__fma] (fma): Define using libm_alias_double.
28575 * sysdeps/ieee754/float128/float128_private.h: Include
28576 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
28577 (libm_alias_ldouble_r): Undefine and redefine.
28578 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
28579 <libm-alias-ldouble.h>.
28580 (asinhl): Define using libm_alias_ldouble.
28581 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
28582 <libm-alias-ldouble.h>.
28583 (atanl): Define using libm_alias_ldouble.
28584 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
28585 <libm-alias-ldouble.h>.
28586 (cbrtl): Define using libm_alias_ldouble.
28587 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
28588 <libm-alias-ldouble.h>.
28589 (ceill): Define using libm_alias_ldouble.
28590 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
28591 <libm-alias-ldouble.h>.
28592 (copysignl): Define using libm_alias_ldouble.
28593 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
28594 <libm-alias-ldouble.h>.
28595 (cosl): Define using libm_alias_ldouble.
28596 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
28597 <libm-alias-ldouble.h>.
28598 (erfl): Define using libm_alias_ldouble.
28600 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
28601 <libm-alias-ldouble.h>.
28602 (expm1l): Define using libm_alias_ldouble.
28603 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
28604 <libm-alias-ldouble.h>.
28605 (fabsl): Define using libm_alias_ldouble.
28606 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
28607 <libm-alias-ldouble.h>.
28608 (floorl): Define using libm_alias_ldouble.
28609 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
28610 <libm-alias-ldouble.h>.
28611 (fmal): Define using libm_alias_ldouble.
28612 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
28613 <libm-alias-ldouble.h>.
28614 (frexpl): Define using libm_alias_ldouble.
28615 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
28616 libm_alias_ldouble.
28617 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
28618 <libm-alias-ldouble.h>.
28619 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
28620 libm_alias_ldouble.
28621 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
28622 <libm-alias-ldouble.h>.
28623 (getpayloadl): Define using libm_alias_ldouble.
28624 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
28625 <libm-alias-ldouble.h>.
28626 (llrintl): Define using libm_alias_ldouble.
28627 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
28628 <libm-alias-ldouble.h>.
28629 (llroundl): Define using libm_alias_ldouble.
28630 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
28631 <libm-alias-ldouble.h>.
28632 (logbl): Define using libm_alias_ldouble.
28633 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
28634 <libm-alias-ldouble.h>.
28635 (lrintl): Define using libm_alias_ldouble.
28636 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
28637 <libm-alias-ldouble.h>.
28638 (lroundl): Define using libm_alias_ldouble.
28639 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
28640 <libm-alias-ldouble.h>.
28641 (modfl): Define using libm_alias_ldouble.
28642 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
28643 <libm-alias-ldouble.h>.
28644 (nearbyintl): Define using libm_alias_ldouble.
28645 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
28646 <libm-alias-ldouble.h>.
28647 (nextafterl): Define using libm_alias_ldouble.
28648 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
28649 <libm-alias-ldouble.h>.
28650 (nextupl): Define using libm_alias_ldouble.
28651 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
28652 <libm-alias-ldouble.h>.
28653 (remquol): Define using libm_alias_ldouble.
28654 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
28655 <libm-alias-ldouble.h>.
28656 (rintl): Define using libm_alias_ldouble.
28657 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
28658 <libm-alias-ldouble.h>.
28659 (roundevenl): Define using libm_alias_ldouble.
28660 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
28661 <libm-alias-ldouble.h>.
28662 (roundl): Define using libm_alias_ldouble.
28663 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
28664 using libm_alias_ldouble.
28665 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
28666 <libm-alias-ldouble.h>.
28667 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
28668 Define using libm_alias_ldouble.
28669 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
28670 <libm-alias-ldouble.h>.
28671 (sincosl): Define using libm_alias_ldouble.
28672 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
28673 <libm-alias-ldouble.h>.
28674 (sinl): Define using libm_alias_ldouble.
28675 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
28676 <libm-alias-ldouble.h>.
28677 (tanhl): Define using libm_alias_ldouble.
28678 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
28679 <libm-alias-ldouble.h>.
28680 (tanl): Define using libm_alias_ldouble.
28681 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
28682 <libm-alias-ldouble.h>.
28683 (totalorderl): Define using libm_alias_ldouble.
28684 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
28685 <libm-alias-ldouble.h>.
28686 (totalordermagl): Define using libm_alias_ldouble.
28687 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
28688 <libm-alias-ldouble.h>.
28689 (truncl): Define using libm_alias_ldouble.
28690 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
28691 libm_alias_ldouble.
28692 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
28693 libm_alias_ldouble.
28694 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
28695 <libm-alias-ldouble.h>.
28696 (weak_alias): Do not undefine and redefine.
28697 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28698 (copysignl): Define with long_double_symbol only if [IS_IN
28700 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
28701 <libm-alias-ldouble.h>.
28702 (weak_alias): Do not undefine and redefine.
28703 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28704 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
28705 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
28706 <libm-alias-ldouble.h>.
28707 (weak_alias): Do not undefine and redefine.
28708 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28709 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
28710 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
28711 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
28713 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
28714 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
28715 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
28716 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
28717 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
28718 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
28719 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
28720 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
28721 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
28722 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
28723 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
28724 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
28725 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
28726 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
28727 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
28728 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
28729 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
28730 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
28732 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
28733 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
28735 2017-10-06 Carlos O'Donell <carlos@redhat.com>
28738 * malloc/malloc.c (tcache_shutting_down): Use bool type.
28739 (tcache_thread_freeres): Set tcache_shutting_down before
28740 freeing the tcache.
28741 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
28742 * malloc/tst-malloc-tcache-leak.c: New file.
28744 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28746 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
28747 back to powerpc32 file.
28748 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28749 (memrchr): Add __memrchr_power8 to ifunc list.
28750 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
28751 extra bytes for unaligned inputs.
28753 2017-10-06 Joseph Myers <joseph@codesourcery.com>
28755 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
28756 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
28757 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
28758 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28759 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28761 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28763 * sysdeps/arm/libm-test-ulps: Update.
28765 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
28766 <libm-alias-ldouble.h>.
28767 (asinhl): Define using libm_alias_ldouble.
28768 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
28769 <libm-alias-ldouble.h>.
28770 (cbrtl): Define using libm_alias_ldouble.
28771 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
28772 <libm-alias-ldouble.h>.
28773 (copysignl): Define using libm_alias_ldouble.
28774 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
28775 <libm-alias-ldouble.h>.
28776 (cosl): Define using libm_alias_ldouble.
28777 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
28778 <libm-alias-ldouble.h>.
28779 (erfl): Define using libm_alias_ldouble.
28781 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
28782 <libm-alias-ldouble.h>.
28783 (fmal): Define using libm_alias_ldouble.
28784 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
28785 <libm-alias-ldouble.h>.
28786 (frexpl): Define using libm_alias_ldouble.
28787 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
28788 libm_alias_ldouble.
28789 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
28790 <libm-alias-ldouble.h>.
28791 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
28792 libm_alias_ldouble.
28793 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
28794 <libm-alias-ldouble.h>.
28795 (getpayloadl): Define using libm_alias_ldouble.
28796 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
28797 <libm-alias-ldouble.h>.
28798 (llrintl): Define using libm_alias_ldouble.
28799 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
28800 <libm-alias-ldouble.h>.
28801 (llroundl): Define using libm_alias_ldouble.
28802 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
28803 <libm-alias-ldouble.h>.
28804 (lrintl): Define using libm_alias_ldouble.
28805 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
28806 <libm-alias-ldouble.h>.
28807 (lroundl): Define using libm_alias_ldouble.
28808 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
28809 <libm-alias-ldouble.h>.
28810 (modfl): Define using libm_alias_ldouble.
28811 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
28812 <libm-alias-ldouble.h>.
28813 (nextupl): Define using libm_alias_ldouble.
28814 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
28815 <libm-alias-ldouble.h>.
28816 (remquol): Define using libm_alias_ldouble.
28817 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
28818 <libm-alias-ldouble.h>.
28819 (roundevenl): Define using libm_alias_ldouble.
28820 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
28821 <libm-alias-ldouble.h>.
28822 (roundl): Define using libm_alias_ldouble.
28823 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
28824 using libm_alias_ldouble.
28825 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
28826 <libm-alias-ldouble.h>.
28827 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
28828 <libm-alias-ldouble.h>.
28829 (setpayloadsigl): Define using libm_alias_ldouble.
28830 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
28831 <libm-alias-ldouble.h>.
28832 (sincosl): Define using libm_alias_ldouble.
28833 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
28834 <libm-alias-ldouble.h>.
28835 (sinl): Define using libm_alias_ldouble.
28836 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
28837 <libm-alias-ldouble.h>.
28838 (tanhl): Define using libm_alias_ldouble.
28839 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
28840 <libm-alias-ldouble.h>.
28841 (tanl): Define using libm_alias_ldouble.
28842 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
28843 <libm-alias-ldouble.h>.
28844 (totalorderl): Define using libm_alias_ldouble.
28845 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
28846 <libm-alias-ldouble.h>.
28847 (totalordermagl): Define using libm_alias_ldouble.
28848 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
28849 libm_alias_ldouble.
28850 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
28851 libm_alias_ldouble.
28853 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
28855 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28857 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28858 (__libc_ifunc_impl_list): Likewise.
28859 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
28860 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
28862 * benchtests/bench-memmove-walk.c: New file.
28863 * benchtests/Makefile (string-benchset): Add it.
28865 * benchtests/bench-memset-walk.c: New file.
28866 * benchtests/Makefile (string-benchset): Add it.
28868 * benchtests/bench-memcpy-walk.c: New file.
28869 * benchtests/Makefile (string-benchset): Add it.
28871 2017-10-05 Florian Weimer <fweimer@redhat.com>
28873 nscd: Eliminate compilation time dependency in the build output.
28874 * nscd/nscd_stat.c (STATDATA_VERSION)
28875 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
28876 (STATDATA_VERSION_FULL): New macro definitions.
28877 (compilation): Remove.
28878 (struct statdata): Adjust version member.
28879 (send_stats): Set version from STATDATA_VERSION_FULL.
28880 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
28882 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28884 * configure.ac (--enable-add-ons): Remove option.
28885 (machine): Do not mention add-ons in comment.
28886 (LIBC_PRECONFIGURE): Likewise.
28887 (add_ons): Remove variable and sanity checks and logic to locate
28889 (add_ons_automatic): Remove variable.
28890 (configured_add_ons): Likewise.
28891 (add_ons_sfx): Likewise.
28892 (add_ons_pfx): Likewise.
28893 (add_on_subdirs): Likewise.
28894 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28895 consideration of add-ons in Implies handling.
28896 (sysdeps_add_ons): Likewise.
28897 * configure: Regenerated.
28898 * libidn/configure.ac: Remove.
28899 * libidn/configure: Likewise.
28900 * sysdeps/unix/inet/configure.ac: New file.
28901 * sysdeps/unix/inet/configure: New generated file.
28902 * sysdeps/unix/inet/Subdirs: Add libidn.
28903 * Makeconfig (sysdeps-srcdirs): Remove variable.
28904 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28905 ($(common-objpfx)config.status): Do not depend on add-on files.
28906 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28908 (all-subdirs): Do not include $(add-on-subdirs).
28909 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28910 * config.make.in (add-ons): Remove variable.
28911 (add-on-subdirs): Likewise.
28912 (sysdeps-add-ons): Likewise.
28913 * manual/Makefile (add-chapters): Remove.
28914 ($(objpfx)texis): Do not depend on $(add-chapters).
28915 (nonexamples): Do not handle $(add-chapters).
28916 (examples): Do not handle $(add-ons).
28917 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28919 * manual/install.texi (Installation): Do not mention add-ons.
28920 (--enable-add-ons): Do not document configure option.
28921 * INSTALL: Regenerated.
28922 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28923 * manual/maint.texi (Hierarchy Conventions): Do not mention
28925 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28927 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28929 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28930 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28932 2017-10-05 Andreas Schwab <schwab@suse.de>
28935 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28936 (_IO_flush_all_lockp): Always lock list_all_lock.
28937 (_IO_flush_all_linebuffered): Likewise.
28938 (_IO_unbuffer_all): Likewise.
28940 2017-10-05 Florian Weimer <fweimer@redhat.com>
28943 Do not flush stdio streams on abort.
28944 * stdlib/abort.c (fflush): Remove macro definition.
28945 (abort): Remove stages related to stdio flushing.
28947 2017-10-05 Florian Weimer <fweimer@redhat.com>
28949 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28951 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28953 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28955 2017-10-05 Florian Weimer <fweimer@redhat.com>
28957 * support/support_format_hostent.c (support_format_hostent): Add
28958 more error information for NETDB_INTERNAL.
28960 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28962 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28963 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28964 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28965 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28966 AC_DEFINE if multi-arch is enabled.
28967 * sysdeps/i386/configure: Regenerated.
28969 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28971 * Makeconfig (+link-static-before-libc): Use
28972 $(DEFAULT-LDFLAGS-$(@F)).
28973 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28974 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28975 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28977 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28979 * elf/Makefile (tests): Add tst-main1.
28980 (modules-names): Add tst-main1mod.
28981 ($(objpfx)tst-main1): New.
28982 (CRT-tst-main1): Likewise.
28983 (LDFLAGS-tst-main1): Likewise.
28984 (LDLIBS-tst-main1): Likewise.
28985 (tst-main1mod.so-no-z-defs): Likewise.
28986 * elf/tst-main1.c: New file.
28987 * elf/tst-main1mod.c: Likewise.
28989 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28991 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28993 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28995 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28996 (fma): Define using libm_alias_double.
28997 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28998 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
29000 (fmal): Do not define as compat symbol here.
29001 * sysdeps/alpha/fpu/s_fma.c: New file.
29003 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29005 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
29007 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29010 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
29012 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29014 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
29015 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29016 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
29017 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
29018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29019 Include <math_ldbl_opt.h>
29020 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29022 (compat_symbol): Undefine and redefine.
29023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
29025 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29026 (compat_symbol): Undefine and redefine.
29027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
29028 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
29029 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
29030 GLIBC_2_1 for libm.
29031 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
29032 GLIBC_2.0 copysignl symbol.
29033 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29034 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
29036 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
29038 2017-10-04 Florian Weimer <fweimer@redhat.com>
29040 * scripts/check-local-headers.sh: Ignore nspr4 header file
29041 directory in addition to nspr.
29043 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
29046 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
29047 * configure: Regenerate.
29048 * crypt/Makefile (nss-cpp-flags): New variable.
29049 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
29050 (CPPFLAGS-md5-crypt.c): Use it.
29051 * scripts/check-local-headers.sh: Ignore nspr header file
29054 2017-10-04 Andreas Schwab <schwab@suse.de>
29056 * nis/Makefile (services): Remove compat.
29057 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
29058 ($(objpfx)libnss_compat.so): Remove rule.
29059 * nis/Versions (libnss_compat): Remove.
29060 * nss/Makefile (services): Add compat.
29061 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
29062 * nss/Versions (libnss_compat): Define.
29063 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
29064 Don't include <rpc/types.h>. Replace bool_t by bool.
29065 * nss/nss_compat/compat-initgroups.c: Likewise.
29066 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
29067 instead of <rpcsrv/ypclnt.h>.
29068 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
29069 yp_get_default_domain.
29070 * nss/nss_compat/compat-pwd.c: Likewise.
29071 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
29072 yp_get_default_domain.
29073 * nss/nss_compat/nisdomain.c: New file.
29074 * nss/nss_compat/nisdomain.h: Likewise.
29076 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29079 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
29080 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29082 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29085 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
29086 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
29088 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29090 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
29091 "movl main@GOTOFF(%ebx), %eax".
29093 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29095 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
29096 allow undefined _DYNAMIC in PIE libc.a.
29097 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29100 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29102 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
29105 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29107 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
29110 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29112 * math/test-math-iscanonical.cc (error): Replace bool with int.
29114 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29116 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
29117 (modf): Define using libm_alias_double, only if [!__modf].
29118 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
29119 <libm-alias-double.h>.
29120 (modf): Define using libm_alias_double, only if [!__modf].
29121 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
29122 compat symbol here.
29123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
29124 (weak_alias): Do not undefine and redefine.
29125 (strong_alias): Likewise.
29126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
29127 (weak_alias): Likewise.
29128 (strong_alias): Likewise.
29130 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
29131 (logb): Define using libm_alias_double, only if [!__logb].
29132 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
29133 <libm-alias-double.h>.
29134 (logb): Define using libm_alias_double, only if [!__logb].
29135 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
29136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
29137 (weak_alias): Do not undefine and redefine.
29138 (strong_alias): Likewise.
29139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
29140 (weak_alias): Likewise.
29141 (strong_alias): Likewise.
29143 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29145 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
29146 Check SHARED instead PIC.
29148 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29150 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
29151 [!__fmaf] (fmaf): Define using libm_alias_float.
29153 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
29154 (frexp): Define using libm_alias_double.
29155 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
29156 <libm-alias-double.h>.
29157 (frexp): Define using libm_alias_double.
29158 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
29159 compat symbol here.
29161 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29164 * math/math.h: Trivial fix for unbalanced parentheses in comment.
29165 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
29166 (CFLAGS-test-math-iscanonical.cc): New variable.
29167 * math/test-math-iscanonical.cc: New file.
29168 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
29169 Provide a C++ implementation based on function overloading,
29170 rather than using __MATH_TG, which uses C-only builtins.
29171 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
29173 * sysdeps/powerpc/powerpc64le/Makefile
29174 (CFLAGS-test-math-iscanonical.cc): New variable.
29176 2017-10-03 Joseph Myers <joseph@codesourcery.com>
29178 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
29179 (ceil): Define using libm_alias_double.
29180 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
29181 (floor): Define using libm_alias_double.
29182 * sysdeps/ieee754/dbl-64/s_llround.c: Include
29183 <libm-alias-double.h>.
29184 (llround): Define using libm_alias_double.
29185 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29186 <libm-alias-double.h>.
29187 (lround): Define using libm_alias_double.
29188 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
29189 <libm-alias-double.h>.
29190 (nearbyint): Define using libm_alias_double.
29191 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
29192 <libm-alias-double.h>.
29193 (remquo): Define using libm_alias_double.
29194 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
29195 (rint): Define using libm_alias_double.
29196 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
29197 (round): Define using libm_alias_double.
29198 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
29199 (trunc): Define using libm_alias_double.
29200 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
29201 <libm-alias-double.h>.
29202 (ceil): Define using libm_alias_double.
29203 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
29204 <libm-alias-double.h>.
29205 (floor): Define using libm_alias_double.
29206 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
29207 <libm-alias-double.h>.
29208 (llround): Define using libm_alias_double.
29209 [_LP64] (lround): Likewise.
29210 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
29211 <libm-alias-double.h>.
29212 [!_LP64] (lround): Define using libm_alias_double.
29213 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
29214 <libm-alias-double.h>.
29215 (nearbyint): Define using libm_alias_double.
29216 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
29217 <libm-alias-double.h>.
29218 (remquo): Define using libm_alias_double.
29219 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
29220 <libm-alias-double.h>.
29221 (rint): Define using libm_alias_double.
29222 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
29223 <libm-alias-double.h>.
29224 (round): Define using libm_alias_double.
29225 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
29226 <libm-alias-double.h>.
29227 (trunc): Define using libm_alias_double.
29228 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
29229 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
29230 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
29231 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
29232 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
29233 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
29234 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
29235 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
29236 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
29238 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29240 * math/w_remainder.c: New file.
29241 * math/w_remainderf.c: New file.
29242 * math/w_remainderl.c: New file.
29244 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29246 * elf/rtld.c (BOOTSTRAP_MAP): New.
29247 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
29248 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29250 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29252 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29255 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29257 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
29258 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
29259 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
29260 rtld_hidden_data_ver): Define to empty.
29261 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
29262 __assert_perror_fail): Likewise.
29263 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29264 (__rewinddir): Likewise.
29265 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29266 (__profile_frequency): Likewise.
29267 * include/setjmp.h (__sigsetjmp): Likewise.
29268 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
29269 __libc_sigaction): Likewise.
29270 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
29271 not set hidden attribute.
29272 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
29273 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
29274 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
29275 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
29276 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
29277 __fxstatat64): Likewise.
29278 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29279 (__uname): Likewise.
29280 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29281 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
29282 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
29283 (NO_RTLD_HIDDEN): Set.
29284 * sysdeps/mach/hurd/configure: Refresh.
29285 * config.h.in: Refresh.
29287 2017-10-02 Joseph Myers <joseph@codesourcery.com>
29289 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
29290 (atan): Define using libm_alias_double.
29291 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
29292 (tan): Define using libm_alias_double.
29293 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
29294 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
29296 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
29297 define as weak alias of __atan. Do not define any aliases if
29299 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
29300 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
29301 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
29302 as weak alias of __tan. Do not define any aliases if [__tan].
29303 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
29304 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
29305 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
29307 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
29308 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
29309 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
29310 and define as weak alias of __atan.
29311 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
29313 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
29314 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
29315 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
29316 define as weak alias of __tan.
29318 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29320 * math/w_lgamma.c: New file.
29321 * math/w_lgammaf.c: New file.
29322 * math/w_lgammal.c: New file.
29324 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29326 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
29327 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
29328 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
29329 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
29330 * sysdeps/ieee754/flt-32/w_logf.c: New file.
29331 * sysdeps/ieee754/flt-32/w_powf.c: New file.
29332 * sysdeps/i386/fpu/w_log2f.c: New file.
29333 * sysdeps/i386/fpu/w_logf.c: New file.
29334 * sysdeps/i386/fpu/w_powf.c: New file.
29335 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
29336 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
29337 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
29339 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29340 H.J. Lu <hongjiu.lu@intel.com>
29342 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
29343 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
29344 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
29345 * sysdeps/ieee754/flt-32/w_expf.c: New file.
29346 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
29348 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
29349 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
29350 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
29351 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
29352 * sysdeps/i386/fpu/w_exp2f.c: New file.
29353 * sysdeps/i386/fpu/w_expf.c: New file.
29354 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
29355 * sysdeps/x86_64/fpu/w_expf.c: New file.
29357 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29359 * math/Versions (logf): New libm symbol at GLIBC_2.27.
29362 * math/w_log2f.c: New file.
29363 * math/w_logf.c: New file.
29364 * math/w_powf.c: New file.
29365 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
29366 * math/w_logf_compat.c (__logf_compat): Likewise.
29367 * math/w_powf_compat.c (__powf_compat): Likewise.
29368 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
29369 * sysdeps/ia64/fpu/e_logf.S: Likewise.
29370 * sysdeps/ia64/fpu/e_powf.S: Likewise.
29371 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29372 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29373 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29374 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29375 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29376 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29377 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29378 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29379 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29380 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29381 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29382 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29391 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29392 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29393 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29394 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29395 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29400 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29401 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29402 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29404 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29406 * sysdeps/powerpc/powerpc64/multiarch/Makefile
29407 (sysdep_routines): Add memrchr_power8.
29408 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29409 (memrchr): Add __memrchr_power8 to list of memrchr functions.
29410 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
29412 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29413 (memrchr): Add __memrchr_power8 to ifunc list.
29414 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
29416 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29419 * sysdeps/unix/sysv/linux/posix_fadvise64.c
29420 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
29422 * sysdeps/unix/sysv/linux/posix_fallocate64.c
29423 (__posix_fallocate64_l64): Likewise.
29425 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29428 * sysdeps/unix/sysv/linux/sched_setaffinity.c
29429 (__sched_setaffinity_new): Add libc_hidden_proto and
29432 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29435 * include/glob.h (__glob64): Add libc_hidden_proto.
29436 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
29439 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29442 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
29445 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29448 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
29450 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29453 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
29456 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29459 * csu/version.c (__libc_print_version): Add attribute_hidden.
29461 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29464 * include/libc-internal.h (__init_misc): Add attribute_hidden.
29466 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29469 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
29471 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29474 * nscd/nscd_helper.c (__nis_hash): New prototype.
29476 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29479 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
29480 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
29482 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29483 * termios/tcgetattr.c (__tcgetattr): Likewise.
29485 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29488 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
29489 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
29490 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
29491 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
29492 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
29494 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29497 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
29499 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29502 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
29503 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
29505 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29508 * intl/hash-string.h (__hash_string): Add attribute_hidden.
29510 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29513 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
29514 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
29516 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29519 * include/ifreq.h: New file.
29520 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
29521 (__ifreq): Likewise.
29522 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
29523 (__ifreq): Likewise.
29525 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29528 * include/idna.h: New file.
29529 * inet/getnameinfo.c: Include <idna.h> instead of
29531 (__idna_to_unicode_lzlz): Removed.
29532 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
29534 (__idna_to_ascii_lz): Removed.
29535 (__idna_to_unicode_lzlz): Likewise.
29537 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29540 * include/plural-exp.h: New file.
29541 * intl/plural-exp.c: Include <plural-exp.h> instead of
29544 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29547 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
29548 "getsourcefilter.h".
29549 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
29550 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
29551 "getsourcefilter.h".
29552 (__get_sol): Removed.
29554 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29557 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
29559 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
29561 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29564 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
29567 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29570 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
29572 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29575 * include/search.h (__tdestroy): Add libc_hidden_proto.
29576 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
29578 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29581 * include/assert.h (__assert_fail_base): Add attribute_hidden.
29583 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29586 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
29589 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29592 * include/signal.h (__kill): Add libc_hidden_proto.
29593 (__sigblock): Likewise.
29594 (__sigprocmask): Likewise.
29595 (__sigaltstack): Likewise.
29596 * signal/kill.c (__kill): Add libc_hidden_def.
29597 * signal/sigblock.c (__sigblock): Likewise.
29598 * signal/sigprocmask.c (__sigprocmask): Likewise.
29599 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
29600 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
29601 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
29602 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
29603 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
29605 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
29607 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
29608 (__sigprocmask): Likewise.
29609 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
29611 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
29612 (__sigprocmask): Likewise.
29613 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
29616 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29619 * include/string.h (__strsep): Add libc_hidden_proto.
29620 * string/strsep.c (__strsep): Add libc_hidden_def.
29622 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29625 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
29627 (__spawni): Likewise.
29629 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29632 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
29633 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
29636 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29639 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
29641 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29644 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
29645 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
29646 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
29647 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
29648 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
29650 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
29651 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
29653 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29656 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
29657 (__dcigettext): Likewise.
29659 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29662 * include/sys/sysinfo.h (__get_nprocs_conf): Add
29664 (__get_nprocs): Likewise.
29665 (__get_phys_pages): Likewise.
29666 (__get_avphys_pages): Likewise.
29667 (__get_child_max): Add attribute_hidden.
29668 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
29669 (__get_nprocs): Likewise.
29670 (__get_phys_pages): Likewise.
29671 (__get_avphys_pages): Likewise.
29672 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
29674 (__get_nprocs): Likewise.
29675 (__get_phys_pages): Likewise.
29676 (__get_avphys_pages): Likewise.
29677 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
29679 (__get_nprocs_conf): Likewise.
29680 (__get_phys_pages): Likewise.
29681 (__get_avphys_pages): Likewise.
29683 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29686 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
29688 (__netlink_close): Likewise.
29689 (__netlink_free_handle): Likewise.
29690 (__netlink_request): Likewise.
29692 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29695 * include/rpc/rpc.h (__rpc_thread_variables): Add
29697 (__rpc_thread_svc_cleanup): Likewise.
29698 (__rpc_thread_clnt_cleanup): Likewise.
29699 (__rpc_thread_key_cleanup): Likewise.
29701 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29704 * include/sys/uio.h (__readv): Add libc_hidden_proto.
29705 (__writev): Likewise.
29706 * misc/readv.c (__readv): Add libc_hidden_def.
29707 * misc/writev.c (__writev): Likewise.
29708 * sysdeps/posix/readv.c (__readv): Likewise.
29709 * sysdeps/posix/writev.c (__writev): Likewise.
29710 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
29711 (__readv): Likewise.
29712 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
29713 (__writev): Likewise.
29715 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29718 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
29719 (__regcomp): Add libc_hidden_proto.
29720 (__regexec): Likewise.
29721 (__regfree): Likewise.
29722 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
29723 (__regfree): Likewise.
29724 * posix/regexec.c (__regexec): Likewise.
29726 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29729 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
29730 (__getutent): Likewise.
29731 (__getutid): Likewise.
29732 (__getutline): Likewise.
29733 (__pututline): Likewise.
29734 (__getutent_r): Likewise.
29735 (__getutid_r): Likewise.
29736 (__getutline_r): Likewise.
29737 (__utmpname): Add attribute_hidden.
29738 (__setutent): Likewise.
29739 (__endutent): Likewise.
29740 * login/getutent.c (__getutent): Add libc_hidden_def.
29741 * login/getutent_r.c (__getutent_r): Likewise.
29742 (__pututline): Likewise.
29743 * login/getutid.c (__getutid): Likewise.
29744 * login/getutid_r.c (__getutid_r): Likewise.
29745 * login/getutline.c (__getutline): Likewise.
29746 * login/getutline_r.c (__getutline_r): Likewise.
29747 * login/updwtmp.c (__updwtmp): Likewise.
29749 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29752 * include/dirent.h (__opendir): Always add attribute_hidden.
29753 (__fdopendir): Likewise.
29754 (__closedir): Likewise.
29755 (__readdir): Likewise.
29756 (__readdir64): Add libc_hidden_proto.
29757 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
29758 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
29759 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
29760 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
29763 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29766 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
29767 * include/netdb.h (__gethostbyaddr_r): Likewise.
29768 (__gethostbyname_r): Likewise.
29769 (__gethostbyname2_r): Likewise.
29770 (__getnetbyaddr_r): Likewise.
29771 (__getnetbyname_r): Likewise.
29772 (__getservbyname_r): Likewise.
29773 (__getservbyport_r): Likewise.
29774 (__getprotobyname_r): Likewise.
29775 (__getprotobynumber_r): Likewise.
29776 (__getnetgrent_r): Likewise.
29777 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
29778 (__getrpcbynumber_r): Likewise.
29779 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
29781 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29784 * include/stdio.h (__fcloseall): Add attribute_hidden.
29785 (__getline): Likewise.
29786 (__path_search): Likewise.
29787 (__gen_tempname): Likewise.
29788 (__libc_message): Likewise.
29789 (__flockfile): Likewise.
29790 (__funlockfile): Likewise.
29791 (__fxprintf): Likewise.
29792 (__fxprintf_nocancel): Likewise.
29794 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29797 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
29798 (__sgetsgent_r): Likewise.
29800 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29803 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
29804 (__statfs64): Likewise.
29805 (__fstatfs64): Likewise.
29806 * include/sys/statvfs.h (__statvfs64): Likewise.
29807 (__fstatvfs64): Likewise.
29808 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
29809 (__statfs_filesize_max): Likewise.
29810 (__statfs_symlinks): Likewise.
29811 (__statfs_chown_restricted): Likewise.
29813 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29816 * include/time.h (__tzstring): Add attribute_hidden.
29817 (__tzfile_read): Likewise.
29818 (__tzfile_compute): Likewise.
29819 (__tzfile_default): Likewise.
29820 (__tzset_parse_tz): Likewise.
29821 (__offtime): Likewise.
29822 (__asctime_r): Likewise.
29823 (__tzset): Likewise.
29824 (__tz_convert): Likewise.
29825 (__getdate_r): Likewise.
29826 (__getclktck): Likewise.
29828 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29831 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
29832 (__nscd_unmap): Likewise.
29833 (__nscd_cache_search): Likewise.
29834 (__nscd_get_nl_timestamp): Likewise.
29835 (__nscd_getpwnam_r): Likewise.
29836 (__nscd_getpwuid_r): Likewise.
29837 (__nscd_getgrnam_r): Likewise.
29838 (__nscd_getgrgid_r): Likewise.
29839 (__nscd_gethostbyname_r): Likewise.
29840 (__nscd_gethostbyname2_r): Likewise.
29841 (__nscd_gethostbyaddr_r): Likewise.
29842 (__nscd_getai): Likewise.
29843 (__nscd_getgrouplist): Likewise.
29844 (__nscd_getservbyname_r): Likewise.
29845 (__nscd_getservbyport_r): Likewise.
29846 (__nscd_innetgr): Likewise.
29847 (__nscd_setnetgrent): Likewise.
29849 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29852 * include/gmp.h: Declare internal functions only if _ISOMAC is
29854 (__mpn_extract_double): Add attribute_hidden.
29855 (__mpn_extract_long_double): Likewise.
29856 (__mpn_extract_float128): Likewise.
29857 (__mpn_construct_float): Likewise.
29858 (__mpn_construct_double): Likewise.
29859 (__mpn_construct_long_double): Likewise.
29860 (__mpn_construct_float128): Likewise.
29861 (mpn_add_1): Likewise.
29862 (mpn_addmul_1): Likewise.
29863 (mpn_add_n): Likewise.
29864 (mpn_cmp): Likewise.
29865 (mpn_divrem): Likewise.
29866 (mpn_lshift): Likewise.
29867 (mpn_mul): Likewise.
29868 (mpn_mul_1): Likewise.
29869 (mpn_rshift): Likewise.
29870 (mpn_sub_1): Likewise.
29871 (mpn_submul_1): Likewise.
29872 (mpn_sub_n): Likewise.
29874 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29877 * include/wchar.h (__wcsnlen): Add attribute_hidden.
29878 (__wcscat): Likewise.
29879 (__btowc): Likewise.
29880 (__wcrtomb): Likewise.
29881 (__mbsrtowcs): Likewise.
29882 (__wcsrtombs): Likewise.
29883 (__mbsnrtowcs): Likewise.
29884 (__wcsnrtombs): Likewise.
29885 (__wcsncpy): Likewise.
29886 (__wcpncpy): Likewise.
29887 (__wmemcpy): Likewise.
29888 (__wmempcpy): Likewise.
29889 (__wmemmove): Likewise.
29890 (__wcschrnul): Likewise.
29891 (__vfwscanf): Likewise.
29892 (__vswprintf): Likewise.
29893 (__fwprintf): Likewise.
29894 (__vfwprintf): Likewise.
29896 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29899 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29900 (__getgrgid_r): Likewise.
29901 (__getgrnam_r): Likewise.
29902 * include/pwd.h (__getpwuid_r): Likewise.
29903 (__getpwnam_r): Likewise.
29904 (__fgetpwent_r): Likewise.
29905 * include/shadow.h (__getspnam_r): Likewise.
29906 (__sgetspent_r): Likewise.
29907 (__fgetspent_r): Likewise.
29909 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29912 * include/unistd.h (__access): Add attribute_hidden.
29913 (__lseek64): Likewise.
29914 (__libc_pread64): Likewise.
29915 (__pipe2): Likewise.
29916 (__sleep): Likewise.
29917 (__chdir): Likewise.
29918 (__fchdir): Likewise.
29919 (__getcwd): Likewise.
29920 (__rmdir): Likewise.
29921 (__execvpe): Likewise.
29922 (__execve): Likewise.
29923 (__setsid): Likewise.
29924 (__getuid): Likewise.
29925 (__geteuid): Likewise.
29926 (__getgid): Likewise.
29927 (__getegid): Likewise.
29928 (__getgroups): Likewise.
29929 (__group_member): Likewise.
29930 (__ttyname_r): Likewise.
29931 (__isatty): Likewise.
29932 (__readlink): Likewise.
29933 (__unlink): Likewise.
29934 (__gethostname): Likewise.
29935 (__profil): Likewise.
29936 (__getdtablesize): Likewise.
29938 (__ftruncate): Likewise.
29939 (__ftruncate64): Likewise.
29941 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29944 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29945 * argp/argp-fs-xinl.c: Likewise.
29946 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29947 * argp/argp-parse.c: Include <argp.h>.
29948 * argp/argp-xinl.c: Likewise.
29949 * include/argp-fmtstream.h: New file.
29950 * include/argp.h (__argp_error): Add attribute_hidden.
29951 (__argp_failure): Likewise.
29952 (__argp_input): Likewise.
29953 (__argp_state_help): Likewise.
29955 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29958 * include/wchar.h (____wcstof_l_internal): New prototype.
29959 (____wcstod_l_internal): Likewise.
29960 (____wcstold_l_internal): Likewise.
29961 (____wcstol_l_internal): Likewise.
29962 (____wcstoul_l_internal): Likewise.
29963 (____wcstoll_l_internal): Likewise.
29964 (____wcstoull_l_internal): Likewise.
29965 (____wcstof128_l_internal): Likewise.
29966 * sysdeps/ieee754/float128/wcstof128.c
29967 (____wcstof128_l_internal): Removed.
29968 * sysdeps/ieee754/float128/wcstof128_l.c
29969 (____wcstof128_l_internal): Likewise.
29970 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29971 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29972 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29973 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29974 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29975 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29976 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29977 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29978 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29979 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29981 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29984 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29985 instead of <sys/statvfs.h>.
29986 (__internal_statvfs): Removed.
29987 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29988 instead of <sys/statvfs.h>.
29989 (__internal_statvfs64): Removed.
29990 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29991 "internal_statvfs.h" instead of <sys/statvfs.h>.
29992 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29993 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29994 instead of <sys/statvfs.h>.
29995 (__internal_statvfs): Removed.
29996 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29997 instead of <sys/statvfs.h>.
29998 (__internal_statvfs64): Removed.
30000 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30003 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
30004 (__gconv_close): Likewise.
30005 (__gconv): Likewise.
30006 (__gconv_find_transform): Likewise.
30007 (__gconv_lookup_cache): Likewise.
30008 (__gconv_compare_alias_cache): Likewise.
30009 (__gconv_load_cache): Likewise.
30010 (__gconv_get_path): Likewise.
30011 (__gconv_close_transform): Likewise.
30012 (__gconv_release_cache): Likewise.
30013 (__gconv_find_shlib): Likewise.
30014 (__gconv_release_shlib): Likewise.
30015 (__gconv_get_builtin_trans): Likewise.
30016 (__gconv_compare_alias): Likewise.
30017 * include/dlfcn.h (_dlerror_run): Likewise.
30018 * include/stdio.h (__fortify_fail_abort): Likewise.
30019 * include/time.h (__tz_compute): Likewise.
30020 (__strptime_internal): Likewise.
30021 * intl/gettextP.h (_nl_find_domain): Likewise.
30022 (_nl_load_domain): Likewise.
30023 (_nl_find_msg): Likewise.
30024 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
30025 (EXTRACT_PLURAL_EXPRESSION): Likewise.
30026 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
30027 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
30028 (__gai_find_request): Likewise.
30029 (__gai_remove_request): Likewise.
30030 (__gai_notify): Likewise.
30031 (__gai_notify_only): Likewise.
30032 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30033 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30034 (_dl_non_dynamic_init): Likewise.
30035 (_dl_aux_init): Likewise.
30036 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
30037 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30039 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
30040 (__wcsmbs_clone_conv): Likewise.
30041 (__wcsmbs_named_conv): Likewise.
30043 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30046 * include/stdlib.h (__random): Add attribute_hidden.
30047 (__random_r): Likewise.
30048 (__srandom_r): Likewise.
30049 (__initstate_r): Likewise.
30050 (__setstate_r): Likewise.
30051 (__erand48_r): Likewise.
30052 (__nrand48_r): Likewise.
30053 (__jrand48_r): Likewise.
30054 (__srand48_r): Likewise.
30055 (__seed48_r): Likewise.
30056 (__lcong48_r): Likewise.
30057 (__drand48_iterate): Likewise.
30058 (__setenv): Likewise.
30059 (__unsetenv): Likewise.
30060 (__clearenv): Likewise.
30061 (__ptsname_r): Likewise.
30062 (__posix_openpt): Likewise.
30063 (__add_to_environ): Likewise.
30064 (__realpath): Add libc_hidden_proto.
30065 (__ecvt_r): Likewise.
30066 (__fcvt_r): Likewise.
30067 (__qecvt_r): Likewise.
30068 (__qfcvt_r): Likewise.
30069 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
30070 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
30072 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30075 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
30076 * include/time.h (__mktime_internal): Likewise.
30077 * libio/iolibio.h (__fopen_internal): Likewise.
30079 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
30081 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
30083 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
30084 Correct offset used to restore PIC register.
30086 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
30089 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
30090 code to load address of __getcontext_ret when generating PIC code.
30092 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
30094 * elf/Makefile (tests-static-internal): Add
30095 tst-tls1-static-non-pie.
30096 (LDFLAGS-tst-tls1-static-non-pie): New.
30097 * elf/tst-tls1-static-non-pie.c: New file.
30099 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30101 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
30102 (asinh): Define using libm_alias_double.
30103 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
30104 (cbrt): Define using libm_alias_double.
30105 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
30106 <libm-alias-double.h>.
30107 (copysign): Define using libm_alias_double.
30108 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
30109 (erf): Define using libm_alias_double.
30111 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
30112 (expm1): Define using libm_alias_double.
30113 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
30114 (fabs): Define using libm_alias_double.
30115 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
30117 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
30118 <libm-alias-double.h>.
30119 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
30121 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
30122 <libm-alias-double.h>.
30123 (getpayload): Define using libm_alias_double.
30124 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
30125 <libm-alias-double.h>.
30126 (llrint): Define using libm_alias_double.
30127 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
30128 (lrint): Define using libm_alias_double.
30129 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
30130 <libm-alias-double.h>.
30131 (nextup): Define using libm_alias_double.
30132 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
30133 <libm-alias-double.h>.
30134 (roundeven): Define using libm_alias_double.
30135 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
30137 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
30138 <libm-alias-double.h>.
30139 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
30140 using libm_alias_double.
30141 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
30142 (cos): Define using libm_alias_double.
30144 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
30145 <libm-alias-double.h>.
30146 (sincos): Define using libm_alias_double.
30147 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
30148 (tanh): Define using libm_alias_double.
30149 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
30150 <libm-alias-double.h>.
30151 (totalorder): Define using libm_alias_double.
30152 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
30153 <libm-alias-double.h>.
30154 (totalordermag): Define using libm_alias_double.
30155 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
30157 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
30159 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
30160 <libm-alias-double.h>.
30161 (getpayload): Define using libm_alias_double.
30162 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
30163 <libm-alias-double.h>.
30164 (roundeven): Define using libm_alias_double.
30165 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
30166 <libm-alias-double.h>.
30167 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
30168 <libm-alias-double.h>.
30169 (totalorder): Define using libm_alias_double.
30170 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
30171 <libm-alias-double.h>.
30172 (totalordermag): Define using libm_alias_double.
30173 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
30174 libc compat symbol here.
30175 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
30176 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
30177 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
30178 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
30179 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
30180 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
30181 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
30182 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
30183 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
30184 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
30186 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30188 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
30189 _dl_relocate_static_pie instead of _dl_start to compute load
30190 address in static PIE. Return 0 if _DYNAMIC is undefined for
30193 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30195 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
30196 _DYNAMIC is undefined for static executable.
30198 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30200 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
30202 2017-09-29 Joseph Myers <joseph@codesourcery.com>
30204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30206 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30208 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
30209 (__ieee754_lgamma_r): Use fabs rather than __fabs.
30210 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30211 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30212 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
30213 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
30214 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30215 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
30216 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
30217 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30218 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
30219 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
30220 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30221 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30222 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30223 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30224 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
30226 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30228 * math/bits/cmathcalls.h (cimag): Remove inline.
30229 (creal): Remove inline.
30230 (conj): Remove inline.
30232 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30234 * math/Makefile (type-float-routines): Add e_powf_log2_data.
30235 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
30236 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
30237 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
30238 (issignalingf_inline): Likewise.
30239 (POWF_LOG2_TABLE_BITS): Likewise.
30240 (POWF_LOG2_POLY_ORDER): Likewise.
30241 (POWF_SCALE_BITS): Likewise.
30242 (POWF_SCALE): Likewise.
30243 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
30244 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
30245 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
30247 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30249 * math/Makefile (type-float-routines): Add e_log2f_data.
30250 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
30251 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
30252 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
30253 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
30254 * sysdeps/i386/fpu/e_log2f_data.c: New file.
30255 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
30256 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
30258 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30260 * math/Makefile (type-float-routines): Add e_logf_data.
30261 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
30262 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
30263 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
30264 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
30265 * sysdeps/i386/fpu/e_logf_data.c: New file.
30266 * sysdeps/ia64/fpu/e_logf_data.c: New file.
30267 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
30269 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
30271 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
30272 undefined _DYNAMIC in PIE libc.a.
30273 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30276 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30278 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
30279 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
30280 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
30281 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
30282 (__signbit): Remove.
30283 (__signbitl): Remove.
30284 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
30285 (__signbit): Remove.
30286 (__signbitl): Remove.
30287 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
30288 (__signbit): Remove.
30289 (__signbitl): Remove.
30290 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
30291 (__signbit): Remove.
30292 (__signbitl): Remove.
30293 * sysdeps/tile/bits/mathinline.h: Delete file.
30294 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
30295 (__signbit): Remove.
30296 (__signbitl): Remove.
30298 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30300 * math/math.h: Improve handling of C99 isgreater macros.
30301 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
30302 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
30303 * sysdeps/powerpc/bits/mathinline.h: Likewise.
30304 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30305 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
30307 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
30309 * sysdeps/aarch64/libm-test-ulps: Update.
30311 2017-09-28 Joseph Myers <joseph@codesourcery.com>
30314 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30315 math_opt_barrier on argument when doing arithmetic on it.
30316 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30317 Likewise. Use math_force_eval not math_opt_barrier after
30319 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
30320 math_opt_barrier on argument when doing arithmetic on it.
30321 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30324 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
30326 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
30328 (__freeifaddrs): Likewise.
30330 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30332 * include/dirent.h (__dirfd): New declaration.
30333 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
30335 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
30336 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
30337 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
30338 * include/unistd.h (__revoke): New declaration.
30339 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
30341 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
30342 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
30344 * include/dirent.h (__seekdir): New declaration.
30345 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
30346 redefine as weak alias.
30347 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
30349 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
30350 and use libc_hidden_def on them.
30351 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
30353 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
30354 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
30355 instead of getifaddrs and freeifaddrs.
30357 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30360 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
30361 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
30362 (__dso_handle): Remove declaration.
30363 * dlfcn/tstatexit.c (__dso_handle): Removed.
30364 (main): Don't check __dso_handle.
30365 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
30366 (main): Don't check __dso_handle.
30367 * include/dso_handle.h: New file.
30368 * malloc/mtrace.c: Include <dso_handle.h>.
30369 (mtrace): Pass __dso_handle directly.
30370 * nptl/pthread_atfork.c: Include <dso_handle.h>.
30371 (__dso_handle): Remove declaration.
30372 (__pthread_atfork): Pass __dso_handle directly.
30373 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
30374 (__dso_handle): Removed.
30375 * posix/wordexp-test.c: Include <dso_handle.h>.
30376 (__dso_handle): Remove declaration.
30377 (__app_register_atfork): Pass __dso_handle directly.
30378 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
30379 (__dso_handle): Remove declaration.
30380 (at_quick_exit): Pass __dso_handle directly.
30381 * stdlib/atexit.c: Include <dso_handle.h>.
30382 (__dso_handle): Remove declaration.
30383 (atexit): Pass __dso_handle directly.
30384 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
30385 (__dso_handle): Removed.
30387 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30389 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
30392 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
30394 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
30395 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
30396 values to correct default value for given type.
30398 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30401 * elf/Makefile (tests): Add tst-debug1.
30402 ($(objpfx)tst-debug1): New.
30403 ($(objpfx)tst-debug1.out): Likewise.
30404 ($(objpfx)tst-debug1mod1.so): Likewise.
30405 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
30406 with p_filesz == 0.
30407 * elf/tst-debug1.c: New file.
30409 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30411 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
30412 Define using __ifunc.
30414 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30416 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
30419 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30422 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
30424 2017-09-26 Florian Weimer <fweimer@redhat.com>
30426 * resolv/Makefile (tests-internal): Fix typo in comment.
30428 2017-09-26 Florian Weimer <fweimer@redhat.com>
30430 * resolv/nss_dns/dns-host.c: Fix typo in comment.
30432 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30434 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
30435 Use an union instead of a max_align_t array for __space,
30436 so that __space is the same size on all platforms.
30437 * malloc/scratch_buffer_grow_preserve.c
30438 (__libc_scratch_buffer_grow_preserve): Likewise.
30441 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
30443 * posix/Makefile (routines): Add glob-lstat-compat and
30444 glob64-lstat-compat.
30445 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
30446 * posix/glob-lstat-compat.c: New file.
30447 * posix/glob64-lstat-compat.c: Likewise.
30448 * posix/tst-glob_lstat_compat.c: Likewise.
30449 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
30450 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
30451 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
30452 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
30454 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
30455 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30456 * posix/glob.c (glob_lstat): New function.
30457 (glob): Rename to __glob and add versioned symbol to 2.27.
30458 (glob_in_dir): Use glob_lstat.
30459 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
30460 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
30461 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
30463 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
30464 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
30465 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
30466 gl_lstat on glob call.
30467 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
30468 and glob64 symbols.
30469 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30470 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
30471 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
30472 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
30473 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
30474 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
30475 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
30476 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
30477 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
30478 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30479 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30480 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
30481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
30483 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
30484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
30485 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30486 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30487 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
30488 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30489 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
30491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
30492 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
30493 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
30494 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
30496 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
30498 * configure.ac (AS): Require binutils 2.25 or later.
30499 * configure: Regenerated.
30501 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30504 * stdlib/test-atexit-race-common.c (do_test): Minimize required
30507 2017-09-25 DJ Delorie <dj@redhat.com>
30510 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
30513 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
30515 * sysdeps/ieee754/dbl-64/sincos32.h
30516 [SINCCOS32_H]: Remove define.
30517 [SINCOS32_H]: Define.
30519 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30521 * math/Versions (expf): New libm symbol at GLIBC_2.27.
30523 * math/w_exp2f.c: New file.
30524 * math/w_expf.c: New file.
30525 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
30526 * math/w_expf_compat.c (__expf_compat): Likewise.
30527 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
30528 * sysdeps/ia64/fpu/e_expf.S: Likewise.
30529 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30530 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30531 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30532 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30533 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30534 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30535 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30536 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30537 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30538 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30539 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30540 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30549 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30550 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30551 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30552 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30553 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
30556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30558 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30559 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30560 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30562 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30564 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
30565 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
30566 (roundtoint, converttoint): Likewise.
30567 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
30568 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
30569 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
30570 * sysdeps/ieee754/flt-32/math_config.h: New file.
30571 * sysdeps/ieee754/flt-32/math_errf.c: New file.
30572 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
30573 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
30574 * sysdeps/i386/fpu/math_errf.c: New file.
30575 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
30576 * sysdeps/ia64/fpu/math_errf.c: New file.
30577 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
30578 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
30580 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
30582 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
30583 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
30584 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
30585 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
30586 to make sure that these symbols are defined.
30587 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
30589 (__need_NULL): Do not define.
30590 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
30592 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
30593 CMGROUP_MAX, cmsgcred): Do not define.
30594 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
30596 * bits/socket.h: Likewise.
30597 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
30598 __gettimeofday instead of gettimeofday.
30599 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
30600 instead of settimeofday.
30602 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30604 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
30605 (asinhf): Define using libm_alias_float.
30606 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
30607 (atanf): Define using libm_alias_float.
30608 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
30609 (cbrtf): Define using libm_alias_float.
30610 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
30611 (ceilf): Define using libm_alias_float.
30612 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
30613 <libm-alias-float.h>.
30614 (copysignf): Define using libm_alias_float.
30615 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
30616 (cosf): Define using libm_alias_float.
30617 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
30618 (erff): Define using libm_alias_float.
30620 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
30621 (expm1f): Define using libm_alias_float.
30622 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
30623 (fabsf): Define using libm_alias_float.
30624 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
30625 (floorf): Define using libm_alias_float.
30626 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
30627 (frexpf): Define using libm_alias_float.
30628 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
30630 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
30631 <libm-alias-float.h>.
30632 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
30634 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
30635 <libm-alias-float.h>.
30636 (getpayloadf): Define using libm_alias_float.
30637 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
30638 <libm-alias-float.h>.
30639 (llrintf): Define using libm_alias_float.
30640 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
30641 <libm-alias-float.h>.
30642 (llroundf): Define using libm_alias_float.
30643 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
30644 (logbf): Define using libm_alias_float.
30645 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
30646 (lrintf): Define using libm_alias_float.
30647 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
30648 (lroundf): Define using libm_alias_float.
30649 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
30650 (modff): Define using libm_alias_float.
30651 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
30652 <libm-alias-float.h>.
30653 (nearbyintf): Define using libm_alias_float.
30654 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
30655 <libm-alias-float.h>.
30656 (nextafterf): Define using libm_alias_float.
30657 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
30658 <libm-alias-float.h>.
30659 (nextupf): Define using libm_alias_float.
30660 * sysdeps/ieee754/flt-32/s_remquof.c: Include
30661 <libm-alias-float.h>.
30662 (remquof): Define using libm_alias_float.
30663 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
30664 (rintf): Define using libm_alias_float.
30665 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
30666 <libm-alias-float.h>.
30667 (roundevenf): Define using libm_alias_float.
30668 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
30669 (roundf): Define using libm_alias_float.
30670 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
30671 using libm_alias_float.
30672 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
30673 <libm-alias-float.h>.
30674 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
30675 Define using libm_alias_float.
30676 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
30677 <libm-alias-float.h>.
30678 (sincosf): Define using libm_alias_float.
30679 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
30680 (sinf): Define using libm_alias_float.
30681 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
30682 (tanf): Define using libm_alias_float.
30683 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
30684 (tanhf): Define using libm_alias_float.
30685 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
30686 <libm-alias-float.h>.
30687 (totalorderf): Define using libm_alias_float.
30688 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
30689 <libm-alias-float.h>.
30690 (totalordermagf): Define using libm_alias_float.
30691 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
30692 (truncf): Define using libm_alias_float.
30693 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
30695 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
30698 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30701 math/math.h: Let fpclassify use the builtin in C++ mode, even
30702 when optimazing for size.
30704 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30706 * csu/Makefile (generated): Do not add version-info.h.
30707 (before-compile): Likewise.
30708 (all-Banner-files): Remove variable.
30709 ($(objpfx)version-info.h): Remove rule.
30710 * csu/version.c (banner): Do not include "version-info.h".
30711 * libidn/Banner: Remove.
30712 * manual/contrib.texi (Simon Josefsson): New entry.
30714 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30716 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30717 Remove conditionals on LDBL_MANT_DIG.
30718 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30719 (__ieee754_lgammal_r): Likewise.
30721 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30723 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
30725 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
30726 _Float128 and L(). Replace _Float128 with long double and L(x)
30727 with xL, throughout the file.
30728 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30729 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30730 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30731 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30733 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30735 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
30736 sysdeps/ieee754/ldbl-128ibm.
30737 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
30738 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
30739 of including it. Keep _Float128 and L() intact. These will be
30740 reviewed by a separate patch.
30741 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30742 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30743 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30744 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30746 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
30749 (__finitef128): Define to __redirect___finitef128.
30750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
30751 (__isinff128): Define to __redirect___isinff128.
30752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
30753 (__isnanf128): Define to __redirect___isnanf128.
30755 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30757 * sysdeps/powerpc/powerpc64le/Makefile
30758 (CFLAGS-tst-strtod-nan-locale.c): New variable.
30759 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
30761 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
30762 Carlos O'Donell <carlos@redhat.com>
30765 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
30766 * stdlib/test-dlclose-exit-race.c: New file.
30767 * stdlib/test-dlclose-exit-race-helper.c: New file.
30768 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
30770 2017-09-21 Joseph Myers <joseph@codesourcery.com>
30772 * crypt/Banner: Remove file.
30773 * nptl/Banner: Likewise.
30774 * resolv/Banner: Likewise.
30775 * soft-fp/Banner: Likewise.
30776 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
30777 ($(objpfx)version.d): Remove dependency on banner.h.
30778 ($(objpfx)version.os): Likewise.
30779 * nptl/version.c (banner): Do not include banner.h.
30780 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
30781 Jelinek and BIND code.
30783 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30784 Carlos O'Donell <carlos@redhat.com>
30786 * support/xdlfcn.h: New file.
30787 * support/xdlfcn.c: New file.
30788 * support/Makefile (libsupport-routines): Add xdlfcn.
30789 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
30791 2017-09-20 Joseph Myers <joseph@codesourcery.com>
30794 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30795 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
30796 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
30797 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
30798 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
30799 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
30800 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
30801 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
30803 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30804 Ricky Zhou <rickyz@google.com>
30805 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
30808 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
30810 (__new_exitfn): Fail registration when we finished at_exit processing.
30811 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30812 * stdlib/on_exit.c (__on_exit): Likewise.
30813 * stdlib/exit.c (__exit_funcs_done): New variable.
30814 (__run_exit_handlers): Use __exit_funcs_lock.
30815 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
30817 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
30818 (test-cxa_atexit-race, test-on_exit-race): New tests.
30819 * stdlib/test-atexit-race-common.c: New file.
30820 * stdlib/test-atexit-race.c: New file.
30821 * stdlib/test-at_quick_exit-race.c: New file.
30822 * stdlib/test-cxa_atexit-race.c: New file.
30823 * stdlib/test-on_exit-race.c: New file.
30825 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
30827 * benchtests/Makefile: Add exp2f and log2f benchmarks.
30828 * benchtests/exp2f-inputs: Copy of expf-inputs.
30829 * benchtests/log2f-inputs: Copy of logf-inputs.
30831 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30833 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
30834 Explicitly take address of first element of array arguments in
30835 call to INLINE_SYSCALL.
30837 2017-09-19 Andreas Schwab <schwab@suse.de>
30840 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
30842 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
30844 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
30845 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
30846 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30847 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
30848 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30849 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30850 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30851 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30852 * posix/Makefile (tests): Add tst-fexecve.
30853 * posix/tst-fexecve.c: New file.
30855 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30857 * benchtests/Makefile: Add logf benchmark.
30858 * benchtests/logf-inputs: Add reduced trace from wrf_r.
30860 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30862 * benchtests/Makefile: Add expf benchmark.
30863 * benchtests/expf-inputs: Add reduced trace from wrf_r.
30865 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30867 * csu/Makefile: Add -funwind-tables to libc-start.c.
30868 * debug/Makefile: Add -funwind-tables to backtrace.c.
30869 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
30870 * sysdeps/arm/Makefile: Likewise.
30871 * sysdeps/i386/Makefile: Likewise.
30872 * sysdeps/m68k/Makefile: Likewise.
30873 * sysdeps/mips/Makefile: Likewise.
30874 * sysdeps/nios2/Makefile: Likewise.
30875 * sysdeps/sh/Makefile: Likewise.
30876 * sysdeps/sparc/Makefile: Likewise.
30878 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30880 * benchtests/Makefile (bench-math): Add trunc and truncf.
30881 (CFLAGS-bench-trunc.c): New variable.
30882 (CFLAGS-bench-truncf.c): Likewise.
30883 * benchtests/trunc-inputs: New file.
30884 * benchtests/truncf-inputs: Likewise.
30886 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30888 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30890 2017-09-18 Joseph Myers <joseph@codesourcery.com>
30892 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30893 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30895 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30896 (exp10l): Define as weak alias.
30897 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30898 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30900 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30901 (remainderl): Define as weak alias.
30903 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30904 (fmal): Define using libm_alias_ldouble.
30905 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30906 (acoshl): Define using libm_alias_ldouble.
30907 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30908 (acosl): Define using libm_alias_ldouble.
30909 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30910 (asinl): Define using libm_alias_ldouble.
30911 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30912 (atan2l): Define using libm_alias_ldouble.
30913 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30914 (atanhl): Define using libm_alias_ldouble.
30915 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30916 (coshl): Define using libm_alias_ldouble.
30917 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30918 (exp10l): Define using libm_alias_ldouble.
30919 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30920 (exp2l): Define using libm_alias_ldouble.
30921 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30922 (expl): Define using libm_alias_ldouble.
30923 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30924 (fmodl): Define using libm_alias_ldouble.
30925 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30926 (hypotl): Define using libm_alias_ldouble.
30927 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30928 (j0l): Define using libm_alias_ldouble.
30930 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30931 (j1l): Define using libm_alias_ldouble.
30933 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30934 (jnl): Define using libm_alias_ldouble.
30936 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30937 (log10l): Define using libm_alias_ldouble.
30938 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30939 (log2l): Define using libm_alias_ldouble.
30940 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30941 (logl): Define using libm_alias_ldouble.
30942 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30943 (powl): Define using libm_alias_ldouble.
30944 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30945 (remainderl): Define using libm_alias_ldouble.
30946 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30947 (sinhl): Define using libm_alias_ldouble.
30948 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30949 (sqrtl): Define using libm_alias_ldouble.
30950 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30951 (tgammal): Define using libm_alias_ldouble.
30952 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30953 (exp10l): Do not use long_double_symbol here.
30954 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30955 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30956 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30957 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30958 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30959 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30960 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30961 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30962 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30963 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30964 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30965 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30966 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30967 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30968 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30969 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30970 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30971 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30972 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30973 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30974 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30975 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30977 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30979 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30980 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30982 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30984 * io/read.c (read): Add libc_hidden_weak.
30985 * sysdeps/mach/hurd/read.c (read): Likewise.
30986 * io/write.c (write): Likewise.
30987 * sysdeps/mach/hurd/write.c (write): Likewise.
30988 * io/pread64.c (__pread64): Likewise.
30989 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30990 * posix/pread64.c (__pread64): Add libc_hidden_def.
30992 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30994 * benchtests/scripts/compare_strings.py: New option -g.
30995 (draw_graph): Print a message that a graph is being generated.
30996 (process_results): Generate graph only if -g is passed.
30997 (main): Process option -g.
30999 * benchtests/scripts/compare_strings.py (process_results):
31000 Better spacing for output.
31002 * benchtests/scripts/compare_strings.py: Use argparse.
31003 * benchtests/README: Document existence of compare_strings.py.
31005 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31007 * math/s_fma.c: Include <libm-alias-double.h>.
31008 (fma): Define using libm_alias_double.
31009 * math/s_nextafter.c: Include <libm-alias-double.h>.
31010 (nextafter): Define using libm_alias_double.
31011 * math/w_acos_compat.c: Include <libm-alias-double.h>.
31012 (acos): Define using libm_alias_double.
31013 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
31014 (aocsh): Define using libm_alias_double.
31015 * math/w_asin_compat.c: Include <libm-alias-double.h>.
31016 (asin): Define using libm_alias_double.
31017 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
31018 (atan2): Define using libm_alias_double.
31019 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
31020 (atanh): Define using libm_alias_double.
31021 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
31022 (cosh): Define using libm_alias_double.
31023 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
31024 (exp10): Define using libm_alias_double.
31025 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
31026 (exp2): Define using libm_alias_double.
31027 * math/w_exp_compat.c: Include <libm-alias-double.h>.
31028 (exp): Define using libm_alias_double.
31029 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
31030 (fmod): Define using libm_alias_double.
31031 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
31032 (hypot): Define using libm_alias_double.
31033 * math/w_j0_compat.c: Include <libm-alias-double.h>.
31034 (j0): Define using libm_alias_double.
31036 * math/w_j1_compat.c: Include <libm-alias-double.h>.
31037 (j1): Define using libm_alias_double.
31039 * math/w_jn_compat.c: Include <libm-alias-double.h>.
31040 (jn): Define using libm_alias_double.
31042 * math/w_log10_compat.c: Include <libm-alias-double.h>.
31043 (log10): Define using libm_alias_double.
31044 * math/w_log2_compat.c: Include <libm-alias-double.h>.
31045 (log2): Define using libm_alias_double.
31046 * math/w_log_compat.c: Include <libm-alias-double.h>.
31047 (log): Define using libm_alias_double.
31048 * math/w_pow_compat.c: Include <libm-alias-double.h>.
31049 (pow): Define using libm_alias_double.
31050 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
31051 (remainder): Define using libm_alias_double.
31052 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
31053 (sinh): Define using libm_alias_double.
31054 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
31055 (sqrt): Define using libm_alias_double.
31056 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
31057 (tgamma): Define using libm_alias_double.
31058 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
31059 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
31060 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
31061 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
31062 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
31063 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
31064 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
31065 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
31066 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
31067 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
31068 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
31069 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
31070 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
31071 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
31072 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
31073 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
31074 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
31075 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
31076 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
31077 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
31078 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
31079 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
31080 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
31081 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
31082 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
31084 * math/e_acoshl.c: Remove.
31085 * math/e_acosl.c: Likewise.
31086 * math/e_asinl.c: Likewise.
31087 * math/e_atan2l.c: Likewise.
31088 * math/e_atanhl.c: Likewise.
31089 * math/e_coshl.c: Likewise.
31090 * math/e_expl.c: Likewise.
31091 * math/e_fmodl.c: Likewise.
31092 * math/e_gammal_r.c: Likewise.
31093 * math/e_hypotl.c: Likewise.
31094 * math/e_j0l.c: Likewise.
31095 * math/e_j1l.c: Likewise.
31096 * math/e_jnl.c: Likewise.
31097 * math/e_lgammal_r.c: Likewise.
31098 * math/e_log10l.c: Likewise.
31099 * math/e_log2l.c: Likewise.
31100 * math/e_logl.c: Likewise.
31101 * math/e_powl.c: Likewise.
31102 * math/e_rem_pio2l.c: Likewise.
31103 * math/e_sinhl.c: Likewise.
31104 * math/e_sqrtf128.c: Likewise.
31105 * math/e_sqrtl.c: Likewise.
31106 * math/k_cosl.c: Likewise.
31107 * math/k_sinl.c: Likewise.
31108 * math/k_tanl.c: Likewise.
31109 * math/s_asinhl.c: Likewise.
31110 * math/s_atanl.c: Likewise.
31111 * math/s_cbrtl.c: Likewise.
31112 * math/s_erfl.c: Likewise.
31113 * math/s_expm1l.c: Likewise.
31114 * math/s_log1pl.c: Likewise.
31115 * math/s_tanhl.c: Likewise.
31117 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31120 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
31121 [$(subdir) = math] (sysdep_calls): New variable. Has the
31122 previous contents of sysdep_routines, but re-sorted..
31123 [$(subdir) = math] (sysdep_routines): Re-use the contents from
31125 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
31126 defined in sysdep_calls and replace by the respective m_* names.
31127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
31128 (compat_symbol): Undefine to avoid duplicated compat symbols in
31131 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31133 * math/s_fmaf.c: Include <libm-alias-float.h>.
31134 (fmaf): Define using libm_alias_float.
31135 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
31136 (acosf): Define using libm_alias_float.
31137 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
31138 (acoshf): Define using libm_alias_float.
31139 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
31140 (asinf): Define using libm_alias_float.
31141 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
31142 (atan2f): Define using libm_alias_float.
31143 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
31144 (atanhf): Define using libm_alias_float.
31145 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
31146 (coshf): Define using libm_alias_float.
31147 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
31148 (exp10f): Define using libm_alias_float.
31149 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
31150 (fmodf): Define using libm_alias_float.
31151 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
31152 (hypotf): Define using libm_alias_float.
31153 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
31154 (j0f): Define using libm_alias_float.
31156 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
31157 (j1f): Define using libm_alias_float.
31159 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
31160 (jnf): Define using libm_alias_float.
31162 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
31163 (log10f): Define using libm_alias_float.
31164 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
31165 (log2f): Define using libm_alias_float.
31166 * math/w_logf_compat.c: Include <libm-alias-float.h>.
31167 (logf): Define using libm_alias_float.
31168 * math/w_powf_compat.c: Include <libm-alias-float.h>.
31169 (powf): Define using libm_alias_float.
31170 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
31171 (remainderf): Define using libm_alias_float.
31172 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
31173 (sinhf): Define using libm_alias_float.
31174 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
31175 (sqrtf): Define using libm_alias_float.
31176 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
31177 (tgammaf): Define using libm_alias_float.
31179 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31181 * include/math.h (roundeven): Change hidden_proto call to
31183 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
31185 [NO_LONG_DOUBLE] (__j0l): New strong alias.
31186 (y0): Rename to __y0 and define as weak alias.
31187 [NO_LONG_DOUBLE] (__y0l): New strong alias.
31188 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
31190 (y0f): Rename to __y0f and define as weak alias.
31191 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
31193 [NO_LONG_DOUBLE] (__j1l): New strong alias.
31194 (y1): Rename to __y1 and define as weak alias.
31195 [NO_LONG_DOUBLE] (__y1l): New strong alias.
31196 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
31198 (y1f): Rename to __y1f and define as weak alias.
31199 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
31201 [NO_LONG_DOUBLE] (__jnl): New strong alias.
31202 (yn): Rename to __yn and define as weak alias.
31203 [NO_LONG_DOUBLE] (__ynl): New strong alias.
31204 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
31206 (ynf): Rename to __ynf and define as weak alias.
31207 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
31208 (fromfp): Define as weak alias.
31209 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
31210 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
31211 (fromfpx): Define as weak alias.
31212 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
31213 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
31214 __getpayload and define as weak alias.
31215 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31216 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
31217 __roundeven and define as weak alias.
31218 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31219 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
31221 (setpayload): Define as weak alias.
31222 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
31223 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
31225 (setpayloadsig): Define as weak alias.
31226 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
31227 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
31228 __totalorder and define as weak alias.
31229 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31230 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
31231 to __totalordermag and define as weak alias.
31232 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31233 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
31234 (ufromfp): Define as weak alias.
31235 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
31236 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
31238 (ufromfpx): Define as weak alias.
31239 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
31240 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
31241 Rename to __getpayload and define as weak alias.
31242 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31243 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
31244 Rename to __roundeven and define as weak alias.
31245 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31246 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
31247 Rename to __totalorder and define as weak alias.
31248 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31249 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
31250 (totalordermag): Rename to __totalordermag and define as weak
31252 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31253 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
31255 (__roundevenl): Likewise.
31256 (__totalorderl): Likewise.
31257 (__totalordermagl): Likewise
31258 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
31260 (fromfpf128): Define as weak alias.
31261 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
31263 (fromfpxf128): Define as weak alias.
31264 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
31266 (setpayloadf128): Define as weak alias.
31267 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
31268 __setpayloadsigf128.
31269 (setpayloadsigf128): Define as weak alias.
31270 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
31272 (ufromfpf128): Define as weak alias.
31273 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
31275 (ufromfpxf128): Define as weak alias.
31276 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
31277 (fromfpf): Define as weak alias.
31278 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
31280 (fromfpxf): Define as weak alias.
31281 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
31282 __getpayloadf and define as weak alias.
31283 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
31284 __roundevenf and define as weak alias.
31285 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
31287 (setpayloadf): Define as weak alias.
31288 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
31290 (setpayloadsigf): Define as weak alias.
31291 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
31292 __totalorderf and define as weak alias.
31293 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
31294 Rename to __totalordermagf and define as weak alias.
31295 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
31297 (ufromfpf): Define as weak alias.
31298 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
31300 (ufromfpxf): Define as weak alias.
31301 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
31303 (fromfpl): Define as weak alias.
31304 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
31306 (fromfpxl): Define as weak alias.
31307 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
31308 to __getpayloadl and define as weak alias.
31309 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
31310 __roundevenl and define as weak alias.
31311 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
31313 (setpayloadl): Define as weak alias.
31314 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
31316 (setpayloadsigl): Define as weak alias.
31317 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
31318 to __totalorderl and define as weak alias.
31319 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
31320 Rename to __totalordermagl and define as weak alias.
31321 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
31323 (ufromfpl): Define as weak alias.
31324 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
31326 (ufromfpxl): Define as weak alias.
31327 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
31329 (fromfpl): Define as weak alias.
31330 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
31332 (fromfpxl): Define as weak alias.
31333 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
31334 Rename to __getpayloadl and define as weak alias.
31335 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
31336 to __roundevenl and define as weak alias. Call __roundeven
31337 instead of roundeven.
31338 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
31340 (setpayloadl): Define as weak alias.
31341 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
31343 (setpayloadsigl): Define as weak alias.
31344 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
31345 Rename to __totalorderl and define as weak alias.
31346 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
31347 Rename to __totalordermagl and define as weak alias.
31348 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
31350 (ufromfpl): Define as weak alias.
31351 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
31353 (ufromfpxl): Define as weak alias.
31354 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
31356 (fromfpl): Define as weak alias.
31357 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
31359 (fromfpxl): Define as weak alias.
31360 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
31361 __getpayloadl and define as weak alias.
31362 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
31363 __roundevenl and define as weak alias.
31364 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
31366 (setpayloadl): Define as weak alias.
31367 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
31369 (setpayloadsigl): Define as weak alias.
31370 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
31371 __totalorderl and define as weak alias.
31372 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
31373 Rename to __totalordermagl and define as weak alias.
31374 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
31376 (ufromfpl): Define as weak alias.
31377 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
31379 (ufromfpxl): Define as weak alias.
31381 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
31383 * benchtests/bench-string.h (realloc_bufs): New function.
31384 (test_init): Call it.
31385 * benchtests/bench-memset-large.c (do_test): Likewise.
31386 * benchtests/bench-memset.c (do_test): Likewise.
31388 * benchtests/bench-memset-large.c: Print output in JSON
31390 * benchtests/bench-memset.c: Likewise.
31392 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31395 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
31396 * iconvdata/Makefile: Add IBM858.
31397 * iconvdata/gconv-modules: Likewise.
31398 * iconvdata/tst-tables.sh: Likewise.
31399 * iconvdata/ibm858.c: New file.
31400 * localedata/charmaps/IBM858: Likewise.
31402 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
31405 * locales/niu_NZ (LC_TIME): copy "niu_NU".
31406 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
31408 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31411 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
31412 and add tel_int_fmt.
31414 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31416 * sysdeps/generic/libm-alias-float128.h: New file.
31417 * sysdeps/generic/math-type-macros-float128.h: Include
31418 <libm-alias-float128.h>.
31419 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31421 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31423 * sysdeps/generic/libm-alias-ldouble.h: New file.
31424 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
31425 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
31426 * sysdeps/generic/math-type-macros-ldouble.h: Include
31427 <libm-alias-ldouble.h>.
31428 [!declare_mgen_alias] (declare_mgen_alias): Define to use
31429 libm_alias_ldouble.
31431 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
31433 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
31434 * math/w_exp_compat.c: ... here.
31435 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
31436 * math/w_expf_compat.c: ... here.
31437 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
31438 * math/w_expl_compat.c: ... here.
31439 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
31440 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
31441 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
31442 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31444 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31446 * math/w_scalbln_template.c (strong_alias): Do not undefine and
31448 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
31450 (ldexpl): Only define as compat symbol for libc, not libm.
31451 (scalbnl): Define as compat symbol for libc here.
31452 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
31453 define for [IS_IN (libc)].
31454 (__ldexpl_2): Remove alias.
31455 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
31456 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
31457 name in long_double_symbol call.
31458 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
31459 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31460 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31461 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
31462 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
31464 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
31465 Define as compat symbol.
31467 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31469 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
31470 * sysdeps/unix/sysv/linux/alpha/Makefile
31471 [$(subdir) = csu] (sysdep_routines): Remove rule.
31473 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31475 * sysdeps/generic/libm-alias-double.h: New file.
31476 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
31477 * sysdeps/generic/math-type-macros-double.h: Include
31478 <libm-alias-double.h>.
31479 [declare_mgen_alias] (declare_mgen_alias): Define to use
31481 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
31482 (M_LIBM_NEED_COMPAT): Remove macro.
31483 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
31484 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
31485 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
31487 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31488 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31489 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31490 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31491 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31492 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31493 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31494 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31495 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31496 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31497 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31498 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31499 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31500 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31501 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31502 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31503 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31504 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31505 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31506 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31507 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31508 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31509 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31510 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31511 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31512 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31513 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31514 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
31515 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
31517 (declare_mgen_alias): New macro.
31518 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
31519 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
31520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
31521 (M_LIBM_NEED_COMPAT): Remove macro.
31522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
31523 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
31524 <first-versions.h>.
31525 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
31526 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
31528 2017-09-12 Joseph Myers <joseph@codesourcery.com>
31530 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
31531 (declare_mgen_alias_2): Remove.
31532 * sysdeps/generic/math-type-macros-double.h
31533 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
31535 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
31537 (ldexp): Define with declare_mgen_alias.
31538 (scalbn): Likewise.
31540 2017-09-12 Steve Ellcey <sellcey@cavium.com>
31542 * grp/initgroups.c: Include config.h.
31543 (DEFAULT_CONFIG): New macro.
31544 (internal_getgrouplist): Use DEFAULT_CONFIG.
31545 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31546 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
31547 (DEFAULT_DEFCONFIG): New macro.
31548 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
31549 * nss/grp-lookup.c: Include config.h
31550 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
31551 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
31552 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
31553 * manual/nss.texi: Update default values section.
31555 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
31558 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
31560 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
31561 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31562 Handle MathVec_Prefer_No_AVX512.
31563 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
31564 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
31567 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
31569 * posix/sched_primax.c (__sched_get_priority_max): Add
31571 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
31572 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31573 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31574 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
31575 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
31576 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
31577 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
31578 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
31581 2017-09-11 Joseph Myers <joseph@codesourcery.com>
31583 * sysdeps/generic/libm-alias-float.h: New file.
31584 * sysdeps/generic/math-type-macros-float.h: Include
31585 <libm-alias-float.h>.
31586 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31588 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
31591 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
31592 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
31593 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
31594 (HWCAP_IMPORTANT): Likewise.
31595 (HWCAP_X86_64): New enum.
31596 (HWCAP_X86_AVX512_1): Updated.
31597 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
31598 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
31599 (modules-names): Add x86_64/tst-x86_64mod-1.
31600 (LDFLAGS-tst-x86_64mod-1.so): New.
31601 ($(objpfx)tst-x86_64-1): Likewise.
31602 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
31603 (tst-x86_64-1-clean): Likewise.
31604 * sysdeps/x86_64/tst-x86_64-1.c: New file.
31605 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
31607 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31609 * po/sv.po: Update translations.
31610 * po/fr.po: Likewise.
31612 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31614 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
31616 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
31618 * elf/rtld-Rules: Fix $(error) use.
31620 2017-09-09 Mike FABIAN <mfabian@redhat.com>
31623 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
31624 * locale/iso-639.def: Change “Bengali” to “Bangla”.
31625 * localedata/locales/bn_BD: “Bengali” was still used in some
31626 comments. Change it to “Bangla”.
31628 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
31630 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
31632 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31634 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
31635 thunderx2t99p1 to list of cpu names.
31636 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31637 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
31639 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31641 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
31642 Use strcmp instead of tunable_is_name.
31644 2017-09-08 Joseph Myers <joseph@codesourcery.com>
31646 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31647 (F_GET_RW_HINT): New macro.
31648 [__USE_GNU] (F_SET_RW_HINT): Likewise.
31649 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
31650 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
31651 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
31652 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
31653 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
31654 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
31655 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
31656 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
31658 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31659 (F_ADD_SEALS): New macro.
31660 [__USE_GNU] (F_GET_SEALS): Likewise.
31661 [__USE_GNU] (F_SEAL_SEAL): Likewise.
31662 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
31663 [__USE_GNU] (F_SEAL_GROW): Likewise.
31664 [__USE_GNU] (F_SEAL_WRITE): Likewise.
31666 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31668 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
31669 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
31670 * posix/glob_internal.h (__glob_pattern_type):
31671 * posix/glob.c (glob):
31672 * posix/glob_pattern_p.c (__glob_pattern_p):
31675 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
31676 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31677 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
31678 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
31679 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
31681 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
31682 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
31683 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31684 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31685 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31686 * sysdeps/wordsize-64/glob.c: Likewise.
31687 * sysdeps/wordsize-64/glob64.c: Likewise.
31688 * sysdeps/wordsize-64/globfree.c: Likewise.
31689 * sysdeps/wordsize-64/globfree64.c: Likewise.
31690 * sysdeps/unix/sysv/linux/glob.c: New file.
31691 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
31692 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
31693 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
31694 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31695 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
31696 adds !GLOB_NO_OLD_VERSION as an extra condition.
31697 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
31698 using relative path instead of absolute one.
31699 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
31700 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31701 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31702 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
31703 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
31704 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
31707 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
31708 (glob): Use the same scratch buffer for both getlogin_r and
31709 getpwnam_r. Don’t require preallocation of the login name. This
31710 simplifies storage allocation, and corrects the handling of
31714 * posix/glob.c (glob): Port recent patches to platforms
31715 lacking getpwnam_r.
31716 (glob): Fix longstanding misuse of errno after getpwnam_r, which
31717 returns an error number rather than setting errno.
31719 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
31720 instead of GCC extension.
31721 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
31722 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
31723 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
31727 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
31728 * posix/bug-glob1.c: Remove file.
31729 * posix/tst-glob_symlinks.c: New file.
31730 * posix/glob.c (__lstat64): New macro.
31731 (is_dir): New function.
31732 (glob, glob_in_dir): Match symlinks even if they are dangling.
31733 (link_stat, link_exists_p): Remove. All uses removed.
31737 * posix/glob.c (struct readdir_result): Remove skip_entry member.
31738 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
31743 * posix/Makefile (routines): Add globfree, globfree64, and
31745 * posix/flexmember.h: New file.
31746 * posix/glob_internal.h: Likewise.
31747 * posix/glob_pattern_p.c: Likewise.
31748 * posix/globfree.c: Likewise.
31749 * posix/globfree64.c: Likewise.
31750 * sysdeps/gnu/globfree64.c: Likewise.
31751 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
31752 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31753 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
31754 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31755 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31756 * sysdeps/wordsize-64/globfree.c: Likewise.
31757 * sysdeps/wordsize-64/globfree64.c: Likewise.
31758 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
31759 [NDEBUG): Remove comments.
31760 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
31761 (dirent_type): New type. Use uint_fast8_t not
31762 uint8_t, as C99 does not require uint8_t.
31763 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
31764 (struct readdir_result): Use dirent_type. Do not define skip_entry
31765 unless it is needed; this saves a byte on platforms lacking d_ino.
31766 (readdir_result_type, readdir_result_skip_entry):
31767 New functions, replacing ...
31768 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
31769 these functions, which were removed. This makes the callers
31770 easier to read. All callers changed.
31771 (D_INO_TO_RESULT): Now empty if there is no d_ino.
31772 (size_add_wrapv, glob_use_alloca): New static functions.
31773 (glob, glob_in_dir): Check for size_t overflow in several places,
31774 and fix some size_t checks that were not quite right.
31775 Remove old code using SHELL since Bash no longer
31777 (glob, prefix_array): Separate MS code better.
31778 (glob_in_dir): Remove old Amiga and VMS code.
31779 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
31781 (glob_in_dir): Do not rely on undefined behavior in accessing
31782 struct members beyond their bounds. Use a flexible array member
31784 (link_stat): Rename from link_exists2_p and return -1/0 instead of
31785 0/1. Caller changed.
31786 (glob): Fix memory leaks.
31787 * posix/glob64 (globfree64): Move to separate file.
31788 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
31789 (globfree64): Remove hidden alias.
31790 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
31792 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
31794 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
31796 Move compat code to separate file.
31797 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
31800 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
31802 * resolv/tst-resolv-qtypes.c (domain): Changed to
31803 "const char domain[] =".
31805 2017-09-07 Joseph Myers <joseph@codesourcery.com>
31807 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
31810 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
31811 (TCP_MD5SIG_EXT): Likewise.
31812 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
31813 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
31814 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
31816 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
31818 2017-09-07 Mike FABIAN <mfabian@redhat.com>
31820 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
31822 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
31825 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
31827 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31829 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
31830 before assuming that the file is empty. Avoid testing buffer content
31833 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31836 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31838 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
31840 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
31842 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
31844 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31846 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
31848 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
31851 2017-09-06 Florian Weimer <fweimer@redhat.com>
31853 * malloc/dynarray_emplace_enlarge.c
31854 (__libc_dynarray_emplace_enlarge): Add missing else.
31856 2017-09-06 Florian Weimer <fweimer@redhat.com>
31859 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
31860 case of failure to obtain the global conf object.
31862 2017-09-06 Florian Weimer <fweimer@redhat.com>
31865 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
31866 dynarray allocation failure.
31868 2017-09-06 Florian Weimer <fweimer@redhat.com>
31870 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
31871 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
31872 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
31874 (response): Call them. Add 'p', '6' flag processing.
31875 (test_reverse): New function.
31876 (test_get2_any): Call it.
31877 (test_no_inet6): Add 'p' test.
31878 (test_inet6): Likewise.
31880 2017-09-06 Florian Weimer <fweimer@redhat.com>
31882 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
31883 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
31885 (test_gai): Adjust query names. Add additional tests.
31886 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
31887 test_get2. Adjust query names. Add additional tests.
31888 (test_no_inet6): New function, extracted from threadfunc.
31889 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31890 Add additional tests.
31892 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31895 * localedata/unicode-gen/utf8_gen.py: Set the width for
31896 characters with Prepended_Concatenation_Mark property to 1
31897 * localedata/charmaps/UTF-8: Updated using the improved script.
31899 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31902 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31903 use the range notation for all ranges of neighbouring characters
31904 with the same width.
31906 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31908 * sysdeps/generic/math-type-macros-double.h: Include
31909 <math-svid-compat.h>.
31910 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31911 * sysdeps/generic/math-type-macros-float.h: Include
31912 <math-svid-compat.h>.
31913 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31914 * sysdeps/generic/math-type-macros-ldouble.h: Include
31915 <math-svid-compat.h>.
31916 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31917 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31919 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31920 * math/w_acosf_compat.c: Likewise.
31921 * math/w_acosh_compat.c: Likewise.
31922 * math/w_acoshf_compat.c: Likewise.
31923 * math/w_acoshl_compat.c: Likewise.
31924 * math/w_acosl_compat.c: Likewise.
31925 * math/w_asin_compat.c: Likewise.
31926 * math/w_asinf_compat.c: Likewise.
31927 * math/w_asinl_compat.c: Likewise.
31928 * math/w_atan2_compat.c: Likewise.
31929 * math/w_atan2f_compat.c: Likewise.
31930 * math/w_atan2l_compat.c: Likewise.
31931 * math/w_atanh_compat.c: Likewise.
31932 * math/w_atanhf_compat.c: Likewise.
31933 * math/w_atanhl_compat.c: Likewise.
31934 * math/w_cosh_compat.c: Likewise.
31935 * math/w_coshf_compat.c: Likewise.
31936 * math/w_coshl_compat.c: Likewise.
31937 * math/w_exp10_compat.c: Likewise.
31938 * math/w_exp10f_compat.c: Likewise.
31939 * math/w_exp10l_compat.c: Likewise.
31940 * math/w_exp2_compat.c: Likewise.
31941 * math/w_exp2f_compat.c: Likewise.
31942 * math/w_exp2l_compat.c: Likewise.
31943 * math/w_fmod_compat.c: Likewise.
31944 * math/w_fmodf_compat.c: Likewise.
31945 * math/w_fmodl_compat.c: Likewise.
31946 * math/w_hypot_compat.c: Likewise.
31947 * math/w_hypotf_compat.c: Likewise.
31948 * math/w_hypotl_compat.c: Likewise.
31949 * math/w_j0_compat.c: Likewise.
31950 * math/w_j0f_compat.c: Likewise.
31951 * math/w_j0l_compat.c: Likewise.
31952 * math/w_j1_compat.c: Likewise.
31953 * math/w_j1f_compat.c: Likewise.
31954 * math/w_j1l_compat.c: Likewise.
31955 * math/w_jn_compat.c: Likewise.
31956 * math/w_jnf_compat.c: Likewise.
31957 * math/w_jnl_compat.c: Likewise.
31958 * math/w_lgamma_r_compat.c: Likewise.
31959 * math/w_lgammaf_r_compat.c: Likewise.
31960 * math/w_lgammal_r_compat.c: Likewise.
31961 * math/w_log10_compat.c: Likewise.
31962 * math/w_log10f_compat.c: Likewise.
31963 * math/w_log10l_compat.c: Likewise.
31964 * math/w_log2_compat.c: Likewise.
31965 * math/w_log2f_compat.c: Likewise.
31966 * math/w_log2l_compat.c: Likewise.
31967 * math/w_log_compat.c: Likewise.
31968 * math/w_logf_compat.c: Likewise.
31969 * math/w_logl_compat.c: Likewise.
31970 * math/w_pow_compat.c: Likewise.
31971 * math/w_powf_compat.c: Likewise.
31972 * math/w_powl_compat.c: Likewise.
31973 * math/w_remainder_compat.c: Likewise.
31974 * math/w_remainderf_compat.c: Likewise.
31975 * math/w_remainderl_compat.c: Likewise.
31976 * math/w_sinh_compat.c: Likewise.
31977 * math/w_sinhf_compat.c: Likewise.
31978 * math/w_sinhl_compat.c: Likewise.
31979 * math/w_sqrt_compat.c: Likewise.
31980 * math/w_sqrtf_compat.c: Likewise.
31981 * math/w_sqrtl_compat.c: Likewise.
31982 * math/w_tgamma_compat.c: Likewise.
31983 * math/w_tgammaf_compat.c: Likewise.
31984 * math/w_tgammal_compat.c: Likewise.
31985 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31986 [LIBM_SVID_COMPAT].
31987 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31988 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31989 [LIBM_SVID_COMPAT].
31990 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31991 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31992 [LIBM_SVID_COMPAT].
31993 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31994 * sysdeps/i386/fpu/w_sqrt.c: New file.
31995 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31996 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31997 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31998 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31999 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
32000 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
32001 * sysdeps/ia64/fpu/w_asin.c: Likewise.
32002 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
32003 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
32004 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
32005 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
32006 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
32007 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
32008 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
32009 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
32010 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
32011 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
32012 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
32013 * sysdeps/ia64/fpu/w_exp.c: Likewise.
32014 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
32015 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
32016 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
32017 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
32018 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
32019 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
32020 * sysdeps/ia64/fpu/w_expf.c: Likewise.
32021 * sysdeps/ia64/fpu/w_expl.c: Likewise.
32022 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
32023 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
32024 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
32025 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
32026 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
32027 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
32028 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
32029 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
32030 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
32031 * sysdeps/ia64/fpu/w_log.c: Likewise.
32032 * sysdeps/ia64/fpu/w_log10.c: Likewise.
32033 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
32034 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
32035 * sysdeps/ia64/fpu/w_log2.c: Likewise.
32036 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
32037 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
32038 * sysdeps/ia64/fpu/w_logf.c: Likewise.
32039 * sysdeps/ia64/fpu/w_logl.c: Likewise.
32040 * sysdeps/ia64/fpu/w_pow.c: Likewise.
32041 * sysdeps/ia64/fpu/w_powf.c: Likewise.
32042 * sysdeps/ia64/fpu/w_powl.c: Likewise.
32043 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
32044 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
32045 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
32046 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
32047 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
32048 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
32049 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
32050 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
32051 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
32052 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
32053 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
32054 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
32055 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
32056 [LIBM_SVID_COMPAT].
32057 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32058 * sysdeps/ieee754/k_standard.c: Likewise.
32059 * sysdeps/ieee754/k_standardf.c: Likewise.
32060 * sysdeps/ieee754/k_standardl.c: Likewise.
32061 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32062 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32063 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32064 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
32065 long_double_symbol call on [LIBM_SVID_COMPAT].
32066 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32067 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32068 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32069 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32070 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32071 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32072 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32073 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32074 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32075 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32076 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32077 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
32078 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32079 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32080 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32081 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32082 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
32083 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32084 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32085 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32086 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
32087 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
32089 2017-09-05 Steve Ellcey <sellcey@cavium.com>
32091 * include/shlib-compat.h (TEST_COMPAT): New Macro.
32092 * malloc/tst-mallocstate.c: Convert from test-skeleton
32093 to test-driver. Ifdef code using TEST_COMPAT macro.
32094 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
32095 * math/test-matherr.c: Likewise.
32097 2017-09-05 Joseph Myers <joseph@codesourcery.com>
32100 * debug/pcprofiledump.c (main): Use byte-swapped mask when
32101 comparing word with byte-swapped constant.
32103 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
32106 * locale/iso-639.def: add Miskito.
32107 * localedata/SUPPORTED: Add miq_NI/UTF-8.
32108 * localedata/locales/miq_NI: New file.
32110 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
32113 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
32114 (__mkdir): Likewise.
32115 * io/chmod.c (__chmod): Add libc_hidden_def.
32116 * io/mkdir.c (__mkdir): Likewise.
32117 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
32118 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
32119 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
32120 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
32122 2017-09-04 Joseph Myers <joseph@codesourcery.com>
32124 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
32128 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
32129 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
32131 2017-09-04 Florian Weimer <fweimer@redhat.com>
32133 * math/math.h: Issue warning if log is defined.
32135 2017-09-04 Joseph Myers <joseph@codesourcery.com>
32137 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
32138 kernel version to 4.13.
32140 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32142 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
32143 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
32145 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
32146 just <bits/types.h>.
32147 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
32148 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
32149 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
32150 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
32151 * misc/preadv2.c: Include <errno.h>.
32152 * misc/preadv64v2.c: Include <errno.h>.
32153 * misc/pwritev2.c: Include <errno.h>.
32154 * misc/pwritev64v2.c: Include <errno.h>.
32155 * sysdeps/posix/preadv2.c: Include <errno.h>.
32156 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
32157 Fix <unistd.h> inclusion.
32158 * sysdeps/posix/pwritev2.c: Include <errno.h>.
32159 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
32160 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
32161 __strtoul_internal): New functions.
32162 * sysdeps/posix/pause.c: Include <sigsetops.h>.
32163 * sysdeps/posix/system.c: Include <sigsetops.h>.
32164 * sysdeps/mach/hurd/i386/Makefile
32165 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
32166 [$(subdir) = csu] (sysdep-only-routines): Likewise.
32167 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
32168 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
32169 __feraiseexcept_renamed to feraiseexcept instead of
32170 __GI_feraiseexcept.
32171 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
32172 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
32173 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
32174 RWF_NOWAIT): Define to 0 if undefined already.
32175 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
32177 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
32178 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
32180 2017-09-01 Joseph Myers <joseph@codesourcery.com>
32182 * manual/math.texi (pow10): Do not document.
32183 (pow10f): Likewise.
32184 (pow10l): Likewise.
32185 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
32186 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
32187 * math/libm-test-exp10.inc (pow10_test): Remove.
32188 (do_test): Do not call pow10.
32189 * math/w_exp10_compat.c (pow10): Make into compat symbol.
32190 [NO_LONG_DOUBLE] (pow10l): Likewise.
32191 * math/w_exp10f_compat.c (pow10f): Likewise.
32192 * math/w_exp10l_compat.c (pow10l): Likewise.
32193 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
32194 (pow10): Make into compat symbol.
32195 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
32196 (pow10f): Make into compat symbol.
32197 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
32198 (pow10l): Make into compat symbol.
32199 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
32201 (CFLAGS-nldbl-pow10.c): Remove variable..
32202 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
32203 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
32204 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
32205 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
32206 Undefine and redefine.
32207 (pow10l): Make into compat symbol.
32208 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
32209 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32210 * sysdeps/arm/libm-test-ulps: Likewise.
32211 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
32212 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32213 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
32214 * sysdeps/microblaze/libm-test-ulps: Likewise.
32215 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32216 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32217 * sysdeps/nios2/libm-test-ulps: Likewise.
32218 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32219 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32220 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32221 * sysdeps/sh/libm-test-ulps: Likewise.
32222 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32223 * sysdeps/tile/libm-test-ulps: Likewise.
32224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32226 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32228 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
32230 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32232 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
32233 "../ChangeLog.old/ChangeLog.8".
32234 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
32235 "../ChangeLog.old/ChangeLog.14".
32237 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32239 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
32242 2017-09-01 Joseph Myers <joseph@codesourcery.com>
32244 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
32246 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32248 * csu/version.c (banner): Remove "by Roland McGrath et al.".
32249 * nptl/Banner: Remove "by Ulrich Drepper et al.".
32251 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32253 * stdlib/tst-atexit-common.c (do_test): Test support for at least
32254 32 atexit handlers.
32256 2017-09-01 Zack Weinberg <zackw@panix.com>
32258 * math/math.h (HUGE_VAL): Improve commentary.
32260 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32261 Andreas Schwab <schwab@suse.de>
32264 * include/stdio.h (__gen_tempfd): New function.
32265 * stdio-common/Makefile (routines): Add gentempfd.
32266 * stdio-common/gentempfd.c: New file.
32267 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
32268 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
32269 unnamed file first.
32271 2017-09-01 Florian Weimer <fweimer@redhat.com>
32275 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
32276 result to determine success or failure, not the errno value.
32277 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
32278 (tst-nss-files-hosts-erange): Link with -ldl.
32279 * nss/tst-nss-files-hosts-erange.c: New file.
32280 * nss/tst-resolv-basic.c (response): Handle nodata.example.
32281 (do_test): Add NO_DATA tests.
32282 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
32283 (do_test): Call it.
32285 2017-09-01 Florian Weimer <fweimer@redhat.com>
32288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
32289 coming from gethostbyname2_r.
32291 2017-09-01 Florian Weimer <fweimer@redhat.com>
32293 * support/namespace.h (struct support_chroot_configuration): Add
32295 (struct support_chroot): Add path_hosts, path_host_conf.
32296 * support/support_chroot.c (write_file): New function.
32297 (support_chroot_create): Call it to process /etc/resolv.conf,
32298 /etc/hosts, /etc/host.conf.
32299 (support_chroot_free): Update.
32301 2017-09-01 Florian Weimer <fweimer@redhat.com>
32303 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
32304 status indicates it is set.
32306 2017-09-01 Florian Weimer <fweimer@redhat.com>
32309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
32310 function lookup failures more reliable.
32312 2017-09-01 Florian Weimer <fweimer@redhat.com>
32314 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
32315 (getcanonname): Likewise.
32316 (gaih_inet): Likewise.
32318 2017-09-01 Florian Weimer <fweimer@redhat.com>
32320 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
32321 (getcanonname): Likewise.
32322 (gaih_inet): Likewise.
32324 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32325 Richard Henderson <rth@twiddle.net>
32327 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
32328 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
32329 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
32330 (IREG_SIZE, OREG_SIZE): New macros.
32331 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
32332 (IREG_SIZE, OREG_SIZE): New macros.
32333 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
32334 (IREG_SIZE): New macro.
32335 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
32336 (IREG_SIZE): New macro.
32337 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
32339 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
32340 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32341 (__CONCATX): Handle exceptions correctly on large values that may
32343 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
32344 Initialize if not already set.
32345 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32347 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32349 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
32350 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
32352 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
32354 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
32356 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
32358 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
32360 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
32362 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
32364 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
32365 (NO_CANCELLATION): Likewise.
32366 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
32368 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
32370 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
32372 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
32373 (NO_CANCELLATION): Likewise.
32374 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
32375 (NO_CANCELLATION): Likewise.
32376 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
32378 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
32380 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
32382 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
32384 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
32386 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
32387 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
32389 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32391 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
32394 2017-08-31 Florian Weimer <fweimer@redhat.com>
32396 * include/libc-symbols.h (internal_function): Remove.
32398 2017-08-31 Florian Weimer <fweimer@redhat.com>
32400 * stdlib/fmtmsg.c (internal_addseverity): Remove
32403 2017-08-31 Florian Weimer <fweimer@redhat.com>
32405 * stdio-common/printf_fp.c (group_number): Remove
32407 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
32409 2017-08-31 Florian Weimer <fweimer@redhat.com>
32411 * posix/fnmatch.c (internal_function): Remove definition.
32412 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
32413 * posix/regcomp.c (peek_token, init_word_char)
32414 (duplicate_node_closure, fetch_token, peek_token)
32415 (peek_token_bracket, build_range_exp, build_collating_symbol):
32417 * posix/regex_internal.c (re_string_construct_common)
32418 (create_ci_newstate, create_cd_newstate, re_string_allocate)
32419 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
32420 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
32421 (re_string_translate_buffer, re_string_reconstruct)
32422 (re_string_peek_byte_case, re_string_fetch_byte_case)
32423 (re_string_destruct, re_string_context_at, re_node_set_alloc)
32424 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
32425 (re_node_set_add_intersect, re_node_set_init_union)
32426 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
32427 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
32428 (re_dfa_add_node, calc_state_hash, re_acquire_state)
32429 (re_acquire_state_context): Likewise.
32430 * posix/regex_internal.h (internal_function): Remove definition.
32431 (re_string_realloc_buffers, build_wcs_buffer)
32432 (build_wcs_upper_buffer, build_upper_buffer)
32433 (re_string_translate_buffer, re_string_context_at)
32434 (re_string_char_size_at, re_string_wchar_at)
32435 (re_string_elem_size_at): Likewise.
32436 * posix/regexec.c (match_ctx_init, match_ctx_clean)
32437 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
32438 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
32439 (re_search_internal, re_search_2_stub, re_search_stub)
32440 (re_copy_regs, prune_impossible_nodes, check_matching)
32441 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
32442 (free_fail_stack_return, sift_states_iter_mb)
32443 (sift_states_backward, build_sifted_states)
32444 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
32445 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
32446 (check_subexp_limits, sift_states_bkref, merge_state_array)
32447 (find_recover_state, transit_state, merge_state_with_log)
32448 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
32449 (transit_state_mb, transit_state_bkref, get_subexp)
32450 (get_subexp_sub, find_subexp_node, check_arrival)
32451 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
32452 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
32453 (check_node_accept_bytes, find_collation_sequence_value)
32454 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
32455 (acquire_init_state_context, check_halt_node_context)
32456 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
32457 (sub_epsilon_src_nodes): Likewise.
32458 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
32459 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
32460 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
32461 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
32462 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
32463 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
32464 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
32465 * sysdeps/posix/ttyname.c (getttyname): Likewise.
32466 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
32467 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
32468 (PREADV): Likewise.
32469 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
32470 (PREADV): Likewise.
32471 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
32472 (PWRITEV): Likewise.
32473 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
32474 (PWRITEV): Likewise.
32475 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
32476 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
32478 2017-08-31 Florian Weimer <fweimer@redhat.com>
32480 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
32481 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
32482 Remove internal_function.
32483 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32484 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
32485 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
32486 (__deallocate_stack, __libc_pthread_init)
32487 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
32488 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
32489 (__libc_disable_asynccancel, __librt_disable_asynccancel):
32491 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
32492 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
32493 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
32495 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
32496 (__pthread_mutex_unlock_usercnt): Likewise.
32498 2017-08-31 Florian Weimer <fweimer@redhat.com>
32500 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
32501 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
32502 (fts_safe_changedir): Remove internal_function.
32503 * io/ftw.c (internal_function): Remove definition.
32504 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
32506 2017-08-31 Florian Weimer <fweimer@redhat.com>
32508 * inet/deadline.c (__deadline_current_time)
32509 (__deadline_from_timeval, __deadline_to_ms): Remove
32511 * inet/getnameinfo.c (nrl_domainname): Likewise.
32512 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
32513 * inet/inet6_option.c (add_pad): Likewise.
32514 * inet/net-internal.h (__deadline_current_time)
32515 (__deadline_from_timeval, __deadline_to_ms): Likewise.
32516 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
32517 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
32518 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
32520 2017-08-31 Joseph Myers <joseph@codesourcery.com>
32522 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
32523 include <bits/nan.h>.
32524 * math/Makefile (headers): Remove bits/nan.h.
32525 * bits/nan.h: Remove.
32526 * sysdeps/ieee754/bits/nan.h: Likewise.
32527 * sysdeps/mips/bits/nan.h: Likewise.
32529 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
32530 not include <bits/inf.h>.
32531 * math/Makefile (headers): Remove bits/inf.h.
32532 * bits/inf.h: Remove.
32533 * sysdeps/ieee754/bits/inf.h: Likewise.
32535 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
32536 bits/huge_vall.h or bits/huge_val_flt128.h.
32537 (HUGE_VAL): Define directly here.
32538 [__USE_ISOC99] (HUGE_VALF): Likewise.
32539 [__USE_ISOC99] (HUGE_VALL): Likewise.
32540 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32541 (HUGE_VAL_F128): Likewise.
32542 * math/Makefile (headers): Remove bits/huge_val.h,
32543 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
32544 * bits/huge_val.h: Remove.
32545 * bits/huge_val_flt128.h: Likewise.
32546 * bits/huge_valf.h: Likewise.
32547 * bits/huge_vall.h: Likewise.
32548 * sysdeps/ia64/bits/huge_vall.h: Likewise.
32549 * sysdeps/ieee754/bits/huge_val.h: Likewise.
32550 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
32551 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
32552 * sysdeps/sh/bits/huge_val.h: Likewise.
32553 * sysdeps/sparc/bits/huge_vall.h: Likewise.
32554 * sysdeps/x86/bits/huge_vall.h: Likewise.
32556 2017-08-31 Florian Weimer <fweimer@redhat.com>
32558 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
32560 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
32562 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
32563 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32564 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
32565 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
32566 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32567 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32568 * elf/dl-libc.c (dlerror_run): Likewise.
32569 * elf/dl-load.c (add_name_to_object, decompose_rpath)
32570 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
32571 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
32572 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
32574 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
32575 (_dl_higher_prime_number, _dl_strtoul): Likewise.
32576 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
32577 * elf/dl-profile.c (_dl_start_profile): Likewise.
32578 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
32579 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
32581 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
32582 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
32583 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
32584 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
32585 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
32586 (_dl_allocate_tls_storage): Likewise.
32587 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
32588 (_dl_check_all_versions): Likewise.
32589 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
32590 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
32591 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
32592 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32593 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
32594 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
32595 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
32596 internal_function from __dl_start.
32597 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
32598 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
32599 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
32600 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
32601 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
32602 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
32603 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
32604 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
32605 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
32606 (_dl_next_ld_env_entry, _dl_important_hwcaps)
32607 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
32608 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
32609 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
32610 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
32611 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
32613 (struct rtld_global_ro): Remove internal_function from the
32614 _dl_lookup_symbol_x member.
32615 (_dl_symbol_value): Remove. No longer defined anywhere.
32616 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
32618 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32619 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32620 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
32621 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
32622 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
32623 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
32624 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
32625 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
32626 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
32627 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
32628 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32629 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32631 2017-08-31 Florian Weimer <fweimer@redhat.com>
32633 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
32634 Remove internal_function.
32635 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32637 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32640 2017-08-31 Florian Weimer <fweimer@redhat.com>
32642 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
32643 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
32644 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
32646 2017-08-31 Florian Weimer <fweimer@redhat.com>
32648 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
32649 (__gai_enqueue_request): Remove internal_function.
32650 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
32651 (__gai_remove_request, __gai_notify, __gai_notify_only)
32652 (__gai_sigqueue): Likewise.
32653 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
32654 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
32655 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
32656 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32659 2017-08-31 Florian Weimer <fweimer@redhat.com>
32661 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
32662 * include/dirent.h (__opendirat, __getdents, __getdents64)
32663 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
32664 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
32665 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32666 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32668 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
32670 2017-08-31 Florian Weimer <fweimer@redhat.com>
32672 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
32674 (GETCWD_RETURN_TYPE): Likewise.
32676 2017-08-31 Florian Weimer <fweimer@redhat.com>
32678 * include/time.h (__tz_compute, __strptime_internal): Remove
32680 * time/strptime_l.c (__strptime_internal): Likewise.
32681 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
32683 2017-08-31 Florian Weimer <fweimer@redhat.com>
32685 * iconv/gconv.c (__gconv): Remove internal_function.
32686 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
32687 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
32688 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
32689 (__gconv_release_cache): Likewise.
32690 * iconv/gconv_close.c (__gconv_close): Likewise.
32691 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
32692 (read_conf_file, __gconv_get_path): Likewise.
32693 * iconv/gconv_db.c (derivation_lookup, add_derivation)
32694 (__gconv_release_step, gen_steps, increment_counter)
32695 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
32696 (__gconv_close_transform, free_modules_db): Likewise.
32697 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
32699 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
32700 (__gconv_find_transform, __gconv_lookup_cache)
32701 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
32702 (__gconv_close_transform, __gconv_release_cache)
32703 (__gconv_loaded_object, __gconv_release_shlib)
32704 (__gconv_compare_alias): Likewise.
32705 * iconv/gconv_open.c (__gconv_open): Likewise.
32706 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
32707 * iconv/iconvconfig.c (add_module): Likewise.
32708 * intl/dcigettext.c (plural_lookup, guess_category_value)
32709 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
32710 * intl/eval-plural.h (plural_eval): Likewise.
32711 * intl/finddomain.c (_nl_find_domain): Likewise.
32712 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
32713 (_nl_load_domain, _nl_find_msg): Likewise.
32714 (internal_function): Remove definition.
32715 * intl/loadinfo.h (internal_function): Likewise.
32716 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
32718 * intl/localealias.c (internal_function): Remove definition.
32719 (read_alias_file): Remove internal_function.
32720 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
32721 * intl/plural-exp.h (internal_function): Remove definition.
32722 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
32724 * intl/plural.c: Regenerate.
32725 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
32726 * locale/coll-lookup.c (__collidx_table_lookup)
32727 (__collseq_table_lookup): Likewise.
32728 * locale/coll-lookup.h (__collidx_table_lookup)
32729 (__collseq_table_lookup): Likewise.
32730 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
32731 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32732 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
32733 (_nl_unload_locale): Likewise.
32734 * locale/localeinfo.h (struct __locale_data): Remove
32735 internal_function from cleanup member.
32736 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
32737 (_nl_remove_locale, _nl_load_locale_from_archive)
32738 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
32739 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
32740 (_nl_cleanup_time): Remove internal_function.
32741 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
32742 (_nl_parse_alt_digit): Likewise.
32743 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
32744 (_nl_select_era_entry): Likewise.
32745 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
32746 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32747 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
32748 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32749 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
32751 2017-08-31 Florian Weimer <fweimer@redhat.com>
32753 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
32754 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32755 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
32756 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
32758 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
32759 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
32760 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
32761 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32763 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
32765 2017-08-31 Florian Weimer <fweimer@redhat.com>
32767 * misc/getttyent.c (skip, value): Remove internal_function.
32768 * misc/syslog.c (openlog_internal): Likewise.
32769 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
32771 2017-08-31 Florian Weimer <fweimer@redhat.com>
32773 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
32774 (__nss_rewrite_field): Remove internal_function.
32775 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32776 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32777 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32778 * nss/nsswitch.c (nss_parse_file, nss_getline)
32779 (nss_parse_service_list, nss_new_service): Likewise.
32780 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
32781 * nss/valid_field.c (__nss_valid_field): Likewise.
32782 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
32784 2017-08-31 Florian Weimer <fweimer@redhat.com>
32786 * malloc/arena.c (__malloc_fork_lock_parent)
32787 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
32788 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
32789 internal_function from defintions.
32790 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
32791 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
32792 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
32793 internal_function from declarations.
32794 * malloc/malloc.c (internal_function): Do not define.
32795 (mem2mem_check): Remove internal_function from declaration.
32796 (munmap_chunk, mremap_chunk): Remove internal_function.
32797 * malloc/mtrace.c (tr_where): Likewise.
32799 2017-08-31 Florian Weimer <fweimer@redhat.com>
32801 * include/rpc/pmap_clnt.h (__get_socket): Remove
32803 * sunrpc/auth_des.c (synchronize): Likewise.
32804 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
32805 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
32806 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
32807 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
32808 (key_call): Likewise.
32809 * sunrpc/pm_getport.c (__get_socket): Likewise.
32810 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
32811 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
32812 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
32813 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
32814 (invalidate): Likewise.
32815 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
32816 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
32817 (set_input_fragment, get_input_bytes): Likewise.
32819 2017-08-31 Florian Weimer <fweimer@redhat.com>
32821 * malloc/malloc.c (_int_free): Remove locked variable and related
32824 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
32827 * Makerules (build-module-helper-objlist): Filter out
32828 $(elf-objpfx)sofini.os.
32829 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
32832 2017-08-31 Florian Weimer <fweimer@redhat.com>
32834 * libio/fcloseall.c: Assume weak_alias is defined.
32835 * libio/feof.c: Likewise.
32836 * libio/fileno.c: Likewise.
32837 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
32838 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32840 (_IO_file_open): Call __open directly.
32841 (_IO_new_file_sync): Assume ESPIPE is defined.
32842 (_IO_file_seekoff_maybe_mmap): Call __read directly.
32843 (_IO_new_file_write): Call __write directly.
32844 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
32845 * libio/ftello64.c (__ftello64): Assume EIO is defined.
32846 * libio/genops.c: Assume _LIBC is defined.
32847 (save_for_backup): Remove internal_function.
32848 * libio/getc.c: Assume weak_alias is defined.
32849 * libio/getwc.c: Likewise.
32850 * libio/iofclose.c: Assume _LIBC is defined.
32851 * libio/iofdopen.c: Likewise.
32852 (_IO_fcntl): Remove macro definition.
32853 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
32854 Call __fcntl directly.
32855 * libio/iofflush.c: Assume weak_alias is defined.
32856 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
32858 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
32859 * libio/iofgets.c: Likewise.
32860 * libio/iofopen.c: Assume _LIBC is defined.
32861 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
32862 * libio/iofputs.c: Assume weak_alias is defined.
32863 * libio/iofread.c: Likewise.
32864 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
32865 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
32866 * libio/ioftell.c: Assume weak_alias is defined.
32867 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
32868 * libio/iofwide.c: Assume _LIBC is defined.
32869 (_IO_fwide): Drop SHARED conditional because it is implied by
32871 * libio/iofwrite.c: Assume weak_alias is defined.
32872 * libio/iogetdelim.c: Likewise.
32873 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
32874 * libio/iogetwline.c (wmemcpy): Remove macro definition.
32875 (_IO_getwline): Call __wmemcpy directly.
32876 * libio/iopopen.c: Assume _LIBC is defined.
32877 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32878 (_IO_close): Remove macro definitions.
32879 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
32881 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
32883 * libio/ioputs.c: Assume weak_alias is defined.
32884 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
32885 * libio/iosetbuffer.c: Assume weak_alias is defined.
32886 * libio/iosetvbuf.c: Likewise.
32887 * libio/ioungetc.c: Likewise.
32888 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
32889 libc_hidden_def, libc_hidden_weak, NULL are defined.
32890 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32891 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32893 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32895 (_IO_old_file_init_internal): Drop SHARED conditional because it
32896 is implied by SHLIB_COMPAT.
32897 (_IO_old_file_fopen): Call __open directly.
32898 (_IO_old_file_sync): Assume ESPIPE is defined.
32899 (_IO_old_file_write): Call __write directly.
32900 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32901 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32902 Call __fcntl directly.
32903 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32904 (_IO_old_fgetpos): Assume EIO is defined.
32905 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32906 (_IO_old_fgetpos64): Assume EIO is defined.
32907 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32908 (_IO_old_fsetpos): Assume EIO is defined.
32909 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32910 (_IO_old_fsetpos64): Assume EIO is defined.
32911 * libio/oldiopopen.c: Assume _LIBC is defined.
32912 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32913 (_IO_close): Remove macro definitions.
32914 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32916 (_IO_old_proc_close): Call __close, __waitpid directly.
32917 * libio/put.c: Assume weak_alias is defined.
32918 * libio/stdfiles.c: Assume _LIBC is defined.
32919 * libio/stdio.c: Likewise.
32920 * libio/wfileops.c: Likewise.
32921 (_IO_wfile_sync): Assume ESPIPE is defined.
32922 * libio/wgenops.c: Assume _LIBC is defined.
32923 (save_for_wbackup): Remove internal_function.
32925 2017-08-31 Florian Weimer <fweimer@redhat.com>
32927 * malloc/malloc.c (top_check): Change return type to void. Remove
32929 * malloc/hooks.c (top_check): Likewise.
32930 (malloc_check, realloc_check, memalign_check): Adjust.
32932 2017-08-30 Joseph Myers <joseph@codesourcery.com>
32935 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32936 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32937 sigcontext and namespace requirements.
32938 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32939 * sysdeps/m68k/sys/ucontext.h: Likewise.
32940 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32941 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32942 <bits/sigcontext.h>.
32943 (__ctx): Define earlier.
32944 (mcontext_t): Define structure contents rather than using struct
32946 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32947 __glibc_reserved1 instead of __reserved.
32948 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32949 <bits/sigcontext.h>.
32950 (__ctx): Define earlier.
32951 (mcontext_t): Define structure contents rather than using struct
32953 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32954 mcontext_t instead of struct sigcontext.
32955 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32956 <bits/sigcontext.h>.
32957 (__ctx): Define earlier.
32958 (mcontext_t): Define structure contents rather than using struct
32960 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32961 <bits/sigcontext.h>.
32962 (__ctx): Define earlier.
32963 (mcontext_t): Define structure contents rather than using struct
32965 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32966 mcontext_t instead of struct sigcontext.
32967 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32968 mcontext_t instead of struct sigcontext.
32969 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32970 <bits/sigcontext.h>.
32971 (__ctx): New macro.
32972 (struct __ia64_fpreg_mcontext): New type.
32973 (mcontext_t): Define structure contents rather than using struct
32975 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32976 (uc_sigmask): Define using __ctx.
32977 (uc_stack): Likewise.
32978 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32979 <bits/sigcontext.h>.
32980 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32981 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32982 <bits/sigcontext.h>.
32983 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32984 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32985 <bits/sigcontext.h>.
32986 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32987 <bits/sigcontext.h>.
32988 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32989 <bits/sigcontext.h>.
32990 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32991 <bits/sigcontext.h>.
32992 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32993 <bits/sigcontext.h>.
32994 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32995 <bits/sigcontext.h>.
32996 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32997 <bits/sigcontext.h>.
32998 (__ctx): Define earlier.
32999 (mcontext_t): Define structure contents rather than using struct
33001 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
33002 <bits/sigcontext.h>. Include <bits/types.h>.
33003 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
33004 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
33005 (test-xfail-XPG42/ucontext.h/conform): Likewise.
33006 (test-xfail-UNIX98/signal.h/conform): Likewise.
33007 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33008 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33009 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33010 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33011 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33012 (test-xfail-POSIX2008/signal.h/conform): Likewise.
33013 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33014 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33015 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33017 2017-08-30 Florian Weimer <fweimer@redhat.com>
33019 * malloc/dynarray_emplace_enlarge.c
33020 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
33021 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
33022 * malloc/tst-dynarray.c (test_long_overflow): New function.
33023 (do_test): Call it.
33025 2017-08-30 Florian Weimer <fweimer@redhat.com>
33027 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
33028 (set_arena_corrupt): Remove definitions.
33029 (mtrim): Do not check for corrupt arena.
33030 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
33033 2017-08-30 Florian Weimer <fweimer@redhat.com>
33036 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
33038 (ptmalloc_init): Do not set or use check_action.
33039 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
33040 call to malloc_printerr. Remove return statement.
33041 (free_check): Likewise. Remove arena unlock.
33042 (top_check): Update comment. Adjust call to malloc_printerr.
33043 Remove heap repair code.
33044 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
33045 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
33046 (sysmalloc): Adjust call to malloc_printerr.
33047 (munmap_chunk, __libc_realloc): Likewise. Remove return
33049 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
33050 Remove errout label and corresponding gotos.
33051 (_int_free): Likewise. Remove arena unlock.
33052 (do_set_mallopt_check): Do not set check_action.
33053 (malloc_printerr): Adjust parameter list. Do not mark arena as
33055 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
33057 * manual/probes.texi (Memory Allocation Probes): Remove
33058 memory_mallopt_check_action.
33060 2017-08-30 Steve Ellcey <sellcey@cavium.com>
33062 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
33063 Use pointer to uint64_t instead of long int for sp.
33065 2017-08-30 Florian Weimer <fweimer@redhat.com>
33068 * malloc/malloc.c (malloc_printerr): Always terminate the process,
33069 without printing a backtrace. Do not leak any information in the
33071 * manual/memory.texi (Heap Consistency Checking): Update.
33072 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
33074 2017-08-30 Florian Weimer <fweimer@redhat.com>
33076 Do not scale NPTL tests with available number of CPUs.
33077 * nptl/tst-cond16.c (count): Set to constant value of 8.
33078 * nptl/tst-cond18.c (count): Likewise.
33080 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33083 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
33084 Define to take a second argument that is a macro that
33085 concatentates a suffix, not the suffix itself.
33086 (__CONCAT_d): New macro.
33087 (__CONCAT_f): Likewise.
33088 (__CONCAT_l): Likewise.
33090 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
33092 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
33095 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33096 Aurelien Jarno <aurelien@aurel32.net>
33097 Maciej W. Rozycki <macro@imgtec.com>
33100 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
33101 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
33102 `mips16-syscall6' and `mips16-syscall7'.
33103 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
33104 (CFLAGS-mips16-syscall7.c): Remove.
33105 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
33106 Remove `__mips16_syscall5', `__mips16_syscall6' and
33107 `__mips16_syscall7'.
33108 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
33109 (__mips16_syscall0): Rename `__mips16_syscall_return' to
33110 `__mips_syscall_return'.
33111 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
33112 (__mips16_syscall1): Likewise.
33113 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
33114 (__mips16_syscall2): Likewise.
33115 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
33116 (__mips16_syscall3): Likewise.
33117 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
33118 (__mips16_syscall4): Likewise.
33119 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
33121 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
33123 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
33125 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
33126 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
33127 `__mips16_syscall5'. Remove prototype.
33128 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
33129 `__mips16_syscall6'. Remove prototype.
33130 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
33131 `__mips16_syscall7'. Remove prototype.
33132 (__nomips16, __mips16_syscall_return): Move to...
33133 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
33134 (__nomips16, __mips_syscall_return): ... here.
33135 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
33136 `__mips16_syscall_return' to `__mips_syscall_return'.
33137 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
33138 `internal_syscall##nr'.
33139 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
33140 `internal_syscall##nr'.
33141 (FORCE_FRAME_POINTER): Remove.
33142 (__mips_syscall5): New prototype.
33143 (internal_syscall5): Rewrite to call `__mips_syscall5'.
33144 (__mips_syscall6): New prototype.
33145 (internal_syscall6): Rewrite to call `__mips_syscall6'.
33146 (__mips_syscall7): New prototype.
33147 (internal_syscall7): Rewrite to call `__mips_syscall7'.
33148 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
33149 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
33150 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
33151 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
33152 (sysdep_routines): Add libc-do-syscall.
33153 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
33154 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
33156 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33159 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
33160 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
33161 (advise_stack_range): New function.
33162 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
33163 stack non required to advise_stack_range at allocatestack.c
33165 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33167 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
33169 2017-08-29 Florian Weimer <fweimer@redhat.com>
33172 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
33173 __end_fct. Mangle __end_fct after setting it to NULL.
33174 * iconv/Makefile (tests): Add tst-gconv-init-failure.
33175 (modules-names, modules-names-tests): Add
33176 tst-gconv-init-failure-mod.
33177 (gconv-modules): New target.
33178 (tst-gconv-init-failure-mod.so): Link against libsupport.
33179 (tst-gconv-init-failure): Depend on gconv-modules,
33180 tst-gconv-init-failure-mod.so.
33181 * iconv/tst-gconv-init-failure-mod.c: New file.
33182 * iconv/tst-gconv-init-failure.c: Likewise.
33183 * iconv/test-gconv-modules: Likewise.
33185 2017-08-29 Florian Weimer <fweimer@redhat.com>
33188 * iconv/gconv_db.c (free_derivation): Remove redundant
33190 (gen_steps): Unconditionally mangle __btowc_fct after
33192 (increment_counter): Likewise. Do not call init_fct for internal
33195 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33198 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33199 (_MSUF_): Remove macro.
33200 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
33202 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33203 (__REDIRFROM_X): New macro.
33204 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
33206 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
33207 (__REDIRTO_X): Likewise.
33208 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
33210 (__MATH_REDIRCALL_2): Likewise.
33211 (__MATH_REDIRCALL_INTERNAL): Likewise.
33212 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33213 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
33214 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
33215 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33216 * math/test-finite-macros.c: New file.
33217 * math/Makefile (tests): Add test-finite-macros.
33218 (CFLAGS-test-finite-macros.c): New variable.
33220 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
33221 Jeff Law <law@redhat.com>
33224 Mangle NULL pointers in iconv/gconv.
33225 * iconv/gconv_cache.c (find_module): Demangle init_fct before
33226 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
33227 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
33228 is non-NULL before demangling the end_fct. Check for NULL
33229 end_fct after demangling.
33230 (__gconv_release_step): Demangle the end_fct before checking
33231 it for NULL. Remove assert on __shlibc_handle != NULL.
33232 (gen_steps): Don't check btowc_fct for NULL before mangling.
33233 Demangle init_fct before checking for NULL.
33234 (increment_counter): Likewise.
33235 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
33236 end_fct for NULL before mangling.
33237 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
33240 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
33243 * locale/iso-639.def: add Morisyen.
33245 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33248 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
33249 (iszero): New C++ implementation that does not use
33250 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
33251 signaling nans are enabled, since __builtin_types_compatible_p
33252 is a C-only feature.
33253 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
33254 defined, include ieee754_float128.h for access to the union and
33255 member ieee854_float128.ieee.
33256 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
33257 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
33258 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33259 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
33260 options of test-math-zero on powerpc64le.
33262 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
33264 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
33265 Change double to float.
33267 2017-08-28 Joseph Myers <joseph@codesourcery.com>
33269 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
33271 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
33272 conditional code; define contents only for [LIBM_SVID_COMPAT].
33274 2017-08-28 Florian Weimer <fweimer@redhat.com>
33276 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
33277 (abi-lp64_be-options): Remove.
33278 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
33279 (abi-hard-options): Likewise.
33280 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
33281 (abi-o32_hard-options, abi-o32_soft_2008-options)
33282 (abi-o32_hard_2008-options, abi-n32_soft-options)
33283 (abi-n32_hard-options, abi-n32_soft_2008-options)
33284 (abi-n32_hard_2008-options, abi-n64_soft-options)
33285 (abi-n64_hard-options, abi-n64_soft_2008-options)
33286 (abi-n64_hard_2008-options): Likewise.
33287 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
33288 (abi-64-v1-options, abi-64-v2-options): Likewise.
33289 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
33290 (abi-64-options): Likewise.
33291 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
33292 (abi-64-options): Likewise.
33293 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
33294 (abi-64-options): Likewise.
33295 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
33296 (abi-64-options, abi-x32-options): Likewise.
33298 2017-08-28 Florian Weimer <fweimer@redhat.com>
33300 Store supported list of SYS_* system calls in the source tree.
33301 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
33302 (bits/syscall.h): Generate from list file.
33303 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
33304 [$(subdir) = misc] (tests): Add tst-syscall-list.
33305 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
33306 [$(subdir) = misc] (tst-syscall-list-macros.list)
33307 [$(subdir) = misc] (tst-syscall-list-nr.list)
33308 (tst-syscall-list-sys.list): Helper targets for new
33309 tst-syscall-list test.
33310 [$(subdir) = misc] (tst-syscall-list.out): Run test script
33311 tst-syscall-list.sh.
33312 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
33313 target. Do not include bits/syscall.d.
33314 [$(subdir) = misc] (generated): Do not update.
33315 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
33316 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
33317 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
33318 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
33320 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
33322 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
33323 (tst-cxa_atexit, tst-on_exit): Likewise.
33324 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
33325 tst-cxa_atexit, and tst-on_exit.
33326 * stdlib/tst-atexit-common.c: New file.
33327 * stdlib/tst-atexit.c: New file.
33328 * stdlib/tst-at_quick_exit.c: New file.
33329 * stdlib/tst-cxa_atexit.c: New file.
33330 * stdlib/tst-on_exit.c: New file.
33332 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33334 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
33335 * mach/stack_chk_fail_local.c: New file.
33336 * hurd/stack_chk_fail_local.c: New file.
33337 * mach/Machrules ($(interface-library)-routines): Add
33338 stack_chk_fail_local.
33339 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
33340 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
33341 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
33342 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
33343 * hurd/Makefile (CFLAGS-hurdstartup.o,
33344 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
33346 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
33348 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33349 (index_cpu_*, index_arch_*): Removed.
33351 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33353 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
33354 Use uint64_t instead of unsigned long.
33356 2017-08-25 Joseph Myers <joseph@codesourcery.com>
33358 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
33359 [__HAVE_DISTINCT_FLOAT128].
33361 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
33362 of <bits/math-finite.h>.
33363 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
33364 inclusion of <bits/math-finite.h>.
33365 * math/bits/math-finite.h (__REDIRTO_X): Do not define
33366 conditionally on [__MATH_DECLARING_LDOUBLE && defined
33367 __NO_LONG_DOUBLE_MATH].
33368 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
33369 (__MATH_REDIRCALL_2): Likewise.
33370 (__MATH_REDIRCALL_INTERNAL): Likewise.
33371 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33372 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
33373 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
33377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
33379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
33381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
33383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
33385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
33387 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33388 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33389 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33390 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
33392 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
33393 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
33394 w_sqrtf_compat-ppc32.
33396 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33398 * math/math.h [defined __cplusplus] (issignaling): In the long
33399 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
33400 is not defined. Call __issignaling, otherwise.
33402 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33404 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
33405 syscall definitions and replace __builtin_expect with __glibc_likely.
33406 * sysdeps/unix/syscall-template.S: Update comment about cancellable
33408 (SYSCALL_CANCELLABLE): Removedefinition
33409 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
33411 (PSEUDO_END): Likewise.
33412 [IS_IN (libpthread)] (CENABLE): Likewise.
33413 [IS_IN (libpthread)] (CDISABLE): Likewise.
33414 [IS_IN (libc)] (CENABLE): Likewise.
33415 [IS_IN (libc)] (CENABLE): Likewise.
33416 [IS_IN (librt)] (CDISABLE): Likewise.
33417 [IS_IN (librt)] (CDISABLE): Likewise.
33418 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33419 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
33421 (PSEUDO_END): Likewise.
33422 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
33423 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
33424 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33425 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33426 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33427 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33428 (CENABLE): Likewise.
33429 (CDISABLE): Likewise.
33430 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33431 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
33433 (PSEUDO_END): Likewise.
33434 [IS_IN (libpthread)] (CENABLE): Likewise.
33435 [IS_IN (libpthread)] (CDISABLE): Likewise.
33436 [IS_IN (libc)] (CENABLE): Likewise.
33437 [IS_IN (libc)] (CENABLE): Likewise.
33438 [IS_IN (librt)] (CDISABLE): Likewise.
33439 [IS_IN (librt)] (CDISABLE): Likewise.
33440 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33441 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
33443 (PSEUDO_END): Likewise.
33444 [IS_IN (libpthread)] (CENABLE): Likewise.
33445 [IS_IN (libpthread)] (CDISABLE): Likewise.
33446 [IS_IN (libc)] (CENABLE): Likewise.
33447 [IS_IN (libc)] (CENABLE): Likewise.
33448 [IS_IN (librt)] (CDISABLE): Likewise.
33449 [IS_IN (librt)] (CDISABLE): Likewise.
33450 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33451 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
33453 (PSEUDO_END): Likewise.
33454 [IS_IN (libpthread)] (CENABLE): Likewise.
33455 [IS_IN (libpthread)] (CDISABLE): Likewise.
33456 [IS_IN (libc)] (CENABLE): Likewise.
33457 [IS_IN (libc)] (CENABLE): Likewise.
33458 [IS_IN (librt)] (CDISABLE): Likewise.
33459 [IS_IN (librt)] (CDISABLE): Likewise.
33460 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33461 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
33463 (PSEUDO_END): Likewise.
33464 [IS_IN (libpthread)] (CENABLE): Likewise.
33465 [IS_IN (libpthread)] (CDISABLE): Likewise.
33466 [IS_IN (libc)] (CENABLE): Likewise.
33467 [IS_IN (libc)] (CENABLE): Likewise.
33468 [IS_IN (librt)] (CDISABLE): Likewise.
33469 [IS_IN (librt)] (CDISABLE): Likewise.
33470 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33471 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
33473 (PSEUDO_END): Likewise.
33474 [IS_IN (libpthread)] (CENABLE): Likewise.
33475 [IS_IN (libpthread)] (CDISABLE): Likewise.
33476 [IS_IN (libc)] (CENABLE): Likewise.
33477 [IS_IN (libc)] (CENABLE): Likewise.
33478 [IS_IN (librt)] (CDISABLE): Likewise.
33479 [IS_IN (librt)] (CDISABLE): Likewise.
33480 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33481 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
33483 (PSEUDO_END): Likewise.
33484 [IS_IN (libpthread)] (CENABLE): Likewise.
33485 [IS_IN (libpthread)] (CDISABLE): Likewise.
33486 [IS_IN (libc)] (CENABLE): Likewise.
33487 [IS_IN (libc)] (CENABLE): Likewise.
33488 [IS_IN (librt)] (CDISABLE): Likewise.
33489 [IS_IN (librt)] (CDISABLE): Likewise.
33490 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33491 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
33493 (PSEUDO_END): Likewise.
33494 [IS_IN (libpthread)] (CENABLE): Likewise.
33495 [IS_IN (libpthread)] (CDISABLE): Likewise.
33496 [IS_IN (libc)] (CENABLE): Likewise.
33497 [IS_IN (libc)] (CENABLE): Likewise.
33498 [IS_IN (librt)] (CDISABLE): Likewise.
33499 [IS_IN (librt)] (CDISABLE): Likewise.
33500 (SINGLE_THREAD_P): Likewise.
33501 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
33503 (PSEUDO_END): Likewise.
33504 [IS_IN (libpthread)] (CENABLE): Likewise.
33505 [IS_IN (libpthread)] (CDISABLE): Likewise.
33506 [IS_IN (libc)] (CENABLE): Likewise.
33507 [IS_IN (libc)] (CENABLE): Likewise.
33508 [IS_IN (librt)] (CDISABLE): Likewise.
33509 [IS_IN (librt)] (CDISABLE): Likewise.
33510 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33511 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
33513 (PSEUDO_END): Likewise.
33514 [IS_IN (libpthread)] (CENABLE): Likewise.
33515 [IS_IN (libpthread)] (CDISABLE): Likewise.
33516 [IS_IN (libc)] (CENABLE): Likewise.
33517 [IS_IN (libc)] (CENABLE): Likewise.
33518 [IS_IN (librt)] (CDISABLE): Likewise.
33519 [IS_IN (librt)] (CDISABLE): Likewise.
33520 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33521 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
33522 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33523 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
33524 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
33526 (PSEUDO_END): Likewise.
33527 [IS_IN (libpthread)] (CENABLE): Likewise.
33528 [IS_IN (libpthread)] (CDISABLE): Likewise.
33529 [IS_IN (libc)] (CENABLE): Likewise.
33530 [IS_IN (libc)] (CENABLE): Likewise.
33531 [IS_IN (librt)] (CDISABLE): Likewise.
33532 [IS_IN (librt)] (CDISABLE): Likewise.
33533 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33534 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
33536 (PSEUDO_END): Likewise.
33537 [IS_IN (libpthread)] (CENABLE): Likewise.
33538 [IS_IN (libpthread)] (CDISABLE): Likewise.
33539 [IS_IN (libc)] (CENABLE): Likewise.
33540 [IS_IN (libc)] (CENABLE): Likewise.
33541 [IS_IN (librt)] (CDISABLE): Likewise.
33542 [IS_IN (librt)] (CDISABLE): Likewise.
33543 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33544 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
33546 (PSEUDO_END): Likewise.
33547 [IS_IN (libpthread)] (CENABLE): Likewise.
33548 [IS_IN (libpthread)] (CDISABLE): Likewise.
33549 [IS_IN (libc)] (CENABLE): Likewise.
33550 [IS_IN (libc)] (CENABLE): Likewise.
33551 [IS_IN (librt)] (CDISABLE): Likewise.
33552 [IS_IN (librt)] (CDISABLE): Likewise.
33553 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33554 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
33555 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33556 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
33557 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
33559 (PSEUDO_END): Likewise.
33560 [IS_IN (libpthread)] (CENABLE): Likewise.
33561 [IS_IN (libpthread)] (CDISABLE): Likewise.
33562 [IS_IN (libc)] (CENABLE): Likewise.
33563 [IS_IN (libc)] (CENABLE): Likewise.
33564 [IS_IN (librt)] (CDISABLE): Likewise.
33565 [IS_IN (librt)] (CDISABLE): Likewise.
33566 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33567 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
33569 (PSEUDO_END): Likewise.
33570 [IS_IN (libpthread)] (CENABLE): Likewise.
33571 [IS_IN (libpthread)] (CDISABLE): Likewise.
33572 [IS_IN (libc)] (CENABLE): Likewise.
33573 [IS_IN (libc)] (CENABLE): Likewise.
33574 [IS_IN (librt)] (CDISABLE): Likewise.
33575 [IS_IN (librt)] (CDISABLE): Likewise.
33576 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33578 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33580 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
33582 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33584 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33586 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33589 * string/stratcliff.c (do_test): Declare size, nchars, inner,
33590 middle and outer with size_t instead of int. Repleace %d and
33591 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
33592 "MAX (outer, nchars - 64)" to support unsigned outer and
33593 nchars. Also exit loop when outer == 0.
33595 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33597 * include/fcntl.h (__fcntl_nocancel): Remove definition.
33598 * include/signal.h (__sigsuspend_nocancel): Likewise.
33599 * include/time.h (__nanosleep_nocancel): Likewise.
33600 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
33601 * login/utmp_file.c: Include non cancellable syscall header.
33602 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
33605 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33607 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
33608 .byte sequences with AVX512F instructions.
33609 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
33610 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
33611 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33612 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
33614 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
33617 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
33618 Steve Ellcey <sellcey@cavium.com>
33620 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
33621 Use PTR_REG macro in cmp instruction.
33623 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33625 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
33626 Change the return type of the ifunc resolver to match the return
33627 type of the target function.
33629 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33631 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
33632 (preadv64): Likewise.
33633 (pwrite64(: Likewise.
33634 (pwritev64): Likewise.
33636 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33637 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
33638 (LOAD_ARGS_0): Likewise.
33639 (LOAD_ARGS_1): Likewise.
33640 (LOAD_ARGS_2): Likewise.
33641 (LOAD_ARGS_3): Likewise.
33642 (LOAD_ARGS_4): Likewise.
33643 (LOAD_ARGS_5): Likewise.
33644 (LOAD_ARGS_6): Likewise.
33645 (LOAD_REGS_0): Likewise.
33646 (LOAD_REGS_1): Likewise.
33647 (LOAD_REGS_2): Likewise.
33648 (LOAD_REGS_3): Likewise.
33649 (LOAD_REGS_4): Likewise.
33650 (LOAD_REGS_5): Likewise.
33651 (LOAD_REGS_6): Likewise.
33652 (ASM_ARGS_0): Likewise.
33653 (ASM_ARGS_1): Likewise.
33654 (ASM_ARGS_2): Likewise.
33655 (ASM_ARGS_3): Likewise.
33656 (ASM_ARGS_4): Likewise.
33657 (ASM_ARGS_5): Likewise.
33658 (ASM_ARGS_6): Likewise.
33659 (LOAD_ARGS_TYPES_1): Likewise.
33660 (LOAD_ARGS_TYPES_2): Likewise.
33661 (LOAD_ARGS_TYPES_3): Likewise.
33662 (LOAD_ARGS_TYPES_4): Likewise.
33663 (LOAD_ARGS_TYPES_5): Likewise.
33664 (LOAD_ARGS_TYPES_6): Likewise.
33665 (LOAD_REGS_TYPES_1): Likewise.
33666 (LOAD_REGS_TYPES_2): Likewise.
33667 (LOAD_REGS_TYPES_3): Likewise.
33668 (LOAD_REGS_TYPES_4): Likewise.
33669 (LOAD_REGS_TYPES_5): Likewise.
33670 (LOAD_REGS_TYPES_6): Likewise.
33671 (TYPEFY): New define.
33672 (ARGIFY): Likewise.
33673 (internal_syscall0): Likewise.
33674 (internal_syscall1): Likewise.
33675 (internal_syscall2): Likewise.
33676 (internal_syscall3): Likewise.
33677 (internal_syscall4): Likewise.
33678 (internal_syscall5): Likewise.
33679 (internal_syscall6): Likewise.
33680 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
33681 (INTERNAL_SYSCALL_NCS): Remove define.
33682 (internal_syscall1): Add define.
33684 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33686 * math/w_remainder_compat.c: Remove duplicate inclusion of
33687 math-svid-compat.h.
33688 * math/w_remainderf_compat.c: Likewise.
33689 * math/w_remainderl_compat.c: Likewise.
33691 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33695 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33698 * math/tgmath.h (__floating_type): Simplify definitions.
33699 (__real_integer_type): New macro.
33700 (__complex_integer_type): Likewise.
33701 (__expr_is_real): Likewise.
33702 (__tgmath_real_type_sub): Update comment to describe handling of
33704 (__tgmath_complex_type_sub): New macro.
33705 (__tgmath_complex_type): Likewise.
33706 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33707 (__TGMATH_CF128): Use __expr_is_real.
33708 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
33710 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33711 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
33712 * math/gen-tgmath-tests.py (Type.create_type): Create complex
33715 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33717 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
33719 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
33721 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
33724 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
33725 nanosleep_not_cancel with __nanosleep_nocancel.
33726 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
33727 (__nanosleep_nocancel): New macro.
33728 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
33730 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
33732 (__nanosleep_nocancel): New prototype.
33734 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
33735 pause_not_cancel with __pause_nocancel.
33736 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
33737 (__pause_nocancel): New macro.
33738 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
33740 (__pause_nocancel): New prototype.
33741 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
33743 2017-08-22 Martin Sebor <msebor@redhat.com>
33745 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
33746 to return a pointer to the same type as the target function.
33748 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33752 * include/printf.h (__printf_fphex): Add attribute_hidden.
33753 (__guess_grouping): New prototype.
33754 * stdio-common/printf_fp.c (__guess_grouping): Removed.
33755 * stdio-common/reg-printf.c (__register_printf_specifier): Add
33756 libc_hidden_proto and libc_hidden_def.
33757 * stdlib/strfmon_l.c (__guess_grouping): Removed.
33758 (__vstrfmon_l): Remove the third argument passed to
33761 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33763 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
33764 definition for issignaling that does not rely on __MATH_TG,
33765 since __MATH_TG uses __builtin_types_compatible_p, which is only
33766 available in C mode.
33767 (CFLAGS-test-math-issignaling.cc): New variable.
33768 * math/Makefile [CXX] (tests): Add test-math-issignaling.
33769 * math/test-math-issignaling.cc: New test for C++ implementation
33770 of type-generic issignaling.
33771 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33772 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
33773 options of test-math-issignaling on powerpc64le.
33775 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33777 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33779 (hidden_proto): Likewise.
33780 (hidden_tls_proto): Likewise.
33781 (__hidden_proto): Likewise.
33783 2017-08-22 Florian Weimer <fweimer@redhat.com>
33785 math: Statically link tests of internal functionality.
33786 * math/Makefile (tests): Remove atest-exp, atest-sincos,
33788 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
33789 (gmp-objs): Remove assignment.
33790 (atest-exp, atest-sincos, atest-exp2): Remove targets.
33792 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33795 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
33797 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
33799 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
33802 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
33803 variable definitions above inclusion of ../Rules.
33805 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33807 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
33808 case calling __builtin_unreachable.
33810 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33812 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
33813 __waitpid_nocancel.
33814 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
33815 (__waitpid_nocancel): New macro.
33816 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
33818 (__waitpid_nocancel): Replace macro with a function.
33819 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
33822 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
33824 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
33825 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
33827 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
33828 __writev_nocancel_nostatus.
33829 (write_call_graph): Likewise.
33830 (write_bb_counts): Likewise.
33831 * resolv/herror.c (herror): Likewise.
33832 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
33834 (__writev_nocancel_nostatus): New macro.
33835 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
33837 (__writev_nocancel_nostatus): New function.
33839 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33842 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33844 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33846 (hidden_proto): Likewise.
33847 (hidden_tls_proto): Likewise.
33848 (__hidden_proto): Likewise.
33851 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
33852 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
33857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
33861 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
33862 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33863 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33864 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33865 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
33866 GLIBC_2.0 sqrtl symbol.
33868 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
33869 [__USE_MISC] (_LIB_VERSION): Likewise.
33870 [__USE_MISC] (struct exception): Likewise.
33871 [__USE_MISC] (matherr): Likewise.
33872 [__USE_MISC] (DOMAIN): Likewise.
33873 [__USE_MISC] (SING): Likewise.
33874 [__USE_MISC] (OVERFLOW): Likewise.
33875 [__USE_MISC] (UNDERFLOW): Likewise.
33876 [__USE_MISC] (TLOSS): Likewise.
33877 [__USE_MISC] (PLOSS): Likewise.
33878 [__USE_MISC] (HUGE): Likewise.
33879 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
33880 * math/math-svid-compat.h: New file.
33881 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
33883 * include/math.h [!_ISOMAC] (__matherr): Remove.
33884 * manual/arith.texi (FP Exceptions): Do not document matherr.
33885 * math/Makefile (tests): Change test-matherr to test-matherr-3.
33886 (tests-internal): New variable.
33887 (install-lib): Do not add libieee.a.
33888 (non-lib.a): Likewise.
33889 (extra-objs): Do not add libieee.a and ieee-math.o.
33890 (CPPFLAGS-s_lib_version.c): Remove variable.
33891 ($(objpfx)libieee.a): Remove rule.
33892 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33893 * math/ieee-math.c: Remove.
33894 * math/libm-test-support.c (matherr): Remove.
33895 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33896 and license notices. Include <math-svid-compat.h> and
33898 (matherr): Undefine as macro. Use compat_symbol_reference.
33899 (_LIB_VERSION): Likewise.
33900 * math/test-matherr-2.c: New file.
33901 * math/test-matherr-3.c: Likewise.
33902 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33904 (__kernel_standard_f): Likewise.
33905 (__kernel_standard_l): Likewise.
33906 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33907 <math_private.h>. Include <math-svid-compat.h>.
33908 (_LIB_VERSION): Undefine as macro.
33909 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33910 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33911 [LIBM_SVID_COMPAT], use compat_symbol.
33912 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33913 <math_private.h>. Include <math-svid-compat.h>.
33914 (matherr): Undefine as macro.
33915 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33917 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33918 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33919 compat_symbol_reference.
33920 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33921 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33922 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33923 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33924 (MATHERR_D): Remove declaration.
33925 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33926 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33927 [LIBM_BUILD] (pmatherrf): Likewise.
33928 [LIBM_BUILD] (pmatherr): Likewise.
33929 [LIBM_BUILD] (pmatherrl): Likewise.
33930 (DOMAIN): Likewise.
33932 (OVERFLOW): Likewise.
33933 (UNDERFLOW): Likewise.
33936 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33937 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33939 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33940 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33942 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33943 * math/w_acos_compat.c: Likewise.
33944 * math/w_acosf_compat.c: Likewise.
33945 * math/w_acosh_compat.c: Likewise.
33946 * math/w_acoshf_compat.c: Likewise.
33947 * math/w_acoshl_compat.c: Likewise.
33948 * math/w_acosl_compat.c: Likewise.
33949 * math/w_asin_compat.c: Likewise.
33950 * math/w_asinf_compat.c: Likewise.
33951 * math/w_asinl_compat.c: Likewise.
33952 * math/w_atan2_compat.c: Likewise.
33953 * math/w_atan2f_compat.c: Likewise.
33954 * math/w_atan2l_compat.c: Likewise.
33955 * math/w_atanh_compat.c: Likewise.
33956 * math/w_atanhf_compat.c: Likewise.
33957 * math/w_atanhl_compat.c: Likewise.
33958 * math/w_cosh_compat.c: Likewise.
33959 * math/w_coshf_compat.c: Likewise.
33960 * math/w_coshl_compat.c: Likewise.
33961 * math/w_exp10_compat.c: Likewise.
33962 * math/w_exp10f_compat.c: Likewise.
33963 * math/w_exp10l_compat.c: Likewise.
33964 * math/w_exp2_compat.c: Likewise.
33965 * math/w_exp2f_compat.c: Likewise.
33966 * math/w_exp2l_compat.c: Likewise.
33967 * math/w_fmod_compat.c: Likewise.
33968 * math/w_fmodf_compat.c: Likewise.
33969 * math/w_fmodl_compat.c: Likewise.
33970 * math/w_hypot_compat.c: Likewise.
33971 * math/w_hypotf_compat.c: Likewise.
33972 * math/w_hypotl_compat.c: Likewise.
33973 * math/w_j0_compat.c: Likewise.
33974 * math/w_j0f_compat.c: Likewise.
33975 * math/w_j0l_compat.c: Likewise.
33976 * math/w_j1_compat.c: Likewise.
33977 * math/w_j1f_compat.c: Likewise.
33978 * math/w_j1l_compat.c: Likewise.
33979 * math/w_jn_compat.c: Likewise.
33980 * math/w_jnf_compat.c: Likewise.
33981 * math/w_jnl_compat.c: Likewise.
33982 * math/w_lgamma_main.c: Likewise.
33983 * math/w_lgamma_r_compat.c: Likewise.
33984 * math/w_lgammaf_main.c: Likewise.
33985 * math/w_lgammaf_r_compat.c: Likewise.
33986 * math/w_lgammal_main.c: Likewise.
33987 * math/w_lgammal_r_compat.c: Likewise.
33988 * math/w_log10_compat.c: Likewise.
33989 * math/w_log10f_compat.c: Likewise.
33990 * math/w_log10l_compat.c: Likewise.
33991 * math/w_log2_compat.c: Likewise.
33992 * math/w_log2f_compat.c: Likewise.
33993 * math/w_log2l_compat.c: Likewise.
33994 * math/w_log_compat.c: Likewise.
33995 * math/w_logf_compat.c: Likewise.
33996 * math/w_logl_compat.c: Likewise.
33997 * math/w_pow_compat.c: Likewise.
33998 * math/w_powf_compat.c: Likewise.
33999 * math/w_powl_compat.c: Likewise.
34000 * math/w_remainder_compat.c: Likewise.
34001 * math/w_remainderf_compat.c: Likewise.
34002 * math/w_remainderl_compat.c: Likewise.
34003 * math/w_scalb_compat.c: Likewise.
34004 * math/w_scalbf_compat.c: Likewise.
34005 * math/w_scalbl_compat.c: Likewise.
34006 * math/w_sinh_compat.c: Likewise.
34007 * math/w_sinhf_compat.c: Likewise.
34008 * math/w_sinhl_compat.c: Likewise.
34009 * math/w_sqrt_compat.c: Likewise.
34010 * math/w_sqrtf_compat.c: Likewise.
34011 * math/w_sqrtl_compat.c: Likewise.
34012 * math/w_tgamma_compat.c: Likewise.
34013 * math/w_tgammaf_compat.c: Likewise.
34014 * math/w_tgammal_compat.c: Likewise.
34015 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
34016 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34017 * sysdeps/ieee754/k_standard.c: Likewise.
34018 * sysdeps/ieee754/k_standardf.c: Likewise.
34019 * sysdeps/ieee754/k_standardl.c: Likewise.
34020 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34021 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34022 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34023 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34024 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34025 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34026 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34027 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
34028 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34033 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
34034 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34035 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34036 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34038 2017-08-21 Florian Weimer <fweimer@redhat.com>
34041 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
34042 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
34043 Move before inclusion of ../Rules.
34045 2017-08-21 Florian Weimer <fweimer@redhat.com>
34048 * assert/assert.h (assert): Use static_cast (bool) for C++.
34049 Use the ternary operator in the warning branch for GNU C.
34050 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
34051 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
34052 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
34053 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
34054 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
34056 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34059 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34060 (__syscall_clock_gettime): Add attribute_hidden.
34061 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
34062 (__start_context): Likewise.
34064 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34066 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34068 (hidden_proto): Likewise.
34069 (hidden_tls_proto): Likewise.
34070 (__hidden_proto): Likewise.
34072 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34074 * include/libc-symbols.h (attribute_hidden): Enable hidden
34075 visibility in libc.a compiled with PIE.
34077 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34080 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
34081 Add attribute_hidden.
34083 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34086 * Makerules (all-nonlib): Add $(others-extras).
34087 * catgets/Makefile (others-extras): New.
34088 * elf/Makefile (others-extras): Likewise.
34089 * nss/Makefile (others-extras): Likewise.
34091 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34094 * csu/libc-start.c (__libc_multiple_libcs): Removed.
34095 * elf/dl-open.c: Include <libc-internal.h>.
34096 (__libc_multiple_libcs): Removed.
34097 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
34099 * include/libc-internal.h (__libc_multiple_libcs): New.
34100 * misc/sbrk.c: Include <libc-internal.h>.
34101 (__libc_multiple_libcs): Removed.
34103 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34106 * grp/initgroups.c (__nss_group_database): Removed.
34107 (__nss_initgroups_database): Likewise.
34108 * nscd/gai.c (__nss_hosts_database): Likewise.
34109 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
34110 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
34111 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
34112 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
34113 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
34114 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
34116 * nss/nsswitch.c (__nss_database_custom): Define only if
34117 USE_NSCD is defined.
34118 (__nss_configure_lookup): Use __nss_database_custom only if
34119 USE_NSCD is defined.
34120 * nss/nsswitch.h (__nss_database_custom): Declare only if
34121 USE_NSCD is defined. Add attribute_hidden.
34122 (__nss_setent): Add attribute_hidden.
34123 (__nss_endent): Likewise.
34124 (__nss_getent_r): Likewise.
34125 (__nss_getent): Likewise.
34126 (DEFINE_DATABASE): Declare __nss_##arg##_database.
34128 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34131 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
34132 libc_hidden_proto and libc_hidden_def.
34134 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34137 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
34138 Add libc_hidden_proto.
34139 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
34140 Add libc_hidden_def.
34142 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34145 * gmon/Makefile (routines): Remove bb_init_func and
34147 (elide-routines.os): Removed.
34148 * gmon/bb_exit_func.c: Likewise.
34149 * gmon/bb_init_func.c: Likewise.
34150 * include/sys/gmon.h (__bb): Likewise.
34151 (__bb_init_func): Likewise.
34152 (__bb_exit_func): Likewise.
34153 * sysdeps/alpha/bb_init_func.S: Likewise.
34155 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34157 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
34158 * include/setjmp.h (____longjmp_chk): Here. Add
34161 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
34164 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
34166 (__strspn_sse2): Likewise.
34168 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34170 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
34171 (close_not_cancel_no_status): Likewise.
34172 (__close_nocancel): New macro.
34173 (__close_nocancel_nostatus): Likewise.
34174 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
34176 (close_not_cancel): Likewise.
34177 (close_not_cancel_no_status): Likewise.
34178 (__close_nocancel): New prototype.
34179 (__close_nocancel_nostatus): New function.
34180 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
34181 * catgets/open_catalog.c (__open_catalog): Replace
34182 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
34183 * gmon/gmon.c (write_gmon): Likewise.
34184 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34185 * intl/loadmsgcat.c (close): Likewise.
34186 * io/ftw.c (open_dir_stream): Likewise.
34187 (ftw_startup): Likewise.
34188 * libio/fileops.c (_IO_file_open): Likewise.
34189 (_IO_file_close_mmap): Likewise.
34190 (_IO_file_close): Likewise.
34191 * libio/iopopen.c (_IO_dup2): Likewise.
34192 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34193 * locale/loadlocale.c (_nl_load_locale): Likewise.
34194 * login/utmp_file.c (pututline_file): Likewise.
34195 (endutent_file): Likewise.
34196 * misc/daemon.c (daemon): Likewise.
34197 * nscd/nscd_getai.c (__nscd_getai): Likewise.
34198 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34199 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34200 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34201 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34202 * nscd/nscd_helper.c (open_socket): Likewise.
34203 (__nscd_open_socket): Likewise.
34204 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34205 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
34206 (__nscd_innetgr): Likewise.
34207 * nss/nss_db/db-open.c (internal_setent): Likewise.
34208 * resolv/res-close.c (__res_iclose): Likewise.
34209 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
34210 * sysdeps/posix/closedir.c (__closedir): Likewise.
34211 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
34212 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34213 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34214 (opendir_tail): Likewise.
34215 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34216 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
34217 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34218 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34219 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34220 (gethostid): Likewise.
34221 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34222 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34224 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34225 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
34226 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34227 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34229 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
34230 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
34231 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34233 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
34234 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34236 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34238 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34239 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34240 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34243 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
34244 (openat_not_cancel_3): Likewise.
34245 (openat64_not_cancel_3): Likewise).
34246 (openat_not_cancel_3): Likewise).
34247 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
34249 (openat_not_cancel_3): Likewise.
34250 (openat64_not_cancel): Likewise.
34251 (openat64_not_cancel_3): Likewise.
34252 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
34253 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
34254 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
34255 __open{64}_nocancel.
34256 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34257 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34258 * sysdeps/posix/opendir.c (__opendirat): Likewise.
34260 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34263 * include/argz.h (__argz_create_sep): New function prototype.
34264 (__argz_append): Likewise.
34265 (__argz_add): Likewise.
34266 (__argz_add_sep): Likewise.
34267 (__argz_delete): Likewise.
34268 (__argz_insert): Likewise.
34269 (__argz_replace): Likewise.
34270 * string/argz.h (__argz_create_sep): Removed.
34271 (__argz_append): Likewise.
34272 (__argz_add): Likewise.
34273 (__argz_add_sep): Likewise.
34274 (__argz_delete): Likewise.
34275 (__argz_insert): Likewise.
34276 (__argz_replace): Likewise.
34278 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34280 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
34281 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
34282 (GNU_PROPERTY_STACK_SIZE): Likewie.
34283 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
34284 (GNU_PROPERTY_LOPROC): Likewise.
34285 (GNU_PROPERTY_HIPROC): Likewise.
34286 (GNU_PROPERTY_LOUSER): Likewise.
34287 (GNU_PROPERTY_HIUSER): Likewise.
34288 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
34289 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
34290 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
34291 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
34292 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
34293 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
34294 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
34295 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
34296 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
34297 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
34298 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
34299 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
34300 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
34301 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
34302 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
34303 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
34304 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
34305 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
34306 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
34307 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
34308 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
34309 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
34310 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
34312 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34314 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
34317 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34320 * math/math.h (isinf): Check if in C or C++ mode before using
34321 __builtin_types_compatible_p, since this is a C mode feature.
34323 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34325 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
34326 (__write_nocancel): New macro.
34327 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
34328 Rewrite as a function prototype.
34329 (write_not_cancel): Remove macro.
34330 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
34331 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
34332 (write_gmon): Likewise.
34333 * libio/fileops.c (_IO_new_file_write): Likewise.
34334 * login/utmp_file.c (pututline_file): Likewise.
34335 (updwtmp_file): Likewise.
34336 * stdio-common/psiginfo.c (psiginfo): Likewise.
34337 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34338 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34339 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34341 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34344 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
34345 (__read_nocancel): New macro.
34346 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34348 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
34350 (__read_nocancel): New prototype.
34351 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
34352 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
34353 with __read_nocancel.
34354 * intl/loadmsgcat.c (read): Likewise.
34355 * libio/fileops.c (_IO_file_read): Likewise.
34356 * locale/loadlocale.c (_nl_load_locale): Likewise.
34357 * login/utmp_file.c (getutent_r_file): Likewise.
34358 (internal_getut_r): Likewise.
34359 (getutline_r_file): Likewise.
34360 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34361 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34362 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34363 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34365 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
34366 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34367 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34369 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34371 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34373 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34375 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34377 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34380 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
34381 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
34384 2017-08-17 DJ Delorie <dj@redhat.com>
34386 * bug17079.c: Update to new test harness.
34387 * test-digits-dots.c: Likewise.
34388 * test-netdb.c: Likewise.
34389 * tst-field.c: Likewise.
34390 * tst-nss-getpwent.c: Likewise.
34391 * tst-nss-static.c: Likewise.
34392 * tst-nss-test1.c: Likewise.
34393 * tst-nss-test2.c: Likewise.
34394 * tst-nss-test3.c: Likewise.
34395 * tst-nss-test4.c: Likewise.
34396 * tst-nss-test5.c: Likewise.
34398 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34400 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
34401 (open_not_cancel_2): Likewise.
34402 (open_nocancel): New macro.
34403 (open64_nocancel): Likewise.
34404 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
34405 (open_not_cancel_2): Likewise.
34406 (__open_nocancel): New prototype.
34407 (__open64_nocancel): Likewise.
34408 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34410 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
34411 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
34412 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
34413 with __open_nocancel.
34414 * csu/check_fds.c (check_one_fd): Likewise.
34415 * gmon/gmon.c (write_gmon): Likewise.
34416 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
34417 * intl/loadmsgcat.c (open): Likewise.
34418 * libio/fileops.c (_IO_file_open): Likewise.
34419 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34420 * locale/loadlocale.c (_nl_load_locale): Likewise.
34421 * login/utmp_file.c (setutent_file): Likewise.
34422 * misc/daemon.c (daemon): Likewise.
34423 * nss/nss_db/db-open.c (internal_setent): Likewise.
34424 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34425 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
34426 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34427 (__opendir): Likewise.
34428 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34429 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34430 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34431 (gethostid): Likewise.
34432 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34433 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34435 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34436 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
34437 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34438 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34440 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34442 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34444 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34446 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34448 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34450 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34451 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34453 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
34455 * benchtests/bench-skeleton.c (main): Add support for
34456 latency benchmarking.
34457 * benchtests/scripts/bench.py: Add support for latency benchmarking.
34459 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
34461 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
34462 the startup object.
34464 2017-08-17 Florian Weimer <fweimer@redhat.com>
34466 * include/sys/socket.h (__opensock): Remove internal_function.
34467 * socket/opensock.c (__opensock): Likewise.
34468 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
34470 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34473 * signal/bits/types/__sigval_t.h: New file.
34474 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
34475 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
34476 and define sigval_t using __sigval_t.
34477 * include/bits/types/__sigval_t.h: New file.
34478 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
34479 instead of <bits/types/__sigval_t.h>.
34480 (struct sigevent): Use __sigval_t instead of sigval_t.
34481 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
34482 instead of <bits/types/__sigval_t.h>.
34483 (siginfo_t): Use __sigval_t instead of sigval_t.
34484 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
34485 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34486 (struct sigevent): Use __sigval_t instead of sigval_t.
34487 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
34488 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34489 (siginfo_t): Use __sigval_t instead of sigval_t.
34490 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
34492 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34494 * NEWS: Remove "[Add new features here]" for 2.27.
34496 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34498 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
34501 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34503 * NEWS: Mention x86-64 FMA optimization.
34505 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34508 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34510 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
34511 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
34512 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
34514 2017-08-16 Andreas Schwab <schwab@suse.de>
34518 * elf/ldd.bash.in: Never run file directly.
34520 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
34523 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
34524 (L(SP_INF_0)): Likewise.
34526 2017-08-15 Florian Weimer <fweimer@redhat.com>
34528 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
34531 2017-08-15 Florian Weimer <fweimer@redhat.com>
34533 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
34534 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
34535 BROKEN_THREAD_SIGNALS code.
34536 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
34537 request_list): Remove caller_pid member used for
34538 BROKEN_THREAD_SIGNALS.
34539 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
34540 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34541 Remove BROKEN_THREAD_SIGNALS support.
34542 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
34543 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
34545 2017-08-15 Florian Weimer <fweimer@redhat.com>
34547 * gmon/Makefile (tests): Add tst-gmon.
34548 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
34550 (tests-special): Add tst-gmon-prof.out.
34551 (tst-gmon.out): Depend on clean-tst-gmon-data.
34552 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
34553 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
34554 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
34556 * aclocal.m4 (GPROF): Set and substitute.
34557 * config.amke.in (GPROF): Set.
34558 * configure: Regenerate.
34560 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
34562 * elf/elf.h A (NT_PPC_TAR): New macro.
34563 (NT_PPC_PPR): Likewise.
34564 (NT_PPC_DSCR): Likewise.
34565 (NT_PPC_EBB): Likewise.
34566 (NT_PPC_PMU): Likewise.
34567 (NT_PPC_TM_CGPR): Likewise.
34568 (NT_PPC_TM_CFPR): Likewise.
34569 (NT_PPC_TM_CVMX): Likewise.
34570 (NT_PPC_TM_CVSX): Likewise.
34571 (NT_PPC_TM_SPR): Likewise.
34572 (NT_PPC_TM_CTAR): Likewise.
34573 (NT_PPC_TM_CPPR): Likewise.
34574 (NT_PPC_TM_CDSCR): Likewise.
34576 2017-08-15 Florian Weimer <fweimer@redhat.com>
34578 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
34579 regparm (2) instead of internal_function.
34580 (_MCOUNT_DECL): Adjust.
34582 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34584 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
34585 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
34587 2017-08-14 Joseph Myers <joseph@codesourcery.com>
34589 * conform/data/sys/wait.h-data (si_value): Do not expect for
34592 2017-08-14 Florian Weimer <fweimer@redhat.com>
34595 NSS: Create stubs for accidentally exported lookup functions.
34596 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
34597 Remove declaration.
34598 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
34599 (ether_hostton): Call __nss_ethers_lookup2 instead.
34600 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
34601 (ether_ntohost): Call __nss_ethers_lookup2 instead.
34602 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
34603 (setup): Call __nss_netgroup_lookup2 instead.
34604 * nss/Makefile (routines): Add compat-lookup.
34605 * nss/Versions (GLIBC_2.27): Add symbol version.
34606 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
34607 (DB_COMPAT_FCT): Remove.
34608 * nss/compat-lookup.c: New file.
34609 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
34610 from databases.def.
34611 * nss/service-lookup.c (NO_COMPAT): Remove definition.
34612 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
34613 (netname2user): Call __nss_publickey_lookup2 instead.
34614 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
34615 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
34618 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34619 Sergei Trofimovich <slyfox@inbox.ru>
34622 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
34623 Rename to MMAP2_PAGE_UNIT.
34624 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
34625 __OFF_T_MATCHES_OFF64_T is not defined.
34626 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
34628 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
34629 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
34631 2017-08-14 Florian Weimer <fweimer@redhat.com>
34633 i386: Do not set internal_function.
34634 * config.h.in (USE_REGPARMS, internal_function): Remove.
34635 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
34636 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
34638 2017-08-14 Florian Weimer <fweimer@redhat.com>
34640 * elf/dl-init.c (_dl_init): Remove internal_function.
34641 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
34642 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
34644 2017-08-14 Florian Weimer <fweimer@redhat.com>
34646 * elf/rtld.c (_dl_start): Remove internal_function.
34647 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
34650 2017-08-14 Florian Weimer <fweimer@redhat.com>
34652 * elf/dl-fini.c (_dl_fini): Remove internal_function
34653 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
34655 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
34657 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
34658 (bit_cpu_SHSTK): Likewise.
34659 (index_cpu_IBT): Likewise.
34660 (index_cpu_SHSTK): Likewise.
34661 (reg_IBT): Likewise.
34662 (reg_SHSTK): Likewise.
34663 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34664 Handle index_cpu_IBT and index_cpu_SHSTK.
34666 2017-08-14 Mike FABIAN <mfabian@redhat.com>
34669 * po/fr.po: Fix spelling mistake.
34671 2017-08-13 Florian Weimer <fweimer@redhat.com>
34673 * elf/dl-addr.c (_dl_addr): Remove internal_function.
34674 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
34675 (_dl_catch_error, _dl_receive_error): Likewise.
34676 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
34677 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
34678 (_dl_deallocate_tls): Likewise.
34679 * include/dlfcn.h (_dl_addr): Likewise.
34680 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
34681 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
34682 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
34685 2017-08-13 Florian Weimer <fweimer@redhat.com>
34687 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
34688 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
34690 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
34692 2017-08-13 Florian Weimer <fweimer@redhat.com>
34694 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
34696 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
34697 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
34698 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
34699 internal_function from _dl_make_stack_executable_hook member.
34700 (_dl_make_stack_executable): Remove internal_function.
34701 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
34703 * sysdeps/unix/sysv/linux/dl-execstack.c
34704 (_dl_make_stack_executable): Likewise.
34706 2017-08-13 Florian Weimer <fweimer@redhat.com>
34708 * sysdeps/unix/sysv/linux/netlinkaccess.h
34709 (__netlink_assert_response): Remove internal_function.
34710 * sysdeps/unix/sysv/linux/netlink_assert_response.c
34711 (__netlink_assert_response): Likewise.
34713 2017-08-13 Florian Weimer <fweimer@redhat.com>
34715 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
34717 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
34719 2017-08-13 Florian Weimer <fweimer@redhat.com>
34721 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
34723 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
34724 * inet/netgroup.h (__internal_setnetgrent)
34725 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34726 * inet/getnetgrent_r.c (__internal_setnetgrent)
34727 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34728 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
34729 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
34730 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
34731 * nss/nsswitch.h (db_lookup_function): Likewise.
34733 2017-08-13 Florian Weimer <fweimer@redhat.com>
34735 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
34736 Remove internal_function.
34737 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
34738 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
34739 message argument on the stack.
34740 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
34743 2017-08-12 Mike FABIAN <mfabian@redhat.com>
34745 Adapt test case data to the changes in the thousands
34749 * localedata/tst-langinfo.sh: Adapt test case data.
34750 * stdlib/tst-strfmon_l.c: Likewise.
34751 * stdlib/tst-strtod4.c: Likewise.
34752 * stdlib/tst-strtod5i.c: Likewise.
34754 2017-08-11 Florian Weimer <fweimer@redhat.com>
34757 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
34758 Suppress pedantic warning resulting from statement expression.
34759 (__ASSERT_FUNCTION): Add missing __extension__.
34761 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34763 * benchtests/bench-memmove-large.c: Print output in JSON
34765 * benchtests/bench-memmove.c: Likewise.
34767 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
34768 * benchtests/bench-memchr.c (do_one_test): Likewise.
34769 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
34770 * benchtests/bench-memcpy.c (do_one_test): Likewise.
34771 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
34772 * benchtests/bench-memmove.c (do_one_test): Likewise.
34773 * benchtests/bench-memset-large.c (do_one_test): Likewise.
34774 * benchtests/bench-memset.c (do_one_test): Likewise.
34775 * benchtests/bench-string.h (test_init): Remove memsets.
34777 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
34780 (Computing the Width of an Integer Data Type): Rename section to
34781 "Width of an Integer Type". Remove inaccurate statement regarding
34782 lack of C language facilities for determining width of integer
34783 types, and reorder content to improve flow and context of
34786 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
34788 * lang.texi (va_copy): Change standard from ISO to C99.
34789 (__va_copy): Add standard and header annotation.
34790 Update description for clarity of origins and current use.
34792 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34795 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
34796 xssqrtqp requires operands to be in Vector Registers
34797 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
34798 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
34799 (__ieee754_sqrtf128): Likewise.
34801 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
34803 * sysdeps/aarch64/memcmp.S (memcmp):
34804 Rewrite of optimized memcmp.
34806 2017-08-10 Florian Weimer <fweimer@redhat.com>
34808 Introduce ld.so exceptions.
34809 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
34810 (_dl_exception_create, _dl_exception_create_format)
34811 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
34812 (_dl_catch_exception): Declare.
34813 (_dl_catch_error): Update comment.
34814 * elf/dl-error-skeleton.c (struct catch): Replace objname,
34815 errstring, malloced members with exception member.
34816 (_dl_out_of_memory): Remove.
34817 (fatal_error): New function, extracted from _dl_signal_error.
34818 (_dl_signal_exception, _dl_signal_cexception): New functions.
34819 (_dl_signal_error): Call _dl_exception_create to allocate an
34821 (_dl_catch_exception): New function, based on _dl_catch_error.
34822 (_dl_catch_error): Implement using _dl_catch_exception.
34823 * elf/dl-exception.c: New file.
34824 * elf/Makefile (dl-routines): Add dl-exception.
34825 (elide-routines.os): Likewise.
34826 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
34827 _dl_exception_create_format, _dl_exception_free.
34828 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
34829 _dl_signal_exception.
34830 * elf/dl-lookup.c (make_string): Remove.
34831 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
34832 _dl_signal_cexception, _dl_exception_free.
34833 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
34834 _dl_signal_exception.
34835 * elf/dl-sym.c (do_sym): Likewise.
34836 * elf/dl-version.c (make_string): Remove.
34837 (match_symbol): Use _dl_exception_create_format,
34838 _dl_signal_cexception, _dl_exception_free.
34839 (_dl_check_map_versions): Likewise.
34840 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
34841 _dl_catch_exception.
34842 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
34843 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
34844 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
34845 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
34846 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
34847 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
34848 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
34849 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
34851 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
34852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
34854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
34856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
34858 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
34859 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
34860 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
34862 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
34864 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
34866 2017-08-10 Florian Weimer <fweimer@redhat.com>
34868 * inet/net-internal.h (__inet6_scopeid_pton): Remove
34869 attribute_hidden, internal_function.
34870 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
34873 2017-08-10 Florian Weimer <fweimer@redhat.com>
34875 * malloc/malloc.c (get_max_fast): Reimplement as an inline
34876 function which calls __builtin_unreachable.
34878 2017-08-10 Mike FABIAN <mfabian@redhat.com>
34880 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
34881 Indian monetary formatting
34882 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
34885 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
34887 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
34888 Fix typo in comment.
34891 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34892 PTRACE_SEIZE_DEVEL): Remove.
34893 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34894 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34895 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34896 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34897 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34899 2017-08-09 Joseph Myers <joseph@codesourcery.com>
34901 * posix/bits/types.h (__qaddr_t): Remove.
34904 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34905 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34907 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34908 (ucontext_t): Use __ctx with uc_flags.
34909 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34910 (__ctxt): Likewise.
34911 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34913 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34914 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34916 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34917 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34919 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34921 (ucontext_t): Use __ctx with uc_flags.
34922 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34923 (ucontext_t): Use __ctx with uc_flags.
34924 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34925 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34926 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34927 (ucontext_t): Use __ctx with uc_flags.
34928 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34929 undefine further down.
34930 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34932 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34933 undefine further down.
34934 (ucontext_t): Use __ctx with uc_flags.
34935 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34936 undefine further down.
34937 (ucontext_t): Use __ctx with uc_flags.
34938 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34939 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34940 Rename uc_pad to __glibc_reserved1.
34941 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34942 undefine further down.
34943 (ucontext_t): Use __ctx with uc_flags.
34944 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34946 (ucontext_t): Use __ctx with uc_flags.
34947 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34948 __ctx with uc_flags.
34949 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34950 (ucontext_t): Use __ctx with uc_flags.
34951 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34952 __ctx with uc_flags.
34954 2017-08-09 Florian Weimer <fweimer@redhat.com>
34957 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34958 before early return.
34960 2017-08-09 Andreas Schwab <schwab@suse.de>
34963 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34967 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34968 tst-compat-forwarder.
34969 (modules-names): Add tst-compat-forwarder-mod.
34970 ($(objpfx)tst-compat-forwarder): Depend on
34971 $(objpfx)tst-compat-forwarder-mod.so.
34972 * nptl/tst-compat-forwarder.c: New file.
34973 * nptl/tst-compat-forwarder-mod.c: New file.
34975 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34977 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34980 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34981 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34983 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34985 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34986 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34987 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34988 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34990 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34993 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34996 * manual/setjmp.texi (getcontex): Document uc_stack value
34997 compatibility differences.
34999 2017-08-08 Joseph Myers <joseph@codesourcery.com>
35001 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
35002 (old_malloc_hook): Likewise.
35003 (old_memalign_hook): Likewise.
35004 (old_realloc_hook): Likewise.
35005 (struct hdr): Likewise.
35007 (freehook): Likewise.
35008 (mallochook): Likewise.
35009 (memalignhook): Likewise.
35010 (reallochook): Likewise.
35011 (mprobe): Likewise.
35012 * malloc/mtrace.c (mallwatch): Likewise.
35013 (tr_old_free_hook): Likewise.
35014 (tr_old_malloc_hook): Likewise.
35015 (tr_old_realloc_hook): Likewise.
35016 (tr_old_memalign_hook): Likewise.
35017 (tr_where): Likewise.
35018 (lock_and_info): Likewise.
35019 (tr_freehook): Likewise.
35020 (tr_mallochook): Likewise.
35021 (tr_reallochook): Likewise.
35022 (tr_memalignhook): Likewise.
35023 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
35024 * misc/mmap.c (__mmap): Likewise.
35025 * misc/mmap64.c (__mmap64): Likewise.
35026 * misc/mprotect.c (__mprotect): Likewise.
35027 * misc/msync.c (msync): Likewise.
35028 * misc/munmap.c (__munmap): Likewise.
35029 * posix/posix_madvise.c (posix_madvise): Likewise.
35030 * socket/send.c (__send): Likewise.
35031 * socket/sendto.c (__sendto): Likewise.
35032 * socket/setsockopt.c (__setsockopt): Likewise.
35033 * string/memcmp.c (__ptr_t): Remove macro.
35034 (MEMCMP): Use void * instead of ptr_t.
35035 * string/memrchr.c (__ptr_t): Remove macro.
35036 (__memrchr): Use void * instead of ptr_t.
35037 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
35038 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
35039 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
35040 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
35041 * sysdeps/mach/msync.c (msync): Likewise.
35042 * sysdeps/mach/munmap.c (__munmap): Likewise.
35043 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
35045 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35046 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
35047 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
35048 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
35049 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
35050 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35051 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
35052 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
35054 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35055 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
35056 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
35057 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
35058 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
35059 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
35060 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
35061 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
35062 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
35064 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
35065 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
35066 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
35067 (MEMCMP): Use void * instead of ptr_t.
35068 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
35069 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
35071 2017-08-08 Florian Weimer <fweimer@redhat.com>
35073 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
35076 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
35079 * csu/libc-tls.c: Include <startup.h> first.
35080 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
35081 * elf/dl-tunables.c: Include <startup.h> first.
35082 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
35083 * sysdeps/generic/startup.h: New file.
35084 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
35085 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
35086 (I386_USE_SYSENTER): New. Defined to 0.
35088 2017-08-08 Andreas Schwab <schwab@suse.de>
35091 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
35092 * nptl/pt-system.c (system): Likewise.
35094 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35097 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
35099 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
35100 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
35101 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
35102 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
35103 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
35104 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
35105 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
35107 2017-08-07 Joseph Myers <joseph@codesourcery.com>
35110 * bits/sigaction.h (struct sigaction): Define sa_handler and
35111 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
35112 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35113 [__USE_XOPEN_EXTENDED].
35114 (SA_RESTART): Likewise.
35115 (SA_NODEFER): Likewise.
35116 (SA_RESETHAND): Likewise.
35117 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
35118 (struct sigaction): Define sa_handler and sa_sigaction using union
35119 also for [__USE_XOPEN_EXTENDED].
35120 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35121 [__USE_XOPEN_EXTENDED].
35122 (SA_RESTART): Likewise.
35123 (SA_NODEFER): Likewise.
35124 (SA_RESETHAND): Likewise.
35125 * sysdeps/unix/sysv/linux/bits/sigaction.h
35126 (struct sigaction): Define sa_handler and sa_sigaction using union
35127 also for [__USE_XOPEN_EXTENDED].
35128 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35129 [__USE_XOPEN_EXTENDED].
35130 (SA_RESTART): Likewise.
35131 (SA_NODEFER): Likewise.
35132 (SA_RESETHAND): Likewise.
35133 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
35134 (struct sigaction): Define sa_handler and sa_sigaction using union
35135 also for [__USE_XOPEN_EXTENDED].
35136 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35137 [__USE_XOPEN_EXTENDED].
35138 (SA_RESTART): Likewise.
35139 (SA_NODEFER): Likewise.
35140 (SA_RESETHAND): Likewise.
35141 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
35142 (struct sigaction): Define sa_handler and sa_sigaction using union
35143 also for [__USE_XOPEN_EXTENDED].
35144 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35145 [__USE_XOPEN_EXTENDED].
35146 (SA_RESTART): Likewise.
35147 (SA_NODEFER): Likewise.
35148 (SA_RESETHAND): Likewise.
35149 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35150 (struct sigaction): Define sa_handler and sa_sigaction using union
35151 also for [__USE_XOPEN_EXTENDED].
35152 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35153 [__USE_XOPEN_EXTENDED].
35154 (SA_RESTART): Likewise.
35155 (SA_NODEFER): Likewise.
35156 (SA_RESETHAND): Likewise.
35157 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35158 (struct sigaction): Define sa_handler and sa_sigaction using union
35159 also for [__USE_XOPEN_EXTENDED].
35160 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35161 [__USE_XOPEN_EXTENDED].
35162 (SA_RESTART): Likewise.
35163 (SA_NODEFER): Likewise.
35164 (SA_RESETHAND): Likewise.
35165 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35166 (struct sigaction): Define sa_handler and sa_sigaction using union
35167 also for [__USE_XOPEN_EXTENDED].
35168 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35169 [__USE_XOPEN_EXTENDED].
35170 (SA_RESTART): Likewise.
35171 (SA_NODEFER): Likewise. Define directly rather than as alias.
35172 (SA_RESETHAND): Likewise.
35173 (SA_INTERRUPT): Define only for [__USE_MISC].
35174 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
35175 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
35177 (SA_STACK): Define only for [__USE_MISC].
35178 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
35179 (struct sigaction): Define sa_handler and sa_sigaction using union
35180 also for [__USE_XOPEN_EXTENDED].
35181 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35182 [__USE_XOPEN_EXTENDED].
35183 (SA_RESTART): Likewise.
35184 (SA_NODEFER): Likewise.
35185 (SA_RESETHAND): Likewise.
35186 (SA_NOPTRACE): Define only for [__USE_MISC].
35188 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
35189 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
35190 (struct catalog_info): Likewise.
35191 * inet/htontest.c (lo): Likewise.
35193 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35194 * inet/inet_net.c (inet_network): Likewise.
35195 * inet/inet_netof.c (inet_netof): Likewise.
35196 * inet/rcmd.c (__ivaliduser): Likewise.
35197 (iruserok): Likewise.
35198 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
35199 * locale/programs/locale-spec.c (locale_special): Likewise.
35200 * nis/nis_findserv.c (struct findserv_req): Likewise.
35201 (__nis_findfastest_with_timeout): Likewise.
35202 * nss/test-netdb.c (test_network): Likewise.
35203 * resolv/inet_neta.c (inet_neta): Likewise.
35204 * resolv/ns_date.c (ns_datetosecs): Likewise.
35205 (SECS_PER_DAY): Likewise.
35206 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
35208 * resolv/res_comp.c (__putlong): Likewise.
35209 (__putshort): Likewise.
35210 (_getlong): Likewise.
35211 (_getshort): Likewise.
35212 * resolv/res_debug.c (p_time): Likewise.
35213 (precsize_ntoa): Likewise.
35214 (precsize_aton): Likewise.
35215 (latlon2ul): Likewise.
35216 (loc_aton): Likewise.
35217 (loc_ntoa): Likewise.
35218 * resolv/res_hconf.c (struct netaddr): Likewise.
35219 (_res_hconf_reorder_addrs): Likewise.
35220 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
35221 (clnttcp_control): Likewise.
35222 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35223 (clntudp_control): Likewise.
35224 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
35225 (clntunix_control): Likewise.
35226 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
35227 * sunrpc/rpc/auth.h (union des_block): Likewise.
35228 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
35229 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
35230 (xdrrec_create): Likewise.
35231 (xdrrec_endofrecord): Likewise.
35232 (flush_out): Likewise.
35233 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
35234 (xdrstdio_putlong): Likewise.
35235 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
35238 * misc/sys/cdefs.h (__long_double_t): Remove.
35239 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
35240 instead of __long_double_t,
35241 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
35243 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
35245 * benchtests/scripts/compare_strings.py: Avoid display error when
35246 running on a text terminal.
35248 * benchtests/scripts/compare_strings.py (main): Add an
35249 optional -base option.
35250 (process_results): New argument base_func.
35252 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
35254 * benchtests/bench-memcpy-large.c (test_name): Likewise.
35255 * benchtests/bench-memcpy-random.c (test_name): Likewise.
35257 2017-08-07 Andreas Schwab <schwab@suse.de>
35259 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
35260 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35261 * intl/Makefile ($(objpfx)tst-gettext.out)
35262 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
35263 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
35264 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35265 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35266 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
35267 * posix/Makefile ($(objpfx)globtest.out)
35268 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
35269 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
35270 ($(objpfx)tst-printf.out): Likewise.
35271 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
35272 ($(objpfx)tst-setcontext3.out): Likewise.
35274 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
35276 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35277 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
35278 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
35279 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
35280 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
35282 (CFLAGS-doasin-fma.c): New.
35283 (CFLAGS-dosincos-fma.c): Likewise.
35284 (CFLAGS-e_asin-fma.c): Likewise.
35285 (CFLAGS-e_atan2-fma.c): Likewise.
35286 (CFLAGS-e_exp-fma.c): Likewise.
35287 (CFLAGS-e_log-fma.c): Likewise.
35288 (CFLAGS-e_pow-fma.c): Likewise.
35289 (CFLAGS-halfulp-fma.c): Likewise.
35290 (CFLAGS-mpa-fma.c): Likewise.
35291 (CFLAGS-mpatan-fma.c): Likewise.
35292 (CFLAGS-mpatan2-fma.c): Likewise.
35293 (CFLAGS-mpexp-fma.c): Likewise.
35294 (CFLAGS-mplog-fma.c): Likewise.
35295 (CFLAGS-mpsqrt-fma.c): Likewise.
35296 (CFLAGS-mptan-fma.c): Likewise.
35297 (CFLAGS-s_atan-fma.c): Likewise.
35298 (CFLAGS-sincos32-fma.c): Likewise.
35299 (CFLAGS-slowexp-fma.c): Likewise.
35300 (CFLAGS-slowpow-fma.c): Likewise.
35301 (CFLAGS-s_sin-fma.c): Likewise.
35302 (CFLAGS-s_tan-fma.c): Likewise.
35303 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
35304 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
35305 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
35306 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
35307 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
35308 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
35309 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
35310 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
35311 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
35312 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
35313 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
35314 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
35315 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
35316 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
35317 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
35318 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
35319 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
35320 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
35321 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
35322 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
35323 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
35324 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
35325 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
35326 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
35327 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35328 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35329 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35330 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
35331 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35332 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35333 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35335 2017-08-04 Joseph Myers <joseph@codesourcery.com>
35337 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
35338 (min_of_type_f): New macro.
35339 (min_of_type_): Likewise.
35340 (min_of_type_l): Likewise.
35341 (min_of_type_f128): Likewise.
35342 (min_of_type): Define using __MATH_TG and taking an expression
35344 (math_check_force_underflow): Pass expression instead of type to
35346 (math_check_force_underflow_nonneg): Likewise.
35348 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35350 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35351 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
35352 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
35354 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35356 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35357 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
35358 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
35359 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
35360 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
35361 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
35362 memcpy_chk-nonshared, mempcpy_chk-nonshared,
35363 memmove_chk-nonshared and memset_chk-nonshared
35364 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
35365 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
35366 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
35367 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
35368 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
35369 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
35370 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
35371 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
35372 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
35373 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
35374 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
35375 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
35376 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
35377 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
35378 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
35379 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
35380 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
35381 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
35382 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
35383 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
35384 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
35385 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
35386 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
35387 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
35388 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
35389 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
35390 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
35391 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
35392 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
35393 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
35394 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
35395 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
35396 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
35397 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35398 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35399 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
35400 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
35401 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
35402 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
35403 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
35404 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
35405 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
35406 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
35407 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
35408 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
35409 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
35410 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
35411 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
35412 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
35413 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
35414 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
35415 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
35416 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
35417 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
35418 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
35419 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
35420 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
35421 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
35422 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
35423 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
35424 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
35425 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
35426 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
35427 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
35428 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
35429 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
35430 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
35431 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
35432 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
35433 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
35434 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
35435 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35436 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35437 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35438 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35439 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35440 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35441 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35442 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35443 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35444 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35445 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35446 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35447 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35448 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35449 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35450 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35451 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35452 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35453 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35454 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35455 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35456 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35457 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35458 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35459 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35460 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35461 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35462 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35463 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35464 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35465 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35466 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35467 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35468 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35469 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35470 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35471 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35473 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35475 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
35476 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
35477 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
35478 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
35479 svml_d_log2_core-sse2, svml_d_log4_core-sse,
35480 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
35481 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
35482 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
35483 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
35484 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
35485 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
35486 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
35487 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
35488 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
35489 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
35490 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
35491 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
35492 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
35493 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
35494 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
35495 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
35496 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
35497 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
35498 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
35499 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
35500 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
35501 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
35502 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
35503 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
35504 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
35505 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
35506 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
35507 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
35508 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
35509 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
35510 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
35511 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
35512 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
35513 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
35514 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
35515 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
35516 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
35517 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
35518 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
35519 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
35520 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
35521 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
35522 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
35523 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
35524 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
35525 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
35526 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
35527 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
35528 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
35529 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
35530 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
35531 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
35532 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
35533 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
35535 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
35536 Don't include <sysdep.h> nor <init-arch.h>.
35537 (_ZGVbN2v_cos): Removed.
35538 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
35540 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
35541 Don't include <sysdep.h> nor <init-arch.h>.
35542 (_ZGVdN4v_cos): Removed.
35543 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
35545 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
35546 Don't include <sysdep.h> nor <init-arch.h>.
35547 (_ZGVeN8v_cos): Removed.
35548 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
35550 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
35551 Don't include <sysdep.h> nor <init-arch.h>.
35552 (_ZGVbN2v_exp): Removed.
35553 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
35555 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
35556 Don't include <sysdep.h> nor <init-arch.h>.
35557 (_ZGVdN4v_exp): Removed.
35558 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
35560 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
35561 Don't include <sysdep.h> nor <init-arch.h>.
35562 (_ZGVeN8v_exp): Removed.
35563 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
35565 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
35566 Don't include <sysdep.h> nor <init-arch.h>.
35567 (_ZGVbN2v_log): Removed.
35568 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
35570 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
35571 Don't include <sysdep.h> nor <init-arch.h>.
35572 (_ZGVdN4v_log): Removed.
35573 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
35575 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
35576 Don't include <sysdep.h> nor <init-arch.h>.
35577 (_ZGVeN8v_log): Removed.
35578 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
35580 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
35581 Don't include <sysdep.h> nor <init-arch.h>.
35582 (_ZGVbN2vv_pow): Removed.
35583 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
35585 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
35586 Don't include <sysdep.h> nor <init-arch.h>.
35587 (_ZGVdN4vv_pow): Removed.
35588 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
35590 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
35591 Don't include <sysdep.h> nor <init-arch.h>.
35592 (_ZGVeN8vv_pow): Removed.
35593 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
35595 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
35596 Don't include <sysdep.h> nor <init-arch.h>.
35597 (_ZGVbN2v_sin): Removed.
35598 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
35600 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
35601 Don't include <sysdep.h> nor <init-arch.h>.
35602 (_ZGVbN4v_sin): Removed.
35603 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
35605 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
35606 Don't include <sysdep.h> nor <init-arch.h>.
35607 (_ZGVbN8v_sin): Removed.
35608 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
35610 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
35611 Don't include <sysdep.h> nor <init-arch.h>.
35612 (_ZGVbN2vvv_sincos): Removed.
35613 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
35615 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
35616 Don't include <sysdep.h> nor <init-arch.h>.
35617 (_ZGVdN4vvv_sincos): Removed.
35618 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
35620 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
35621 Don't include <sysdep.h> nor <init-arch.h>.
35622 (_ZGVeN8vvv_sincos): Removed.
35623 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
35625 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
35626 Don't include <sysdep.h> nor <init-arch.h>.
35627 (_ZGVeN16v_cosf): Removed.
35628 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
35630 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
35631 Don't include <sysdep.h> nor <init-arch.h>.
35632 (_ZGVbN4v_cosf): Removed.
35633 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
35635 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
35636 Don't include <sysdep.h> nor <init-arch.h>.
35637 (_ZGVdN8v_cosf): Removed.
35638 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
35640 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
35641 Don't include <sysdep.h> nor <init-arch.h>.
35642 (_ZGVeN16v_expf): Removed.
35643 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
35645 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
35646 Don't include <sysdep.h> nor <init-arch.h>.
35647 (_ZGVbN4v_expf): Removed.
35648 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
35650 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
35651 Don't include <sysdep.h> nor <init-arch.h>.
35652 (_ZGVdN8v_expf): Removed.
35653 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
35655 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
35656 Don't include <sysdep.h> nor <init-arch.h>.
35657 (_ZGVeN16v_logf): Removed.
35658 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
35660 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
35661 Don't include <sysdep.h> nor <init-arch.h>.
35662 (_ZGVbN4v_logf): Removed.
35663 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
35665 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
35666 Don't include <sysdep.h> nor <init-arch.h>.
35667 (_ZGVdN8v_logf): Removed.
35668 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
35670 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
35671 Don't include <sysdep.h> nor <init-arch.h>.
35672 (_ZGVeN16vv_powf): Removed.
35673 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
35675 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
35676 Don't include <sysdep.h> nor <init-arch.h>.
35677 (_ZGVbN4vv_powf): Removed.
35678 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
35680 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
35681 Don't include <sysdep.h> nor <init-arch.h>.
35682 (_ZGVdN8vv_powf): Removed.
35683 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
35685 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
35686 Don't include <sysdep.h> nor <init-arch.h>.
35687 (_ZGVeN16vvv_sincosf): Removed.
35688 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
35690 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
35691 Don't include <sysdep.h> nor <init-arch.h>.
35692 (_ZGVbN4vvv_sincosf): Removed.
35693 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
35695 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
35696 Don't include <sysdep.h> nor <init-arch.h>.
35697 (_ZGVdN8vvv_sincosf): Removed.
35698 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
35700 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
35701 Don't include <sysdep.h> nor <init-arch.h>.
35702 (_ZGVeN16v_sinf): Removed.
35703 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
35705 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
35706 Don't include <sysdep.h> nor <init-arch.h>.
35707 (_ZGVbN4v_sinf): Removed.
35708 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
35710 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
35711 Don't include <sysdep.h> nor <init-arch.h>.
35712 (_ZGVdN8v_sinf): Removed.
35714 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35716 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35717 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
35718 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
35719 s_rint-sse4_1 and s_rintf-sse4_1.
35720 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
35721 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
35722 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
35723 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
35724 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
35725 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
35726 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
35727 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
35728 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
35729 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
35730 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
35731 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35733 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
35734 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
35735 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35736 (__ceilf): Removed.
35737 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
35738 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
35739 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35740 (__floor): Removed.
35741 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
35742 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
35743 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35744 (__floorf): Removed.
35745 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
35746 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
35747 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35748 (__nearbyint): Removed.
35749 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
35750 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
35751 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35752 (__nearbyintf): Removed.
35753 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
35754 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
35755 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35757 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
35758 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
35759 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35760 (__rintf): Removed.
35762 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35764 * sysdeps/i386/start.S (_start): Check Check PIC instead of
35765 SHARED. Avoid dynamic relocation against main in static PIE.
35767 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35770 * elf/Makefile (CFLAGS-tst-prelink.c): New.
35771 (LDFLAGS-tst-prelink): Likewise.
35773 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35775 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
35776 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
35777 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
35778 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
35779 (INTERNAL_SYSCALL_NCS): Likewise.
35780 (LOADARGS_1): Likewise.
35781 (LOADARGS_5): Likewise.
35782 (RESTOREARGS_1): Likewise.
35783 (RESTOREARGS_5): Likewise.
35785 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35787 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
35788 (MEMPCPY_SYMBOL): Likewise.
35789 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35790 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
35791 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
35793 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35794 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
35796 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
35797 (__hidden_ver1): Don't use in libc.a.
35798 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
35799 (__mempcpy): Don't create a weak alias in libc.a.
35800 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
35802 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
35803 (__hidden_ver1): Don't use in libc.a.
35805 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35807 * config.make.in (have-insert): New.
35808 * configure.ac (libc_cv_insert): New. Set to yes if linker
35809 supports INSERT in linker script.
35810 (AC_SUBST(libc_cv_insert): New.
35811 * configure: Regenerated.
35812 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
35813 if $(have-insert) == yes.
35815 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35817 * elf/Makefile (tests): Add vismain only if
35818 $(have-protected-data) == yes.
35819 (tests-pie): Likewise.
35821 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35824 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
35825 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
35827 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35830 * sysdeps/i386/i586/memset.S
35831 (__memset_zero_constant_len_parameter): Removed.
35832 * sysdeps/i386/i686/memset.S
35833 (__memset_zero_constant_len_parameter): Likewise.
35834 * sysdeps/i386/i686/multiarch/memset_chk.S
35835 (__memset_zero_constant_len_parameter): Likewise.
35836 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
35839 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35841 * stdlib/getentropy.c (getentropy): Change return type to int.
35843 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35845 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
35847 2017-08-03 Joseph Myers <joseph@codesourcery.com>
35849 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
35851 * math/s_nexttowardf.c (__nexttowardf): Likewise.
35852 * sysdeps/generic/math_private.h (ieee_double_shape_type):
35854 (ieee_float_shape_type): Likewise.
35855 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
35856 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
35857 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35858 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35859 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
35860 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
35861 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
35862 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35863 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
35865 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35866 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35867 (__ieee754_yn): Likewise.
35868 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35869 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35870 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
35872 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35873 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
35874 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
35875 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
35876 (__erfc): Likewise.
35877 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
35878 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
35879 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
35880 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
35881 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
35882 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
35884 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
35885 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
35886 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
35887 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
35888 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35889 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35890 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35891 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35892 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35893 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35894 (__issignaling): Likewise.
35895 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35896 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35897 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35899 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35900 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35901 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35902 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35904 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35906 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35907 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35908 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35909 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35910 (__erfcf): Likewise.
35911 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35912 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35913 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35914 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35916 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35917 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35919 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35920 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35921 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35922 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35923 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35924 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35925 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35926 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35928 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35930 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35932 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35933 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35935 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35937 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35938 (__ieee754_ynl): Likewise.
35939 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35940 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35942 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35944 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35945 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35946 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35948 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35949 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35950 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35951 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35952 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35953 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35954 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35955 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35957 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35958 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35959 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35961 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35962 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35963 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35964 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35965 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35966 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35968 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35970 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35972 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35974 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35975 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35976 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35977 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35978 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35979 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35980 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35982 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35984 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35985 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35987 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35988 (__ieee754_remainderl): Likewise.
35989 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35990 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35991 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35992 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35994 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35995 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35997 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35998 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35999 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
36000 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
36001 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36002 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36004 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
36005 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
36006 (__ieee754_y0l): Likewise.
36009 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36010 (__ieee754_y1l): Likewise.
36013 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
36014 (__ieee754_ynl): Likewise.
36015 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
36016 (__ieee754_lgammal_r): Likewise.
36017 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
36019 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
36020 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
36021 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
36022 (__erfcl): Likewise.
36023 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
36024 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
36026 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
36027 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
36028 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
36029 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
36030 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
36031 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36032 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36034 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
36035 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36036 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
36037 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
36038 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36040 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
36041 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
36043 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
36044 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
36045 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
36046 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36047 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
36049 2017-08-03 Florian Weimer <fweimer@redhat.com>
36052 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
36053 on memory allocation failure.
36055 2017-08-03 Alan Modra <amodra@gmail.com>
36057 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
36058 tst-tlsopt-powerpc.c with function name change and no test harness.
36059 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
36060 Call tls_get_addr_opt_test.
36061 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
36062 (modules-names): Add mod-tlsopt-powerpc.
36063 (mod-tlsopt-powerpc.so-no-z-defs): Define.
36064 (tst-tlsopt-powerpc): Depend on .so.
36065 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
36066 define. Expand use in TLS_GD and TLS_LD.
36068 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36070 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
36072 * sysdeps/posix/shm_open.c: Include <pthread.h>.
36074 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36077 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
36078 comparing size with that of double.
36079 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36080 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36081 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36082 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36083 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36084 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
36085 unsigned __int128 types.
36087 2017-08-02 Steve Ellcey <sellcey@cavium.com>
36089 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
36090 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
36091 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
36092 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
36093 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
36095 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36097 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
36099 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36101 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
36103 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36104 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36105 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36106 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36107 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36108 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36109 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36111 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36114 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
36115 bit-field expressions passed to sizeof or typeof.
36116 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36117 (__TGMATH_F128): Likewise.
36118 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36119 (__TGMATH_CF128): Likewise.
36120 (__TGMATH_UNARY_REAL_ONLY): Likewise.
36121 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
36122 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
36123 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
36124 (__TGMATH_BINARY_REAL_ONLY): Likewise.
36125 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36126 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36127 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36128 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36129 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
36130 (__TGMATH_UNARY_REAL_IMAG): Likewise.
36131 (__TGMATH_UNARY_IMAG): Likewise.
36132 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
36133 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36134 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
36136 (define_vars_for_type): Handle bit_field type specially.
36137 (Tests.__init__): Declare structure with bit-field element.
36139 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36142 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
36143 (MEMCPY_CHK): Define only if SHARED is defined.
36144 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
36146 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
36149 See ChangeLog.18 for earlier changes.